22#ifndef QUATTRO_DOS_CHART_H
23#define QUATTRO_DOS_CHART_H
29#include <librevenge-stream/librevenge-stream.h>
101 std::shared_ptr<QuattroDosChartInternal::State>
m_state;
the chart of a Quattro Pro Dos
Definition QuattroDosChart.cpp:53
std::shared_ptr< QuattroDosChartInternal::State > m_state
the internal state
Definition QuattroDosChart.h:101
bool readChartSetType()
reads the chart type: b8(3d) or ca(bubble)
Definition QuattroDosChart.cpp:294
int getNumSpreadsheets() const
returns the number of spreadsheet
Definition QuattroDosChart.cpp:182
libwps::DebugFile & m_asciiFile
the ascii file
Definition QuattroDosChart.h:103
void getChartPositionMap(int sheetId, std::map< Vec2i, Vec2i > &cellMap) const
returns the list of cell's begin to end corresponding to a chart
Definition QuattroDosChart.cpp:196
~QuattroDosChart()
destructor
Definition QuattroDosChart.cpp:159
std::shared_ptr< WKSContentListener > m_listener
Definition QuattroDosChart.h:97
QuattroDosChart(QuattroDosChart const &orig)=delete
void setListener(WKSContentListenerPtr &listen)
sets the listener
Definition QuattroDosChart.h:60
QuattroDosChart(QuattroDosParser &parser)
constructor
Definition QuattroDosChart.cpp:150
libwps::DebugFile & ascii()
returns the debug file
Definition QuattroDosChart.h:91
QuattroDosChart & operator=(QuattroDosChart const &orig)=delete
bool readChartName()
reads the chart name: b9
Definition QuattroDosChart.cpp:323
RVNGInputStreamPtr m_input
the input
Definition QuattroDosChart.h:96
QuattroDosParser & m_mainParser
the listener (if set)
Definition QuattroDosChart.h:99
bool sendText(WPSEntry const &entry)
try to send the text
Definition QuattroDosChart.cpp:267
bool checkFilePosition(long pos)
return true if the pos is in the file, update the file size if need
Definition QuattroDosChart.cpp:170
bool sendChart(int sheetId, Vec2i const &cell, Vec2f const &chartSize)
try to send the chart corresponding to sheetId and a position
Definition QuattroDosChart.cpp:237
bool updateSpreadsheetNames(QuattroDosChartInternal::Chart &chart)
update the chart spreadsheet name
Definition QuattroDosChart.cpp:208
int version() const
return the file version
Definition QuattroDosChart.cpp:163
bool readChart()
reads a structure which define a chart: 2d(default), 2e(name + value)
Definition QuattroDosChart.cpp:355
friend class QuattroDosParser
Definition QuattroDosChart.h:52
This class parses Quattro Pro spreadsheet: .wq1 and wq2.
Definition QuattroDos.h:49
basic class to store an entry in a file This contained :
Definition WPSEntry.h:39
Definition WPSDebug.h:208
std::shared_ptr< WKSContentListener > WKSContentListenerPtr
shared pointer to WKSContentListener
Definition libwps_internal.h:114
Vec2< int > Vec2i
Vec2 of int.
Definition libwps_internal.h:702
Vec2< float > Vec2f
Vec2 of float.
Definition libwps_internal.h:704
std::shared_ptr< librevenge::RVNGInputStream > RVNGInputStreamPtr
shared pointer to librevenge::RVNGInputStream
Definition libwps_internal.h:87
Definition QuattroDosChart.cpp:47
the state of QuattroDosChart
Definition QuattroDosChart.cpp:99