MsWksDocumentInternal::State Struct Reference

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

## Public Member Functions

| State ()
| constructor
std::vector< MWAWColor > const & | getPalette (int vers)
| returns a color palette

## Public Attributes

MWAWDocument::Kind | m_kind
| the type of document
long | m_fileHeaderSize
| the file header size
int | m_freeZoneId
| an id to count the number of free map
std::multimap< int, MsWksDocument::Zone > | m_typeZoneMap
| the list of zone (for v1-v3) document
std::multimap< std::string, MWAWEntry > | m_entryMap
| the list of entries, name->entry ( for v4 document)
bool | m_hasHeader
| true if there is a header v3
bool | m_hasFooter
| true if there is a footer v3
std::shared_ptr< MWAWOLEParser > | m_oleParser
| the ole parser
std::shared_ptr< MsWks4Zone > | m_headerParser
| parser of the header ole
std::shared_ptr< MsWks4Zone > | m_footerParser
| parser of the footer ole
std::shared_ptr< MsWks4Zone > | m_footnoteParser
| parser of the footnote ole
std::map< std::string, std::shared_ptr< MsWks4Zone > > | m_frameParserMap
| the frame parsers: name-> parser
std::vector< std::string > | m_unparsedOlesName
| the list of unparsed OLEs
std::vector< MWAWColor > | m_colorPalette [4]
| the color palette
int | m_actPage
| the actual page
int | m_numPages
| the number of page of the final document
int | m_headerHeight
| the header height if known
int | m_footerHeight
| the footer height if known

## Detailed Description

Internal: the state of a MsWksDocument.

## Constructor & Destructor Documentation

## State()

MsWksDocumentInternal::State::State | ( |  | ) |

inline

constructor

## Member Function Documentation

## getPalette()

std::vector< MWAWColor > const & MsWksDocumentInternal::State::getPalette | ( | int | vers | ) |

returns a color palette

## Member Data Documentation

## m_actPage

int MsWksDocumentInternal::State::m_actPage

the actual page

Referenced by State().

## m_colorPalette

std::vector<MWAWColor> MsWksDocumentInternal::State::m_colorPalette[4]

the color palette

Referenced by getPalette().

## m_entryMap

std::multimap<std::string, MWAWEntry> MsWksDocumentInternal::State::m_entryMap

the list of entries, name->entry ( for v4 document)

Referenced by State().

## m_fileHeaderSize

long MsWksDocumentInternal::State::m_fileHeaderSize

the file header size

Referenced by State().

## m_footerHeight

int MsWksDocumentInternal::State::m_footerHeight

the footer height if known

Referenced by State().

## m_footerParser

std::shared_ptr<MsWks4Zone> MsWksDocumentInternal::State::m_footerParser

parser of the footer ole

Referenced by State().

## m_footnoteParser

std::shared_ptr<MsWks4Zone> MsWksDocumentInternal::State::m_footnoteParser

parser of the footnote ole

Referenced by State().

## m_frameParserMap

std::map<std::string, std::shared_ptr<MsWks4Zone> > MsWksDocumentInternal::State::m_frameParserMap

the frame parsers: name-> parser

Referenced by State().

## m_freeZoneId

int MsWksDocumentInternal::State::m_freeZoneId

mutable

an id to count the number of free map

Referenced by State().

## m_hasFooter

bool MsWksDocumentInternal::State::m_hasFooter

true if there is a footer v3

Referenced by State().

## m_hasHeader

bool MsWksDocumentInternal::State::m_hasHeader

true if there is a header v3

Referenced by State().

## m_headerHeight

int MsWksDocumentInternal::State::m_headerHeight

the header height if known

Referenced by State().

## m_headerParser

std::shared_ptr<MsWks4Zone> MsWksDocumentInternal::State::m_headerParser

parser of the header ole

Referenced by State().

## m_kind

MWAWDocument::Kind MsWksDocumentInternal::State::m_kind

the type of document

Referenced by State().

## m_numPages

int MsWksDocumentInternal::State::m_numPages

the number of page of the final document

Referenced by State().

## m_oleParser

std::shared_ptr<MWAWOLEParser> MsWksDocumentInternal::State::m_oleParser

the ole parser

Referenced by State().

## m_typeZoneMap

std::multimap<int, MsWksDocument::Zone> MsWksDocumentInternal::State::m_typeZoneMap

the list of zone (for v1-v3) document

Referenced by State().

## m_unparsedOlesName

std::vector<std::string> MsWksDocumentInternal::State::m_unparsedOlesName

the list of unparsed OLEs

Referenced by State().

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

- MsWksDocument.cxx