WNTextInternal::State Struct Reference

Internal: the state of a WNText. More...

List of all members.

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
shared_ptr< ContentZonesgetContentZone (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
shared_ptr< ContentZonesm_header
 the header and the footer
shared_ptr< ContentZonesm_footer
std::map< int, int > m_localFIdMap
 a map local fontId->fontId
std::map< int, int > m_styleMap
 the style indirection table
std::vector< Stylem_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, shared_ptr
< ContentZones > > 
m_contentMap
 the list of contentZones

Detailed Description

Internal: the state of a WNText.


Constructor & Destructor Documentation

constructor


Member Function Documentation

shared_ptr<ContentZones> WNTextInternal::State::getContentZone ( long  pos) const [inline]

return the content corresponding to a pos

return a paragraph corresponding to 0:body, 1: header/footer, 2: footnote

int WNTextInternal::State::getFontId ( int  localId) const [inline]

return a mac font id corresponding to a local id


Member Data Documentation

std::map<long, shared_ptr<ContentZones> > WNTextInternal::State::m_contentMap

the list of contentZones

Referenced by getContentZone().

the header and the footer

a map local fontId->fontId

Referenced by getFontId().

the three main zone ( text, footnote, header/footer)

the number of column

the paragraph properties

Referenced by getDefaultParagraph().

the list of styles (body, footer, footnote, header, table )

Referenced by getDefaultParagraph().

the style indirection table

the file version

Referenced by getDefaultParagraph().


The documentation for this struct was generated from the following file: