29 #include <librevenge-stream/librevenge-stream.h>
36 namespace LotusGraphInternal
72 void updateState(std::map<int,int>
const &zIdToSheetIdMap);
99 bool readZoneBegin(shared_ptr<WPSStream> stream,
long endPos);
101 bool readZoneData(shared_ptr<WPSStream> stream,
long endPos,
int type);
116 bool readFrame(shared_ptr<WPSStream> stream);
136 shared_ptr<LotusGraphInternal::State>
m_state;
bool readPictureData(shared_ptr< WPSStream > stream, long endPos)
reads a picture data: 2410 (wk3mac)
Definition: LotusGraph.cpp:884
bool readTextBoxData(shared_ptr< WPSStream > stream, long endPos)
reads a graphic textbox data: 23f0 (wk3mac)
Definition: LotusGraph.cpp:797
shared_ptr< WKSContentListener > m_listener
Definition: LotusGraph.h:130
Internal: the subdocument of a LotusGraphc.
Definition: LotusGraph.cpp:475
bool readGraphic(shared_ptr< WPSStream > stream)
try to read a graphic: 0xca (wk4)
Definition: LotusGraph.cpp:1284
the graphic zone of a LotusGraph for 123 mac
Definition: LotusGraph.cpp:54
WKSParser * parser() const
returns the parser
Definition: WKSSubDocument.h:44
~LotusGraph()
destructor
Definition: LotusGraph.cpp:541
void setListener(WKSContentListenerPtr &listen)
sets the listener
Definition: LotusGraph.h:67
bool readPictureDefinition(shared_ptr< WPSStream > stream, long endPos)
reads a picture definition: 240e (wk3mac)
Definition: LotusGraph.cpp:833
LotusGraph(LotusParser &parser)
constructor
Definition: LotusGraph.cpp:535
void sendPicture(LotusGraphInternal::ZoneMac const &zone)
try to send a picture: 123 mac
Definition: LotusGraph.cpp:937
shared_ptr< LotusStyleManager > m_styleManager
the style manager
Definition: LotusGraph.h:134
This class parses Microsoft Works graph file.
Definition: LotusGraph.h:54
This class parses a WK2..WK4 Lotus spreadsheet.
Definition: Lotus.h:66
bool readZoneBeginC9(shared_ptr< WPSStream > stream)
try to read the sheet id: 0xc9 (wk4)
Definition: LotusGraph.cpp:1253
a list of ZonePc of a LotusGraph for 123 pc
Definition: LotusGraph.cpp:422
bool readGraphZone(shared_ptr< WPSStream > stream, int zId)
try to read the graphic zone: 1XXX
Definition: LotusGraph.cpp:2011
bool readZoneData(shared_ptr< WPSStream > stream, long endPos, int type)
reads a graphic zone: 2332, 2346, 2350, 2352, 23f0 (wk3mac)
Definition: LotusGraph.cpp:615
shared_ptr< WKSContentListener > WKSContentListenerPtr
shared pointer to WKSContentListener
Definition: libwps_internal.h:129
void sendTextBox(shared_ptr< WPSStream > stream, WPSEntry const &entry)
try to send a textbox content's
Definition: LotusGraph.cpp:962
This class parses the Lotus style.
Definition: LotusStyleManager.h:47
bool readGraphDataZone(shared_ptr< WPSStream > stream, long endPos)
try to read the graphic data zone: 010d
Definition: LotusGraph.cpp:2441
bool readFrame(shared_ptr< WPSStream > stream)
try to read a graph's frame: 0xcc (wk4)
Definition: LotusGraph.cpp:1729
LotusGraph & operator=(LotusGraph const &orig)
void sendTextBoxWK4(shared_ptr< WPSStream > stream, WPSEntry const &entry, bool isButton)
try to send a textbox content's
Definition: LotusGraph.cpp:1843
void cleanState()
clean internal state
Definition: LotusGraph.cpp:545
int version() const
return the file version
Definition: LotusGraph.cpp:555
void sendGraphics(int sheetId)
send the graphics corresponding to a sheetId
Definition: LotusGraph.cpp:1155
LotusParser & m_mainParser
the listener (if set)
Definition: LotusGraph.h:132
bool hasGraphics(int sheetId) const
return true if the sheet sheetId has some graphic
Definition: LotusGraph.cpp:562
bool readZoneBegin(shared_ptr< WPSStream > stream, long endPos)
reads a begin graphic zone: 2328 (wk3mac)
Definition: LotusGraph.cpp:583
shared_ptr< LotusGraphInternal::State > m_state
the internal state
Definition: LotusGraph.h:136
bool readTextBoxDataD1(shared_ptr< WPSStream > stream)
reads a graphic textbox data: 0xd1 (wk4)
Definition: LotusGraph.cpp:1811
void updateState(std::map< int, int > const &zIdToSheetIdMap)
update the state (need to be called before sending data)
Definition: LotusGraph.cpp:550
basic class to store an entry in a file This contained :
Definition: WPSEntry.h:38
void sendZone(LotusGraphInternal::ZonePcList const &zoneList, size_t id, WPSTransformation &transf)
try to send a shape: 123 pc
Definition: LotusGraph.cpp:1933