Internal: the state of a WriteNowText. More...
Public Member Functions | |
State () | |
constructor | |
Paragraph | getDefaultParagraph (int type) const |
return a paragraph corresponding to 0:body, 1: header/footer, 2: footnote | |
int | getFontId (int localId) const |
return a mac font id corresponding to a local id | |
std::shared_ptr< ContentZones > | getContentZone (long pos) const |
return the content corresponding to a pos |
Public Attributes | |
int | m_version |
the file version | |
int | m_numColumns |
the number of column | |
int | m_numPages |
int | m_actualPage |
Paragraph | m_paragraph |
the paragraph properties | |
std::shared_ptr< ContentZones > | m_header |
the header and the footer | |
std::shared_ptr< ContentZones > | m_footer |
std::map< int, int > | m_localFIdMap |
a map local fontId->fontId | |
std::map< int, int > | m_styleMap |
the style indirection table | |
std::vector< Style > | m_styleList |
the list of styles (body, footer, footnote, header, table ) | |
Zone | m_mainZones [3] |
the three main zone ( text, footnote, header/footer) | |
std::map< long, std::shared_ptr< ContentZones > > | m_contentMap |
the list of contentZones |
Internal: the state of a WriteNowText.
|
inline |
constructor
|
inline |
return the content corresponding to a pos
|
inline |
return a paragraph corresponding to 0:body, 1: header/footer, 2: footnote
|
inline |
return a mac font id corresponding to a local id
int WriteNowTextInternal::State::m_actualPage |
Referenced by State().
std::map<long, std::shared_ptr<ContentZones> > WriteNowTextInternal::State::m_contentMap |
the list of contentZones
Referenced by getContentZone(), and State().
std::shared_ptr<ContentZones> WriteNowTextInternal::State::m_footer |
Referenced by State().
std::shared_ptr<ContentZones> WriteNowTextInternal::State::m_header |
the header and the footer
Referenced by State().
std::map<int, int> WriteNowTextInternal::State::m_localFIdMap |
a map local fontId->fontId
Referenced by getFontId(), and State().
Zone WriteNowTextInternal::State::m_mainZones[3] |
the three main zone ( text, footnote, header/footer)
int WriteNowTextInternal::State::m_numColumns |
the number of column
Referenced by State().
int WriteNowTextInternal::State::m_numPages |
Referenced by State().
std::vector<Style> WriteNowTextInternal::State::m_styleList |
the list of styles (body, footer, footnote, header, table )
Referenced by getDefaultParagraph(), and State().
std::map<int, int> WriteNowTextInternal::State::m_styleMap |
the style indirection table
Referenced by State().
|
mutable |
the file version
Referenced by getDefaultParagraph(), and State().