#include <WPS8TextStyle.h>
Classes | |
struct | FontData |
Public Member Functions | |
WPS8TextStyle (WPS8Text &parser) | |
~WPS8TextStyle () | |
void | setListener (WPSContentListenerPtr &listen) |
sets the listener | |
bool | readStructures () |
finds all entries which correspond to the styles, parses them and stores data |
Protected Member Functions | |
bool | readFontNames (WPSEntry const &entry) |
reads the font names | |
bool | readFont (long endPos, int &id, std::string &mess) |
reads a font properties | |
void | sendFont (int fId, FontData &data) |
bool | readParagraph (long endPos, int &id, std::string &mess) |
the paragraph | |
void | sendParagraph (int pId) |
bool | readSTSH (WPSEntry const &entry) |
reads a style sheet zone | |
bool | readSGP (WPSEntry const &entry) |
parses a SGP zone: style general property ? | |
bool | findFDPStructures (int which, std::vector< WPSEntry > &result) |
finds the FDPC/FDPP structure using the BTEC/BTEP entries which == 0 means FDPP, 1 means FDPC | |
bool | findFDPStructuresByHand (int which, std::vector< WPSEntry > &result) |
finds the FDPC/FDPP structure by searching after the text zone which == 0 means FDPP, 1 means FDPC | |
libwps::DebugFile & | ascii () |
a DebugFile used to write what we recognize when we parse the document |
Protected Attributes | |
WPS8Text & | m_mainParser |
the main parser | |
RVNGInputStreamPtr | m_input |
the main input | |
WPSContentListenerPtr | m_listener |
the listener | |
std::shared_ptr< WPS8TextStyleInternal::State > | m_state |
the internal state | |
libwps::DebugFile & | m_asciiFile |
the ascii file |
Private Member Functions | |
WPS8TextStyle (WPS8TextStyle const &orig)=delete | |
private copy constructor: forbidden | |
WPS8TextStyle & | operator= (WPS8TextStyle const &orig)=delete |
private copy operator: forbidden |
Friends | |
class | WPS8Text |
|
explicit |
Referenced by operator=(), and WPS8TextStyle().
WPS8TextStyle::~WPS8TextStyle | ( | ) |
|
privatedelete |
private copy constructor: forbidden
|
inlineprotected |
a DebugFile used to write what we recognize when we parse the document
Referenced by readFontNames(), readSGP(), readSTSH(), and WPS8TextStyle().
|
protected |
finds the FDPC/FDPP structure using the BTEC/BTEP entries which == 0 means FDPP, 1 means FDPC
Referenced by readStructures().
|
protected |
finds the FDPC/FDPP structure by searching after the text zone which == 0 means FDPP, 1 means FDPC
Referenced by readStructures().
|
privatedelete |
private copy operator: forbidden
|
protected |
reads a font properties
Referenced by readSTSH().
|
protected |
reads the font names
Referenced by readStructures().
|
protected |
the paragraph
Note: I also find a val 0x2D which seems to have some sense in correspondance with field 15 (val 0x29) and field 1c
Referenced by readSTSH().
|
protected |
parses a SGP zone: style general property ?
Referenced by readStructures().
bool WPS8TextStyle::readStructures | ( | ) |
finds all entries which correspond to the styles, parses them and stores data
|
protected |
reads a style sheet zone
|
protected |
|
protected |
|
inline |
sets the listener
|
friend |
Referenced by WPS8Text, and WPS8TextStyle().
|
protected |
the ascii file
Referenced by ascii(), and WPS8TextStyle().
|
protected |
the main input
Referenced by readFont(), readFontNames(), readParagraph(), readSGP(), readSTSH(), and WPS8TextStyle().
|
protected |
the listener
Referenced by sendFont(), sendParagraph(), setListener(), and WPS8TextStyle().
|
protected |
the main parser
Referenced by findFDPStructures(), findFDPStructuresByHand(), readStructures(), and WPS8TextStyle().
|
mutableprotected |
the internal state
Referenced by readFont(), readFontNames(), readParagraph(), sendFont(), sendParagraph(), and WPS8TextStyle().