28 #include <librevenge-stream/librevenge-stream.h> 56 void parse(librevenge::RVNGTextInterface *documentInterface)
override;
65 std::shared_ptr<WPSContentListener>
createListener(librevenge::RVNGTextInterface *interface);
103 std::shared_ptr<PocketWordParserInternal::State>
m_state;
bool readParagraphList(WPSEntry const &entry, std::vector< int > ¶Id)
try to read a paragraph list
Definition: PocketWord.cpp:959
bool readParagraphUnkn(WPSEntry const &entry)
try to read a paragraph unknown zone: tabs, link?
Definition: PocketWord.cpp:902
std::shared_ptr< WPSContentListener > m_listener
the listener (if set)
Definition: PocketWord.h:101
PocketWordParser(RVNGInputStreamPtr &input, WPSHeaderPtr &header, libwps_tools_win::Font::Type encoding=libwps_tools_win::Font::UNKNOWN)
constructor
Definition: PocketWord.cpp:124
~PocketWordParser() override
destructor
Definition: PocketWord.cpp:132
PocketWordParser & operator=(const PocketWordParser &)=delete
std::shared_ptr< WPSContentListener > createListener(librevenge::RVNGTextInterface *interface)
creates the main listener
Definition: PocketWord.cpp:150
This class parses some Pocket Word.
Definition: PocketWord.h:45
Definition: WPSParser.h:35
bool readSound(WPSEntry const &entry, WPSEmbeddedObject &object)
try to read a sound definition (maybe a picture)
Definition: PocketWord.cpp:1009
void parse(librevenge::RVNGTextInterface *documentInterface) override
called by WPSDocument to parse the file
Definition: PocketWord.cpp:181
bool readUnkn2021(WPSEntry const &entry, int type)
try to read the unknown zone 20 and 21: one by file, find always no data, maybe style ...
Definition: PocketWord.cpp:1199
bool readSoundData(WPSEntry const &entry, long pictSize, WPSEmbeddedObject &object)
try to read a sound data (maybe a picture)
Definition: PocketWord.cpp:1117
bool checkFilePosition(long pos) const
check if the file position is correct or not
Definition: PocketWord.cpp:136
void checkUnparsed()
try to parse the unparsed zones
Definition: PocketWord.cpp:278
bool sendParagraph(size_t paraId)
try to read and send a paragraph
Definition: PocketWord.cpp:535
std::shared_ptr< librevenge::RVNGInputStream > RVNGInputStreamPtr
shared pointer to librevenge::RVNGInputStream
Definition: libwps_internal.h:87
bool readFontNames(WPSEntry const &entry)
try to read the font names
Definition: PocketWord.cpp:347
friend class PocketWordParserInternal::SubDocument
Definition: PocketWord.h:47
bool readPageDims(WPSEntry const &entry)
try to read the page dimension
Definition: PocketWord.cpp:436
bool checkHeader(WPSHeader *header, bool strict=false)
checks if the document header is correct (or not)
Definition: PocketWord.cpp:1238
bool createZones()
try to read the different zones
Definition: PocketWord.cpp:221
void sendData()
try to send all the data
Definition: PocketWord.cpp:1290
small class use to define a embedded object
Definition: libwps_internal.h:1076
std::shared_ptr< PocketWordParserInternal::State > m_state
the main state
Definition: PocketWord.h:103
bool readUnkn8(WPSEntry const &entry)
try to read the unknown zone 8: one by file, maybe prefs
Definition: PocketWord.cpp:1158
basic class to store an entry in a file This contained :
Definition: WPSEntry.h:38
bool readParagraphDims(WPSEntry const &entry)
try to read a paragraph dimensions' zone which follows the paragraph zone
Definition: PocketWord.cpp:859
std::shared_ptr< WPSHeader > WPSHeaderPtr
shared pointer to WPSHeader
Definition: libwps_internal.h:109
Definition: PocketWord.cpp:46