Namespaces | |
| namespace | FB2Token |
| namespace | libebook |
Classes | |
| class | EBOOKBitStream |
| class | EBOOKCharsetConverter |
| class | EBOOKMemoryStream |
| class | EBOOKStreamSlice |
| A stream representing a slice of (or view into) another stream. More... | |
| struct | EBOOKToken |
| class | EBOOKUTF8Stream |
| class | EBOOKZlibStream |
| class | FB2BinaryContext |
| class | FB2BodyContext |
| class | FB2CiteContext |
| class | FB2EmptyLineContext |
| class | FB2EpigraphContext |
| class | FB2ImageContext |
| class | FB2PoemContext |
| class | FB2SectionContext |
| class | FB2StanzaContext |
| class | FB2TitleContext |
| class | FB2Collector |
| class | FB2Content |
| Represents a part of FB2 content. More... | |
| class | FB2ContentCollector |
| struct | ContentMapImpl |
| class | FB2ContentMap |
| class | GroupContent |
| class | FB2ExtrasCollector |
| class | FB2MetadataCollector |
| class | FB2Authors |
| class | FB2AnnotationContext |
| class | FB2AuthorContext |
| class | FB2BookNameContext |
| class | FB2BookTitleContext |
| class | FB2CityContext |
| class | FB2CoverpageContext |
| class | FB2CustomInfoContext |
| class | FB2DateContext |
| class | FB2DescriptionContext |
| class | DocumentInfoContext |
| class | FB2EmailContext |
| class | FB2FirstNameContext |
| class | FB2GenreContext |
| class | FB2HistoryContext |
| class | FB2HomePageContext |
| class | FB2IdContext |
| class | FB2IsbnContext |
| class | FB2KeywordsContext |
| class | FB2LangContext |
| class | FB2LastNameContext |
| class | FB2MiddleNameContext |
| class | FB2NicknameContext |
| class | FB2OutputContext |
| class | FB2OutputDocumentClassContext |
| class | FB2PartContext |
| class | FB2ProgramUsedContext |
| class | FB2PublisherContext |
| class | FB2PublishInfoContext |
| class | FB2SequenceContext |
| class | FB2SrcLangContext |
| class | FB2SrcOcrContext |
| class | FB2SrcTitleInfoContext |
| class | FB2SrcUrlContext |
| class | FB2TitleInfoContext |
| class | FB2TranslatorContext |
| class | FB2VersionContext |
| class | FB2YearContext |
| class | FB2Parser |
| class | FB2ParserContext |
| Base class for all contexts. More... | |
| class | FB2NodeContextBase |
| Base class for non-leaf element contexts. More... | |
| class | FB2DataContextBase |
| Base class for leaf data element contexts. More... | |
| class | FB2TextContextBase |
| Base class for leaf textual element contexts. More... | |
| class | FB2SkipElementContext |
| Context for skipping element hierarchies. More... | |
| class | FB2StyleContextBase |
| class | FB2BlockFormatContextBase |
| struct | FB2TextFormat |
| struct | FB2BlockFormat |
| class | FB2Style |
| class | FB2TableModel |
| class | FB2TableContext |
| class | FB2CellContext |
| class | FB2TrContext |
| class | FB2ParaContextBase |
| class | FB2AContext |
| class | FB2CodeContext |
| class | FB2EmphasisContext |
| class | FB2InlineImageContext |
| class | FB2PContext |
| class | FB2StrikethroughContext |
| class | FB2StrongContext |
| class | FB2StyleContext |
| class | FB2SubContext |
| class | FB2SubtitleContext |
| class | FB2SupContext |
| class | FB2TextAuthorContext |
| class | FB2VContext |
| class | FB2XMLParserContext |
| class | IMPCollector |
| class | IMPHeader |
| class | IMPLZSSStream |
| class | IMPParser |
| class | IMPResourceDirImpl |
| class | IMPResourceDir |
| Read the resource tree and provide access to it as an OLE stream. More... | |
| class | IMPText |
| struct | IMPMetadata |
| class | EndOfStreamException |
| class | GenericException |
| class | LRFCollector |
| class | LRFMetadataParser |
| struct | LRFHeader |
| class | LRFParser |
| struct | LRFBookInfo |
| struct | LRFDocInfo |
| struct | LRFMetadata |
| struct | LRFColor |
| struct | LRFAttributes |
| class | PDBParser |
| class | PDXLZ77Stream |
| struct | PDXParserImpl |
| class | PDXParser |
| struct | PLKRHeader |
| struct | PLKRParserState |
| struct | PLKRRecordHeader |
| class | PLKRParser |
| struct | PMLHeader |
| struct | PMLTextParserState |
| class | PMLParser |
| struct | PMLAttributes |
| class | TCRParser |
| class | TDTextParser |
| class | TDParser |
| class | WPXZipStream |
| class | ZTXTParser |
| class | ZVRParser |
Typedefs | |
| typedef std::map< string, const FB2Content * > ::value_type | Value_t |
| typedef std::map< string, const FB2Content * > ::const_iterator | Iterator_t |
| typedef std::map< unsigned, LRFAttributes > | LRFAttributeMap_t |
| typedef std::map< unsigned, std::vector< unsigned char > > | PLKRImageMap_t |
Enumerations | |
| enum | IMPColorMode { IMP_COLOR_MODE_UNKNOWN, IMP_COLOR_MODE_COLOR, IMP_COLOR_MODE_GRAYSCALE } |
| enum | ImageType { IMAGE_TYPE_UNKNOWN = 0, IMAGE_TYPE_JPEG = 0x11, IMAGE_TYPE_PNG = 0x12, IMAGE_TYPE_BMP = 0x13 } |
| enum | PMLFontType { PML_FONT_TYPE_NORMAL, PML_FONT_TYPE_STD, PML_FONT_TYPE_BOLD, PML_FONT_TYPE_LARGE } |
Functions | |
| WPXPropertyList | makePropertyList (const FB2Style &style) |
| WPXPropertyList | makePropertyList (const FB2TextFormat &format, const FB2BlockFormat &blockFormat) |
| WPXPropertyList | makePropertyList (const FB2BlockFormat &format) |
| const EBOOKToken * | getFB2Token (const char *const str, const unsigned length) |
| const EBOOKToken * | getFB2Token (const char *const str) |
| const EBOOKToken * | getFB2Token (const unsigned char *const str) |
| int | getFB2TokenID (const EBOOKToken &token) |
| int | getFB2TokenID (const EBOOKToken *const token) |
| int | getFB2TokenID (const char *str, const unsigned length) |
| int | getFB2TokenID (const char *str) |
| int | getFB2TokenID (const unsigned char *str) |
| const char * | getFB2TokenName (const EBOOKToken &token) |
| const char * | getFB2TokenName (const EBOOKToken *const token) |
| const char * | getFB2TokenName (const char *str, const unsigned length) |
| const char * | getFB2TokenName (const char *str) |
| const char * | getFB2TokenName (const unsigned char *str) |
| uint8_t | readU8 (WPXInputStream *input, bool) |
| uint16_t | readU16 (WPXInputStream *input, bool bigEndian) |
| uint32_t | readU32 (WPXInputStream *input, bool bigEndian) |
| uint64_t | readU64 (WPXInputStream *input, bool bigEndian) |
| const unsigned char * | readNBytes (WPXInputStream *const input, const unsigned long numBytes) |
| string | readCString (WPXInputStream *input) |
| string | readPascalString (WPXInputStream *input) |
| void | skip (WPXInputStream *input, unsigned long numBytes) |
| void | seek (WPXInputStream *const input, const unsigned long pos) |
| void | seekRelative (WPXInputStream *const input, const long pos) |
| unsigned long | getLength (WPXInputStream *const input) |
| uint8_t | readU8 (const boost::shared_ptr< WPXInputStream > input, bool) |
| uint16_t | readU16 (const boost::shared_ptr< WPXInputStream > input, const bool bigEndian) |
| uint32_t | readU32 (const boost::shared_ptr< WPXInputStream > input, const bool bigEndian) |
| uint64_t | readU64 (const boost::shared_ptr< WPXInputStream > input, const bool bigEndian) |
| const unsigned char * | readNBytes (const boost::shared_ptr< WPXInputStream > input, const unsigned long numBytes) |
| std::string | readCString (const boost::shared_ptr< WPXInputStream > input) |
| std::string | readPascalString (const boost::shared_ptr< WPXInputStream > input) |
| void | skip (const boost::shared_ptr< WPXInputStream > input, const unsigned long numBytes) |
| void | seek (const boost::shared_ptr< WPXInputStream > input, const unsigned long pos) |
| void | seekRelative (const boost::shared_ptr< WPXInputStream > input, const long pos) |
| unsigned long | getLength (const boost::shared_ptr< WPXInputStream > input) |
Variables | |
| static const unsigned | PDB_BLOCK_SIZE = 4096 |
| static const unsigned | PDB_TYPE = PDX_CODE("TEXt") |
| static const unsigned | PDB_CREATOR = PDX_CODE("REAd") |
| static const uint32_t | ZTXT_TYPE = PDX_CODE("zTXT") |
| static const uint32_t | ZTXT_CREATOR = PDX_CODE("GPlm") |
| typedef std::map<string, const FB2Content *>::const_iterator libebook::Iterator_t |
| typedef std::map<unsigned, LRFAttributes> libebook::LRFAttributeMap_t |
| typedef std::map<unsigned, std::vector<unsigned char> > libebook::PLKRImageMap_t |
| typedef std::map<string, const FB2Content *>::value_type libebook::Value_t |
| enum libebook::ImageType |
| const EBOOKToken * libebook::getFB2Token | ( | const char *const | str, |
| const unsigned | length | ||
| ) |
Referenced by getFB2Token(), getFB2TokenID(), and getFB2TokenName().
| const EBOOKToken * libebook::getFB2Token | ( | const char *const | str | ) |
| const EBOOKToken * libebook::getFB2Token | ( | const unsigned char *const | str | ) |
| int libebook::getFB2TokenID | ( | const EBOOKToken & | token | ) |
Referenced by libebook::FB2BinaryContext::attribute(), libebook::FB2ParaContextBase::attribute(), libebook::FB2AnnotationContext::attribute(), libebook::FB2BodyContext::attribute(), libebook::FB2TableContext::attribute(), libebook::FB2AContext::attribute(), libebook::FB2CiteContext::attribute(), libebook::FB2CellContext::attribute(), libebook::FB2BookNameContext::attribute(), libebook::FB2EpigraphContext::attribute(), libebook::FB2ImageContext::attribute(), libebook::FB2InlineImageContext::attribute(), libebook::FB2TrContext::attribute(), libebook::FB2CityContext::attribute(), libebook::FB2PoemContext::attribute(), libebook::FB2SectionContext::attribute(), libebook::FB2CoverpageContext::attribute(), libebook::FB2StanzaContext::attribute(), libebook::FB2CustomInfoContext::attribute(), libebook::FB2TitleContext::attribute(), libebook::FB2DateContext::attribute(), libebook::FB2StyleContextBase::attribute(), libebook::FB2EmailContext::attribute(), libebook::FB2GenreContext::attribute(), libebook::FB2HistoryContext::attribute(), libebook::FB2HomePageContext::attribute(), libebook::FB2IdContext::attribute(), libebook::FB2IsbnContext::attribute(), libebook::FB2OutputContext::attribute(), libebook::FB2OutputDocumentClassContext::attribute(), libebook::FB2PartContext::attribute(), libebook::FB2ProgramUsedContext::attribute(), libebook::FB2SequenceContext::attribute(), libebook::FB2SrcLangContext::attribute(), libebook::FB2SrcOcrContext::attribute(), libebook::FB2SrcTitleInfoContext::attribute(), libebook::FB2TranslatorContext::attribute(), libebook::FB2YearContext::attribute(), libebook::FB2AnnotationContext::element(), libebook::FB2BodyContext::element(), libebook::FB2TableContext::element(), libebook::FB2CiteContext::element(), libebook::FB2AuthorContext::element(), libebook::FB2BookNameContext::element(), libebook::FB2EpigraphContext::element(), libebook::FB2ImageContext::element(), libebook::FB2TrContext::element(), libebook::FB2CityContext::element(), libebook::FB2PoemContext::element(), libebook::FB2SectionContext::element(), libebook::FB2CoverpageContext::element(), libebook::FB2StanzaContext::element(), libebook::FB2TitleContext::element(), libebook::FB2StyleContextBase::element(), libebook::FB2DescriptionContext::element(), libebook::DocumentInfoContext::element(), libebook::FB2EmailContext::element(), libebook::FB2GenreContext::element(), libebook::FB2HistoryContext::element(), libebook::FB2HomePageContext::element(), libebook::FB2IdContext::element(), libebook::FB2IsbnContext::element(), libebook::FB2OutputContext::element(), libebook::FB2OutputDocumentClassContext::element(), libebook::FB2PartContext::element(), libebook::FB2ProgramUsedContext::element(), libebook::FB2PublishInfoContext::element(), libebook::FB2SequenceContext::element(), libebook::FB2SrcLangContext::element(), libebook::FB2SrcOcrContext::element(), libebook::FB2SrcTitleInfoContext::element(), libebook::FB2TitleInfoContext::element(), libebook::FB2TranslatorContext::element(), libebook::FB2YearContext::element(), and getFB2TokenID().
| int libebook::getFB2TokenID | ( | const EBOOKToken *const | token | ) |
| int libebook::getFB2TokenID | ( | const char * | str, |
| const unsigned | length | ||
| ) |
| int libebook::getFB2TokenID | ( | const char * | str | ) |
| int libebook::getFB2TokenID | ( | const unsigned char * | str | ) |
| const char * libebook::getFB2TokenName | ( | const EBOOKToken & | token | ) |
Referenced by getFB2TokenName().
| const char * libebook::getFB2TokenName | ( | const EBOOKToken *const | token | ) |
| const char * libebook::getFB2TokenName | ( | const char * | str, |
| const unsigned | length | ||
| ) |
| const char * libebook::getFB2TokenName | ( | const char * | str | ) |
| const char * libebook::getFB2TokenName | ( | const unsigned char * | str | ) |
| unsigned long libebook::getLength | ( | WPXInputStream *const | input | ) |
Referenced by libebook::IMPParser::createTextStream(), and getLength().
| unsigned long libebook::getLength | ( | const boost::shared_ptr< WPXInputStream > | input | ) |
| WPXPropertyList libebook::makePropertyList | ( | const FB2Style & | style | ) |
| WPXPropertyList libebook::makePropertyList | ( | const FB2TextFormat & | format, |
| const FB2BlockFormat & | blockFormat | ||
| ) |
| WPXPropertyList libebook::makePropertyList | ( | const FB2BlockFormat & | format | ) |
| std::string libebook::readCString | ( | WPXInputStream * | input | ) |
Referenced by libebook::IMPHeader::readBookProperties(), and readCString().
| std::string libebook::readCString | ( | const boost::shared_ptr< WPXInputStream > | input | ) |
| const unsigned char * libebook::readNBytes | ( | WPXInputStream *const | input, |
| const unsigned long | numBytes | ||
| ) |
Referenced by libebook::LRFCollector::collectImage(), libebook::IMPResourceDirImpl::createStream(), libebook::EBOOKUTF8Stream::EBOOKUTF8Stream(), libebook::IMPResourceDirImpl::getDirStream(), libebook::PLKRParser::getUncompressedStream(), libebook::LRFParser::readAttribute(), libebook::LRFParser::readBlockObject(), libebook::IMPHeader::readHeader(), libebook::PMLParser::readImage(), libebook::LRFParser::readImageStreamObject(), libebook::LRFParser::readMetadata(), readNBytes(), libebook::LRFParser::readObject(), libebook::LRFParser::readPageObject(), libebook::TCRParser::readReplacementTable(), and libebook::LRFParser::readTextObject().
| const unsigned char * libebook::readNBytes | ( | const boost::shared_ptr< WPXInputStream > | input, |
| const unsigned long | numBytes | ||
| ) |
| std::string libebook::readPascalString | ( | WPXInputStream * | input | ) |
Referenced by readPascalString().
| std::string libebook::readPascalString | ( | const boost::shared_ptr< WPXInputStream > | input | ) |
| uint16_t libebook::readU16 | ( | WPXInputStream * | input, |
| bool | bigEndian | ||
| ) |
Referenced by libebook::IMPParser::createTextStream(), libebook::IMPResourceDirImpl::findResourceByType(), libebook::PLKRParser::readAppInfoRecord(), libebook::LRFParser::readAttribute(), libebook::LRFParser::readBlockAtrObject(), libebook::LRFParser::readBlockObject(), libebook::LRFParser::readBookAtrObject(), libebook::PLKRParser::readDataRecords(), libebook::IMPHeader::readHeader(), libebook::LRFParser::readHeader(), libebook::PDXParser::readHeader(), libebook::LRFParser::readImageObject(), libebook::LRFParser::readImageStreamObject(), libebook::ZTXTParser::readIndexRecord(), libebook::PDBParser::readIndexRecord(), libebook::TDParser::readIndexRecord(), libebook::PMLParser::readIndexRecord(), libebook::PLKRParser::readIndexRecord(), libebook::LRFParser::readObject(), libebook::LRFParser::readPageAtrObject(), libebook::LRFParser::readPageObject(), libebook::LRFParser::readPageTreeObject(), libebook::LRFParser::readParagraphAtrObject(), libebook::LRFParser::readTextAtrObject(), libebook::LRFParser::readTextObject(), and readU16().
| uint16_t libebook::readU16 | ( | const boost::shared_ptr< WPXInputStream > | input, |
| const bool | bigEndian | ||
| ) |
| uint32_t libebook::readU32 | ( | WPXInputStream * | input, |
| bool | bigEndian | ||
| ) |
Referenced by libebook::IMPParser::createTextStream(), libebook::IMPResourceDirImpl::IMPResourceDirImpl(), libebook::PLKRParser::readAppInfoRecord(), libebook::LRFParser::readAttribute(), libebook::LRFParser::readBlockObject(), libebook::LRFParser::readBookAtrObject(), libebook::IMPHeader::readHeader(), libebook::LRFParser::readHeader(), libebook::PDXParser::readHeader(), libebook::LRFParser::readImageObject(), libebook::ZTXTParser::readIndexRecord(), libebook::PDBParser::readIndexRecord(), libebook::TDParser::readIndexRecord(), libebook::LRFParser::readObject(), libebook::LRFParser::readObjectIndex(), libebook::LRFParser::readPageObject(), libebook::LRFParser::readPageTreeObject(), libebook::LRFParser::readTextObject(), and readU32().
| uint32_t libebook::readU32 | ( | const boost::shared_ptr< WPXInputStream > | input, |
| const bool | bigEndian | ||
| ) |
| uint64_t libebook::readU64 | ( | WPXInputStream * | input, |
| bool | bigEndian | ||
| ) |
Referenced by libebook::LRFParser::readHeader(), and readU64().
| uint64_t libebook::readU64 | ( | const boost::shared_ptr< WPXInputStream > | input, |
| const bool | bigEndian | ||
| ) |
| uint8_t libebook::readU8 | ( | WPXInputStream * | input, |
| bool | |||
| ) |
Referenced by libebook::EBOOKBitStream::fill(), getLength(), libebook::IMPText::parse(), libebook::TDTextParser::parse(), libebook::TDTextParser::parseTag(), readCString(), libebook::ZTXTParser::readDataRecord(), libebook::PDBParser::readDataRecord(), libebook::TDParser::readDataRecord(), libebook::PLKRParser::readDataRecords(), libebook::LRFParser::readHeader(), libebook::PDXParser::readHeader(), libebook::PMLParser::readImage(), libebook::PLKRParser::readImage(), libebook::PMLParser::readImages(), readPascalString(), libebook::TCRParser::readReplacementTable(), libebook::ZVRParser::readReplacementTable(), libebook::LRFParser::readTextObject(), readU8(), libebook::LRFParser::skipUnhandledTag(), libebook::ZVRParser::uncompress(), libebook::TCRParser::uncompress(), libebook::TCRParser::writeText(), libebook::ZVRParser::writeText(), and libebook::ZVRParser::ZVRParser().
| uint8_t libebook::readU8 | ( | const boost::shared_ptr< WPXInputStream > | input, |
| bool | |||
| ) |
| void libebook::seek | ( | WPXInputStream *const | input, |
| const unsigned long | pos | ||
| ) |
Referenced by libebook::IMPParser::createTextStream(), getLength(), and seek().
| void libebook::seek | ( | const boost::shared_ptr< WPXInputStream > | input, |
| const unsigned long | pos | ||
| ) |
| void libebook::seekRelative | ( | WPXInputStream *const | input, |
| const long | pos | ||
| ) |
Referenced by seekRelative(), and skip().
| void libebook::seekRelative | ( | const boost::shared_ptr< WPXInputStream > | input, |
| const long | pos | ||
| ) |
| void libebook::skip | ( | WPXInputStream * | input, |
| unsigned long | numBytes | ||
| ) |
Referenced by libebook::IMPParser::createTextStream(), libebook::IMPParser::getFileStream(), libebook::IMPResourceDirImpl::IMPResourceDirImpl(), libebook::PLKRParser::readDataRecords(), libebook::IMPHeader::readHeader(), libebook::LRFParser::readHeader(), libebook::PDXParser::readHeader(), libebook::PMLParser::readImage(), libebook::TDParser::readIndexRecord(), libebook::PDBParser::readIndexRecord(), libebook::PMLParser::readIndexRecord(), libebook::LRFParser::readMetadata(), libebook::LRFParser::readObjectIndex(), skip(), and libebook::LRFParser::skipUnhandledTag().
| void libebook::skip | ( | const boost::shared_ptr< WPXInputStream > | input, |
| const unsigned long | numBytes | ||
| ) |
const unsigned libebook::PDB_BLOCK_SIZE = 4096 [static] |
const unsigned libebook::PDB_CREATOR = PDX_CODE("REAd") [static] |
Referenced by libebook::PDBParser::isFormatSupported().
const unsigned libebook::PDB_TYPE = PDX_CODE("TEXt") [static] |
Referenced by libebook::PDBParser::isFormatSupported().
const uint32_t libebook::ZTXT_CREATOR = PDX_CODE("GPlm") [static] |
Referenced by libebook::ZTXTParser::isFormatSupported().
const uint32_t libebook::ZTXT_TYPE = PDX_CODE("zTXT") [static] |
Referenced by libebook::ZTXTParser::isFormatSupported().