Go to the documentation of this file.
39 #ifndef MWAWDOCUMENT_HXX
40 #define MWAWDOCUMENT_HXX
44 # define MWAWLIB _declspec(dllexport)
46 # define MWAWLIB _declspec(dllimport)
49 # ifdef LIBMWAW_VISIBILITY
50 # define MWAWLIB __attribute__((visibility("default")))
59 class RVNGDrawingInterface;
60 class RVNGPresentationInterface;
61 class RVNGSpreadsheetInterface;
62 class RVNGTextInterface;
63 class RVNGInputStream;
228 static MWAWLIB Result parse(librevenge::RVNGInputStream *input, librevenge::RVNGTextInterface *documentInterface,
char const *password=
nullptr);
239 static MWAWLIB Result parse(librevenge::RVNGInputStream *input, librevenge::RVNGDrawingInterface *documentInterface,
char const *password=
nullptr);
250 static MWAWLIB Result parse(librevenge::RVNGInputStream *input, librevenge::RVNGPresentationInterface *documentInterface,
char const *password=
nullptr);
261 static MWAWLIB Result parse(librevenge::RVNGInputStream *input, librevenge::RVNGSpreadsheetInterface *documentInterface,
char const *password=
nullptr);
276 static MWAWLIB bool decodeGraphic(librevenge::RVNGBinaryData
const &binary, librevenge::RVNGDrawingInterface *documentInterface);
288 static MWAWLIB bool decodeSpreadsheet(librevenge::RVNGBinaryData
const &binary, librevenge::RVNGSpreadsheetInterface *documentInterface);
299 static MWAWLIB bool decodeText(librevenge::RVNGBinaryData
const &binary, librevenge::RVNGTextInterface *documentInterface);
database
Definition: MWAWDocument.hxx:87
std::shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:549
Microsoft Works Mac: export database(as spreadsheet), graphic, spreadsheet and text files.
Definition: MWAWDocument.hxx:133
unknown
Definition: MWAWDocument.hxx:81
InfoGenie: TODO.
Definition: MWAWDocument.hxx:119
problem when accessing file
Definition: MWAWDocument.hxx:92
Kaleida Graph: TODO.
Definition: MWAWDocument.hxx:120
Microsoft Multiplan: v1.11.
Definition: MWAWDocument.hxx:131
More (v2-3): retrieve the organization part but not the slide/tree parts.
Definition: MWAWDocument.hxx:129
the main class to read a HanMac Word-K file
Definition: HanMacWrdKParser.hxx:185
the main class to read a MacDraw II file
Definition: MacDrawProParser.hxx:63
the main class to read a MouseWrite file
Definition: MouseWrtParser.hxx:55
spreadsheet
Definition: MWAWDocument.hxx:86
#define MWAW_DEBUG_MSG(M)
Definition: libmwaw_internal.hxx:129
the main class to read a eDOC file
Definition: EDocParser.hxx:54
SuperPaint: export drawing and paint v1 document.
Definition: MWAWDocument.hxx:150
HanMac Word-K (v2.0.5-2.0.6)
Definition: MWAWDocument.hxx:118
Type
an enum to define the different type of document
Definition: MWAWDocument.hxx:99
the main class to read a PixelPaint file or a PNTG file
Definition: PixelPaintParser.hxx:55
TeachText/SimpleText.
Definition: MWAWDocument.hxx:152
Trapeze spreadsheet: TODO.
Definition: MWAWDocument.hxx:154
encryption supported
Definition: MWAWDocument.hxx:76
the main class to read a Microsoft Works graphic file
Definition: MsWksDRParser.hxx:59
the main class to read a LightWay Text file
Definition: LightWayTxtParser.hxx:58
the main class to read a Mac Microsoft PowerPoint v1, v2 files
Definition: PowerPoint1Parser.hxx:60
FileMaker: TODO.
Definition: MWAWDocument.hxx:110
MindWrite.
Definition: MWAWDocument.hxx:128
bitmap graphic
Definition: MWAWDocument.hxx:84
FullPaint: v1 ( same format as MacPaint file)
Definition: MWAWDocument.hxx:114
the main class to read a SimpleText/TeachText/Tex-Edit file
Definition: TeachTxtParser.hxx:54
the main class to read a bitmap AppleWorks/ClarisWorks file
Definition: ClarisWksBMParser.hxx:65
the main class to read a Microsoft Word 1 file
Definition: MsWrd1Parser.hxx:57
MacWrite II/Pro.
Definition: MWAWDocument.hxx:135
the main class to read a RagTime v5 file
Definition: RagTime5Parser.hxx:73
FullImpact: TODO.
Definition: MWAWDocument.hxx:113
the main class to read a More file
Definition: MoreParser.hxx:80
not supported
Definition: MWAWDocument.hxx:74
the main class to read a BeagleWorks bitmap file
Definition: BeagleWksBMParser.hxx:60
DBase: TODO.
Definition: MWAWDocument.hxx:106
Used for Corel Painter: see below.
Definition: MWAWDocument.hxx:170
FoxBase: TODO.
Definition: MWAWDocument.hxx:111
GreatWorks (v1-v2): export text, drawing, paint and spreadsheet document.
Definition: MWAWDocument.hxx:116
conversion ok
Definition: MWAWDocument.hxx:91
Claris Draw: v1.0.1-v1.0.3.
Definition: MWAWDocument.hxx:174
Used for Cricket Draw: see below.
Definition: MWAWDocument.hxx:166
the main class to read a GreatWorks text file
Definition: GreatWksParser.hxx:56
bool checkBasicMacHeader(MWAWInputStreamPtr &input, MWAWRSRCParserPtr const &rsrcParser, MWAWHeader &header, bool strict)
Wrapper to check a basic header of a mac file.
Definition: MWAWDocument.cxx:970
the main class to read a Microsoft Works file: v1-v4
Definition: MsWksParser.hxx:59
the main class to read a BeagleWorks database file
Definition: BeagleWksDBParser.hxx:61
Kind
an enum to define the kind of document
Definition: MWAWDocument.hxx:80
main class used to decode a librevenge::RVNGBinaryData created by
Definition: MWAWSpreadsheetDecoder.hxx:48
Mariner Write (only v1.6-v3.5 Mac Classic)
Definition: MWAWDocument.hxx:127
Result
an enum which defines the result of the file parsing
Definition: MWAWDocument.hxx:90
vectorized grphic
Definition: MWAWDocument.hxx:83
the main class to read a GreatWorks database file
Definition: GreatWksDBParser.hxx:61
FreeHand: v1.
Definition: MWAWDocument.hxx:183
the main class to read a Microsoft PowerPoint v3 or v4 files (MacOs and Windows)
Definition: PowerPoint3Parser.hxx:63
PixelPaint: v1-v2.1.
Definition: MWAWDocument.hxx:139
LightWayText (only v4 Mac format)
Definition: MWAWDocument.hxx:121
MouseWrite: v1.
Definition: MWAWDocument.hxx:192
eDOC (v2)
Definition: MWAWDocument.hxx:108
FullWrite Professional: basic.
Definition: MWAWDocument.hxx:115
the main class to read a MacPaint's, FullPaint's or other PNTG files
Definition: MacPaintParser.hxx:55
problem when parsing the file
Definition: MWAWDocument.hxx:94
Acta (v2 and Classic v1)
Definition: MWAWDocument.hxx:101
the main class to read a ZWrite file
Definition: ZWrtParser.hxx:82
Used for ClarisDraw v1 file: see below.
Definition: MWAWDocument.hxx:162
std::shared_ptr< MWAWPresentationParser > getPresentationParserFromHeader(MWAWInputStreamPtr &input, MWAWRSRCParserPtr const &rsrcParser, MWAWHeader *header)
Definition: MWAWDocument.cxx:617
DocMaker (v4)
Definition: MWAWDocument.hxx:107
MacDraw II: v1.0-v1.1, MacDraw Pro: v1.
Definition: MWAWDocument.hxx:125
main class used to decode a librevenge::RVNGBinaryData created by
Definition: MWAWGraphicDecoder.hxx:48
std::shared_ptr< MWAWGraphicParser > getGraphicParserFromHeader(MWAWInputStreamPtr &input, MWAWRSRCParserPtr const &rsrcParser, MWAWHeader *header)
Definition: MWAWDocument.cxx:488
MacDraw: v0-v1.
Definition: MWAWDocument.hxx:124
Claris Resolve (v1.1)
Definition: MWAWDocument.hxx:104
the main class to read a DocMake file
Definition: DocMkrParser.hxx:56
the main class to read a RagTime v2-3 file
Definition: RagTimeParser.hxx:60
4th Dimension: TODO
Definition: MWAWDocument.hxx:160
ClarisWorks/AppleWorks: all versions, export database (as spreadsheet), draw(as text),...
Definition: MWAWDocument.hxx:105
Used for FreeHand: see below.
Definition: MWAWDocument.hxx:165
the main class to read a MacDraw v0,v1 file
Definition: MacDrawParser.hxx:58
the main class to read a ApplePict file
Definition: ApplePictParser.hxx:61
PowerPoint: v1-v4 and pc v2-v4,95.
Definition: MWAWDocument.hxx:195
WriteNow.
Definition: MWAWDocument.hxx:156
MaxWrite: v1.
Definition: MWAWDocument.hxx:189
presentation graphic
Definition: MWAWDocument.hxx:85
the main class to read a Microsoft PowerPoint 95 files (Windows)
Definition: PowerPoint7Parser.hxx:61
problem when reading the OLE structure
Definition: MWAWDocument.hxx:93
the main class to create presentation Claris Works file
Definition: ClarisWksPRParser.hxx:67
WriterPlus.
Definition: MWAWDocument.hxx:157
Microsoft Word (v1-v5)
Definition: MWAWDocument.hxx:132
the main class to read a FullWrite file
Definition: FullWrtParser.hxx:66
FrameMaker: TODO.
Definition: MWAWDocument.hxx:112
the main class to read a BeagleWorks spreadsheet file
Definition: BeagleWksSSParser.hxx:63
MacDraft: v1, v4-v5.
Definition: MWAWDocument.hxx:123
the main class to read a Mac resource fork
Definition: MWAWRSRCParser.hxx:46
the main class to read a HanMac Word-J file
Definition: HanMacWrdJParser.hxx:109
static MWAWLIB Result parse(librevenge::RVNGInputStream *input, librevenge::RVNGTextInterface *documentInterface, char const *password=nullptr)
Parses the input stream content.
Definition: MWAWDocument.cxx:354
Ready,Set,Go!: TODO.
Definition: MWAWDocument.hxx:145
MacDoc (v1.3)
Definition: MWAWDocument.hxx:122
word processing file
Definition: MWAWDocument.hxx:82
This class provides all the functions needed by applications to parse many pre-MacOSX documents.
Definition: MWAWDocument.hxx:69
the main class to read a FreeHand v0,v1 file
Definition: FreeHandParser.hxx:62
the main class to read a Claris Resolve or a Wingz document
Definition: WingzParser.hxx:62
problem when using the given password
Definition: MWAWDocument.hxx:95
Unrecognised file type.
Definition: MWAWDocument.hxx:100
Definition: libmwaw_internal.hxx:139
Style: v1.6, v1.9.
Definition: MWAWDocument.hxx:180
BeagleWorks (v1.0)/WordPerfect Works (v1.2): export database(as spreadsheet), draw,...
Definition: MWAWDocument.hxx:103
bool readData(librevenge::RVNGBinaryData const &encoded)
reads a encoded librevenge::RVNGBinaryData created by MWAWPropertyHandlerEncoder
Definition: MWAWPropertyHandler.cxx:379
HanMac Word-J (v2.0.4)
Definition: MWAWDocument.hxx:117
Used for MaxWrite: see below.
Definition: MWAWDocument.hxx:167
the main class to read a WriteNow file
Definition: WriteNowParser.hxx:68
std::shared_ptr< MWAWRSRCParser > MWAWRSRCParserPtr
a smart pointer of MWAWRSRCParser
Definition: libmwaw_internal.hxx:559
Tex-Edit (v2)
Definition: MWAWDocument.hxx:153
Definition: libmwaw_internal.hxx:143
the main class to read a Acta file
Definition: ActaParser.hxx:57
the main class to read a Microsoft Works database file and convert it in a spreadsheet file
Definition: MsWksDBParser.hxx:65
static MWAWLIB bool decodeSpreadsheet(librevenge::RVNGBinaryData const &binary, librevenge::RVNGSpreadsheetInterface *documentInterface)
Parses the spreadsheet contained in the binary data and called documentInterface to reconstruct a spr...
Definition: MWAWDocument.cxx:412
the main class to read a Mariner Write file
Definition: MarinerWrtParser.hxx:134
the main class to read a MacDraft5 v4-v5 file
Definition: MacDraft5Parser.hxx:61
std::shared_ptr< MWAWTextParser > getTextParserFromHeader(MWAWInputStreamPtr &input, MWAWRSRCParserPtr const &rsrcParser, MWAWHeader *header)
Factory wrapper to construct a parser corresponding to an text header.
Definition: MWAWDocument.cxx:823
the main class to read a Microsoft Works spreadsheet file
Definition: MsWksSSParser.hxx:65
the main class to read a GreatWorks paint file
Definition: GreatWksBMParser.hxx:57
the main class to read a MacWrite file
Definition: MacWrtParser.hxx:56
MacWrite.
Definition: MWAWDocument.hxx:134
std::shared_ptr< MWAWSpreadsheetParser > getSpreadsheetParserFromHeader(MWAWInputStreamPtr &input, MWAWRSRCParserPtr const &rsrcParser, MWAWHeader *header)
Factory wrapper to construct a parser corresponding to an spreadsheet header.
Definition: MWAWDocument.cxx:712
static MWAWLIB bool decodeText(librevenge::RVNGBinaryData const &binary, librevenge::RVNGTextInterface *documentInterface)
Parses the text contained in the binary data and called documentInterface to reconstruct a text.
Definition: MWAWDocument.cxx:429
the main class to read a MaxWrite file
Definition: MaxWrtParser.hxx:54
Family Tree Maker: TODO.
Definition: MWAWDocument.hxx:109
OverVUE: TODO.
Definition: MWAWDocument.hxx:137
PageMaker: TODO.
Definition: MWAWDocument.hxx:138
Corel Painter: Fractal Design Painter Mac v1-v4, MetaCreations Mac v5-v6, Corel Painter Mac v7-v10 an...
Definition: MWAWDocument.hxx:199
Used for PowerPoint: see below.
Definition: MWAWDocument.hxx:169
the main class to read a Multiplan document
Definition: MultiplanParser.hxx:60
the main class to read a GreatWorks graphic file
Definition: GreatWksDRParser.hxx:55
the main class to read a Claris Works file
Definition: ClarisWksParser.hxx:67
static MWAWLIB Confidence isFileFormatSupported(librevenge::RVNGInputStream *input, Type &type, Kind &kind)
Analyzes the content of an input stream to see if it can be parsed.
Definition: MWAWDocument.cxx:119
MWAWHeader * getHeader(MWAWInputStreamPtr &input, MWAWRSRCParserPtr const &rsrcParser, bool strict)
return the header corresponding to an input.
Definition: MWAWDocument.cxx:438
small namespace use to define private class/method used by MWAWDocument
Definition: MWAWDocument.cxx:109
the main class to read a MindWrite file
Definition: MindWrtParser.hxx:60
Confidence
an enum which defines if we have confidence that a file is supported
Definition: MWAWDocument.hxx:73
supported
Definition: MWAWDocument.hxx:77
the main class to read a Microsoft Word file
Definition: MsWrdParser.hxx:97
Cricket Draw: v1.0.1 and v1.1.1.
Definition: MWAWDocument.hxx:186
unknown error
Definition: MWAWDocument.hxx:96
the main class to read a MacDoc file
Definition: MacDocParser.hxx:54
the main class to read a BeagleWorks drawing file
Definition: BeagleWksDRParser.hxx:61
bool checkData(librevenge::RVNGBinaryData const &encoded)
checks a encoded librevenge::RVNGBinaryData created by MWAWPropertyHandlerEncoder
Definition: MWAWPropertyHandler.cxx:373
Used for Apple's Pict file: see below.
Definition: MWAWDocument.hxx:163
the main class to read a Writerperfect file
Definition: WriterPlsParser.hxx:64
XPress: TODO.
Definition: MWAWDocument.hxx:158
#define MWAWLIB
Definition: MWAWDocument.hxx:52
the main class to read a Nisus Writer file
Definition: NisusWrtParser.hxx:59
the main class to read a SuperPaint v1 file (SPTG)
Definition: SuperPaintParser.hxx:58
the main class to read a AppleWorks/ClarisWorks spreadsheet file
Definition: ClarisWksSSParser.hxx:67
libmwaw API: main libmwaw interface header
Apple Pict: v1 or v2.
Definition: MWAWDocument.hxx:177
the main class to read a ClarisDraw v1 file
Definition: ClarisDrawParser.hxx:63
Definition: MWAWDocument.hxx:56
the main class to read a Style file
Definition: StyleParser.hxx:55
the main class to read a CricketDraw v0,v1 file
Definition: CricketDrawParser.hxx:58
the main class to read a MacDraft v1 file
Definition: MacDraftParser.hxx:58
Nisus Writer (v3.4-v6.5)
Definition: MWAWDocument.hxx:136
the main class to read a Painter's file, actually, only read Fractal Design Painter 1 file
Definition: CorelPainterParser.hxx:61
RagTime: -Mac v2.1-v3.2: done, -all v5.0-v6.5: incomplete, only try to retrieve the picture/shape/tex...
Definition: MWAWDocument.hxx:144
Symposium: TODO.
Definition: MWAWDocument.hxx:151
MacPaint: v1-v2.
Definition: MWAWDocument.hxx:126
encryption not supported
Definition: MWAWDocument.hxx:75
Microsoft File(data base): TODO.
Definition: MWAWDocument.hxx:130
Adobe Illustrator: TODO.
Definition: MWAWDocument.hxx:102
Used for Style v1.6: see below.
Definition: MWAWDocument.hxx:164
the main class to read a MacWrite II and MacWrite Pro file
Definition: MacWrtProParser.hxx:67
static MWAWLIB bool decodeGraphic(librevenge::RVNGBinaryData const &binary, librevenge::RVNGDrawingInterface *documentInterface)
Parses the graphic contained in the binary data and called documentInterface to reconstruct a graphic...
Definition: MWAWDocument.cxx:395
Wingz (v1.1)
Definition: MWAWDocument.hxx:155
Z-Write (v1.3)
Definition: MWAWDocument.hxx:159
the main class to read a BeagleWorks file
Definition: BeagleWksParser.hxx:59
Used for MouseWrite: see below.
Definition: MWAWDocument.hxx:168
the main class to read a GreatWorks spreadsheet file
Definition: GreatWksSSParser.hxx:58
Generated on Wed Jul 24 2024 03:31:54 for libmwaw by
doxygen 1.8.16