FullWrtParser.hxx
Go to the documentation of this file.
1 /* -*- Mode: C++; c-default-style: "k&r"; indent-tabs-mode: nil; tab-width: 2; c-basic-offset: 2 -*- */
2 
3 /* libmwaw
4 * Version: MPL 2.0 / LGPLv2+
5 *
6 * The contents of this file are subject to the Mozilla Public License Version
7 * 2.0 (the "License"); you may not use this file except in compliance with
8 * the License or as specified alternatively below. You may obtain a copy of
9 * the License at http://www.mozilla.org/MPL/
10 *
11 * Software distributed under the License is distributed on an "AS IS" basis,
12 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
13 * for the specific language governing rights and limitations under the
14 * License.
15 *
16 * Major Contributor(s):
17 * Copyright (C) 2002 William Lachance (wrlach@gmail.com)
18 * Copyright (C) 2002,2004 Marc Maurer (uwog@uwog.net)
19 * Copyright (C) 2004-2006 Fridrich Strba (fridrich.strba@bluewin.ch)
20 * Copyright (C) 2006, 2007 Andrew Ziem
21 * Copyright (C) 2011, 2012 Alonso Laurent (alonso@loria.fr)
22 *
23 *
24 * All Rights Reserved.
25 *
26 * For minor contributions see the git repository.
27 *
28 * Alternatively, the contents of this file may be used under the terms of
29 * the GNU Lesser General Public License Version 2 or later (the "LGPLv2+"),
30 * in which case the provisions of the LGPLv2+ are applicable
31 * instead of those above.
32 */
33 
34 /*
35  * Parser to convert FullWrite document
36  *
37  */
38 #ifndef FULL_WRT_PARSER
39 # define FULL_WRT_PARSER
40 
41 #include <list>
42 #include <string>
43 #include <vector>
44 
45 #include <librevenge/librevenge.h>
46 
47 #include "MWAWInputStream.hxx"
48 
49 #include "FullWrtStruct.hxx"
50 #include "MWAWParser.hxx"
51 
52 namespace FullWrtParserInternal
53 {
54 struct State;
55 class SubDocument;
56 }
57 
58 class FullWrtGraph;
59 class FullWrtText;
60 
67 {
68  friend class FullWrtGraph;
69  friend class FullWrtText;
71 
72 public:
76  virtual ~FullWrtParser();
77 
79  bool checkHeader(MWAWHeader *header, bool strict=false);
80 
81  // the main parse function
82  void parse(librevenge::RVNGTextInterface *documentInterface);
83 
84 protected:
86  void init();
87 
89  void createDocument(librevenge::RVNGTextInterface *documentInterface);
90 
92  bool createZones();
93 
95  bool createFileZones();
96 
98  void newPage(int number);
99 
101  bool readDocPosition();
102 
105 
108 
111 
114 
117 
120 
123 
126 
127  //
128  // interface to the graph parser
129  //
130 
132  MWAWVec2f getPageLeftTop() const;
134  bool getBorder(int bId, FullWrtStruct::Border &border) const;
135 
136  //
137  // interface to the text parser
138  //
139 
143  void sendGraphic(int docId);
145  void sendVariable(int docId);
147  void sendReference(int docId);
149  bool send(int fileId, MWAWColor fontColor=MWAWColor::black());
150 
151  //
152  // interface ( mainly debugging function)
153  //
154 
156  int getNumDocZoneStruct() const;
158  std::string getDocumentTypeName(int zId) const;
159 
160  //
161  // low level
162  //
163 
168 
169 protected:
170  //
171  // data
172  //
174  shared_ptr<FullWrtParserInternal::State> m_state;
175 
177  shared_ptr<FullWrtGraph> m_graphParser;
179  shared_ptr<FullWrtText> m_textParser;
180 };
181 #endif
182 // vim: set filetype=cpp tabstop=2 shiftwidth=2 cindent autoindent smartindent noexpandtab:
FullWrtParser::readFileZoneFlags
bool readFileZoneFlags(FullWrtStruct::EntryPtr zone)
try to read the file zones main flags
Definition: FullWrtParser.cxx:1614
FullWrtParserInternal::ReferenceCalledData::m_values
int m_values[5]
some unknown values
Definition: FullWrtParser.cxx:149
FullWrtParser::readDocPosition
bool readDocPosition()
find the last position of the document and read data
Definition: FullWrtParser.cxx:1847
MWAWEntry
basic class to store an entry in a file This contained :
Definition: MWAWEntry.hxx:47
MWAWTextParser
virtual class which defines the ancestor of all text zone parser
Definition: MWAWParser.hxx:296
FullWrtParserInternal::ReferenceCalledData::operator<<
friend std::ostream & operator<<(std::ostream &o, ReferenceCalledData const &dt)
the operator<<
Definition: FullWrtParser.cxx:137
FullWrtParser::sendReference
void sendReference(int docId)
try to send a reference, in pratice do nothing
Definition: FullWrtParser.cxx:1920
MWAW_shared_ptr_noop_deleter
an noop deleter used to transform a libwpd pointer in a false shared_ptr
Definition: libmwaw_internal.hxx:109
MWAWTextListenerPtr
shared_ptr< MWAWTextListener > MWAWTextListenerPtr
a smart pointer of MWAWTextListener
Definition: libmwaw_internal.hxx:519
MWAWNote
a note
Definition: libmwaw_internal.hxx:406
MWAWPageSpan::setPageSpan
void setPageSpan(const int pageSpan)
set the page span ( default 1)
Definition: MWAWPageSpan.hxx:262
MWAWHeaderFooter::HEADER
@ HEADER
Definition: MWAWPageSpan.hxx:48
MWAW_DEBUG_MSG
#define MWAW_DEBUG_MSG(M)
Definition: libmwaw_internal.hxx:127
MWAWVec2f
MWAWVec2< float > MWAWVec2f
MWAWVec2 of float.
Definition: libmwaw_internal.hxx:785
FullWrtParserInternal::SubDocument::SubDocument
SubDocument(FullWrtParser &pars, MWAWInputStreamPtr input, int zoneId)
Definition: FullWrtParser.cxx:236
FullWrtParser::readEndDocInfo
bool readEndDocInfo(FullWrtStruct::EntryPtr zone)
try to read the end of zone2 (only v2) ?
Definition: FullWrtParser.cxx:917
libmwaw::DebugFile::addDelimiter
void addDelimiter(long pos, char c)
adds a not breaking delimiter in position pos
Definition: MWAWDebug.cxx:73
FullWrtParserInternal::DocZoneStruct::operator<<
friend std::ostream & operator<<(std::ostream &o, DocZoneStruct const &dt)
the operator<<
Definition: FullWrtParser.cxx:68
FullWrtParserInternal::ReferenceCalledData::m_id
int m_id
the reference id
Definition: FullWrtParser.cxx:147
FullWrtStruct::ZoneHeader::m_type
int m_type
the zone type
Definition: FullWrtStruct.hxx:160
FullWrtParser::createZones
bool createZones()
finds the different objects zones
Definition: FullWrtParser.cxx:558
FullWrtParserInternal::State::m_pageSpanSet
bool m_pageSpanSet
a flag to know if the page span has been filled
Definition: FullWrtParser.cxx:194
FullWrtParserInternal::State::m_footerHeight
int m_footerHeight
the footer height if known
Definition: FullWrtParser.cxx:228
FullWrtParserInternal::DocZoneStruct::m_fatherId
int m_fatherId
the father id
Definition: FullWrtParser.cxx:104
libmwaw::DOC_COMMENT_ANNOTATION
@ DOC_COMMENT_ANNOTATION
Definition: libmwaw_internal.hxx:178
FullWrtParser::readCitationDocInfo
bool readCitationDocInfo(FullWrtStruct::EntryPtr zone)
try to read the list of citation (at the end of doc info)
Definition: FullWrtParser.cxx:974
FullWrtParser::readPrintInfo
bool readPrintInfo(FullWrtStruct::EntryPtr zone)
try read the print info zone
Definition: FullWrtParser.cxx:1039
MWAWTextListener
This class contents the main functions needed to create a Word processing Document.
Definition: MWAWTextListener.hxx:65
libmwaw::DebugFile::open
bool open(std::string const &filename)
opens/creates a file to store a result
Definition: MWAWDebug.cxx:46
MWAWNote::Type
Type
enum to define note type
Definition: libmwaw_internal.hxx:408
FullWrtStruct::Entry
the definition of a zone in a FullWrite file
Definition: FullWrtStruct.hxx:105
FullWrtParserInternal::State::m_actPage
int m_actPage
the actual page
Definition: FullWrtParser.cxx:225
MWAWPageSpan::setMarginBottom
void setMarginBottom(const double marginBottom)
set the page bottom margin
Definition: MWAWPageSpan.hxx:202
FullWrtParserInternal
Internal: the structures of a FullWrtParser.
Definition: FullWrtParser.cxx:62
FullWrtStruct::getTypeName
std::string getTypeName(int type)
returns the type name
Definition: FullWrtStruct.cxx:66
MWAWFontConverter.hxx
MWAWColor
the class to store a color
Definition: libmwaw_internal.hxx:182
FullWrtParserInternal::State::State
State()
constructor
Definition: FullWrtParser.cxx:156
FullWrtStruct::Border
Internal: class to store a border which appear in docInfo.
Definition: FullWrtStruct.hxx:60
FullWrtParserInternal::DocZoneStruct::m_type
int m_type
the type
Definition: FullWrtParser.cxx:100
MWAWParser::version
int version() const
returns the works version
Definition: MWAWParser.hxx:108
FullWrtParser::parse
void parse(librevenge::RVNGTextInterface *documentInterface)
virtual function used to parse the input
Definition: FullWrtParser.cxx:382
MWAWPrinter.hxx
MWAWPageSpan::setMarginLeft
void setMarginLeft(const double marginLeft)
set the page left margin
Definition: MWAWPageSpan.hxx:187
FullWrtParserInternal::State
Internal: the state of a FullWrtParser.
Definition: FullWrtParser.cxx:154
FullWrtParserInternal::SubDocument::parse
void parse(MWAWListenerPtr &listener, libmwaw::SubDocumentType type)
the parser function
Definition: FullWrtParser.cxx:266
MWAWHeaderFooter::m_subDocument
MWAWSubDocumentPtr m_subDocument
the document data
Definition: MWAWPageSpan.hxx:89
libmwaw::PrinterInfo
the AppleŠ printer information : TPrint
Definition: MWAWPrinter.hxx:82
MWAWDocument::MWAW_T_FULLWRITE
@ MWAW_T_FULLWRITE
FullWrite Professional: basic.
Definition: MWAWDocument.hxx:115
MWAWParser::getTextListener
MWAWTextListenerPtr & getTextListener()
returns the text listener
Definition: MWAWParser.hxx:145
FullWrtParser::FullWrtGraph
friend class FullWrtGraph
Definition: FullWrtParser.hxx:68
FullWrtParser::createDocument
void createDocument(librevenge::RVNGTextInterface *documentInterface)
creates the listener which will be associated to the document
Definition: FullWrtParser.cxx:454
FullWrtParser::~FullWrtParser
virtual ~FullWrtParser()
destructor
Definition: FullWrtParser.cxx:293
libmwaw::DebugFile::addNote
void addNote(char const *note)
adds a note in the file, in actual position
Definition: MWAWDebug.cxx:59
MWAWSubDocument
abstract class used to store a subdocument (with a comparison function)
Definition: MWAWSubDocument.hxx:42
FullWrtParser::m_textParser
shared_ptr< FullWrtText > m_textParser
the text parser
Definition: FullWrtParser.hxx:179
FullWrtParser::getNumDocZoneStruct
int getNumDocZoneStruct() const
returns the number of zone struct
Definition: FullWrtParser.cxx:343
MWAWParser::ascii
libmwaw::DebugFile & ascii()
a DebugFile used to write what we recognize when we parse the document
Definition: MWAWParser.hxx:195
FullWrtParserInternal::State::m_headerHeight
int m_headerHeight
the header height if known
Definition: FullWrtParser.cxx:227
MWAWHeaderFooter
a class which stores the header/footer data
Definition: MWAWPageSpan.hxx:45
FullWrtParserInternal::State::getFileZoneId
int getFileZoneId(int docId) const
return the file zone id ( if found or -1)
Definition: FullWrtParser.cxx:184
MWAWCell.hxx
FullWrtParserInternal::SubDocument::~SubDocument
virtual ~SubDocument()
destructor
Definition: FullWrtParser.cxx:240
FullWrtParserInternal::ReferenceCalledData
Internal: the reference data call of a FullWrtParser.
Definition: FullWrtParser.cxx:130
MWAWParser::asciiName
std::string const & asciiName() const
return the ascii file name
Definition: MWAWParser.hxx:232
FullWrtParserInternal::State::m_numPages
int m_numPages
the number of page of the final document
Definition: FullWrtParser.cxx:225
MWAWSubDocument.hxx
FullWrtParserInternal::DocZoneStruct::m_childList
std::vector< int > m_childList
the list of child id
Definition: FullWrtParser.cxx:106
MWAWPageSpan::setFormLength
void setFormLength(const double formLength)
set the total page length
Definition: MWAWPageSpan.hxx:172
FullWrtParser::getDocumentTypeName
std::string getDocumentTypeName(int zId) const
returns a the type of a document zone ( mainly used for debugging)
Definition: FullWrtParser.cxx:348
libmwaw::SubDocumentType
SubDocumentType
Definition: libmwaw_internal.hxx:178
FullWrtParser::newPage
void newPage(int number)
adds a new page
Definition: FullWrtParser.cxx:319
libmwaw::DebugFile::reset
void reset()
writes the current file and reset to zero
Definition: MWAWDebug.hxx:85
FullWrtText
the main class to read the text part of writenow file
Definition: FullWrtText.hxx:67
FullWrtParser::sendGraphic
void sendGraphic(int docId)
try to send a graphic
Definition: FullWrtParser.cxx:355
FullWrtParser
the main class to read a FullWrite file
Definition: FullWrtParser.hxx:67
FullWrtParser::m_state
shared_ptr< FullWrtParserInternal::State > m_state
the state
Definition: FullWrtParser.hxx:174
MWAWParser::setTextListener
void setTextListener(MWAWTextListenerPtr &listener)
sets the text listener
Definition: MWAWParser.cxx:146
FullWrtText.hxx
FullWrtParserInternal::State::m_referenceRedirectMap
std::map< int, ReferenceCalledData > m_referenceRedirectMap
redirection docId -> reference docId
Definition: FullWrtParser.cxx:223
MWAWParser::setAsciiName
void setAsciiName(char const *name)
Debugging: change the default ascii file.
Definition: MWAWParser.hxx:227
libmwaw::DebugFile::skipZone
void skipZone(long beginPos, long endPos)
skips the file zone defined by beginPos-endPos
Definition: MWAWDebug.hxx:105
MWAWRSRCParser.hxx
MWAWVec2::y
T y() const
second element
Definition: libmwaw_internal.hxx:620
MWAWParser::getRSRCParser
MWAWRSRCParserPtr & getRSRCParser()
returns the rsrc parser
Definition: MWAWParser.hxx:190
FullWrtParserInternal::DocZoneStruct::DocZoneStruct
DocZoneStruct()
constructor
Definition: FullWrtParser.cxx:66
MWAWPageSpan::setFormWidth
void setFormWidth(const double formWidth)
set the total page width
Definition: MWAWPageSpan.hxx:177
MWAWPosition.hxx
MWAWVec2::x
T x() const
first element
Definition: libmwaw_internal.hxx:615
FullWrtParser.hxx
FullWrtParserInternal::SideBar
Internal: the sidebar of a FullWrtParser.
Definition: FullWrtParser.cxx:111
MWAWParser::setVersion
void setVersion(int vers)
sets the document's version
Definition: MWAWParser.hxx:206
MWAWListener::PageBreak
@ PageBreak
Definition: MWAWListener.hxx:58
MWAWVec2< float >
MWAWPictMac.hxx
FullWrtParserInternal::State::m_fileZoneList
FullWrtStruct::EntryPtr m_fileZoneList
the list of file zone position
Definition: FullWrtParser.cxx:199
libmwaw::ParseException
Definition: libmwaw_internal.hxx:142
MWAWHeader
a function used by MWAWDocument to store the version of document
Definition: MWAWHeader.hxx:57
MWAWParser::getPageSpan
MWAWPageSpan const & getPageSpan() const
returns the actual page dimension
Definition: MWAWParser.hxx:160
FullWrtParserInternal::SubDocument
Internal: the subdocument of a FullWrtParser.
Definition: FullWrtParser.cxx:234
MWAWColor::black
static MWAWColor black()
return the back color
Definition: libmwaw_internal.hxx:226
FullWrtStruct::ZoneHeader
a structure used to store the data of a zone header in a FullWrite file
Definition: FullWrtStruct.hxx:150
FullWrtParserInternal::State::m_fileDocIdMap
std::map< int, int > m_fileDocIdMap
the correspondance file id -> doc id
Definition: FullWrtParser.cxx:211
FullWrtParserInternal::DocZoneStruct
Internal and low level: a structure used to define the list of zone in Zone 0 data of a FullWrite fil...
Definition: FullWrtParser.cxx:64
MWAWPageSpan::setMarginTop
void setMarginTop(const double marginTop)
set the page top margin
Definition: MWAWPageSpan.hxx:197
libmwaw::PrinterInfo::read
bool read(MWAWInputStreamPtr input)
reads the struture in a file
Definition: MWAWPrinter.cxx:218
MWAWHeaderFooter::FOOTER
@ FOOTER
Definition: MWAWPageSpan.hxx:48
FullWrtParser::readGenericDocData
bool readGenericDocData(FullWrtStruct::EntryPtr zone, FullWrtStruct::ZoneHeader &doc)
try to read the data of a zone which begins with a generic header
Definition: FullWrtParser.cxx:1449
FullWrtParser::FullWrtParser
FullWrtParser(MWAWInputStreamPtr input, MWAWRSRCParserPtr rsrcParser, MWAWHeader *header)
constructor
Definition: FullWrtParser.cxx:287
MWAWParser::getParserState
MWAWParserStatePtr getParserState()
returns the parser state
Definition: MWAWParser.hxx:113
FullWrtStruct::ZoneHeader::m_docId
int m_docId
the doc id
Definition: FullWrtStruct.hxx:162
FullWrtParser::readDocZoneData
bool readDocZoneData(FullWrtStruct::EntryPtr zone)
try to read the zone containing the data of each doc zone (ie. Zone0)
Definition: FullWrtParser.cxx:1113
MWAWHeader.hxx
MWAWInputStreamPtr
shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:503
FullWrtParserInternal::SubDocument::m_id
int m_id
the subdocument id
Definition: FullWrtParser.cxx:263
FullWrtParser::FullWrtText
friend class FullWrtText
Definition: FullWrtParser.hxx:69
MWAWHeaderFooter::ALL
@ ALL
Definition: MWAWPageSpan.hxx:50
FullWrtParserInternal::State::m_zoneFlagsId
int m_zoneFlagsId[3]
the list of main zone flags id
Definition: FullWrtParser.cxx:196
FullWrtParser::sendText
void sendText(int docId, libmwaw::SubDocumentType type, MWAWNote::Type which=MWAWNote::FootNote)
try to send a footnote/endnote entry
Definition: FullWrtParser.cxx:1994
FullWrtParser::m_graphParser
shared_ptr< FullWrtGraph > m_graphParser
the graph parser
Definition: FullWrtParser.hxx:177
libmwaw::DOC_NOTE
@ DOC_NOTE
Definition: libmwaw_internal.hxx:178
FullWrtParserInternal::State::m_biblioId
int m_biblioId
the bibliography id
Definition: FullWrtParser.cxx:214
FullWrtParserInternal::State::m_entryMap
std::multimap< int, FullWrtStruct::EntryPtr > m_entryMap
zoneId -> entry
Definition: FullWrtParser.cxx:217
FullWrtParserInternal::State::m_fileZoneFlagsList
FullWrtStruct::EntryPtr m_fileZoneFlagsList
the list of file zone flags
Definition: FullWrtParser.cxx:202
FullWrtParser::checkHeader
bool checkHeader(MWAWHeader *header, bool strict=false)
checks if the document header is correct (or not)
Definition: FullWrtParser.cxx:647
FullWrtParser::getPageLeftTop
MWAWVec2f getPageLeftTop() const
returns the page left top point ( in inches)
Definition: FullWrtParser.cxx:332
FullWrtParser::readDocZoneStruct
bool readDocZoneStruct(FullWrtStruct::EntryPtr zone)
try to read the zone which stores the structure of zone0, ... (ie. Zone1)
Definition: FullWrtParser.cxx:1304
FullWrtParserInternal::SubDocument::operator==
virtual bool operator==(MWAWSubDocument const &doc) const
operator!==
Definition: FullWrtParser.cxx:253
MWAWParser::getInput
MWAWInputStreamPtr & getInput()
returns the actual input
Definition: MWAWParser.hxx:123
FullWrtParser::readFileZonePos
bool readFileZonePos(FullWrtStruct::EntryPtr zone)
try to read the file zones position
Definition: FullWrtParser.cxx:1711
MWAWTextListener.hxx
FullWrtParser::createFileZones
bool createFileZones()
create the file zone ( first step of create zones)
Definition: FullWrtParser.cxx:524
FullWrtGraph.hxx
FullWrtParser::readDocInfo
bool readDocInfo(FullWrtStruct::EntryPtr zone)
try to read zone2, a zone which stores the document information zone, ...
Definition: FullWrtParser.cxx:673
MWAWSubDocument::m_parser
MWAWParser * m_parser
the main zone parser
Definition: MWAWSubDocument.hxx:75
libmwaw::DebugFile::addPos
void addPos(long pos)
adds a new position in the file
Definition: MWAWDebug.cxx:53
libmwaw::DebugFile::setStream
void setStream(MWAWInputStreamPtr ip)
resets the input
Definition: MWAWDebug.hxx:73
FullWrtParserInternal::SideBar::SideBar
SideBar(FullWrtStruct::ZoneHeader &)
constructor
Definition: FullWrtParser.cxx:113
MWAWPageSpan::setMarginRight
void setMarginRight(const double marginRight)
set the page right margin
Definition: MWAWPageSpan.hxx:192
FullWrtStruct::ZoneHeader::read
bool read(shared_ptr< FullWrtStruct::Entry > zone)
try to read the data header of a classical zone
Definition: FullWrtStruct.cxx:413
MWAWRSRCParserPtr
shared_ptr< MWAWRSRCParser > MWAWRSRCParserPtr
a smart pointer of MWAWRSRCParser
Definition: libmwaw_internal.hxx:513
MWAWPageSpan::setHeaderFooter
void setHeaderFooter(MWAWHeaderFooter const &headerFooter)
add a header/footer on some page
Definition: MWAWPageSpan.cxx:223
FullWrtParserInternal::SideBar::~SideBar
~SideBar()
destructor
Definition: FullWrtParser.cxx:124
FullWrtParser::getBorder
bool getBorder(int bId, FullWrtStruct::Border &border) const
try to return a border corresponding to an id
Definition: FullWrtParser.cxx:338
FullWrtParserInternal::SubDocument::operator!=
virtual bool operator!=(MWAWSubDocument const &doc) const
operator!=
Definition: FullWrtParser.cxx:243
FullWrtParserInternal::State::m_docZoneList
std::vector< DocZoneStruct > m_docZoneList
the list of the documents zone list
Definition: FullWrtParser.cxx:205
FullWrtParserInternal::DocZoneStruct::m_pos
long m_pos
the file position
Definition: FullWrtParser.cxx:96
libmwaw::DebugFile
an interface used to insert comment in a binary file, written in ascii form (if debug_with_files is n...
Definition: MWAWDebug.hxx:66
FullWrtParserInternal::State::m_docFileIdMap
std::map< int, int > m_docFileIdMap
the correspondance doc id -> file id
Definition: FullWrtParser.cxx:208
FullWrtParserInternal::State::addCorrespondance
bool addCorrespondance(int docId, int fileId)
insert a docId fileId in the correspondance map
Definition: FullWrtParser.cxx:164
FullWrtParser::readReferenceData
bool readReferenceData(FullWrtStruct::EntryPtr zone)
try to read the reference data
Definition: FullWrtParser.cxx:1550
MWAWNote::FootNote
@ FootNote
Definition: libmwaw_internal.hxx:408
MWAWInputStream.hxx
FullWrtParserInternal::DocZoneStruct::m_nextId
int m_nextId
the next id
Definition: FullWrtParser.cxx:102
MWAWHeader::reset
void reset(MWAWDocument::Type type, int vers, Kind kind=MWAWDocument::MWAW_K_TEXT)
resets the data
Definition: MWAWHeader.hxx:82
FullWrtStruct.hxx
MWAWFont.hxx
FullWrtParserInternal::DocZoneStruct::m_structType
int m_structType
the struct type
Definition: FullWrtParser.cxx:98
FullWrtParser::init
void init()
inits all internal variables
Definition: FullWrtParser.cxx:302
MWAWPageSpan::setMargins
void setMargins(double margin, int wh=libmwaw::LeftBit|libmwaw::RightBit|libmwaw::TopBit|libmwaw::BottomBit)
set all the margins
Definition: MWAWPageSpan.hxx:207
MWAWSubDocumentPtr
shared_ptr< MWAWSubDocument > MWAWSubDocumentPtr
a smart pointer of MWAWSubDocument
Definition: libmwaw_internal.hxx:517
MWAWBox2< float >
FullWrtParserInternal::ReferenceCalledData::ReferenceCalledData
ReferenceCalledData()
Definition: FullWrtParser.cxx:132
FullWrtParserInternal::State::m_variableRedirectMap
std::map< int, int > m_variableRedirectMap
redirection docId -> variable docId
Definition: FullWrtParser.cxx:220
FullWrtParserInternal::SideBar::m_box
MWAWBox2f m_box
the position (in point)
Definition: FullWrtParser.cxx:119
MWAWVec2i
MWAWVec2< int > MWAWVec2i
MWAWVec2 of int.
Definition: libmwaw_internal.hxx:781
libmwaw::DebugStream
std::stringstream DebugStream
a basic stream (if debug_with_files is not defined, does nothing)
Definition: MWAWDebug.hxx:61
MWAWListenerPtr
shared_ptr< MWAWListener > MWAWListenerPtr
a smart pointer of MWAWListener
Definition: libmwaw_internal.hxx:505
MWAWParser.hxx
FullWrtStruct::EntryPtr
shared_ptr< Entry > EntryPtr
Definition: FullWrtStruct.hxx:147
FullWrtParser::sendVariable
void sendVariable(int docId)
try to send a variable, in pratice do nothing
Definition: FullWrtParser.cxx:1950
MWAWSubDocument::m_input
shared_ptr< MWAWInputStream > m_input
the input
Definition: MWAWSubDocument.hxx:77
MWAWPageSpan
A class which defines the page properties.
Definition: MWAWPageSpan.hxx:96
MWAWParser::resetTextListener
void resetTextListener()
resets the listener
Definition: MWAWParser.cxx:151
FullWrtGraph
the main class to read the graphic part of a FullWrite Text file
Definition: FullWrtGraph.hxx:68
FullWrtParser::send
bool send(int fileId, MWAWColor fontColor=MWAWColor::black())
ask the text parser to send a zone
Definition: FullWrtParser.cxx:370
FullWrtParserInternal::SideBar::m_page
int m_page
the page
Definition: FullWrtParser.cxx:121

Generated on Wed Jun 17 2020 06:30:09 for libmwaw by doxygen 1.8.18