ClarisWksDbaseContent.hxx Source File documentation

ClarisWksDbaseContent.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 * The main database content used by Claris Works parser to store spreedsheet/Databese
36 *
37 */
38 #ifndef CLARIS_WKS_DBASE_CONTENT
39 # define CLARIS_WKS_DBASE_CONTENT
40
41 #include <iostream>
42 #include <map>
43 #include <set>
44 #include <vector>
45
46 #include "libmwaw_internal.hxx"
47
48 #include "MWAWCell.hxx"
49 #include "MWAWEntry.hxx"
50 #include "MWAWFont.hxx"
51
52 #include "ClarisWksStyleManager.hxx"
53
54 class ClarisWksDocument;
55
57 class ClarisWksDbaseContent
58 {
59 public:
60 struct Record;
61
63 ClarisWksDbaseContent(ClarisWksDocument &document, bool spreadsheet);
65 ~ClarisWksDbaseContent();
67 bool readContent();
69 bool readFormula(MWAWVec2i const &cPos, long endPos,
70 std::vector<MWAWCellContent::FormulaInstruction> &formula, std::string &error);
71
73 bool getExtrema(MWAWVec2i &min, MWAWVec2i &max) const;
75 bool getRecordList(std::vector<int> &list) const;
77 bool getColumnList(int row, std::vector<int> &list) const;
78
80 bool get(MWAWVec2i const &pos, Record &data) const;
82 bool send(MWAWVec2i const &pos);
84 void setDatabaseFormats(std::vector<ClarisWksStyleManager::CellFormat> const &format);
86 struct Record {
88 Record()
89 : m_style(-1)
90 , m_format()
91 , m_hAlign(MWAWCell::HALIGN_DEFAULT)
92 , m_fileFormat(0)
93 , m_content()
94 , m_valueType(MWAWCellContent::C_UNKNOWN)
95 , m_hasNaNValue(false)
96 , m_backgroundColor(MWAWColor::white())
97 , m_font(3,9)
98 , m_borders(0)
99 , m_posToFontMap()
100 {
101 }
103 void updateFormulaCells(MWAWVec2i const &removeDelta);
105 int m_style;
107 MWAWCell::Format m_format;
109 MWAWCell::HorizontalAlignment m_hAlign;
111 int m_fileFormat;
113 MWAWCellContent m_content;
115 MWAWCellContent::Type m_valueType;
117 bool m_hasNaNValue;
119 MWAWColor m_backgroundColor;
121 MWAWFont m_font;
123 int m_borders;
125 std::map<int, MWAWFont> m_posToFontMap;
126 };
127 protected:
129 struct Column {
131 Column()
132 : m_idRecordMap()
133 {
134 }
136 std::map<int,Record> m_idRecordMap;
137 };
138
140 bool readColumnList();
142 bool readColumn(int c);
144 bool readRecordList(MWAWVec2i const &where, Column &col);
146 bool readRecordSS(MWAWVec2i const &where, long pos, Record &record);
148 bool readRecordSSV1(MWAWVec2i const &where, long pos, Record &record);
150 bool readRecordDB(MWAWVec2i const &where, long pos, Record &record);
151
153 void send(double val, bool isNotaNumber, ClarisWksStyleManager::CellFormat const &format);
154
155 //
156 // low level
157 //
158
160 bool readCellInFormula(MWAWVec2i const &pos, MWAWCellContent::FormulaInstruction &instr);
162 bool readString(long endPos, std::string &res);
164 bool readNumber(long endPos, double &res, bool &isNan);
166 void updateCellPositionsSet() const;
167
169 int m_version;
171 bool m_isSpreadsheet;
172
174 ClarisWksDocument &m_document;
176 MWAWParserStatePtr m_parserState;
177
179 std::map<int, Column> m_idColumnMap;
181 mutable std::set<MWAWVec2i> m_positionSet;
183 std::vector<ClarisWksStyleManager::CellFormat> m_dbFormatList;
184 };
185 #endif
186 // vim: set filetype=cpp tabstop=2 shiftwidth=2 cindent autoindent smartindent noexpandtab:
187
188
MWAWCellContent::FormulaInstruction::F_CellList
@ F_CellList
Definition: MWAWCell.hxx:398
MWAWParagraph::m_justify
MWAWVariable< Justification > m_justify
the justification
Definition: MWAWParagraph.hxx:167
MWAWInputStreamPtr
std::shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:551
ClarisWksDbaseContent::Record::m_borders
int m_borders
the border in v1-3 spreadsheet
Definition: ClarisWksDbaseContent.hxx:123
MWAWGraphicStyle::hasSurfaceColor
bool hasSurfaceColor() const
returns true if the surface is defined
Definition: MWAWGraphicStyle.hxx:421
ClarisWksDbaseContent::Record::m_font
MWAWFont m_font
the font ( in v1-3 spreadsheet)
Definition: ClarisWksDbaseContent.hxx:121
MWAWCell::F_BOOLEAN
@ F_BOOLEAN
Definition: MWAWCell.hxx:56
ClarisWksDbaseContentInternal::Operators::m_name
char const * m_name
Definition: ClarisWksDbaseContent.cxx:1293
MWAWCellContent::Type
Type
the different types of cell's field
Definition: MWAWCell.hxx:433
ClarisWksParser::m_document
std::shared_ptr< ClarisWksDocument > m_document
the main document manager
Definition: ClarisWksParser.hxx:110
MWAWCellContent::m_textEntry
MWAWEntry m_textEntry
the cell string
Definition: MWAWCell.hxx:489
ClarisWksDbaseContent::Record::m_content
MWAWCellContent m_content
the content
Definition: ClarisWksDbaseContent.hxx:113
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
MWAWCell::F_DATE
@ F_DATE
Definition: MWAWCell.hxx:56
ClarisWksDbaseContent::~ClarisWksDbaseContent
~ClarisWksDbaseContent()
destructor
Definition: ClarisWksDbaseContent.cxx:75
ClarisWksDbaseContent::Record::updateFormulaCells
void updateFormulaCells(MWAWVec2i const &removeDelta)
update the formula cell (removing delta to each position)
Definition: ClarisWksDbaseContent.cxx:1505
ClarisWksStyleManager::CellFormat::m_fileFormat
int m_fileFormat
the field format: number, string, currency, ..
Definition: ClarisWksStyleManager.hxx:172
ClarisWksDbaseContent::Record::m_hAlign
MWAWCell::HorizontalAlignment m_hAlign
the cell alignment : by default nothing
Definition: ClarisWksDbaseContent.hxx:109
ClarisWksDbaseContent::getExtrema
bool getExtrema(MWAWVec2i &min, MWAWVec2i &max) const
returns the dimension of the read data
Definition: ClarisWksDbaseContent.cxx:88
MWAWCell::F_NUMBER_DECIMAL
@ F_NUMBER_DECIMAL
Definition: MWAWCell.hxx:58
ClarisWksDbaseContent::readNumber
bool readNumber(long endPos, double &res, bool &isNan)
try to read a number
Definition: ClarisWksDbaseContent.cxx:1279
MWAWCellContent::FormulaInstruction::F_Operator
@ F_Operator
Definition: MWAWCell.hxx:398
MWAWFont::boldBit
@ boldBit
Definition: MWAWFont.hxx:190
MWAWCell::F_NUMBER_PERCENT
@ F_NUMBER_PERCENT
Definition: MWAWCell.hxx:58
ClarisWksDbaseContent::readContent
bool readContent()
try to read the record structure
Definition: ClarisWksDbaseContent.cxx:168
ClarisWksStyleManager::CellFormat::m_hAlign
MWAWCell::HorizontalAlignment m_hAlign
the cell alignment : by default nothing
Definition: ClarisWksStyleManager.hxx:170
MWAWFont::setColor
void setColor(MWAWColor color)
sets the font color
Definition: MWAWFont.hxx:341
ClarisWksDbaseContent::Record::m_backgroundColor
MWAWColor m_backgroundColor
the background color
Definition: ClarisWksDbaseContent.hxx:119
MWAWCell::F_UNKNOWN
@ F_UNKNOWN
Definition: MWAWCell.hxx:56
MWAWCellContent::FormulaInstruction
small class use to define a formula instruction
Definition: MWAWCell.hxx:397
MWAWEntry.hxx
MWAWCellContent::C_NONE
@ C_NONE
Definition: MWAWCell.hxx:433
MWAWColor
the class to store a color
Definition: libmwaw_internal.hxx:192
ClarisWksDbaseContent::readColumn
bool readColumn(int c)
try to read the column structure(COLM): a list of chnk
Definition: ClarisWksDbaseContent.cxx:299
ClarisWksDbaseContent::readRecordDB
bool readRecordDB(MWAWVec2i const &where, long pos, Record &record)
try to read a database record
Definition: ClarisWksDbaseContent.cxx:985
ClarisWksDbaseContent::get
bool get(MWAWVec2i const &pos, Record &data) const
retrieves the cell data
Definition: ClarisWksDbaseContent.cxx:1116
MWAWCell::F_NUMBER_SCIENTIFIC
@ F_NUMBER_SCIENTIFIC
Definition: MWAWCell.hxx:58
MWAWParagraph
class to store the paragraph properties
Definition: MWAWParagraph.hxx:85
MWAWCellContent::FormulaInstruction::F_Function
@ F_Function
Definition: MWAWCell.hxx:398
MWAWFont::Line::Simple
@ Simple
Definition: MWAWFont.hxx:49
MWAWCell::F_NUMBER_GENERIC
@ F_NUMBER_GENERIC
Definition: MWAWCell.hxx:58
ClarisWksStyleManager::Style
the structure to store the style in a ClarisWksStyleManager
Definition: ClarisWksStyleManager.hxx:207
ClarisWksDocument
main document information used to create a ClarisWorks file
Definition: ClarisWksDocument.hxx:74
ClarisWksDbaseContent::readFormula
bool readFormula(MWAWVec2i const &cPos, long endPos, std::vector< MWAWCellContent::FormulaInstruction > &formula, std::string &error)
read to read a formula
Definition: ClarisWksDbaseContent.cxx:1306
ClarisWksDbaseContent::Record::m_hasNaNValue
bool m_hasNaNValue
a flag to know if a double result is nan or not
Definition: ClarisWksDbaseContent.hxx:117
libmwaw::DebugFile::addNote
void addNote(char const *note)
adds a note in the file, in actual position
Definition: MWAWDebug.cxx:59
MWAWFont::setDeltaLetterSpacing
void setDeltaLetterSpacing(float d, librevenge::RVNGUnit unit=librevenge::RVNG_POINT)
sets the letter spacing ( delta value in point )
Definition: MWAWFont.hxx:292
ClarisWksDbaseContent
small structure used to parse main content of a spreadsheet/database zone
Definition: ClarisWksDbaseContent.hxx:58
ClarisWksStyleManager::CellFormat::m_borders
int m_borders
the borders
Definition: ClarisWksStyleManager.hxx:174
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
MWAWGraphicStyle
a structure used to define a picture style
Definition: MWAWGraphicStyle.hxx:48
MWAWCell::Format::m_DTFormat
std::string m_DTFormat
a date/time format ( using a subset of strftime format )
Definition: MWAWCell.hxx:113
ClarisWksDbaseContent::readRecordSSV1
bool readRecordSSV1(MWAWVec2i const &where, long pos, Record &record)
try to read a spreadsheet record(v1-v3)
Definition: ClarisWksDbaseContent.cxx:431
ClarisWksDbaseContent::setDatabaseFormats
void setDatabaseFormats(std::vector< ClarisWksStyleManager::CellFormat > const &format)
set the field format ( for database )
Definition: ClarisWksDbaseContent.cxx:79
MWAWFont::embossBit
@ embossBit
Definition: MWAWFont.hxx:190
MWAWCell.hxx
Defines MWAWCell (cell content and format)
ClarisWksDbaseContent::Record
struct which stores a record in ClarisWksDbaseContent
Definition: ClarisWksDbaseContent.hxx:86
MWAWFont::setStrikeOutStyle
void setStrikeOutStyle(Line::Style style=Line::None, bool doReset=true)
sets the strikeoutline style ( by default, we also reset the style)
Definition: MWAWFont.hxx:427
MWAWCellContent::FormulaInstruction::F_Text
@ F_Text
Definition: MWAWCell.hxx:398
MWAWCell::Format::m_numberFormat
NumberType m_numberFormat
the numeric format
Definition: MWAWCell.hxx:97
MWAWParagraph::JustificationCenter
@ JustificationCenter
Definition: MWAWParagraph.hxx:90
ClarisWksDbaseContent::readCellInFormula
bool readCellInFormula(MWAWVec2i const &pos, MWAWCellContent::FormulaInstruction &instr)
reads a cell
Definition: ClarisWksDbaseContent.cxx:1226
MWAWCellContent::m_formula
std::vector< FormulaInstruction > m_formula
the formula list of instruction
Definition: MWAWCell.hxx:491
MWAWGraphicStyle::m_surfaceColor
MWAWColor m_surfaceColor
the surface color
Definition: MWAWGraphicStyle.hxx:518
MWAWFont::shadowBit
@ shadowBit
Definition: MWAWFont.hxx:191
MWAWParagraph.hxx
ClarisWksStyleManager.hxx
libmwaw_internal.hxx
MWAWCellContent::FormulaInstruction::m_type
Type m_type
the type
Definition: MWAWCell.hxx:415
ClarisWksDbaseContent::Column::Column
Column()
constructor
Definition: ClarisWksDbaseContent.hxx:131
MWAWCell::Format
a structure uses to define the format of a cell content
Definition: MWAWCell.hxx:60
ClarisWksStyleManager::Style::m_graphicId
int m_graphicId
the graphic (checkme)
Definition: ClarisWksStyleManager.hxx:238
MWAWEntry::setBegin
void setBegin(long off)
sets the begin offset
Definition: MWAWEntry.hxx:67
ClarisWksDocument.hxx
ClarisWksDbaseContent::m_version
int m_version
the file version
Definition: ClarisWksDbaseContent.hxx:169
MWAWVec2< int >
MWAWCellContent
small class use to define a sheet cell content
Definition: MWAWCell.hxx:394
MWAWDebug.hxx
MWAWFont::getDebugString
std::string getDebugString(std::shared_ptr< MWAWFontConverter > &converter) const
returns a string which can be used for debugging
Definition: MWAWFont.cxx:181
ClarisWksDbaseContent::send
bool send(MWAWVec2i const &pos)
try to send a cell content to the listener
Definition: ClarisWksDbaseContent.cxx:1140
MWAWEntry::setLength
void setLength(long l)
sets the zone size
Definition: MWAWEntry.hxx:72
ClarisWksDbaseContent::getRecordList
bool getRecordList(std::vector< int > &list) const
returns the list of filled record/row
Definition: ClarisWksDbaseContent.cxx:129
MWAWFont::setId
void setId(int newId)
sets the font id
Definition: MWAWFont.hxx:264
ClarisWksDbaseContent::readString
bool readString(long endPos, std::string &res)
try to read a string
Definition: ClarisWksDbaseContent.cxx:1264
MWAWCellContent::FormulaInstruction::m_longValue
double m_longValue
value ( if type==F_Long )
Definition: MWAWCell.hxx:419
ClarisWksDbaseContent::m_isSpreadsheet
bool m_isSpreadsheet
a bool to know if this is a spreadsheet or a database
Definition: ClarisWksDbaseContent.hxx:171
ClarisWksDbaseContent::Column::m_idRecordMap
std::map< int, Record > m_idRecordMap
a map line (or record id) to record
Definition: ClarisWksDbaseContent.hxx:136
ClarisWksDbaseContent::Record::m_posToFontMap
std::map< int, MWAWFont > m_posToFontMap
map id to font ( in database)
Definition: ClarisWksDbaseContent.hxx:125
ClarisWksDocument::getStyleManager
std::shared_ptr< ClarisWksStyleManager > getStyleManager()
returns the style manager
Definition: ClarisWksDocument.hxx:134
MWAWParagraph::JustificationLeft
@ JustificationLeft
Definition: MWAWParagraph.hxx:90
ClarisWksDbaseContent::m_parserState
MWAWParserStatePtr m_parserState
the parser state
Definition: ClarisWksDbaseContent.hxx:176
MWAWCellContent::FormulaInstruction::m_doubleValue
double m_doubleValue
value ( if type==F_Double )
Definition: MWAWCell.hxx:421
MWAWCellContent::double2String
static bool double2String(double val, MWAWCell::Format const &format, std::string &str)
conversion of the value in string knowing the cell format
Definition: MWAWCell.cxx:602
MWAWCellContent::C_FORMULA
@ C_FORMULA
Definition: MWAWCell.hxx:433
MWAWCellContent::FormulaInstruction::F_Cell
@ F_Cell
Definition: MWAWCell.hxx:398
MWAWHeader.hxx
Defines MWAWHeader (document's type, version, kind)
MWAWCellContent::FormulaInstruction::F_Long
@ F_Long
Definition: MWAWCell.hxx:398
MWAWFont::setSize
void setSize(float sz, bool isRelative=false)
sets the font size
Definition: MWAWFont.hxx:275
ClarisWksDbaseContent::Record::m_valueType
MWAWCellContent::Type m_valueType
the type of the content value ( original or result of a formula )
Definition: ClarisWksDbaseContent.hxx:115
ClarisWksDbaseContent::m_document
ClarisWksDocument & m_document
the document
Definition: ClarisWksDbaseContent.hxx:174
ClarisWksDbaseContent::ClarisWksDbaseContent
ClarisWksDbaseContent(ClarisWksDocument &document, bool spreadsheet)
constructor
Definition: ClarisWksDbaseContent.cxx:59
MWAWCell::F_NUMBER
@ F_NUMBER
Definition: MWAWCell.hxx:56
MWAWCell::F_TIME
@ F_TIME
Definition: MWAWCell.hxx:56
MWAWFont::italicBit
@ italicBit
Definition: MWAWFont.hxx:190
MWAWCell::F_NUMBER_CURRENCY
@ F_NUMBER_CURRENCY
Definition: MWAWCell.hxx:58
ClarisWksDbaseContent::Record::m_style
int m_style
the style if known
Definition: ClarisWksDbaseContent.hxx:105
ClarisWksStyleManager::Style::m_cellFormatId
int m_cellFormatId
the formatId
Definition: ClarisWksStyleManager.hxx:228
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
ClarisWksDbaseContentInternal::Operators::m_arity
int m_arity
Definition: ClarisWksDbaseContent.cxx:1294
ClarisWksDbaseContent.hxx
MWAWCellContent::FormulaInstruction::F_Double
@ F_Double
Definition: MWAWCell.hxx:398
ClarisWksDbaseContent::Record::m_fileFormat
int m_fileFormat
the format ( in a v1-3 spreadsheet)
Definition: ClarisWksDbaseContent.hxx:111
MWAWParagraph::JustificationRight
@ JustificationRight
Definition: MWAWParagraph.hxx:91
MWAWParserStatePtr
std::shared_ptr< MWAWParserState > MWAWParserStatePtr
a smart pointer of MWAWParserState
Definition: libmwaw_internal.hxx:557
MWAWCell::HorizontalAlignment
HorizontalAlignment
the default horizontal alignment.
Definition: MWAWCell.hxx:128
MWAWCellContent::FormulaInstruction::m_position
MWAWVec2i m_position[2]
cell position ( if type==F_Cell or F_CellList )
Definition: MWAWCell.hxx:423
ClarisWksDbaseContent::m_idColumnMap
std::map< int, Column > m_idColumnMap
a map col id to column
Definition: ClarisWksDbaseContent.hxx:179
ClarisWksDbaseContentInternal::Operators
Definition: ClarisWksDbaseContent.cxx:1292
ClarisWksDbaseContent::Record::Record
Record()
contructor
Definition: ClarisWksDbaseContent.hxx:88
libmwaw::DebugFile::addPos
void addPos(long pos)
adds a new position in the file
Definition: MWAWDebug.cxx:53
MWAWParser::m_parserState
MWAWParserStatePtr m_parserState
the parser state
Definition: MWAWParser.hxx:244
ClarisWksDbaseContent::m_positionSet
std::set< MWAWVec2i > m_positionSet
a set of cell position (sorted by row)
Definition: ClarisWksDbaseContent.hxx:181
MWAWListener.hxx
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
ClarisWksDbaseContent::m_dbFormatList
std::vector< ClarisWksStyleManager::CellFormat > m_dbFormatList
the databse format
Definition: ClarisWksDbaseContent.hxx:183
ClarisWksDbaseContent::readRecordList
bool readRecordList(MWAWVec2i const &where, Column &col)
try to read a list of records(CHNK)
Definition: ClarisWksDbaseContent.cxx:352
MWAWCellContent::FormulaInstruction::m_positionRelative
MWAWVec2b m_positionRelative[2]
relative cell position ( if type==F_Cell or F_CellList )
Definition: MWAWCell.hxx:425
MWAWInputStream.hxx
ClarisWksDbaseContent::updateCellPositionsSet
void updateCellPositionsSet() const
update the position set
Definition: ClarisWksDbaseContent.cxx:115
MWAWListenerPtr
std::shared_ptr< MWAWListener > MWAWListenerPtr
a smart pointer of MWAWListener
Definition: libmwaw_internal.hxx:553
MWAWFont.hxx
ClarisWksStyleManager::CellFormat
the CELL structure a structure related to number/date format
Definition: ClarisWksStyleManager.hxx:151
MWAWCell::HALIGN_LEFT
@ HALIGN_LEFT
Definition: MWAWCell.hxx:128
ClarisWksDbaseContent::readRecordSS
bool readRecordSS(MWAWVec2i const &where, long pos, Record &record)
try to read a spreadsheet record
Definition: ClarisWksDbaseContent.cxx:721
ClarisWksDbaseContent::readColumnList
bool readColumnList()
try to read the columns list structure(CTAB)
Definition: ClarisWksDbaseContent.cxx:233
ClarisWksDbaseContent::Column
struct which stores a column in ClarisWksDbaseContent
Definition: ClarisWksDbaseContent.hxx:129
ClarisWksDbaseContentInternal
Definition: ClarisWksDbaseContent.cxx:1291
MWAWFont
Class to store font.
Definition: MWAWFont.hxx:44
ClarisWksDbaseContent::Record::m_format
MWAWCell::Format m_format
the format
Definition: ClarisWksDbaseContent.hxx:107
MWAWCell
a structure used to define a cell and its format
Definition: MWAWCell.hxx:53
MWAWCellContent::m_contentType
Type m_contentType
the content type ( by default unknown )
Definition: MWAWCell.hxx:483
MWAWCellContent::C_NUMBER
@ C_NUMBER
Definition: MWAWCell.hxx:433
MWAWVec2b
MWAWVec2< bool > MWAWVec2b
MWAWVec2 of bool.
Definition: libmwaw_internal.hxx:836
ClarisWksDbaseContentInternal::s_listOperators
static Operators const s_listOperators[]
Definition: ClarisWksDbaseContent.cxx:1297
ClarisWksDbaseContent::getColumnList
bool getColumnList(int row, std::vector< int > &list) const
returns the list of filled columns
Definition: ClarisWksDbaseContent.cxx:150
MWAWCell::HALIGN_RIGHT
@ HALIGN_RIGHT
Definition: MWAWCell.hxx:128
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
MWAWParser.hxx
ClarisWksStyleManager::Style::m_fontId
int m_fontId
the char
Definition: ClarisWksStyleManager.hxx:226
MWAWFont::setUnderlineStyle
void setUnderlineStyle(Line::Style style=Line::None, bool doReset=true)
sets the underline style ( by default, we also reset the style)
Definition: MWAWFont.hxx:466
MWAWCellContent::C_UNKNOWN
@ C_UNKNOWN
Definition: MWAWCell.hxx:433
MWAWCell::HALIGN_CENTER
@ HALIGN_CENTER
Definition: MWAWCell.hxx:128
MWAWFont::setFlags
void setFlags(uint32_t fl)
sets the font attributes bold, ...
Definition: MWAWFont.hxx:325