30#include <librevenge-stream/librevenge-stream.h>
78 void updateState(std::map<int,int>
const &zIdToSheetIdMap,
79 std::map<std::string,int>
const &nameToChartIdMap);
109 bool readZoneBegin(std::shared_ptr<WPSStream> stream,
long endPos);
111 bool readZoneData(std::shared_ptr<WPSStream> stream,
long endPos,
int type);
126 bool readGraphic(std::shared_ptr<WPSStream> stream);
128 bool readFrame(std::shared_ptr<WPSStream> stream);
135 bool readGraphZone(std::shared_ptr<WPSStream> stream,
int zId);
148 std::shared_ptr<LotusGraphInternal::State>
m_state;
Internal: the subdocument of a LotusGraphc.
Definition LotusGraph.cpp:525
bool readZoneBegin(std::shared_ptr< WPSStream > stream, long endPos)
reads a begin graphic zone: 2328 (wk3mac)
Definition LotusGraph.cpp:653
void updateState(std::map< int, int > const &zIdToSheetIdMap, std::map< std::string, int > const &nameToChartIdMap)
update the state (need to be called before sending data)
Definition LotusGraph.cpp:605
bool readFMTPictName(std::shared_ptr< WPSStream > stream)
try to read the pict filename, ...: b7 (wk3-wk4 pc)
Definition LotusGraph.cpp:1380
bool setChartId(int chartId)
sets the current chart id(interface with LotusChart)
Definition LotusGraph.cpp:634
std::shared_ptr< WKSContentListener > m_listener
Definition LotusGraph.h:142
bool readTextBoxDataD1(std::shared_ptr< WPSStream > stream)
reads a graphic textbox data: 0xd1 (wk4)
Definition LotusGraph.cpp:1999
bool hasGraphics(int sheetId) const
return true if the sheet sheetId has some graphic
Definition LotusGraph.cpp:619
bool readGraphDataZone(std::shared_ptr< WPSStream > stream, long endPos)
try to read the graphic data zone: 010d
Definition LotusGraph.cpp:2635
LotusGraph & operator=(LotusGraph const &orig)=delete
bool readZoneData(std::shared_ptr< WPSStream > stream, long endPos, int type)
reads a graphic zone: 2332, 2346, 2350, 2352, 23f0 (wk3mac)
Definition LotusGraph.cpp:685
std::shared_ptr< LotusStyleManager > m_styleManager
the style manager
Definition LotusGraph.h:146
void setListener(WKSContentListenerPtr &listen)
sets the listener
Definition LotusGraph.h:68
void sendZone(LotusGraphInternal::ZonePcList const &zoneList, size_t id, WPSTransformation const &transf)
try to send a shape: 123 pc
Definition LotusGraph.cpp:2127
bool readGraphic(std::shared_ptr< WPSStream > stream)
try to read a graphic: 0xca (wk4)
Definition LotusGraph.cpp:1472
LotusParser & m_mainParser
the listener (if set)
Definition LotusGraph.h:144
bool readTextBoxData(std::shared_ptr< WPSStream > stream, long endPos)
reads a graphic textbox data: 23f0 (wk3mac)
Definition LotusGraph.cpp:867
bool readFrame(std::shared_ptr< WPSStream > stream)
try to read a graph's frame: 0xcc (wk4)
Definition LotusGraph.cpp:1917
void sendPicture(LotusGraphInternal::ZoneMac const &zone)
try to send a picture: 123 mac
Definition LotusGraph.cpp:1007
bool readZoneBeginC9(std::shared_ptr< WPSStream > stream)
try to read the sheet id: 0xc9 (wk4)
Definition LotusGraph.cpp:1349
bool readGraphZone(std::shared_ptr< WPSStream > stream, int zId)
try to read the graphic zone: 1XXX
Definition LotusGraph.cpp:2205
friend class LotusParser
Definition LotusGraph.h:58
int version() const
return the file version
Definition LotusGraph.cpp:612
void cleanState()
clean internal state
Definition LotusGraph.cpp:600
void sendGraphics(int sheetId)
send the graphics corresponding to a sheetId
Definition LotusGraph.cpp:1231
void sendTextBoxWK4(std::shared_ptr< WPSStream > stream, WPSEntry const &entry, bool isButton)
try to send a textbox content's
Definition LotusGraph.cpp:2031
~LotusGraph()
destructor
Definition LotusGraph.cpp:596
bool readPictureData(std::shared_ptr< WPSStream > stream, long endPos)
reads a picture data: 2410 (wk3mac)
Definition LotusGraph.cpp:954
LotusGraph(LotusGraph const &orig)=delete
bool readPictureDefinition(std::shared_ptr< WPSStream > stream, long endPos)
reads a picture definition: 240e (wk3mac)
Definition LotusGraph.cpp:903
void sendTextBox(std::shared_ptr< WPSStream > stream, WPSEntry const &entry)
try to send a textbox content's
Definition LotusGraph.cpp:1032
LotusGraph(LotusParser &parser)
constructor
Definition LotusGraph.cpp:588
std::shared_ptr< LotusGraphInternal::State > m_state
the internal state
Definition LotusGraph.h:148
This class parses a wk3,wk4,123 Lotus spreadsheet.
Definition Lotus.h:73
This class parses the Lotus style.
Definition LotusStyleManager.h:51
basic class to store an entry in a file This contained :
Definition WPSEntry.h:39
std::shared_ptr< WKSContentListener > WKSContentListenerPtr
shared pointer to WKSContentListener
Definition libwps_internal.h:114
Definition LotusGraph.cpp:52
the state of LotusGraph
Definition LotusGraph.cpp:485
the graphic zone of a LotusGraph for 123 mac
Definition LotusGraph.cpp:55
a list of ZonePc of a LotusGraph for 123 pc
Definition LotusGraph.cpp:460
the graphic zone of a LotusGraph for 123 pc
Definition LotusGraph.cpp:258
the graphic zone of a LotusGraph : wk4
Definition LotusGraph.cpp:208