35 # define CANVAS_PARSER 40 #include <librevenge/librevenge.h> bool readCSet(MWAWEntry const &entry)
read the Windows CSet RSRC: v3 (contains the string Default)
Definition: CanvasParser.cxx:2177
bool readUnknownZone2()
read an unknown zone
Definition: CanvasParser.cxx:1476
bool readSprays()
try to read the spray
Definition: CanvasParser.cxx:1294
Definition: MWAWDocument.hxx:56
the main class to read a Canvas 2 and 3 files
Definition: CanvasParser.hxx:63
bool readGrids()
read the grid: or a list which begins by a grid
Definition: CanvasParser.cxx:1357
bool readLayers()
try to read the layers
Definition: CanvasParser.cxx:753
bool readBrushes()
try to read the brush
Definition: CanvasParser.cxx:1216
bool readPage(MWAWEntry const &entry)
read the Windows Page RSRC: v3
Definition: CanvasParser.cxx:2202
bool createZones()
finds the different objects zones
Definition: CanvasParser.cxx:658
bool send(CanvasParserInternal::Layer const &layer)
tries to send a layer
Definition: CanvasParser.cxx:2363
bool readFormats()
read the formats' zone, mainly an unit's conversion table
Definition: CanvasParser.cxx:1320
void createDocument(librevenge::RVNGDrawingInterface *documentInterface)
creates the listener which will be associated to the document
Definition: CanvasParser.cxx:629
bool readPrinterSST(MWAWEntry const &entry)
read the Windows PSST RSRC: v3 (the printer, device name, ...)
Definition: CanvasParser.cxx:2321
bool readUnknownZone1()
read an unknown zone
Definition: CanvasParser.cxx:1424
namespace used to regroup all libwpd functions, enumerations which we have redefined for internal usa...
Definition: libmwaw_internal.cxx:50
std::shared_ptr< CanvasParserInternal::State > m_state
the state
Definition: CanvasParser.hxx:193
bool readRSRCFileHeader(MWAWInputStreamPtr input, MWAWEntry const &entry, libmwaw::DebugFile &ascFile)
read the RSRC HeAd(a copy of file header) zone: v3
Definition: CanvasParser.cxx:1870
bool readUnknownZone0()
read an unknown zone: contains a layer name, some font id,sz, ...
Definition: CanvasParser.cxx:1110
bool readString(librevenge::RVNGString &string, int maxSize, bool canBeCString=false)
try to read a pascal string in the data fork or a Pascal/C string depending on the file type
Definition: CanvasParser.cxx:1718
bool readPrinterDev(MWAWEntry const &entry)
read the Windows DevM RSRC: v3 (main data of the printer device)
Definition: CanvasParser.cxx:2289
bool readUnknownZone4()
read an unknown zone: the last zone of a v2 files
Definition: CanvasParser.cxx:1523
CanvasParser(MWAWInputStreamPtr const &input, MWAWRSRCParserPtr const &rsrcParser, MWAWHeader *header)
constructor
Definition: CanvasParser.cxx:537
std::shared_ptr< MWAWRSRCParser > MWAWRSRCParserPtr
a smart pointer of MWAWRSRCParser
Definition: libmwaw_internal.hxx:561
bool decode(long length)
try to decode some data: length==-1 means decode end of input
Definition: CanvasParser.cxx:565
bool isWindowsFile() const
returns true if the file is a windows file
Definition: CanvasParser.cxx:577
the main class to read the graphic part of Canvas file
Definition: CanvasGraph.hxx:70
bool readLPOL(MWAWInputStreamPtr input, MWAWEntry const &entry, libmwaw::DebugFile &ascFile)
read the RSRC LPol zone: v3
Definition: CanvasParser.cxx:1838
MWAWInputStreamPtr & getInput()
returns the current input
Definition: CanvasParser.cxx:558
~CanvasParser() final
destructor
Definition: CanvasParser.cxx:554
bool readPrintInfo(MWAWInputStreamPtr input, MWAWEntry const &entry, libmwaw::DebugFile &ascFile)
read the print info zone
Definition: CanvasParser.cxx:1773
the main class to read the style part of Canvas file
Definition: CanvasStyleManager.hxx:66
bool readWindows(MWAWInputStreamPtr input, MWAWEntry const &entry, libmwaw::DebugFile &ascFile)
read the RSRC Windows zone: v3
Definition: CanvasParser.cxx:1977
bool readFileHeader()
read the file header: list of unknown numbers
Definition: CanvasParser.cxx:900
bool readUnknownZone3()
read an unknown zone
Definition: CanvasParser.cxx:1497
bool readRSRCWindowsFile()
read the resource file which ends the file
Definition: CanvasParser.cxx:2008
Internal: the structures of a CanvasParser.
Definition: CanvasParser.cxx:64
bool readViews()
try to read the views
Definition: CanvasParser.cxx:1562
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
bool readCNam(MWAWEntry const &entry)
read the Windows CNam RSRC: v3 (always 256 0's bytes)
Definition: CanvasParser.cxx:2146
std::shared_ptr< CanvasStyleManager > m_styleManager
the style manager
Definition: CanvasParser.hxx:197
bool readDocumentHeader()
read the document header
Definition: CanvasParser.cxx:971
basic class to store an entry in a file This contained :
Definition: MWAWEntry.hxx:46
bool checkHeader(MWAWHeader *header, bool strict=false) final
checks if the document header is correct (or not)
Definition: CanvasParser.cxx:846
bool readUsers(MWAWInputStreamPtr input, MWAWEntry const &entry, libmwaw::DebugFile &ascFile)
read the RSRC user zone: v3
Definition: CanvasParser.cxx:1912
bool readEndV3()
try to read the end zone: v3
Definition: CanvasParser.cxx:1612
std::shared_ptr< CanvasGraph > m_graphParser
the graph parser
Definition: CanvasParser.hxx:195
bool readMacroNames()
read the macro names
Definition: CanvasParser.cxx:1060
bool readUnknownZoneHeader()
read the first unknown zone
Definition: CanvasParser.cxx:1093
void parse(librevenge::RVNGDrawingInterface *documentInterface) final
virtual function used to parse the input
Definition: CanvasParser.cxx:585