50 namespace MSK4ZoneInternal
54 namespace MSK4ParserInternal
86 MSK4Parser &parser, std::string
const &oleName);
113 (WPXDocumentInterface *interface,
145 void parse(WPXDocumentInterface *) {
182 void setAscii(std::string
const &oleName);
void sendOLE(int id, MWAWPosition const &pos, WPXPropertyList frameExtras)
send an OLE zone
Definition: MSK4Zone.cxx:219
void sendRBIL(int id, Vec2i const &sz)
send a rbil zone
Definition: MSK4Zone.cxx:209
void readFootNote(int id)
sends text corresponding to the footnote id to the listener (via MSK4Text)
Definition: MSK4Zone.cxx:199
shared_ptr< MSKGraph > m_graphParser
the graph parser
Definition: MSK4Zone.hxx:205
A class which defines the page properties.
Definition: MWAWPageSpan.hxx:95
void newPage(int number)
adds a new page
Definition: MSK4Zone.cxx:241
the main class to read the graphic of a Microsoft Works file
Definition: MSKGraph.hxx:68
Vec2f getPageLeftTop() const
returns the page top left point
Definition: MSK4Zone.cxx:232
void sendFrameText(MWAWEntry const &entry, std::string const &frame)
send the frame text
Definition: MSK4Zone.cxx:204
bool readSELN(MWAWInputStreamPtr input, MWAWEntry const &entry)
parses the SELN zone which seems to contain some information about the actual
Definition: MSK4Zone.cxx:1115
Internal: the subdocument of a MSK4Parser.
Definition: MSK4Parser.cxx:58
~MSK4Zone()
destructor
Definition: MSK4Zone.cxx:174
shared_ptr< MWAWSubDocument > MWAWSubDocumentPtr
a smart pointer of MWAWSubDocument
Definition: libmwaw_internal.hxx:358
shared_ptr< MSK4ZoneInternal::State > m_state
the internal state
Definition: MSK4Zone.hxx:196
MSK4Zone & operator=(MSK4Zone const &orig)
#define MWAW_DEBUG_MSG(M)
Definition: libmwaw_internal.hxx:116
bool parseHeaderIndexEntry(MWAWInputStreamPtr &input)
parses an index entry
Definition: MSK4Zone.cxx:310
generic parser for Microsoft Works file
Definition: MSKParser.hxx:58
bool readPRNT(MWAWInputStreamPtr input, MWAWEntry const &entry, MWAWPageSpan &page)
reads the PRNT zone which contains the printer properties ( page dimension, margins, ...)
Definition: MSK4Zone.cxx:643
bool checkHeader(MWAWHeader *, bool)
empty implementation of the checkHeader function ( to make the class not virtual) ...
Definition: MSK4Zone.hxx:149
void init()
inits all internal variables
Definition: MSK4Zone.cxx:181
bool readRLRB(MWAWInputStreamPtr input, MWAWEntry const &entry)
parses the RLRB zone which seems to contain some position in the page ?
Definition: MSK4Zone.cxx:884
void sendFootNote(int id)
creates a document for a footnote which some id (via MSK4Parser )
Definition: MSK4Zone.cxx:195
MWAWContentListenerPtr createListener(WPXDocumentInterface *interface, MWAWSubDocumentPtr &header, MWAWSubDocumentPtr &footer)
creates the main listener
Definition: MSK4Zone.cxx:273
The class which parses the main zones of a mac MS Works document v4.
Definition: MSK4Zone.hxx:76
shared_ptr< MSK4Text > m_textParser
the text parser
Definition: MSK4Zone.hxx:202
bool createZones(bool mainOle)
finds and parses all the zones to prepare the data
Definition: MSK4Zone.cxx:483
shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:348
void parse(WPXDocumentInterface *)
empty implementation of the parse function ( to make the class not virtual)
Definition: MSK4Zone.hxx:145
shared_ptr< MWAWContentListener > MWAWContentListenerPtr
a smart pointer of MWAWContentListener
Definition: libmwaw_internal.hxx:340
bool readDOP(MWAWInputStreamPtr input, MWAWEntry const &entry, MWAWPageSpan &page)
parses the DIO zone which contains the document properties (dimension, ...)
Definition: MSK4Zone.cxx:687
MSK4Parser * m_mainParser
the main parser
Definition: MSK4Zone.hxx:193
the main class to read a MS Works document v4
Definition: MSK4Parser.hxx:65
void readContentZones(MWAWEntry const &entry, bool mainOle)
final reading of a text zone
Definition: MSK4Zone.cxx:575
bool parseHeaderIndex(MWAWInputStreamPtr &input)
tries to find the beginning of the list of indices, then try to find all entries in this list...
Definition: MSK4Zone.cxx:410
shared_ptr< MWAWParserState > MWAWParserStatePtr
a smart pointer of MWAWParserState
Definition: libmwaw_internal.hxx:356
Class to define the position of an object (textbox, picture, ..) in the document. ...
Definition: MWAWPosition.hxx:47
basic class to store an entry in a file This contained :
Definition: MWAWEntry.hxx:46
bool readFRAM(MWAWInputStreamPtr input, MWAWEntry const &entry)
parses the FRAM zone which contains some information about frames (header, footer, ...)
Definition: MSK4Zone.cxx:938
The class which parses text zones in a mac MS Works document v4.
Definition: MSK4Text.hxx:63
std::multimap< std::string, MWAWEntry > m_entryMap
the list of entries, name->entry
Definition: MSK4Zone.hxx:199
MWAWEntry getTextPosition() const
return the text positions ( used for frame text)
Definition: MSK4Zone.cxx:264
double getTextHeight() const
returns the page height, ie. paper size less margin (in inches) less header/footer size ...
Definition: MSK4Zone.cxx:227
void setAscii(std::string const &oleName)
inits the ascii file
Definition: MSK4Zone.cxx:189
MSK4Zone(MWAWInputStreamPtr input, MWAWParserStatePtr parserState, MSK4Parser &parser, std::string const &oleName)
constructor
Definition: MSK4Zone.cxx:165