This class parses Microsoft Works graph file. More...
#include <LotusGraph.h>
| Public Member Functions | |
| LotusGraph (LotusParser &parser) | |
| constructor  More... | |
| ~LotusGraph () | |
| destructor  More... | |
| void | cleanState () | 
| clean internal state  More... | |
| void | setListener (WKSContentListenerPtr &listen) | 
| sets the listener  More... | |
| Protected Member Functions | |
| bool | checkFilePosition (long pos) | 
| return true if the pos is in the file, update the file size if need  More... | |
| int | version () const | 
| return the file version  More... | |
| bool | hasGraphics (int sheetId) const | 
| return true if the sheet sheetId has some graphic  More... | |
| void | sendGraphics (int sheetId) | 
| send the graphics corresponding to a sheetId  More... | |
| void | sendPicture (LotusGraphInternal::Zone const &zone) | 
| try to send a picture  More... | |
| void | sendTextBox (WPSEntry const &entry) | 
| try to send a textbox content's  More... | |
| bool | readZoneBegin (long endPos) | 
| reads a begin graphic zone  More... | |
| bool | readZoneData (long endPos, int type) | 
| reads a graphic zone  More... | |
| bool | readTextBoxData (long endPos) | 
| reads a graphic textbox data  More... | |
| bool | readPictureDefinition (long endPos) | 
| reads a picture definition  More... | |
| bool | readPictureData (long endPos) | 
| reads a picture data  More... | |
| Private Member Functions | |
| LotusGraph (LotusGraph const &orig) | |
| LotusGraph & | operator= (LotusGraph const &orig) | 
| libwps::DebugFile & | ascii () | 
| returns the debug file  More... | |
| Private Attributes | |
| RVNGInputStreamPtr | m_input | 
| the input  More... | |
| shared_ptr< WKSContentListener > | m_listener | 
| LotusParser & | m_mainParser | 
| the listener (if set)  More... | |
| shared_ptr< LotusStyleManager > | m_styleManager | 
| the style manager  More... | |
| shared_ptr< LotusGraphInternal::State > | m_state | 
| the internal state  More... | |
| libwps::DebugFile & | m_asciiFile | 
| the ascii file  More... | |
| Friends | |
| class | LotusParser | 
| class | LotusGraphInternal::SubDocument | 
This class parses Microsoft Works graph file.
| 
 | explicit | 
constructor
| LotusGraph::~LotusGraph | ( | ) | 
destructor
| 
 | private | 
| 
 | inlineprivate | 
returns the debug file
Referenced by readPictureData(), readPictureDefinition(), readTextBoxData(), readZoneBegin(), readZoneData(), and sendTextBox().
| 
 | protected | 
return true if the pos is in the file, update the file size if need
| void LotusGraph::cleanState | ( | ) | 
clean internal state
| 
 | protected | 
return true if the sheet sheetId has some graphic
| 
 | private | 
| 
 | protected | 
reads a picture data
| 
 | protected | 
reads a picture definition
| 
 | protected | 
reads a graphic textbox data
| 
 | protected | 
reads a begin graphic zone
| 
 | protected | 
reads a graphic zone
| 
 | protected | 
send the graphics corresponding to a sheetId
| 
 | protected | 
try to send a picture
Referenced by sendGraphics().
| 
 | protected | 
try to send a textbox content's
| 
 | inline | 
sets the listener
| 
 | protected | 
return the file version
| 
 | friend | 
| 
 | friend | 
| 
 | private | 
the ascii file
| 
 | private | 
the input
Referenced by checkFilePosition(), readPictureData(), readPictureDefinition(), readTextBoxData(), readZoneBegin(), readZoneData(), sendGraphics(), sendPicture(), and sendTextBox().
| 
 | private | 
Referenced by sendGraphics(), sendPicture(), and sendTextBox().
| 
 | private | 
| 
 | private | 
the internal state
Referenced by checkFilePosition(), cleanState(), hasGraphics(), LotusGraph(), readPictureData(), readPictureDefinition(), readTextBoxData(), readZoneBegin(), readZoneData(), sendGraphics(), and version().
| 
 | private | 
the style manager
Referenced by sendGraphics(), sendPicture(), and sendTextBox().