MSWTextInternal::State Struct Reference

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

List of all members.

Public Member Functions

 State ()
 constructor
long getTotalTextSize () const
 returns the total text size
int getTextStructId (long textPos) const
 returns the id of textpos corresponding to a cPos or -1
long getFilePos (long textPos) const
 returns the file position corresponding to a text entry
shared_ptr< TablegetTable (long cPos) const
 try to return a table which begins at a character position

Public Attributes

int m_version
 the file version
long m_bot
 the default text begin
long m_textLength [3]
 the text length (main, footnote, header+footer)
std::vector< MWAWEntrym_headerFooterZones
 the header/footer zones
std::vector< TextStructm_textposList
 the text positions
std::multimap< long, MSWText::PLCm_plcMap
 the text correspondance zone ( textpos, plc )
std::multimap< long, MSWText::PLCm_filePlcMap
 the file correspondance zone ( filepos, plc )
std::vector< Linem_lineList
 the list of lines
std::map< long, int > m_paragraphLimitMap
 the paragraph limit -> textposition (or -1)
std::vector< long > m_sectionLimitList
 the section cPos limit
std::map< long, MSWStruct::Fontm_fontMap
 the final correspondance font zone ( textpos, font)
std::map< long,
MSWStruct::Paragraph
m_paragraphMap
 the final correspondance paragraph zone ( textpos, paragraph)
std::map< long, Propertym_propertyMap
 the position where we have new data ( textpos -> [ we have done debug printing ])
std::set< long > m_tableCellPosSet
 a set of all begin cell position
std::map< long, shared_ptr
< Table > > 
m_tableMap
 the final correspondance table zone ( textpos, font)
std::vector
< MSWStruct::ParagraphInfo
m_paraInfoList
 the list of paragraph info modifier
std::vector< Pagem_pageList
 the list of pages
std::vector< Fieldm_fieldList
 the list of fields
std::vector< Footnotem_footnoteList
 the list of footnotes
int m_actPage
 the actual page
int m_numPages
 the number of page of the final document

Detailed Description

Internal: the state of a MSWParser.


Constructor & Destructor Documentation

constructor


Member Function Documentation

long MSWTextInternal::State::getFilePos ( long  textPos) const [inline]

returns the file position corresponding to a text entry

shared_ptr<Table> MSWTextInternal::State::getTable ( long  cPos) const [inline]

try to return a table which begins at a character position

int MSWTextInternal::State::getTextStructId ( long  textPos) const [inline]

returns the id of textpos corresponding to a cPos or -1

Referenced by getFilePos().

returns the total text size


Member Data Documentation

the actual page

the default text begin

Referenced by getFilePos().

the list of fields

the file correspondance zone ( filepos, plc )

the final correspondance font zone ( textpos, font)

the list of footnotes

the header/footer zones

the list of lines

the number of page of the final document

the list of pages

the paragraph limit -> textposition (or -1)

the final correspondance paragraph zone ( textpos, paragraph)

the list of paragraph info modifier

the text correspondance zone ( textpos, plc )

the position where we have new data ( textpos -> [ we have done debug printing ])

the section cPos limit

a set of all begin cell position

std::map<long, shared_ptr<Table> > MSWTextInternal::State::m_tableMap

the final correspondance table zone ( textpos, font)

Referenced by getTable().

the text length (main, footnote, header+footer)

Referenced by getTotalTextSize(), and State().

the text positions

Referenced by getFilePos(), and getTextStructId().

the file version


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