35 # define CANVAS_PARSER 40 #include <librevenge/librevenge.h> 74 bool checkHeader(
MWAWHeader *header,
bool strict=false) final;
77 void parse(
librevenge::RVNGDrawingInterface *documentInterface) final;
81 void createDocument(
librevenge::RVNGDrawingInterface *documentInterface);
88 bool isWindowsFile() const;
100 bool readFileHeader();
102 bool readDocumentHeader();
110 bool readMacroNames();
145 bool readRSRCWindowsFile();
151 bool readPrinterDev(
MWAWEntry const &entry);
155 bool readPrinterSST(
MWAWEntry const &entry);
158 bool readUnknownZoneHeader();
160 bool readUnknownZone0();
162 bool readUnknownZone1();
164 bool readUnknownZone2();
166 bool readUnknownZone3();
168 bool readUnknownZone4();
182 bool readString(
librevenge::RVNGString &
string,
int maxSize,
bool canBeCString=false);
187 bool decode(
long length);
Definition: MWAWDocument.hxx:56
the main class to read a Canvas 2 and 3 files
Definition: CanvasParser.hxx:63
namespace used to regroup all libwpd functions, enumerations which we have redefined for internal usa...
Definition: libmwaw_internal.cxx:50
std::shared_ptr< MWAWRSRCParser > MWAWRSRCParserPtr
a smart pointer of MWAWRSRCParser
Definition: libmwaw_internal.hxx:561
friend class CanvasParser
Definition: CanvasStyleManager.hxx:69
the main class to read the graphic part of Canvas file
Definition: CanvasGraph.hxx:70
the main class to read the style part of Canvas file
Definition: CanvasStyleManager.hxx:66
Internal: the structures of a CanvasParser.
Definition: CanvasParser.cxx:64
virtual class which defines the ancestor of all graphic zone parser
Definition: MWAWParser.hxx:250
std::shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:551
std::shared_ptr< CanvasStyleManagerInternal::State > m_state
the state
Definition: CanvasStyleManager.hxx:142
MWAWInputStreamPtr & getInput()
returns the current input
Definition: CanvasStyleManager.cxx:108
basic class to store an entry in a file This contained :
Definition: MWAWEntry.hxx:46
bool readSprays()
try to read the spray