GreatWksText.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 GreatWorks document
36  *
37  */
38 #ifndef GREAT_WKS_TEXT
39 # define GREAT_WKS_TEXT
40 
41 #include "libmwaw_internal.hxx"
42 #include "MWAWDebug.hxx"
43 
44 namespace GreatWksTextInternal
45 {
46 struct State;
47 struct Token;
48 struct Zone;
49 }
50 
51 class GreatWksDocument;
52 class GreatWksParser;
53 class GreatWksDBParser;
54 class GreatWksDRParser;
55 class GreatWksSSParser;
56 
63 {
64  friend class GreatWksDocument;
65  friend class GreatWksParser;
66  friend class GreatWksDBParser;
67  friend class GreatWksDRParser;
68  friend class GreatWksSSParser;
69 public:
71  explicit GreatWksText(GreatWksDocument &document);
73  virtual ~GreatWksText();
74 
76  int version() const;
77 
79  int numPages() const;
80 
81 protected:
83  bool createZones(int expectedHF);
85  bool sendMainText();
87  int numHFZones() const;
89  bool sendHF(int id);
91  bool canSendTextBoxAsGraphic(MWAWEntry const &entry);
93  bool sendTextbox(MWAWEntry const &entry, MWAWListenerPtr listener=MWAWListenerPtr());
95  void flushExtra();
97  int getFontId(int fileId) const;
98 
99  //
100  // intermediate level
101  //
102 
104  bool readFontNames();
112  bool sendSimpleTextbox(MWAWEntry const &entry, MWAWListenerPtr listener=MWAWListenerPtr());
114  bool readFont(MWAWFont &font);
116  bool readRuler(MWAWParagraph &para);
118  bool readToken(GreatWksTextInternal::Token &token, long &nChar);
119 
121  bool findNextZone();
122 
123 private:
124  GreatWksText(GreatWksText const &orig) = delete;
125  GreatWksText &operator=(GreatWksText const &orig) = delete;
126 
127 protected:
128  //
129  // data
130  //
131 
137  std::shared_ptr<GreatWksTextInternal::State> m_state;
140 };
141 #endif
142 // vim: set filetype=cpp tabstop=2 shiftwidth=2 cindent autoindent smartindent noexpandtab:
MWAWEntry
basic class to store an entry in a file This contained :
Definition: MWAWEntry.hxx:47
MWAWField::Time
@ Time
Definition: libmwaw_internal.hxx:401
MWAWParagraph::m_justify
MWAWVariable< Justification > m_justify
the justification
Definition: MWAWParagraph.hxx:167
GreatWksTextInternal::Zone::m_extra
std::string m_extra
extra data
Definition: GreatWksText.cxx:423
MWAWInputStreamPtr
std::shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:551
GreatWksTextInternal::Token::sendTo
bool sendTo(MWAWListener &listener) const
try to send the token to the listener
Definition: GreatWksText.cxx:146
GreatWksTextInternal::Zone::ok
bool ok() const
check if the data read are or not ok
Definition: GreatWksText.cxx:334
GreatWksTextInternal::Zone::m_tokenList
std::vector< Token > m_tokenList
the list of token
Definition: GreatWksText.cxx:413
GreatWksText::findNextZone
bool findNextZone()
heuristic function used to find the next zone
Definition: GreatWksText.cxx:597
MWAWFont::set
void set(Script const &newscript)
sets the script position
Definition: MWAWFont.hxx:314
MWAWFont::setUnderlineType
void setUnderlineType(Line::Type type=Line::Single)
sets the underline type
Definition: MWAWFont.hxx:474
MWAWTabStop::m_leaderCharacter
uint16_t m_leaderCharacter
the leader char
Definition: MWAWParagraph.hxx:78
GreatWksText::m_mainParser
MWAWParser * m_mainParser
the main parser;
Definition: GreatWksText.hxx:139
MWAW_DEBUG_MSG
#define MWAW_DEBUG_MSG(M)
Definition: libmwaw_internal.hxx:129
MWAWVec2f
MWAWVec2< float > MWAWVec2f
MWAWVec2 of float.
Definition: libmwaw_internal.hxx:842
MWAWListener::ColumnBreak
@ ColumnBreak
Definition: MWAWListener.hxx:58
libmwaw::DebugFile::addDelimiter
void addDelimiter(long pos, char c)
adds a not breaking delimiter in position pos
Definition: MWAWDebug.cxx:73
MWAWPosition::setRelativePosition
void setRelativePosition(AnchorTo anchor, XPos X=XLeft, YPos Y=YTop)
sets the relative position
Definition: MWAWPosition.hxx:237
GreatWksTextInternal::P_Font
@ P_Font
Definition: GreatWksText.cxx:62
MWAWParagraph::m_tabs
MWAWVariable< std::vector< MWAWTabStop > > m_tabs
the tabulations
Definition: MWAWParagraph.hxx:162
GreatWksTextInternal::Token::m_date
uint32_t m_date
the token date (0xFFFFFFFF means actual date)
Definition: GreatWksText.cxx:141
GreatWksTextInternal::Zone::m_posPLCMap
std::multimap< long, PLC > m_posPLCMap
a map text pos -> PLC
Definition: GreatWksText.cxx:419
MWAWField::m_DTFormat
std::string m_DTFormat
the date/time format using strftime format if defined
Definition: libmwaw_internal.hxx:424
MWAWFont::Script::sub100
static Script sub100()
return a yposition which correspond to a basic subscript100
Definition: MWAWFont.hxx:125
MWAWFont::boldBit
@ boldBit
Definition: MWAWFont.hxx:190
GreatWksTextInternal::Zone::m_rulerList
std::vector< MWAWParagraph > m_rulerList
the list of ruler
Definition: GreatWksText.cxx:411
MWAWFont::setColor
void setColor(MWAWColor color)
sets the font color
Definition: MWAWFont.hxx:341
GreatWksText::~GreatWksText
virtual ~GreatWksText()
destructor
Definition: GreatWksText.cxx:465
MWAWTabStop::CENTER
@ CENTER
Definition: MWAWParagraph.hxx:48
MWAWParagraph::setInterline
void setInterline(double value, librevenge::RVNGUnit unit, LineSpacingType type=Fixed)
set the interline
Definition: MWAWParagraph.hxx:129
MWAWFontConverter.hxx
MWAWColor
the class to store a color
Definition: libmwaw_internal.hxx:192
GreatWksText::m_document
GreatWksDocument & m_document
the document
Definition: GreatWksText.hxx:133
MWAWParagraph::m_spacings
MWAWVariable< double > m_spacings[3]
the line spacing
Definition: MWAWParagraph.hxx:156
GreatWksParser
the main class to read a GreatWorks text file
Definition: GreatWksParser.hxx:57
GreatWksTextInternal::Zone::m_textEntry
MWAWEntry m_textEntry
the text entry list
Definition: GreatWksText.cxx:417
GreatWksDocument::getMainSection
MWAWSection getMainSection() const
return the main section
Definition: GreatWksDocument.cxx:115
GreatWksTextInternal::P_Ruler
@ P_Ruler
Definition: GreatWksText.cxx:62
GreatWksTextInternal::P_Page
@ P_Page
Definition: GreatWksText.cxx:62
MWAWParagraph
class to store the paragraph properties
Definition: MWAWParagraph.hxx:85
GreatWksDBParser
the main class to read a GreatWorks database file
Definition: GreatWksDBParser.hxx:62
MWAWFont::Line::Simple
@ Simple
Definition: MWAWFont.hxx:49
GreatWksTextInternal::P_Unknown
@ P_Unknown
Definition: GreatWksText.cxx:62
GreatWksText::sendZone
bool sendZone(GreatWksTextInternal::Zone const &zone, MWAWListenerPtr listener=MWAWListenerPtr())
try to send a zone
Definition: GreatWksText.cxx:1352
GreatWksTextInternal::Zone::m_numFrames
int m_numFrames
the number of frames (ie. one by column and one by pages )
Definition: GreatWksText.cxx:407
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
MWAWParagraph::m_margins
MWAWVariable< double > m_margins[3]
the margins
Definition: MWAWParagraph.hxx:148
GreatWksText::sendSimpleTextbox
bool sendSimpleTextbox(MWAWEntry const &entry, MWAWListenerPtr listener=MWAWListenerPtr())
try to send simplified textbox zone
Definition: GreatWksText.cxx:1200
MWAWTabStop::DECIMAL
@ DECIMAL
Definition: MWAWParagraph.hxx:48
GreatWksText::GreatWksText
GreatWksText(GreatWksText const &orig)=delete
GreatWksTextInternal::Zone::size
long size() const
returns the data size
Definition: GreatWksText.cxx:344
MWAWFont::Script::super100
static Script super100()
return a yposition which correspond to a basic superscript100
Definition: MWAWFont.hxx:135
MWAWFont::embossBit
@ embossBit
Definition: MWAWFont.hxx:190
MWAWSection::numColumns
int numColumns() const
returns the number of columns
Definition: MWAWSection.hxx:71
MWAWField::PageCount
@ PageCount
Definition: libmwaw_internal.hxx:401
MWAWField::Date
@ Date
Definition: libmwaw_internal.hxx:401
GreatWksText::numHFZones
int numHFZones() const
return the number of header/footer zones
Definition: GreatWksText.cxx:497
GreatWksText::createZones
bool createZones(int expectedHF)
finds the different objects zones
Definition: GreatWksText.cxx:543
MWAWTabStop
class to store a tab use by MWAWParagraph
Definition: MWAWParagraph.hxx:46
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
GreatWksTextInternal::Frame::Frame
Frame()
constructor
Definition: GreatWksText.cxx:283
MWAWListener::insertField
virtual void insertField(MWAWField const &field)=0
adds a field type
GreatWksTextInternal::Token::m_pictEntry
MWAWEntry m_pictEntry
the picture entry
Definition: GreatWksText.cxx:135
GreatWksTextInternal::PLC::m_id
int m_id
the id
Definition: GreatWksText.cxx:78
GreatWksTextInternal::P_Token
@ P_Token
Definition: GreatWksText.cxx:62
MWAWFont::m_extra
std::string m_extra
extra data
Definition: MWAWFont.hxx:573
GreatWksTextInternal::Token::m_format
int m_format
the token format
Definition: GreatWksText.cxx:133
MWAWParagraph::JustificationCenter
@ JustificationCenter
Definition: MWAWParagraph.hxx:90
MWAWFont::shadowBit
@ shadowBit
Definition: MWAWFont.hxx:191
GreatWksTextInternal::Zone::Zone
Zone()
constructor
Definition: GreatWksText.cxx:309
MWAWParagraph.hxx
GreatWksText::GreatWksText
GreatWksText(GreatWksDocument &document)
constructor
Definition: GreatWksText.cxx:457
GreatWksTextInternal::Token::getDTFormat
std::string getDTFormat() const
returns a field format
Definition: GreatWksText.cxx:179
MWAWRSRCParser.hxx
GreatWksTextInternal::Frame::m_page
int m_page
the page
Definition: GreatWksText.cxx:301
libmwaw_internal.hxx
MWAWListener
This class contains a virtual interface to all listener.
Definition: MWAWListener.hxx:50
MWAWPosition.hxx
GreatWksTextInternal::Zone::m_numFonts
int m_numFonts
the number of fonts
Definition: GreatWksText.cxx:395
GreatWksDocument::newPage
void newPage(int page)
send a page break
Definition: GreatWksDocument.cxx:124
GreatWksTextInternal::Zone::m_type
int m_type
the main type: 1=auxi, 3=main
Definition: GreatWksText.cxx:393
MWAWPosition
Class to define the position of an object (textbox, picture, ..) in the document.
Definition: MWAWPosition.hxx:48
GreatWksTextInternal::PLC::operator<<
friend std::ostream & operator<<(std::ostream &o, PLC const &plc)
operator<<
Definition: GreatWksText.cxx:82
GreatWksText::operator=
GreatWksText & operator=(GreatWksText const &orig)=delete
GreatWksText::flushExtra
void flushExtra()
sends the data which have not yet been sent to the listener
Definition: GreatWksText.cxx:1186
GreatWksTextInternal::State::m_fileIdFontIdMap
std::map< int, int > m_fileIdFontIdMap
a global map file font id-> fontconverter id
Definition: GreatWksText.cxx:445
GreatWksTextInternal::PLC::m_type
PLCType m_type
the PLC types
Definition: GreatWksText.cxx:76
GreatWksTextInternal::State::m_version
int m_version
the file version
Definition: GreatWksText.cxx:449
GreatWksText
the main class to read the text part of GreatWorks Text file
Definition: GreatWksText.hxx:63
MWAWEntry::length
long length() const
returns the length of the zone
Definition: MWAWEntry.hxx:93
MWAWVec2< float >
GreatWksTextInternal::Zone::m_frameList
std::vector< Frame > m_frameList
the list of frame token
Definition: GreatWksText.cxx:415
GreatWksDocument::sendPicture
bool sendPicture(MWAWEntry const &entry, MWAWPosition pos)
send a picture
Definition: GreatWksDocument.cxx:158
GreatWksTextInternal::State::getFId
int getFId(int fileId) const
returns the font id corresponding to a fId
Definition: GreatWksText.cxx:438
MWAWGraphicListener.hxx
MWAWTabStop::m_alignment
Alignment m_alignment
the alignment ( left, center, ...)
Definition: MWAWParagraph.hxx:76
GreatWksTextInternal::Zone::isMain
bool isMain() const
returns true if this is the main zone
Definition: GreatWksText.cxx:329
MWAWSection
a class which stores section properties
Definition: MWAWSection.hxx:46
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
MWAWEntry::begin
long begin() const
returns the begin offset
Definition: MWAWEntry.hxx:83
GreatWksTextInternal::Zone
Internal and low level: structure which stores a text zone header for GreatWksText.
Definition: GreatWksText.cxx:307
GreatWksText::version
int version() const
returns the file version
Definition: GreatWksText.cxx:468
GreatWksTextInternal::Token::Token
Token()
constructor
Definition: GreatWksText.cxx:114
MWAWBox2f
MWAWBox2< float > MWAWBox2f
MWAWBox2 of float.
Definition: libmwaw_internal.hxx:1193
MWAWTabStop::m_position
double m_position
the tab position
Definition: MWAWParagraph.hxx:74
GreatWksTextInternal::Zone::operator<<
friend std::ostream & operator<<(std::ostream &o, Zone const &fr)
operator<<
Definition: GreatWksText.cxx:359
MWAWFont::setId
void setId(int newId)
sets the font id
Definition: MWAWFont.hxx:264
GreatWksTextInternal::PLCType
PLCType
the different plc type
Definition: GreatWksText.cxx:62
GreatWksDocument.hxx
GreatWksTextInternal::PLC::m_extra
std::string m_extra
extra data
Definition: GreatWksText.cxx:80
GreatWksTextInternal::Token
Internal and low level: structure which stores a token for GreatWksText.
Definition: GreatWksText.cxx:112
MWAWField
a field
Definition: libmwaw_internal.hxx:399
MWAWField::PageNumber
@ PageNumber
Definition: libmwaw_internal.hxx:401
GreatWksText::sendMainText
bool sendMainText()
send a main zone
Definition: GreatWksText.cxx:1164
MWAWTabStop::m_decimalCharacter
uint16_t m_decimalCharacter
the decimal char
Definition: MWAWParagraph.hxx:80
GreatWksText::readToken
bool readToken(GreatWksTextInternal::Token &token, long &nChar)
try to read a token
Definition: GreatWksText.cxx:1129
GreatWksText::readZonePositions
bool readZonePositions(GreatWksTextInternal::Zone &zone)
try to read the end of a zone ( line + frame position )
Definition: GreatWksText.cxx:817
GreatWksTextInternal::Zone::m_numTokens
int m_numTokens
the number of token
Definition: GreatWksText.cxx:401
GreatWksTextInternal::Frame::m_extra
std::string m_extra
extra data
Definition: GreatWksText.cxx:303
GreatWksTextInternal::Zone::hasGraphics
bool hasGraphics() const
returns true if the data has graphic
Definition: GreatWksText.cxx:350
GreatWksTextInternal::Zone::m_numLines
int m_numLines
the number of lines
Definition: GreatWksText.cxx:399
MWAWPosition::Char
@ Char
Definition: MWAWPosition.hxx:51
MWAWEntry::end
long end() const
returns the end offset
Definition: MWAWEntry.hxx:88
GreatWksTextInternal::Frame
Internal and low level: structure which stores a text position for GreatWksText.
Definition: GreatWksText.cxx:281
MWAWFont::setSize
void setSize(float sz, bool isRelative=false)
sets the font size
Definition: MWAWFont.hxx:275
GreatWksTextInternal::Token::m_extra
std::string m_extra
extra data
Definition: GreatWksText.cxx:143
GreatWksTextInternal::State
Internal: the state of a GreatWksText.
Definition: GreatWksText.cxx:428
GreatWksTextInternal::Zone::m_fontList
std::vector< MWAWFont > m_fontList
the list of font
Definition: GreatWksText.cxx:409
GreatWksTextInternal::Zone::m_numRulers
int m_numRulers
the number of rulers
Definition: GreatWksText.cxx:397
GreatWksDocument
the main class to read/store generic data of a GreatWorks document
Definition: GreatWksDocument.hxx:61
GreatWksText::m_parserState
MWAWParserStatePtr m_parserState
the parser state
Definition: GreatWksText.hxx:135
MWAWParser
virtual class which defines the ancestor of all main zone parser
Definition: MWAWParser.hxx:100
GreatWksDRParser
the main class to read a GreatWorks graphic file
Definition: GreatWksDRParser.hxx:56
MWAWFont::italicBit
@ italicBit
Definition: MWAWFont.hxx:190
MWAWParagraph::m_marginsUnit
MWAWVariable< librevenge::RVNGUnit > m_marginsUnit
the margins INCH, ...
Definition: MWAWParagraph.hxx:150
GreatWksTextInternal::Token::m_dataSize
long m_dataSize
the picture data size
Definition: GreatWksText.cxx:137
GreatWksTextInternal::Zone::m_parsed
bool m_parsed
a bool to know if the data are send to the listener
Definition: GreatWksText.cxx:421
GreatWksTextInternal::Frame::m_pos
MWAWBox2f m_pos
the frame position
Definition: GreatWksText.cxx:299
GreatWksTextInternal::State::m_zonesList
std::vector< Zone > m_zonesList
a list of text zone
Definition: GreatWksText.cxx:447
MWAWParagraph::JustificationFull
@ JustificationFull
Definition: MWAWParagraph.hxx:90
MWAWSection.hxx
GreatWksText.hxx
MWAWParagraph::JustificationRight
@ JustificationRight
Definition: MWAWParagraph.hxx:91
MWAWParserStatePtr
std::shared_ptr< MWAWParserState > MWAWParserStatePtr
a smart pointer of MWAWParserState
Definition: libmwaw_internal.hxx:557
GreatWksTextInternal::Frame::operator<<
friend std::ostream & operator<<(std::ostream &o, Frame const &frm)
operator<<
Definition: GreatWksText.cxx:290
GreatWksTextInternal::Zone::m_numChar
long m_numChar
the number of character
Definition: GreatWksText.cxx:403
GreatWksText::canSendTextBoxAsGraphic
bool canSendTextBoxAsGraphic(MWAWEntry const &entry)
check if a textbox can be send in a graphic zone, ie. does not contains any graphic
Definition: GreatWksText.cxx:508
GreatWksTextInternal::Token::m_dim
MWAWVec2f m_dim
the picture dimension
Definition: GreatWksText.cxx:139
libmwaw::DebugFile::addPos
void addPos(long pos)
adds a new position in the file
Definition: MWAWDebug.cxx:53
MWAWEntry::valid
bool valid() const
returns true if the zone length is positive
Definition: MWAWEntry.hxx:99
MWAWListener.hxx
GreatWksTextInternal::Token::operator<<
friend std::ostream & operator<<(std::ostream &o, Token const &tkn)
operator<<
Definition: GreatWksText.cxx:230
GreatWksTextInternal::State::State
State()
constructor
Definition: GreatWksText.cxx:430
GreatWksTextInternal::operator<<
std::ostream & operator<<(std::ostream &o, PLC const &plc)
Definition: GreatWksText.cxx:82
MWAWListener::insertUnicodeString
virtual void insertUnicodeString(librevenge::RVNGString const &str)=0
adds a unicode string
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
GreatWksText::numPages
int numPages() const
returns the number of pages
Definition: GreatWksText.cxx:475
GreatWksTextInternal::PLC
Internal : a PLC: used to store change of properties in GreatWksTextInternal::Zone.
Definition: GreatWksText.cxx:65
MWAWFont::Line::Double
@ Double
Definition: MWAWFont.hxx:51
MWAWPosition::XLeft
@ XLeft
Definition: MWAWPosition.hxx:55
MWAWPosition::YBottom
@ YBottom
Definition: MWAWPosition.hxx:57
MWAWListenerPtr
std::shared_ptr< MWAWListener > MWAWListenerPtr
a smart pointer of MWAWListener
Definition: libmwaw_internal.hxx:553
GreatWksText::m_state
std::shared_ptr< GreatWksTextInternal::State > m_state
the state
Definition: GreatWksText.hxx:137
MWAWFont.hxx
GreatWksTextInternal::Zone::m_numCharPLC
int m_numCharPLC
the number of char plc
Definition: GreatWksText.cxx:405
GreatWksText::readRuler
bool readRuler(MWAWParagraph &para)
try to read a ruler
Definition: GreatWksText.cxx:1010
MWAWTabStop::RIGHT
@ RIGHT
Definition: MWAWParagraph.hxx:48
MWAWBox2< float >
MWAWFont
Class to store font.
Definition: MWAWFont.hxx:44
GreatWksText::readFontNames
bool readFontNames()
try to read the font names zone
Definition: GreatWksText.cxx:888
GreatWksTextInternal::State::m_numPages
int m_numPages
Definition: GreatWksText.cxx:450
MWAWParagraph::m_extra
std::string m_extra
a string to store some errors
Definition: MWAWParagraph.hxx:190
GreatWksText::getFontId
int getFontId(int fileId) const
read the final font id corresponding to a file id
Definition: GreatWksText.cxx:492
GreatWksText::readZone
bool readZone(GreatWksTextInternal::Zone &zone)
try to read a zone ( textheader+fonts+rulers)
Definition: GreatWksText.cxx:666
GreatWksText::readFont
bool readFont(MWAWFont &font)
try to read a font
Definition: GreatWksText.cxx:955
GreatWksTextInternal::Token::m_type
int m_type
the token type
Definition: GreatWksText.cxx:131
GreatWksText::sendTextbox
bool sendTextbox(MWAWEntry const &entry, MWAWListenerPtr listener=MWAWListenerPtr())
try to send the textbox text
Definition: GreatWksText.cxx:521
libmwaw::DebugStream
std::stringstream DebugStream
a basic stream (if debug_with_files is not defined, does nothing)
Definition: MWAWDebug.hxx:61
MWAWParser.hxx
GreatWksTextInternal
Internal: the structures of a GreatWksText.
Definition: GreatWksText.cxx:60
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
GreatWksTextInternal::PLC::PLC
PLC()
the constructor
Definition: GreatWksText.cxx:67
MWAWFont::setFlags
void setFlags(uint32_t fl)
sets the font attributes bold, ...
Definition: MWAWFont.hxx:325
GreatWksText::sendHF
bool sendHF(int id)
try to send the i^th header/footer
Definition: GreatWksText.cxx:1174
GreatWksSSParser
the main class to read a GreatWorks spreadsheet file
Definition: GreatWksSSParser.hxx:59

Generated on Fri Sep 18 2020 18:14:52 for libmwaw by doxygen 1.8.20