From Nick, added Text support.

This commit is contained in:
Robert Osfield
2004-01-25 13:52:55 +00:00
parent ffec17c6bf
commit b10393d001
5 changed files with 152 additions and 19 deletions

View File

@@ -216,6 +216,12 @@ TXPArchive *ReaderWriterTXP::getArchive(int id, const std::string& dir)
return NULL;
}
if (archive->loadTextStyles() == false)
{
ReaderWriterTXPERROR("getArchive()") << "failed to load text styles from archive: \"" << archiveName << "\"" << std::endl;
return NULL;
}
archive->setId(id);
_archives[id] = archive;