MultiplanParser.hxx Source File documentation

MultiplanParser.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 spreadsheet Multiplan document
36 *
37 */
38 #ifndef MULTIPLAN_PARSER
39 # define MULTIPLAN_PARSER
40
41 #include <vector>
42
43 #include "MWAWCell.hxx"
44 #include "MWAWDebug.hxx"
45
46 #include "MWAWParser.hxx"
47
48 namespace MultiplanParserInternal
49 {
50 struct State;
51
52 class SubDocument;
53 }
54
60 class MultiplanParser final : public MWAWSpreadsheetParser
61 {
62 friend class MultiplanParserInternal::SubDocument;
63 public:
65 MultiplanParser(MWAWInputStreamPtr const &input, MWAWRSRCParserPtr const &rsrcParser, MWAWHeader *header);
67 ~MultiplanParser() final;
68
70 bool checkHeader(MWAWHeader *header, bool strict=false) final;
71
73 void parse(librevenge::RVNGSpreadsheetInterface *documentInterface) final;
74
75 protected:
77 void createDocument(librevenge::RVNGSpreadsheetInterface *documentInterface);
78
80 bool createZones();
81
83 bool readColumnsPos();
85 bool readHeaderFooter();
87 bool readPrinterInfo();
89 bool readPrinterMessage();
90
92 bool readZonesList();
94 bool readZone1(MWAWEntry const &entry);
96 bool readCellDataPosition(MWAWEntry const &entry);
98 bool readLink(int pos, MWAWCellContent::FormulaInstruction &instruction);
100 bool readLinkFilename(int pos, MWAWCellContent::FormulaInstruction &instruction);
102 bool readSharedData(int pos, int cellType, MWAWVec2i const &cellPos, MWAWCellContent &content);
104 bool readName(int pos, MWAWCellContent::FormulaInstruction &instruction);
106 bool readZoneB();
108 bool readZoneC();
109
111 bool sendSpreadsheet();
113 bool sendText(MWAWEntry const &entry);
115 bool sendCell(MWAWVec2i const &cellPos, int pos);
116 protected:
118 bool readDouble(double &value);
120 bool readFormula(MWAWVec2i const &cellPos, std::vector<MWAWCellContent::FormulaInstruction> &formula, long endPos, std::string &extra);
121
122 //
123 // data
124 //
125
127 std::shared_ptr<MultiplanParserInternal::State> m_state;
128 };
129 #endif
130 // vim: set filetype=cpp tabstop=2 shiftwidth=2 cindent autoindent smartindent noexpandtab:
MWAWCellContent::FormulaInstruction::F_CellList
@ F_CellList
Definition: MWAWCell.hxx:398
MWAWEntry
basic class to store an entry in a file This contained :
Definition: MWAWEntry.hxx:46
MWAWInputStreamPtr
std::shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:551
MWAWSubDocument::m_zone
MWAWEntry m_zone
if valid the zone to parse
Definition: MWAWSubDocument.hxx:79
MultiplanParser::readHeaderFooter
bool readHeaderFooter()
read the header/footer strings, ...
Definition: MultiplanParser.cxx:269
MWAWSpreadsheetParser
virtual class which defines the ancestor of all spreadsheet zone parser
Definition: MWAWParser.hxx:282
MWAWParser::getFontConverter
MWAWFontConverterPtr & getFontConverter()
returns the font converter
Definition: MWAWParser.hxx:150
MWAWDocument::MWAW_T_MICROSOFTMULTIPLAN
@ MWAW_T_MICROSOFTMULTIPLAN
Microsoft Multiplan: v1.11.
Definition: MWAWDocument.hxx:131
MWAWCell::F_BOOLEAN
@ F_BOOLEAN
Definition: MWAWCell.hxx:56
MultiplanParser::readFormula
bool readFormula(MWAWVec2i const &cellPos, std::vector< MWAWCellContent::FormulaInstruction > &formula, long endPos, std::string &extra)
try to read a formula
Definition: MultiplanParser.cxx:1069
MWAWCellContent::m_textEntry
MWAWEntry m_textEntry
the cell string
Definition: MWAWCell.hxx:489
MultiplanParserInternal::State::m_posToSharedDataSeen
std::set< int > m_posToSharedDataSeen
a set a shared data already seen
Definition: MultiplanParser.cxx:95
MWAWPageSpan::setPageSpan
void setPageSpan(const int pageSpan)
set the page span ( default 1)
Definition: MWAWPageSpan.hxx:268
MWAWDocument::MWAW_K_SPREADSHEET
@ MWAW_K_SPREADSHEET
spreadsheet
Definition: MWAWDocument.hxx:86
MultiplanParserInternal::State::m_posToLinkMap
std::map< int, MWAWCellContent::FormulaInstruction > m_posToLinkMap
the list of link instruction
Definition: MultiplanParser.cxx:91
MWAWHeaderFooter::HEADER
@ HEADER
Definition: MWAWPageSpan.hxx:48
MWAW_DEBUG_MSG
#define MWAW_DEBUG_MSG(M)
Definition: libmwaw_internal.hxx:129
libmwaw::DebugFile::addDelimiter
void addDelimiter(long pos, char c)
adds a not breaking delimiter in position pos
Definition: MWAWDebug.cxx:73
MWAWCellContent::setValue
void setValue(double value)
sets the double value
Definition: MWAWCell.hxx:458
MultiplanParserInternal::State::getColumnsWidth
std::vector< float > getColumnsWidth() const
returns the column width in point
Definition: MultiplanParser.cxx:98
MultiplanParser::readZone1
bool readZone1(MWAWEntry const &entry)
read an unknown zone: two blocks of 60 bytes
Definition: MultiplanParser.cxx:488
MultiplanParser::m_state
std::shared_ptr< MultiplanParserInternal::State > m_state
the state
Definition: MultiplanParser.hxx:127
MWAWCell::setPosition
void setPosition(MWAWVec2i posi)
set the cell positions : 0,0 -> A1, 0,1 -> A2
Definition: MWAWCell.hxx:189
MultiplanParserInternal::SubDocument
Internal: the subdocument of a MultiplanParserInternal.
Definition: MultiplanParser.cxx:121
MWAWCell::F_NUMBER_DECIMAL
@ F_NUMBER_DECIMAL
Definition: MWAWCell.hxx:58
MWAWCell::setHAlignment
void setHAlignment(HorizontalAlignment align)
sets the horizontal alignment
Definition: MWAWCell.hxx:281
MWAWCellContent::FormulaInstruction::F_Operator
@ F_Operator
Definition: MWAWCell.hxx:398
MWAWCell::F_NUMBER_PERCENT
@ F_NUMBER_PERCENT
Definition: MWAWCell.hxx:58
libmwaw::DebugFile::open
bool open(std::string const &filename)
opens/creates a file to store a result
Definition: MWAWDebug.cxx:46
MWAWCellContent::FormulaInstruction
small class use to define a formula instruction
Definition: MWAWCell.hxx:397
MWAWFontConverter.hxx
libmwaw::appendUnicode
void appendUnicode(uint32_t val, librevenge::RVNGString &buffer)
adds an unicode character to a string
Definition: libmwaw_internal.cxx:63
MultiplanParser::readZonesList
bool readZonesList()
read the spreadsheet zone list
Definition: MultiplanParser.cxx:404
MWAWCell::F_NUMBER_SCIENTIFIC
@ F_NUMBER_SCIENTIFIC
Definition: MWAWCell.hxx:58
MWAWCellContent::FormulaInstruction::F_Function
@ F_Function
Definition: MWAWCell.hxx:398
MWAWCell::setFormat
void setFormat(Format const &format)
set the cell format
Definition: MWAWCell.hxx:242
MWAWHeaderFooter::m_subDocument
MWAWSubDocumentPtr m_subDocument
the document data
Definition: MWAWPageSpan.hxx:92
MWAWParser::resetSpreadsheetListener
void resetSpreadsheetListener()
resets the listener
Definition: MWAWParser.cxx:152
MultiplanParser::readZoneB
bool readZoneB()
read an unknown zone
Definition: MultiplanParser.cxx:856
MWAWCell::F_NUMBER_GENERIC
@ F_NUMBER_GENERIC
Definition: MWAWCell.hxx:58
libmwaw::DebugFile::addNote
void addNote(char const *note)
adds a note in the file, in actual position
Definition: MWAWDebug.cxx:59
MultiplanParserInternal::SubDocument::operator!=
bool operator!=(MWAWSubDocument const &doc) const final
operator!=
Definition: MultiplanParser.cxx:156
MWAWSubDocument
abstract class used to store a subdocument (with a comparison function)
Definition: MWAWSubDocument.hxx:41
MWAWCellContent::FormulaInstruction::m_content
std::string m_content
the content ( if type == F_Operator or type = F_Function or type==F_Text)
Definition: MWAWCell.hxx:417
MWAWCell::setFont
void setFont(MWAWFont const &font, bool isDefault=false)
sets the fonts
Definition: MWAWCell.hxx:258
MWAWCellContent::FormulaInstruction::m_fileName
librevenge::RVNGString m_fileName
the file name (if not empty)
Definition: MWAWCell.hxx:429
MWAWParser::ascii
libmwaw::DebugFile & ascii()
a DebugFile used to write what we recognize when we parse the document
Definition: MWAWParser.hxx:195
MultiplanParser::sendCell
bool sendCell(MWAWVec2i const &cellPos, int pos)
try to send a cell
Definition: MultiplanParser.cxx:1449
MWAWHeaderFooter
a class which stores the header/footer data
Definition: MWAWPageSpan.hxx:44
MultiplanParser::readPrinterInfo
bool readPrinterInfo()
read the printer information
Definition: MultiplanParser.cxx:295
MWAWCell.hxx
MultiplanParserInternal::State::State
State()
constructor
Definition: MultiplanParser.cxx:63
MWAWCell::Format::m_digits
int m_digits
the number of digits
Definition: MWAWCell.hxx:99
MWAWSubDocument.hxx
MWAWCellContent::FormulaInstruction::F_Text
@ F_Text
Definition: MWAWCell.hxx:398
MWAWParser::getSpreadsheetListener
MWAWSpreadsheetListenerPtr & getSpreadsheetListener()
returns the spreadsheet listener
Definition: MWAWParser.hxx:140
MWAWCell::Format::m_numberFormat
NumberType m_numberFormat
the numeric format
Definition: MWAWCell.hxx:97
libmwaw::SubDocumentType
SubDocumentType
Definition: libmwaw_internal.hxx:188
MWAWSubDocument::m_input
std::shared_ptr< MWAWInputStream > m_input
the input
Definition: MWAWSubDocument.hxx:77
MultiplanParser.hxx
MultiplanParserInternal
Internal: the structures of a MultiplanParser.
Definition: MultiplanParser.cxx:57
libmwaw::DebugFile::reset
void reset()
writes the current file and reset to zero
Definition: MWAWDebug.hxx:93
MWAWCell::setProtected
void setProtected(bool fl)
sets the cell's protected flag
Definition: MWAWCell.hxx:270
MWAWParser::getMainListener
MWAWListenerPtr getMainListener()
returns the main listener
Definition: MWAWParser.cxx:120
MWAWCellContent::m_formula
std::vector< FormulaInstruction > m_formula
the formula list of instruction
Definition: MWAWCell.hxx:491
MWAWSpreadsheetListenerPtr
std::shared_ptr< MWAWSpreadsheetListener > MWAWSpreadsheetListenerPtr
a smart pointer of MWAWSpreadsheetListener
Definition: libmwaw_internal.hxx:563
MultiplanParser::createDocument
void createDocument(librevenge::RVNGSpreadsheetInterface *documentInterface)
creates the listener which will be associated to the document
Definition: MultiplanParser.cxx:213
MWAWSpreadsheetListener
This class contents the main functions needed to create a spreadsheet processing Document.
Definition: MWAWSpreadsheetListener.hxx:65
MWAWParser::setAsciiName
void setAsciiName(char const *name)
Debugging: change the default ascii file.
Definition: MWAWParser.hxx:227
MWAWParagraph.hxx
MWAWParser::getPageSpan
const MWAWPageSpan & getPageSpan() const
returns the actual page dimension
Definition: MWAWParser.hxx:160
MWAWPosition.hxx
MultiplanParser::checkHeader
bool checkHeader(MWAWHeader *header, bool strict=false) final
checks if the document header is correct (or not)
Definition: MultiplanParser.cxx:1363
MWAWCellContent::FormulaInstruction::m_type
Type m_type
the type
Definition: MWAWCell.hxx:415
MWAWCell::Format
a structure uses to define the format of a cell content
Definition: MWAWCell.hxx:60
MWAWEntry::setBegin
void setBegin(long off)
sets the begin offset
Definition: MWAWEntry.hxx:67
MultiplanParser::readDouble
bool readDouble(double &value)
try to read a double value
Definition: MultiplanParser.cxx:946
MWAWParser::asciiName
const std::string & asciiName() const
return the ascii file name
Definition: MWAWParser.hxx:232
MultiplanParser::readZoneC
bool readZoneC()
read an unknown zone
Definition: MultiplanParser.cxx:906
MWAWRSRCParserPtr
std::shared_ptr< MWAWRSRCParser > MWAWRSRCParserPtr
a smart pointer of MWAWRSRCParser
Definition: libmwaw_internal.hxx:561
MWAWEntry::length
long length() const
returns the length of the zone
Definition: MWAWEntry.hxx:93
libmwaw::DebugFile::setStream
void setStream(MWAWInputStreamPtr const &ip)
resets the input
Definition: MWAWDebug.hxx:81
MWAWVec2< int >
MWAWCellContent
small class use to define a sheet cell content
Definition: MWAWCell.hxx:393
libmwaw::ParseException
Definition: libmwaw_internal.hxx:143
MWAWDebug.hxx
MultiplanParserInternal::State::m_cellPositions
std::vector< std::vector< int > > m_cellPositions
the positions of each cell: a vector for each row
Definition: MultiplanParser.cxx:85
MWAWHeader
a function used by MWAWDocument to store the version of document
Definition: MWAWHeader.hxx:56
MWAWEntry::begin
long begin() const
returns the begin offset
Definition: MWAWEntry.hxx:83
MWAWEntry::setLength
void setLength(long l)
sets the zone size
Definition: MWAWEntry.hxx:72
MultiplanParser::readName
bool readName(int pos, MWAWCellContent::FormulaInstruction &instruction)
reads a name and returns the cell's instruction
Definition: MultiplanParser.cxx:802
MultiplanParser::readLinkFilename
bool readLinkFilename(int pos, MWAWCellContent::FormulaInstruction &instruction)
read a link filename
Definition: MultiplanParser.cxx:647
MultiplanParser::readCellDataPosition
bool readCellDataPosition(MWAWEntry const &entry)
read the cell data position
Definition: MultiplanParser.cxx:516
MWAWHeaderFooter::FOOTER
@ FOOTER
Definition: MWAWPageSpan.hxx:48
MWAWCellContent::FormulaInstruction::m_doubleValue
double m_doubleValue
value ( if type==F_Double )
Definition: MWAWCell.hxx:421
MultiplanParserInternal::State::m_posToNameMap
std::map< int, MWAWCellContent::FormulaInstruction > m_posToNameMap
the map name's pos to name's cell instruction
Definition: MultiplanParser.cxx:93
MWAWCellContent::C_FORMULA
@ C_FORMULA
Definition: MWAWCell.hxx:433
MWAWParser::getParserState
MWAWParserStatePtr getParserState()
returns the parser state
Definition: MWAWParser.hxx:113
MWAWParser::setSpreadsheetListener
void setSpreadsheetListener(MWAWSpreadsheetListenerPtr &listener)
sets the spreadsheet listener
Definition: MWAWParser.cxx:147
MultiplanParser::readPrinterMessage
bool readPrinterMessage()
read the printer message
Definition: MultiplanParser.cxx:362
MWAWCellContent::FormulaInstruction::F_Cell
@ F_Cell
Definition: MWAWCell.hxx:398
MWAWHeader.hxx
MWAWEntry::end
long end() const
returns the end offset
Definition: MWAWEntry.hxx:88
MultiplanParserInternal::SubDocument::SubDocument
SubDocument(MultiplanParser &parser, MWAWInputStreamPtr const &input, MWAWEntry const &entry)
Definition: MultiplanParser.cxx:124
MWAWHeaderFooter::ALL
@ ALL
Definition: MWAWPageSpan.hxx:50
MultiplanParserInternal::State::m_maximumCell
MWAWVec2i m_maximumCell
the maximumCell
Definition: MultiplanParser.cxx:79
MWAWCell::F_NUMBER
@ F_NUMBER
Definition: MWAWCell.hxx:56
MultiplanParser::readColumnsPos
bool readColumnsPos()
read the columns limits pos
Definition: MultiplanParser.cxx:384
MultiplanParserInternal::State::m_hfpEntries
MWAWEntry m_hfpEntries[3]
the header/footer/printer message entries
Definition: MultiplanParser.cxx:83
MWAWBox2i
MWAWBox2< int > MWAWBox2i
MWAWBox2 of int.
Definition: libmwaw_internal.hxx:1191
MultiplanParserInternal::State::m_cellPositionsSet
std::set< int > m_cellPositionsSet
the list of all position (use for checking)
Definition: MultiplanParser.cxx:87
MultiplanParserInternal::Functions::m_name
const char * m_name
Definition: MultiplanParser.cxx:988
MultiplanParser
the main class to read a Multiplan document
Definition: MultiplanParser.hxx:60
MWAWCell::F_NUMBER_CURRENCY
@ F_NUMBER_CURRENCY
Definition: MWAWCell.hxx:58
MWAWParser::getInput
MWAWInputStreamPtr & getInput()
returns the actual input
Definition: MWAWParser.hxx:123
MultiplanParser::sendSpreadsheet
bool sendSpreadsheet()
try to send the main spreadsheet
Definition: MultiplanParser.cxx:1661
MultiplanParserInternal::s_listFunctions
static const char * s_listFunctions[]
Definition: MultiplanParser.cxx:1045
MWAWCellContent::C_TEXT
@ C_TEXT
Definition: MWAWCell.hxx:433
MWAWCell::Format::m_format
FormatType m_format
the cell format : by default unknown
Definition: MWAWCell.hxx:95
MWAWCellContent::FormulaInstruction::F_Double
@ F_Double
Definition: MWAWCell.hxx:398
MWAWCellContent::FormulaInstruction::m_position
MWAWVec2i m_position[2]
cell position ( if type==F_Cell or F_CellList )
Definition: MWAWCell.hxx:423
libmwaw::DebugFile::addPos
void addPos(long pos)
adds a new position in the file
Definition: MWAWDebug.cxx:53
MWAWCellContent::FormulaInstruction::m_sheet
librevenge::RVNGString m_sheet[2]
the sheet names (if not empty)
Definition: MWAWCell.hxx:427
MWAWEntry::valid
bool valid() const
returns true if the zone length is positive
Definition: MWAWEntry.hxx:99
MWAW_N_ELEMENTS
#define MWAW_N_ELEMENTS(m)
Definition: libmwaw_internal.hxx:111
MWAWPageSpan::setHeaderFooter
void setHeaderFooter(MWAWHeaderFooter const &headerFooter)
add a header/footer on some page
Definition: MWAWPageSpan.cxx:227
MultiplanParserInternal::SubDocument::~SubDocument
~SubDocument() final
destructor
Definition: MultiplanParser.cxx:131
MultiplanParserInternal::State
Internal: the state of a MultiplanParser.
Definition: MultiplanParser.cxx:61
MWAWSpreadsheetListener.hxx
MultiplanParser::~MultiplanParser
~MultiplanParser() final
destructor
Definition: MultiplanParser.cxx:178
MWAWCellContent::FormulaInstruction::m_positionRelative
MWAWVec2b m_positionRelative[2]
relative cell position ( if type==F_Cell or F_CellList )
Definition: MWAWCell.hxx:425
MultiplanParserInternal::SubDocument::m_multiParser
MultiplanParser & m_multiParser
the main parser
Definition: MultiplanParser.cxx:141
MultiplanParser::readSharedData
bool readSharedData(int pos, int cellType, MWAWVec2i const &cellPos, MWAWCellContent &content)
read a shared data
Definition: MultiplanParser.cxx:695
MultiplanParser::readLink
bool readLink(int pos, MWAWCellContent::FormulaInstruction &instruction)
read a link given a position
Definition: MultiplanParser.cxx:551
MultiplanParserInternal::Functions
Definition: MultiplanParser.cxx:987
MWAWHeader::reset
void reset(MWAWDocument::Type type, int vers, Kind kind=MWAWDocument::MWAW_K_TEXT)
resets the data
Definition: MWAWHeader.hxx:84
MWAWListenerPtr
std::shared_ptr< MWAWListener > MWAWListenerPtr
a smart pointer of MWAWListener
Definition: libmwaw_internal.hxx:553
MultiplanParser::MultiplanParser
MultiplanParser(MWAWInputStreamPtr const &input, MWAWRSRCParserPtr const &rsrcParser, MWAWHeader *header)
constructor
Definition: MultiplanParser.cxx:169
MWAWFont.hxx
librevenge
Definition: MWAWDocument.hxx:56
MultiplanParserInternal::State::m_columnPositions
std::vector< int > m_columnPositions
the columns begin position in point
Definition: MultiplanParser.cxx:81
MultiplanParserInternal::State::m_font
MWAWFont m_font
the default font
Definition: MultiplanParser.cxx:77
MultiplanParserInternal::Functions::m_arity
int m_arity
Definition: MultiplanParser.cxx:989
MWAWCell::HALIGN_LEFT
@ HALIGN_LEFT
Definition: MWAWCell.hxx:128
MWAWPageSpan::setMargins
void setMargins(double margin, int wh=libmwaw::LeftBit|libmwaw::RightBit|libmwaw::TopBit|libmwaw::BottomBit)
set all the margins
Definition: MWAWPageSpan.hxx:213
MultiplanParserInternal::State::m_entries
MWAWEntry m_entries[9]
the different main spreadsheet zones
Definition: MultiplanParser.cxx:89
MWAWFont
Class to store font.
Definition: MWAWFont.hxx:43
MWAWCell
a structure used to define a cell and its format
Definition: MWAWCell.hxx:52
MWAWCellContent::m_contentType
Type m_contentType
the content type ( by default unknown )
Definition: MWAWCell.hxx:483
MultiplanParser::parse
void parse(librevenge::RVNGSpreadsheetInterface *documentInterface) final
the main parse function
Definition: MultiplanParser.cxx:185
MWAWCellContent::C_NUMBER
@ C_NUMBER
Definition: MWAWCell.hxx:433
MWAWVec2b
MWAWVec2< bool > MWAWVec2b
MWAWVec2 of bool.
Definition: libmwaw_internal.hxx:836
MultiplanParser::sendText
bool sendText(MWAWEntry const &entry)
try to send a text zone
Definition: MultiplanParser.cxx:1423
MWAWCell::HALIGN_RIGHT
@ HALIGN_RIGHT
Definition: MWAWCell.hxx:128
MultiplanParserInternal::s_listOperators
static const Functions s_listOperators[]
Definition: MultiplanParser.cxx:992
MWAWVec2i
MWAWVec2< int > MWAWVec2i
MWAWVec2 of int.
Definition: libmwaw_internal.hxx:838
libmwaw::DebugStream
std::stringstream DebugStream
a basic stream (if debug_with_files is not defined, does nothing)
Definition: MWAWDebug.hxx:61
MultiplanParserInternal::SubDocument::parse
void parse(MWAWListenerPtr &listener, libmwaw::SubDocumentType type) final
the parser function
Definition: MultiplanParser.cxx:144
MWAWParser.hxx
MultiplanParser::createZones
bool createZones()
finds the different objects zones
Definition: MultiplanParser.cxx:245
MWAWPageSpan
A class which defines the page properties.
Definition: MWAWPageSpan.hxx:98
MWAWCell::HALIGN_CENTER
@ HALIGN_CENTER
Definition: MWAWCell.hxx:128
MWAWCell::F_TEXT
@ F_TEXT
Definition: MWAWCell.hxx:56
MWAWCell::getFont
MWAWFont getFont() const
returns the font
Definition: MWAWCell.hxx:253