95 bool sendTable(
Vec2f const &siz,
int tableId,
int strsid,
bool inTextBox=
false);
125 mutable std::shared_ptr<WPS8TableInternal::State>
m_state;
This class parses Works version 2000 through 8.
Definition WPS8.h:50
void setListener(WPSContentListenerPtr &listen)
sets the listener
Definition WPS8Table.h:69
bool readMCLD(RVNGInputStreamPtr input, WPSEntry const &entry)
reads a MCLD zone: a zone which stores the tables structures
Definition WPS8Table.cpp:338
void sendTextInCell(int strsId, int cellId)
Definition WPS8Table.cpp:237
libwps::DebugFile & m_asciiFile
the ascii file
Definition WPS8Table.h:128
WPS8Table(WPS8Table const &orig)=delete
WPS8Table(WPS8Parser &parser)
constructor
Definition WPS8Table.cpp:210
std::shared_ptr< WPS8TableInternal::State > m_state
the state
Definition WPS8Table.h:125
int version() const
returns the file version
Definition WPS8Table.cpp:225
void flushExtra()
sends the data which have not been send to the listener.
Definition WPS8Table.cpp:250
friend class WPS8Parser
Definition WPS8Table.h:60
WPS8Table & operator=(WPS8Table const &orig)=delete
bool sendTable(Vec2f const &siz, int tableId, int strsid, bool inTextBox=false)
tries to send a table corresponding to strsid with actual size siz
Definition WPS8Table.cpp:266
void computePositions() const
computes the final position of all table: does nothing as table anchors seem always a char
Definition WPS8Table.cpp:245
libwps::DebugFile & ascii()
returns the debug file
Definition WPS8Table.h:109
WPSContentListenerPtr m_listener
the listener
Definition WPS8Table.h:119
~WPS8Table()
destructor
Definition WPS8Table.cpp:218
WPS8Parser & m_mainParser
the main parser
Definition WPS8Table.h:122
int numPages() const
returns the number page where we find a picture. In practice, 0/1
Definition WPS8Table.cpp:232
bool readStructures(RVNGInputStreamPtr const &input)
finds all structures which correspond to a table
Definition WPS8Table.cpp:317
basic class to store an entry in a file This contained :
Definition WPSEntry.h:39
Definition WPSDebug.h:208
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
std::shared_ptr< WPSContentListener > WPSContentListenerPtr
shared pointer to WPSContentListener
Definition libwps_internal.h:107
Internal: the structures of a WPS8Table.
Definition WPS8Table.cpp:45
Internal: class to store a basic cell with borders.
Definition WPS8Table.cpp:48
Internal: the state of a WPS8Table.
Definition WPS8Table.cpp:166