the main class to read the graphic part of a FullWrite Text file More...
#include <FullWrtGraph.hxx>
Public Member Functions | |
FullWrtGraph (FullWrtParser &parser) | |
constructor | |
virtual | ~FullWrtGraph () |
destructor | |
int | version () const |
returns the file version | |
int | numPages () const |
returns the number of pages | |
Protected Member Functions | |
void | flushExtra () |
sends the data which have not yet been sent to the listener | |
bool | sendPageGraphics () |
try to send the page graphic | |
bool | getBorder (int bId, FullWrtStruct::Border &border) const |
try to return a border corresponding to an id | |
bool | send (int fileId, MWAWColor const &fontColor) |
try to send the child of a zone | |
bool | readBorderDocInfo (FullWrtStruct::EntryPtr zone) |
try to read the border definiton (at the end of doc info) | |
std::shared_ptr< FullWrtStruct::ZoneHeader > | readSideBar (FullWrtStruct::EntryPtr zone, FullWrtStruct::ZoneHeader const &doc) |
try to read a sidebar data (zone 13 or zone 14) | |
bool | readSideBarPosition (FullWrtStruct::EntryPtr zone, FullWrtGraphInternal::SideBar &frame) |
try to read the sidebar position zone | |
bool | readSideBarFormat (FullWrtStruct::EntryPtr zone, FullWrtGraphInternal::SideBar &frame) |
try to read the sidebar second zone | |
bool | readSideBarUnknown (FullWrtStruct::EntryPtr zone, FullWrtGraphInternal::SideBar &frame) |
try to read the sidebar third zone | |
bool | sendSideBar (FullWrtGraphInternal::SideBar const &frame) |
try to send a sidebar | |
bool | readGraphic (FullWrtStruct::EntryPtr zone) |
check if a zone is a graphic zone | |
bool | sendGraphic (int fId) |
send a graphic knowing the graphic fileId | |
bool | sendGraphic (FullWrtStruct::EntryPtr zone) |
send a graphic to a listener (if it exists) | |
std::shared_ptr< FullWrtStruct::ZoneHeader > | readGraphicData (FullWrtStruct::EntryPtr zone, FullWrtStruct::ZoneHeader &doc) |
try to read the graphic data | |
Protected Attributes | |
MWAWParserStatePtr | m_parserState |
the parser state | |
std::shared_ptr< FullWrtGraphInternal::State > | m_state |
the state | |
FullWrtParser * | m_mainParser |
the main parser; | |
Private Member Functions | |
FullWrtGraph (FullWrtGraph const &orig)=delete | |
FullWrtGraph & | operator= (FullWrtGraph const &orig)=delete |
Friends | |
class | FullWrtParser |
class | FullWrtGraphInternal::SubDocument |
the main class to read the graphic part of a FullWrite Text file
|
explicit |
constructor
|
virtual |
destructor
|
privatedelete |
|
protected |
sends the data which have not yet been sent to the listener
|
protected |
try to return a border corresponding to an id
Referenced by sendSideBar().
int FullWrtGraph::numPages | ( | ) | const |
returns the number of pages
|
privatedelete |
|
protected |
try to read the border definiton (at the end of doc info)
|
protected |
check if a zone is a graphic zone
|
protected |
try to read the graphic data
|
protected |
try to read a sidebar data (zone 13 or zone 14)
|
protected |
try to read the sidebar second zone
Referenced by readSideBar().
|
protected |
try to read the sidebar position zone
Referenced by readSideBar().
|
protected |
try to read the sidebar third zone
Referenced by readSideBar().
|
protected |
try to send the child of a zone
|
protected |
send a graphic to a listener (if it exists)
|
protected |
send a graphic knowing the graphic fileId
Referenced by flushExtra(), and sendGraphic().
|
protected |
try to send the page graphic
|
protected |
try to send a sidebar
Referenced by sendPageGraphics().
int FullWrtGraph::version | ( | ) | const |
returns the file version
Referenced by readGraphic(), readGraphicData(), and readSideBarFormat().
|
friend |
|
friend |
|
protected |
the main parser;
Referenced by readGraphicData(), send(), and sendSideBar().
|
protected |
the parser state
Referenced by sendGraphic(), sendSideBar(), and version().
|
protected |
the state
Referenced by flushExtra(), getBorder(), numPages(), readBorderDocInfo(), readGraphic(), readSideBar(), sendGraphic(), sendPageGraphics(), and version().