27 #include <librevenge-stream/librevenge-stream.h>
58 void parse(librevenge::RVNGTextInterface *
const documentInterface);
64 shared_ptr<WPSContentListener>
createListener(librevenge::RVNGTextInterface *interface);
73 bool processDDB(librevenge::RVNGBinaryData &bmpdata,
WPSPosition &pos,
unsigned width,
unsigned height,
unsigned byte_width,
unsigned planes,
unsigned bits_pixel,
unsigned size);
74 bool processDIB(librevenge::RVNGBinaryData &bmpdata,
unsigned size);
75 bool processWMF(librevenge::RVNGBinaryData &wmfdata,
unsigned size);
78 bool readString(std::string &res,
unsigned long lastPos);
93 std::vector<librevenge::RVNGString>
m_fonts;
std::vector< MSWriteParserInternal::Font > m_fontList
Definition: MSWrite.h:92
Definition: MSWrite.cpp:37
bool readString(std::string &res, unsigned long lastPos)
Definition: MSWrite.cpp:1063
std::vector< MSWriteParserInternal::Paragraph > m_paragraphList
Definition: MSWrite.h:91
std::vector< librevenge::RVNGString > m_fonts
Definition: MSWrite.h:93
void readFFNTB()
Definition: MSWrite.cpp:351
void readCHP()
Definition: MSWrite.cpp:681
bool m_FooterPage1
Definition: MSWrite.h:100
void parse(librevenge::RVNGTextInterface *const documentInterface)
Definition: MSWrite.cpp:1597
Definition: WPSParser.h:35
MSWriteParser(RVNGInputStreamPtr &input, WPSHeaderPtr &header, libwps_tools_win::Font::Type encoding=libwps_tools_win::Font::WIN3_WEUROPE)
Definition: MSWrite.cpp:301
bool processStaticOLE(librevenge::RVNGBinaryData &, std::string &mimetype, WPSPosition &pos, unsigned long lastPos)
Definition: MSWrite.cpp:1441
Internal: the subdocument of a MSWriteParser.
Definition: MSWrite.cpp:40
WPSEntry m_Main
Definition: MSWrite.h:99
shared_ptr< WPSContentListener > m_listener
Definition: MSWrite.h:97
shared_ptr< WPSHeader > WPSHeaderPtr
shared pointer to WPSHeader
Definition: libwps_internal.h:108
libwps_tools_win::Font::Type m_fontType
Definition: MSWrite.h:95
void processEmbeddedOLE(WPSPosition &pos, unsigned long lastPos)
Definition: MSWrite.cpp:1498
unsigned insertString(const unsigned char *str, unsigned size, libwps_tools_win::Font::Type type)
Definition: MSWrite.cpp:1017
Definition: MSWrite.cpp:188
void readFIB()
Definition: MSWrite.cpp:325
void readSECT()
Definition: MSWrite.cpp:448
WPSEntry m_Header
Definition: MSWrite.h:99
WPSPageSpan m_pageSpan
Definition: MSWrite.h:94
uint32_t m_fcMac
Definition: MSWrite.h:89
shared_ptr< WPSContentListener > createListener(librevenge::RVNGTextInterface *interface)
Definition: MSWrite.cpp:831
This class parses Microsoft Write 3.0 and 3.1.
Definition: MSWrite.h:46
shared_ptr< librevenge::RVNGInputStream > RVNGInputStreamPtr
shared pointer to librevenge::RVNGInputStream
Definition: libwps_internal.h:87
bool processDIB(librevenge::RVNGBinaryData &bmpdata, unsigned size)
Definition: MSWrite.cpp:1398
bool checkFilePosition(uint32_t pos) const
check if the file position is correct or not
Definition: MSWrite.h:82
bool processDDB(librevenge::RVNGBinaryData &bmpdata, WPSPosition &pos, unsigned width, unsigned height, unsigned byte_width, unsigned planes, unsigned bits_pixel, unsigned size)
Definition: MSWrite.cpp:1213
void readPAP()
Definition: MSWrite.cpp:530
Definition: WPSPageSpan.h:38
WPSEntry m_Footer
Definition: MSWrite.h:99
void findZones()
Definition: MSWrite.cpp:781
basic class to store an entry in a file This contained :
Definition: WPSEntry.h:37
Class to define the position of an object (textbox, picture, ..) in the document. ...
Definition: WPSPosition.h:39
MSWriteParser & operator=(const MSWriteParser &)
bool m_HeaderPage1
Definition: MSWrite.h:100
~MSWriteParser()
Definition: MSWrite.cpp:321
bool processWMF(librevenge::RVNGBinaryData &wmfdata, unsigned size)
Definition: MSWrite.cpp:1578
uint32_t m_fileLength
the last file position
Definition: MSWrite.h:88
void processObject(WPSPosition &pos, unsigned long lastPos)
Definition: MSWrite.cpp:1104
void readText(WPSEntry e)
Definition: MSWrite.cpp:867
Definition: MSWrite.cpp:176