30 #include <librevenge-stream/librevenge-stream.h> 91 bool readChart(std::shared_ptr<WPSStream> stream);
98 bool readMacHeader(std::shared_ptr<WPSStream> stream,
long endPos,
int &chartId);
102 bool readMacLegend(std::shared_ptr<WPSStream> stream,
long endPos);
106 bool readMacAxis(std::shared_ptr<WPSStream> stream,
long endPos);
108 bool readMacSerie(std::shared_ptr<WPSStream> stream,
long endPos);
110 bool readMacFloor(std::shared_ptr<WPSStream> stream,
long endPos);
115 bool readPlotArea(std::shared_ptr<WPSStream> stream,
long endPos);
117 bool readSerie(std::shared_ptr<WPSStream> stream,
long endPos);
119 bool readSerieName(std::shared_ptr<WPSStream> stream,
long endPos);
121 bool readSerieWidth(std::shared_ptr<WPSStream> stream,
long endPos);
123 bool readFontsStyle(std::shared_ptr<WPSStream> stream,
long endPos);
138 std::shared_ptr<LotusChartInternal::State>
m_state;
bool sendCharts()
try to send the charts(for Windows .wk3 file)
Definition: LotusChart.cpp:2141
a cell position
Definition: WKSChart.h:50
LotusChart(LotusParser &parser)
constructor
Definition: LotusChart.cpp:168
bool readMacPosition(std::shared_ptr< WPSStream > stream, long endPos)
reads a manual position(wk3mac): 2904
Definition: LotusChart.cpp:1184
bool readMacPlotArea(std::shared_ptr< WPSStream > stream, long endPos)
reads a plot area position(wk3mac): 2788
Definition: LotusChart.cpp:1139
void updateChart(LotusChartInternal::Chart &chart, int id)
update a chart, so that it can be send
Definition: LotusChart.cpp:1937
bool readSerie(std::shared_ptr< WPSStream > stream, long endPos)
reads a serie style: 2a31
Definition: LotusChart.cpp:1220
bool readSerieName(std::shared_ptr< WPSStream > stream, long endPos)
reads a serie name: 2a32 (serie 6-...)
Definition: LotusChart.cpp:1488
This class parses Microsoft Works chart file.
Definition: LotusChart.h:53
bool readChartName(std::shared_ptr< WPSStream > stream)
reads the chart name or title: 12
Definition: LotusChart.cpp:635
bool readMacHeader(std::shared_ptr< WPSStream > stream, long endPos, int &chartId)
reads a chart data: 2710 (wk3mac)
Definition: LotusChart.cpp:731
bool readMacLegend(std::shared_ptr< WPSStream > stream, long endPos)
reads a legend position(wk3mac): 277e
Definition: LotusChart.cpp:1092
the chart of a Lotus Pro Dos
Definition: LotusChart.cpp:54
std::map< std::string, int > getNameToChartIdMap() const
returns a map chart name to chart id map
Definition: LotusChart.cpp:185
This class parses a wk3,wk4,123 Lotus spreadsheet.
Definition: Lotus.h:72
bool readChart(std::shared_ptr< WPSStream > stream)
reads a structure which define a chart: 11
Definition: LotusChart.cpp:254
basic struct used to store link
Definition: Lotus.h:92
bool readMacAxis(std::shared_ptr< WPSStream > stream, long endPos)
reads an axis style(wk3mac): 27d8
Definition: LotusChart.cpp:775
void setListener(WKSContentListenerPtr &listen)
sets the listener
Definition: LotusChart.h:68
a structure used to define a picture style
Definition: WPSGraphicStyle.h:37
bool readFontsStyle(std::shared_ptr< WPSStream > stream, long endPos)
reads a list of font style: 2a34
Definition: LotusChart.cpp:1697
void updateState()
update internal state (must be called one time before sending data)
Definition: LotusChart.cpp:197
bool convert(LotusParser::Link const &link, WKSChart::Position(&positions)[2]) const
convert a link zone in a chart position(if possible)
Definition: LotusChart.cpp:1926
bool readSerieWidth(std::shared_ptr< WPSStream > stream, long endPos)
reads a serie width style: 2a33
Definition: LotusChart.cpp:1537
std::shared_ptr< WKSContentListener > m_listener
Definition: LotusChart.h:132
This class parses the Lotus style.
Definition: LotusStyleManager.h:47
void cleanState()
clean internal state
Definition: LotusChart.cpp:180
int version() const
return the file version
Definition: LotusChart.cpp:240
std::shared_ptr< LotusStyleManager > m_styleManager
the style manager
Definition: LotusChart.h:136
LotusParser & m_mainParser
the listener (if set)
Definition: LotusChart.h:134
bool readMacSerie(std::shared_ptr< WPSStream > stream, long endPos)
reads a serie style(wk3mac): 27e2
Definition: LotusChart.cpp:815
bool readMacFloor(std::shared_ptr< WPSStream > stream, long endPos)
reads a 3D floor style(wk3mac): 2846
Definition: LotusChart.cpp:1042
std::shared_ptr< LotusChartInternal::State > m_state
the internal state
Definition: LotusChart.h:138
std::shared_ptr< WKSContentListener > WKSContentListenerPtr
shared pointer to WKSContentListener
Definition: libwps_internal.h:114
bool readPlotArea(std::shared_ptr< WPSStream > stream, long endPos)
reads a plot area style: 2a30 (unsure)
Definition: LotusChart.cpp:1572
bool sendText(std::shared_ptr< WPSStream > stream, WPSEntry const &entry)
try to send the text
Definition: LotusChart.cpp:2120
~LotusChart()
destructor
Definition: LotusChart.cpp:176
basic class to store an entry in a file This contained :
Definition: WPSEntry.h:38
bool readFramesStyle(std::shared_ptr< WPSStream > stream, long endPos)
reads a some frame styles: 2a35
Definition: LotusChart.cpp:1739
int getNumCharts() const
return the number of chart
Definition: LotusChart.cpp:235
LotusChart & operator=(LotusChart const &orig)=delete
Class to define the position of an object (textbox, picture, ..) in the document. ...
Definition: WPSPosition.h:39
bool sendChart(int cId, WPSPosition const &pos, WPSGraphicStyle const &style)
try to send a chart
Definition: LotusChart.cpp:2171
Definition: LotusChart.cpp:49
bool readMacPlacement(std::shared_ptr< WPSStream > stream, long endPos)
reads a placement position(wk3mac): 2774
Definition: LotusChart.cpp:989