LightWayTxtText.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 LightWay Text document
36  *
37  */
38 #ifndef LIGHT_WAY_TXT_TEXT
39 # define LIGHT_WAY_TXT_TEXT
40 
41 #include "libmwaw_internal.hxx"
42 #include "MWAWDebug.hxx"
43 
45 {
46 struct Font;
47 struct State;
48 }
49 
50 class LightWayTxtParser;
51 
58 {
59  friend class LightWayTxtParser;
60 public:
62  explicit LightWayTxtText(LightWayTxtParser &parser);
64  virtual ~LightWayTxtText();
65 
67  int version() const;
68 
70  int numPages() const;
71 
72 protected:
74  bool createZones();
75 
77  bool sendMainText();
78 
80  bool getColor(int id, MWAWColor &col) const;
81 
83  void flushExtra();
84 
85  //
86  // intermediate level
87  //
88 
90  void computePositions();
91 
93  bool readFonts(MWAWEntry const &entry);
95  bool readFont2(MWAWEntry const &entry);
96 
98  bool readRulers(MWAWEntry const &entry);
100  void setProperty(MWAWParagraph const &para);
101 
103  bool readRuby(MWAWEntry const &entry);
104 
106  bool readDocumentHF(MWAWEntry const &entry);
108  bool hasHeaderFooter(bool header) const;
110  bool sendHeaderFooter(bool header);
111 
113  bool readStyleU(MWAWEntry const &entry);
114 
116  bool readUnknownStyle(MWAWEntry const &entry);
117 
118 private:
119  LightWayTxtText(LightWayTxtText const &orig) = delete;
120  LightWayTxtText &operator=(LightWayTxtText const &orig) = delete;
121 
122 protected:
123  //
124  // data
125  //
128 
130  std::shared_ptr<LightWayTxtTextInternal::State> m_state;
131 
134 };
135 #endif
136 // vim: set filetype=cpp tabstop=2 shiftwidth=2 cindent autoindent smartindent noexpandtab:
MWAWTextListenerPtr
std::shared_ptr< MWAWTextListener > MWAWTextListenerPtr
a smart pointer of MWAWTextListener
Definition: libmwaw_internal.hxx:567
MWAWEntry
basic class to store an entry in a file This contained :
Definition: MWAWEntry.hxx:47
MWAWField::Time
@ Time
Definition: libmwaw_internal.hxx:401
LightWayTxtTextInternal::PLC::m_type
PLCType m_type
the PLC types
Definition: LightWayTxtText.cxx:76
MWAWParagraph::m_justify
MWAWVariable< Justification > m_justify
the justification
Definition: MWAWParagraph.hxx:167
MWAWFont::setStrikeOut
void setStrikeOut(Line const &line)
sets the strikeoutline
Definition: MWAWFont.hxx:422
MWAWInputStreamPtr
std::shared_ptr< MWAWInputStream > MWAWInputStreamPtr
a smart pointer of MWAWInputStream
Definition: libmwaw_internal.hxx:551
LightWayTxtTextInternal::HFZone::m_font
MWAWFont m_font
the font
Definition: LightWayTxtText.cxx:214
LightWayTxtText::readRuby
bool readRuby(MWAWEntry const &entry)
read the ruby data
Definition: LightWayTxtText.cxx:1171
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
LightWayTxtTextInternal::P_Ruler
@ P_Ruler
Definition: LightWayTxtText.cxx:62
MWAW_DEBUG_MSG
#define MWAW_DEBUG_MSG(M)
Definition: libmwaw_internal.hxx:129
LightWayTxtTextInternal::HFZone::m_extra
std::string m_extra
extra data
Definition: LightWayTxtText.cxx:218
LightWayTxtTextInternal::State::m_actualPage
int m_actualPage
Definition: LightWayTxtText.cxx:271
LightWayTxtParser
the main class to read a LightWay Text file
Definition: LightWayTxtParser.hxx:59
LightWayTxtTextInternal::Font::m_pictId
int m_pictId
the pict id (if set)
Definition: LightWayTxtText.cxx:154
MWAWParagraph::m_tabs
MWAWVariable< std::vector< MWAWTabStop > > m_tabs
the tabulations
Definition: MWAWParagraph.hxx:162
LightWayTxtTextInternal
Internal: the structures of a LightWayTxtText.
Definition: LightWayTxtText.cxx:60
LightWayTxtTextInternal::HFZone
Internal: the header/footer zone of a LightWayTxtText.
Definition: LightWayTxtText.cxx:194
MWAWFont::boldBit
@ boldBit
Definition: MWAWFont.hxx:190
LightWayTxtTextInternal::State::m_header
HFZone m_header
header
Definition: LightWayTxtText.cxx:281
LightWayTxtText::m_mainParser
LightWayTxtParser * m_mainParser
the main parser;
Definition: LightWayTxtText.hxx:133
MWAWColor::white
static MWAWColor white()
return the white color
Definition: libmwaw_internal.hxx:250
MWAWFont::setColor
void setColor(MWAWColor color)
sets the font color
Definition: MWAWFont.hxx:341
LightWayTxtTextInternal::P_Font2
@ P_Font2
Definition: LightWayTxtText.cxx:62
MWAWTabStop::CENTER
@ CENTER
Definition: MWAWParagraph.hxx:48
LightWayTxtTextInternal::PLC
Internal : the different plc types: mainly for debugging.
Definition: LightWayTxtText.cxx:65
LightWayTxtTextInternal::State::m_paragraphsList
std::vector< Paragraph > m_paragraphsList
the list of paragraph
Definition: LightWayTxtText.cxx:278
LightWayTxtParser::rsrcAscii
libmwaw::DebugFile & rsrcAscii()
a DebugFile used to write what we recognize when we parse the document in rsrc
Definition: LightWayTxtParser.cxx:168
LightWayTxtTextInternal::Font::Font
Font()
constructor
Definition: LightWayTxtText.cxx:122
MWAWEntry::id
int id() const
returns the id
Definition: MWAWEntry.hxx:164
MWAWFontConverter.hxx
MWAWColor
the class to store a color
Definition: libmwaw_internal.hxx:192
MWAWParagraph::m_spacings
MWAWVariable< double > m_spacings[3]
the line spacing
Definition: MWAWParagraph.hxx:156
MWAWSection::setColumns
void setColumns(int num, double width, librevenge::RVNGUnit widthUnit, double colSep=0)
a function which sets n uniform columns
Definition: MWAWSection.cxx:109
MWAWEntry::type
std::string const & type() const
returns the type of the entry
Definition: MWAWEntry.hxx:137
MWAWParagraph::JustificationFullAllLines
@ JustificationFullAllLines
Definition: MWAWParagraph.hxx:91
MWAWFont::getBackgroundColor
void getBackgroundColor(MWAWColor &c) const
returns the font background color
Definition: MWAWFont.hxx:347
LightWayTxtTextInternal::Paragraph::Paragraph
Paragraph(Paragraph const &)=default
MWAWFont::setOverlineStyle
void setOverlineStyle(Line::Style style=Line::None, bool doReset=true)
sets the overline style ( by default, we also reset the style)
Definition: MWAWFont.hxx:388
LightWayTxtText::version
int version() const
returns the file version
Definition: LightWayTxtText.cxx:300
LightWayTxtText::computePositions
void computePositions()
compute the positions
Definition: LightWayTxtText.cxx:316
MWAWParagraph
class to store the paragraph properties
Definition: MWAWParagraph.hxx:85
MWAWFont::Line::Simple
@ Simple
Definition: MWAWFont.hxx:49
LightWayTxtTextInternal::State::State
State()
constructor
Definition: LightWayTxtText.cxx:255
MWAWFont::setUnderline
void setUnderline(Line const &line)
sets the underline
Definition: MWAWFont.hxx:461
LightWayTxtText::readFont2
bool readFont2(MWAWEntry const &entry)
read the Font2 resource ( underline, upperline, ...)
Definition: LightWayTxtText.cxx:621
MWAWEntry::setParsed
void setParsed(bool ok=true) const
sets the flag m_parsed to true or false
Definition: MWAWEntry.hxx:126
LightWayTxtText::LightWayTxtText
LightWayTxtText(LightWayTxtText const &orig)=delete
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
MWAWFont::Line::isSet
bool isSet() const
return true if the line is not empty
Definition: MWAWFont.hxx:62
LightWayTxtTextInternal::HFZone::m_numChar
int m_numChar
the number of char
Definition: LightWayTxtText.cxx:208
MWAWParagraph::m_margins
MWAWVariable< double > m_margins[3]
the margins
Definition: MWAWParagraph.hxx:148
LightWayTxtTextInternal::Font
Internal: struct used to store the font of a LightWayTxtText.
Definition: LightWayTxtText.cxx:120
MWAWTabStop::DECIMAL
@ DECIMAL
Definition: MWAWParagraph.hxx:48
LightWayTxtText::m_state
std::shared_ptr< LightWayTxtTextInternal::State > m_state
the state
Definition: LightWayTxtText.hxx:130
MWAWFont::getOverline
Line const & getOverline() const
returns the overline
Definition: MWAWFont.hxx:378
MWAWFont::setUnderlineColor
void setUnderlineColor(MWAWColor const &color)
sets the underline color
Definition: MWAWFont.hxx:489
MWAWFont::embossBit
@ embossBit
Definition: MWAWFont.hxx:190
LightWayTxtTextInternal::State
Internal: the state of a LightWayTxtText.
Definition: LightWayTxtText.cxx:253
MWAWField::PageCount
@ PageCount
Definition: libmwaw_internal.hxx:401
LightWayTxtTextInternal::operator<<
std::ostream & operator<<(std::ostream &o, PLC const &plc)
Definition: LightWayTxtText.cxx:83
MWAWField::Date
@ Date
Definition: libmwaw_internal.hxx:401
LightWayTxtTextInternal::PLCType
PLCType
the different plc type
Definition: LightWayTxtText.cxx:62
LightWayTxtText::sendMainText
bool sendMainText()
send a main zone
Definition: LightWayTxtText.cxx:410
MWAWFont::setStrikeOutType
void setStrikeOutType(Line::Type type=Line::Single)
sets the strikeoutline type
Definition: MWAWFont.hxx:435
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
LightWayTxtText::readStyleU
bool readStyleU(MWAWEntry const &entry)
read the unknown styu resource
Definition: LightWayTxtText.cxx:1119
MWAWSubDocument.hxx
LightWayTxtText::LightWayTxtText
LightWayTxtText(LightWayTxtParser &parser)
constructor
Definition: LightWayTxtText.cxx:289
LightWayTxtParser::sendGraphic
void sendGraphic(int graphId)
ask the graph parser to send a graph
Definition: LightWayTxtParser.cxx:217
MWAWFont::getStrikeOut
Line const & getStrikeOut() const
returns the strikeoutline
Definition: MWAWFont.hxx:417
MWAWColor::barycenter
static MWAWColor barycenter(float alpha, MWAWColor const &colA, float beta, MWAWColor const &colB)
return alpha*colA+beta*colB
Definition: libmwaw_internal.cxx:206
MWAWFont::setUnderlineWidth
void setUnderlineWidth(float w)
sets the underline width
Definition: MWAWFont.hxx:484
MWAWParser::getPageWidth
double getPageWidth() const
returns the page width (form width without margin )
Definition: MWAWParser.hxx:185
LightWayTxtText::readRulers
bool readRulers(MWAWEntry const &entry)
read the rulers (stylx resource)
Definition: LightWayTxtText.cxx:813
LightWayTxtTextInternal::PLC::operator<<
friend std::ostream & operator<<(std::ostream &o, PLC const &plc)
operator<<
Definition: LightWayTxtText.cxx:83
MWAWFont::m_extra
std::string m_extra
extra data
Definition: MWAWFont.hxx:573
MWAWParagraph::JustificationCenter
@ JustificationCenter
Definition: MWAWParagraph.hxx:90
LightWayTxtText::numPages
int numPages() const
returns the number of pages
Definition: LightWayTxtText.cxx:307
MWAWParagraph::Justification
Justification
an enum used to defined the paragraph justification: left, center, right, full ...
Definition: MWAWParagraph.hxx:90
MWAWFont::shadowBit
@ shadowBit
Definition: MWAWFont.hxx:191
LightWayTxtParser::getColumnInfo
bool getColumnInfo(int &numCols, int &colSep) const
returns the number of column and the column separator (in point)
Definition: LightWayTxtParser.cxx:190
MWAWParagraph.hxx
MWAWRSRCParser.hxx
MWAWParser::getRSRCParser
MWAWRSRCParserPtr & getRSRCParser()
returns the rsrc parser
Definition: MWAWParser.hxx:190
LightWayTxtText.hxx
libmwaw_internal.hxx
MWAWPosition.hxx
LightWayTxtTextInternal::P_Font
@ P_Font
Definition: LightWayTxtText.cxx:62
LightWayTxtTextInternal::Paragraph::m_deltaSpacing
float m_deltaSpacing
the paragraph delta spacing
Definition: LightWayTxtText.cxx:185
LightWayTxtTextInternal::HFZone::m_justify
MWAWParagraph::Justification m_justify
the paragraph justification
Definition: LightWayTxtText.cxx:216
LightWayTxtTextInternal::State::m_version
int m_version
the file version
Definition: LightWayTxtText.cxx:269
MWAWRSRCParserPtr
std::shared_ptr< MWAWRSRCParser > MWAWRSRCParserPtr
a smart pointer of MWAWRSRCParser
Definition: libmwaw_internal.hxx:561
LightWayTxtText::flushExtra
void flushExtra()
sends the data which have not yet been sent to the listener
Definition: LightWayTxtText.cxx:1270
MWAWEntry::length
long length() const
returns the length of the zone
Definition: MWAWEntry.hxx:93
LightWayTxtText::operator=
LightWayTxtText & operator=(LightWayTxtText const &orig)=delete
LightWayTxtTextInternal::P_StyleV
@ P_StyleV
Definition: LightWayTxtText.cxx:62
LightWayTxtTextInternal::HFZone::m_pos
MWAWEntry m_pos
the position of the text in the file
Definition: LightWayTxtText.cxx:210
MWAWFont::size
float size() const
returns the font size
Definition: MWAWFont.hxx:270
LightWayTxtTextInternal::Paragraph
Internal: class to store the paragraph properties.
Definition: LightWayTxtText.cxx:167
MWAWTabStop::m_alignment
Alignment m_alignment
the alignment ( left, center, ...)
Definition: MWAWParagraph.hxx:76
MWAWFont::boxedBit
@ boxedBit
Definition: MWAWFont.hxx:195
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
LightWayTxtTextInternal::Font::merge
void merge(Font const &fExtra)
merge extra data to get final font
Definition: LightWayTxtText.cxx:132
MWAWColor::black
static MWAWColor black()
return the back color
Definition: libmwaw_internal.hxx:245
MWAWFont::setOverlineWidth
void setOverlineWidth(float w)
sets the overline width
Definition: MWAWFont.hxx:406
MWAWTabStop::m_position
double m_position
the tab position
Definition: MWAWParagraph.hxx:74
LightWayTxtTextInternal::P_Unknown
@ P_Unknown
Definition: LightWayTxtText.cxx:62
MWAWFont::setId
void setId(int newId)
sets the font id
Definition: MWAWFont.hxx:264
LightWayTxtTextInternal::P_StyleU
@ P_StyleU
Definition: LightWayTxtText.cxx:62
LightWayTxtText::sendHeaderFooter
bool sendHeaderFooter(bool header)
try to send the header/footer
Definition: LightWayTxtText.cxx:955
LightWayTxtText::readDocumentHF
bool readDocumentHF(MWAWEntry const &entry)
read the header/footer part of the document zone
Definition: LightWayTxtText.cxx:1016
LightWayTxtParser.hxx
MWAWFont::script
Script const & script() const
returns the script position
Definition: MWAWFont.hxx:308
MWAWField
a field
Definition: libmwaw_internal.hxx:399
MWAWField::PageNumber
@ PageNumber
Definition: libmwaw_internal.hxx:401
LightWayTxtTextInternal::Font::m_height
int m_height
the line height
Definition: LightWayTxtText.cxx:152
MWAWParagraph::JustificationLeft
@ JustificationLeft
Definition: MWAWParagraph.hxx:90
MWAWFont::Script::sub
static Script sub()
return a yposition which correspond to a basic subscript
Definition: MWAWFont.hxx:120
LightWayTxtText::readFonts
bool readFonts(MWAWEntry const &entry)
read the fonts ( styl resource)
Definition: LightWayTxtText.cxx:548
MWAWFont::setOverline
void setOverline(Line const &line)
sets the overline
Definition: MWAWFont.hxx:383
LightWayTxtTextInternal::HFZone::operator<<
friend std::ostream & operator<<(std::ostream &o, HFZone const &hf)
operator<<
Definition: LightWayTxtText.cxx:221
MWAWEntry::end
long end() const
returns the end offset
Definition: MWAWEntry.hxx:88
MWAWFont::setSize
void setSize(float sz, bool isRelative=false)
sets the font size
Definition: MWAWFont.hxx:275
MWAWFont::setOverlineType
void setOverlineType(Line::Type type=Line::Single)
sets the overline type
Definition: MWAWFont.hxx:396
LightWayTxtTextInternal::State::m_fontsList
std::vector< Font > m_fontsList
the list of fonts
Definition: LightWayTxtText.cxx:274
LightWayTxtTextInternal::State::m_numPages
int m_numPages
Definition: LightWayTxtText.cxx:271
LightWayTxtTextInternal::PLC::PLC
PLC()
the constructor
Definition: LightWayTxtText.cxx:67
LightWayTxtText::readUnknownStyle
bool readUnknownStyle(MWAWEntry const &entry)
read the styl resource
Definition: LightWayTxtText.cxx:1220
MWAWFont::italicBit
@ italicBit
Definition: MWAWFont.hxx:190
MWAWParagraph::m_marginsUnit
MWAWVariable< librevenge::RVNGUnit > m_marginsUnit
the margins INCH, ...
Definition: MWAWParagraph.hxx:150
MWAWFont::Line::Dot
@ Dot
Definition: MWAWFont.hxx:49
MWAWPageSpan.hxx
LightWayTxtTextInternal::Paragraph::~Paragraph
~Paragraph() final
destructor
Definition: LightWayTxtText.cxx:188
LightWayTxtText::getColor
bool getColor(int id, MWAWColor &col) const
return a color corresponding to an id
Definition: LightWayTxtText.cxx:330
MWAWTextListener.hxx
Defines MWAWTextListener: the libmwaw word processor listener.
LightWayTxtTextInternal::Font::m_font
MWAWFont m_font
the font
Definition: LightWayTxtText.cxx:150
LightWayTxtTextInternal::Paragraph::Paragraph
Paragraph()
Constructor.
Definition: LightWayTxtText.cxx:169
MWAWParagraph::JustificationFull
@ JustificationFull
Definition: MWAWParagraph.hxx:90
MWAWSection.hxx
LightWayTxtText::hasHeaderFooter
bool hasHeaderFooter(bool header) const
returns true if there is a header/footer
Definition: LightWayTxtText.cxx:323
MWAWParagraph::JustificationRight
@ JustificationRight
Definition: MWAWParagraph.hxx:91
MWAWParserStatePtr
std::shared_ptr< MWAWParserState > MWAWParserStatePtr
a smart pointer of MWAWParserState
Definition: libmwaw_internal.hxx:557
LightWayTxtText
the main class to read the text part of LightWay Text file
Definition: LightWayTxtText.hxx:58
libmwaw::DebugFile::addPos
void addPos(long pos)
adds a new position in the file
Definition: MWAWDebug.cxx:53
LightWayTxtText::m_parserState
MWAWParserStatePtr m_parserState
the parser state
Definition: LightWayTxtText.hxx:127
MWAWEntry::valid
bool valid() const
returns true if the zone length is positive
Definition: MWAWEntry.hxx:99
LightWayTxtTextInternal::P_Ruby
@ P_Ruby
Definition: LightWayTxtText.cxx:62
MWAWFont::Script::super
static Script super()
return a yposition which correspond to a basic superscript
Definition: MWAWFont.hxx:130
LightWayTxtText::~LightWayTxtText
virtual ~LightWayTxtText()
destructor
Definition: LightWayTxtText.cxx:296
MWAWVariable::get
T const & get() const
return the current value
Definition: libmwaw_internal.hxx:630
MWAWFont::setStrikeOutColor
void setStrikeOutColor(MWAWColor const &color)
sets the strikeoutline color
Definition: MWAWFont.hxx:450
MWAWFont::getUnderline
Line const & getUnderline() const
returns the underline
Definition: MWAWFont.hxx:456
MWAWFont::setBackgroundColor
void setBackgroundColor(MWAWColor color)
sets the font background color
Definition: MWAWFont.hxx:352
LightWayTxtTextInternal::Font::operator<<
friend std::ostream & operator<<(std::ostream &o, Font const &font)
operator<<
Definition: LightWayTxtText.cxx:157
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
LightWayTxtParser::textInDataFork
bool textInDataFork() const
returns true if the main text is in data fork
Definition: LightWayTxtParser.cxx:173
MWAWFont::Script
a small struct to define the script position in MWAWFont
Definition: MWAWFont.hxx:106
MWAWFont::Line::Double
@ Double
Definition: MWAWFont.hxx:51
LightWayTxtText::createZones
bool createZones()
finds the different text zones
Definition: LightWayTxtText.cxx:349
MWAWFont.hxx
MWAWFont::flags
uint32_t flags() const
returns the font flags
Definition: MWAWFont.hxx:320
LightWayTxtTextInternal::HFZone::m_height
int m_height
the height
Definition: LightWayTxtText.cxx:212
MWAWTabStop::RIGHT
@ RIGHT
Definition: MWAWParagraph.hxx:48
MWAWFont
Class to store font.
Definition: MWAWFont.hxx:44
LightWayTxtText::setProperty
void setProperty(MWAWParagraph const &para)
send the paragraph properties
Definition: LightWayTxtText.cxx:807
MWAWParagraph::m_extra
std::string m_extra
a string to store some errors
Definition: MWAWParagraph.hxx:190
MWAWField::Title
@ Title
Definition: libmwaw_internal.hxx:401
LightWayTxtTextInternal::State::m_footer
HFZone m_footer
footer
Definition: LightWayTxtText.cxx:281
MWAWFont::setStrikeOutWidth
void setStrikeOutWidth(float w)
sets the strikeoutline width
Definition: MWAWFont.hxx:445
LightWayTxtParser::rsrcInput
MWAWInputStreamPtr rsrcInput()
return the input input
Definition: LightWayTxtParser.cxx:163
LightWayTxtTextInternal::State::m_auxiFontsList
std::vector< Font > m_auxiFontsList
the auxiliar list of fonts
Definition: LightWayTxtText.cxx:276
LightWayTxtTextInternal::State::m_plcMap
std::multimap< long, PLC > m_plcMap
the plc map
Definition: LightWayTxtText.cxx:279
LightWayTxtTextInternal::PLC::m_id
int m_id
the id
Definition: LightWayTxtText.cxx:78
libmwaw::DebugStream
std::stringstream DebugStream
a basic stream (if debug_with_files is not defined, does nothing)
Definition: MWAWDebug.hxx:61
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
LightWayTxtTextInternal::HFZone::HFZone
HFZone()
constructor
Definition: LightWayTxtText.cxx:196
MWAWFont::setFlags
void setFlags(uint32_t fl)
sets the font attributes bold, ...
Definition: MWAWFont.hxx:325
LightWayTxtTextInternal::PLC::m_extra
std::string m_extra
extra data
Definition: LightWayTxtText.cxx:80
MWAWFont::setOverlineColor
void setOverlineColor(MWAWColor const &color)
sets the overline color
Definition: MWAWFont.hxx:411

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