Go to the documentation of this file.
35 # define MS_WKS_PARSER
71 void parse(librevenge::RVNGTextInterface *documentInterface)
final;
78 void createDocument(librevenge::RVNGTextInterface *documentInterface);
84 void newPage(
int number,
bool softBreak=
false);
98 std::shared_ptr<MsWksParserInternal::State>
m_state;
void parse(librevenge::RVNGTextInterface *documentInterface) final
virtual function used to parse the input
Definition: MsWksParser.cxx:137
void flushExtra()
tries to parse the ole zones which have not yet been parsed
Definition: MsWksParser.cxx:172
std::shared_ptr< MWAWTextListener > MWAWTextListenerPtr
a smart pointer of MWAWTextListener
Definition: libmwaw_internal.hxx:565
basic class to store an entry in a file This contained :
Definition: MWAWEntry.hxx:46
std::shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:549
virtual class which defines the ancestor of all text zone parser
Definition: MWAWParser.hxx:298
Microsoft Works Mac: export database(as spreadsheet), graphic, spreadsheet and text files.
Definition: MWAWDocument.hxx:133
a zone of a MsWksDocument ( main, header, footer )
Definition: MsWksDocument.hxx:80
the main class to read/store generic data of a MsWorks document v1-v3
Definition: MsWksDocument.hxx:68
#define MWAW_DEBUG_MSG(M)
Definition: libmwaw_internal.hxx:129
MWAWVec2< float > MWAWVec2f
MWAWVec2 of float.
Definition: libmwaw_internal.hxx:840
This class contents the main functions needed to create a Word processing Document.
Definition: MWAWTextListener.hxx:64
State()
constructor
Definition: MsWksParser.cxx:64
int version() const
returns the works version
Definition: MWAWParser.hxx:108
the main class to read a Microsoft Works file: v1-v4
Definition: MsWksParser.hxx:59
the main class to read the graphic of a Microsoft Works file
Definition: MsWksGraph.hxx:73
MWAWTextListenerPtr & getTextListener()
returns the text listener
Definition: MWAWParser.hxx:145
void addNote(char const *note)
adds a note in the file, in actual position
Definition: MWAWDebug.cxx:59
Definition: MWAWListener.hxx:58
void init()
inits all internal variables
Definition: MsWksParser.cxx:103
void setTextListener(MWAWTextListenerPtr &listener)
sets the text listener
Definition: MWAWParser.cxx:158
void setAsciiName(char const *name)
Debugging: change the default ascii file.
Definition: MWAWParser.hxx:227
const MWAWPageSpan & getPageSpan() const
returns the actual page dimension
Definition: MWAWParser.hxx:160
std::vector< MWAWEntry > m_listZones
the list of different Zones
Definition: MsWksParser.hxx:101
word processing file
Definition: MWAWDocument.hxx:82
const std::string & asciiName() const
return the ascii file name
Definition: MWAWParser.hxx:232
void setVersion(int vers)
sets the document's version
Definition: MWAWParser.hxx:206
std::shared_ptr< MsWksDocument > m_document
the actual document
Definition: MsWksParser.hxx:104
std::shared_ptr< MWAWRSRCParser > MWAWRSRCParserPtr
a smart pointer of MWAWRSRCParser
Definition: libmwaw_internal.hxx:559
Definition: MWAWListener.hxx:58
The class which parses the main zones of a mac MS Works document v4.
Definition: MsWks4Zone.hxx:73
Definition: libmwaw_internal.hxx:143
void newPage(int number, bool softBreak=false)
adds a new page
Definition: MsWksParser.cxx:115
Internal: the state of a MsWksParser.
Definition: MsWksParser.cxx:62
std::shared_ptr< MsWks4Zone > m_mn0Parser
parser of main text ole (v4 document)
Definition: MsWksParser.cxx:71
int m_numPages
the number of page of the final document
Definition: MsWksParser.cxx:72
MWAWParserStatePtr getParserState()
returns the parser state
Definition: MWAWParser.hxx:113
~MsWksParser() final
destructor
Definition: MsWksParser.cxx:99
MWAWInputStreamPtr & getInput()
returns the actual input
Definition: MWAWParser.hxx:123
void addPos(long pos)
adds a new position in the file
Definition: MWAWDebug.cxx:53
Definition: MsWksDocument.hxx:78
std::shared_ptr< MsWksParserInternal::State > m_state
the state
Definition: MsWksParser.hxx:98
void createDocument(librevenge::RVNGTextInterface *documentInterface)
creates the listener which will be associated to the document
Definition: MsWksParser.cxx:223
bool createZones()
finds the different objects zones
Definition: MsWksParser.cxx:258
an interface used to insert comment in a binary file, written in ascii form (if debug_with_files is n...
Definition: MWAWDebug.hxx:65
Internal: the structures of a MsWksParser.
Definition: MsWksParser.cxx:58
MsWksParser(MWAWInputStreamPtr const &input, MWAWRSRCParserPtr const &rsrcParser, MWAWHeader *header)
constructor
Definition: MsWksParser.cxx:80
void setMargins(double margin, int wh=libmwaw::LeftBit|libmwaw::RightBit|libmwaw::TopBit|libmwaw::BottomBit)
set all the margins
Definition: MWAWPageSpan.hxx:211
Class to store font.
Definition: MWAWFont.hxx:43
int m_actPage
the actual page
Definition: MsWksParser.cxx:72
bool checkHeader(MWAWHeader *header, bool strict=false) final
checks if the document header is correct (or not)
Definition: MsWksParser.cxx:337
void resetTextListener()
resets the listener
Definition: MWAWParser.cxx:163
Generated on Wed Jul 24 2024 03:57:31 for libmwaw by
doxygen 1.8.16