28#include <librevenge-stream/librevenge-stream.h>
59 void parse(librevenge::RVNGTextInterface *documentInterface)
override;
68 std::shared_ptr<WPSContentListener>
createListener(librevenge::RVNGTextInterface *interface);
97 std::shared_ptr<XYWriteParserInternal::State>
m_state;
basic class to store an entry in a file This contained :
Definition WPSEntry.h:39
WPSParser(RVNGInputStreamPtr &input, WPSHeaderPtr &header)
Definition WPSParser.cpp:30
Internal: the subdocument of a XYWriteParser.
Definition XYWrite.cpp:604
XYWriteParser & operator=(const XYWriteParser &)=delete
XYWriteParser(const XYWriteParser &)=delete
bool parseMetaData(WPSEntry const &entry)
tries to parse the meta data zone
Definition XYWrite.cpp:1572
bool checkHeader(WPSHeader *header, bool strict=false)
checks if the document header is correct (or not)
Definition XYWrite.cpp:1790
bool checkFilePosition(long pos) const
check if the file position is correct or not
Definition XYWrite.cpp:677
bool parseFormat(XYWriteParserInternal::Format &format)
tries to parse a format: first character 0xae is read
Definition XYWrite.cpp:1621
bool parsePictureZone(XYWriteParserInternal::Format const &pictureFormat)
tries to parse a picture
Definition XYWrite.cpp:1375
XYWriteParser(RVNGInputStreamPtr &input, WPSHeaderPtr &header, libwps_tools_win::Font::Type encoding=libwps_tools_win::Font::UNKNOWN)
constructor
Definition XYWrite.cpp:664
std::shared_ptr< XYWriteParserInternal::State > m_state
the main state
Definition XYWrite.h:97
bool parseFrameZone(XYWriteParserInternal::Format const &frameFormat)
tries to parse a frame
Definition XYWrite.cpp:1319
std::shared_ptr< WPSContentListener > m_listener
the listener (if set)
Definition XYWrite.h:95
bool findAllZones()
tries to find the end of main zone, the meta data zones (only Win4)
Definition XYWrite.cpp:848
std::shared_ptr< WPSContentListener > createListener(librevenge::RVNGTextInterface *interface)
creates the main listener
Definition XYWrite.cpp:691
bool createFormatChildren(XYWriteParserInternal::Format &format, size_t fPos=2)
tries to parse again a format to create a list of child: SS, FA, FM1, ...
Definition XYWrite.cpp:1688
bool parseTextZone(WPSEntry const &entry, std::string const &styleName="")
tries to parse the main text zone
Definition XYWrite.cpp:1033
bool createTable(XYWriteParserInternal::Format const &format, long endPos)
tries to create a table
Definition XYWrite.cpp:1433
void parse(librevenge::RVNGTextInterface *documentInterface) override
called by WPSDocument to parse the file
Definition XYWrite.cpp:807
bool update(XYWriteParserInternal::Format const &format, libwps_tools_win::Font::Type &fontType) const
try to update the listener data(font,paragraph style, ...)
Definition XYWrite.cpp:894
~XYWriteParser() override
destructor
Definition XYWrite.cpp:673
std::shared_ptr< WPSHeader > WPSHeaderPtr
shared pointer to WPSHeader
Definition libwps_internal.h:109
std::shared_ptr< librevenge::RVNGInputStream > RVNGInputStreamPtr
shared pointer to librevenge::RVNGInputStream
Definition libwps_internal.h:87
Definition XYWrite.cpp:46
Internal: class to store a basic cell with borders.
Definition XYWrite.cpp:49
the state of XYWrite
Definition XYWrite.cpp:565