StarCharAttribute.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 /* libstaroffice
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 * file to read/parse StarOffice character attributes
36 *
37 */
38 #ifndef STAR_CHAR_ATTRIBUTE
39 # define STAR_CHAR_ATTRIBUTE
40
41 #include <map>
42
43 #include "libstaroffice_internal.hxx"
44
45 class StarAttribute;
46
48 namespace StarCharAttribute
49 {
51 void addInitTo(std::map<int, std::shared_ptr<StarAttribute> > &whichToAttributeMap);
52 }
53
54 #endif
55 // vim: set filetype=cpp tabstop=2 shiftwidth=2 cindent autoindent smartindent noexpandtab:
StarCharAttribute::StarCAttributeInt::addTo
void addTo(StarState &state, std::set< StarAttribute const * > &) const final
add to a font
Definition: StarCharAttribute.cxx:211
StarLanguage.hxx
STOFFFont::m_softHyphen
bool m_softHyphen
soft hyphen
Definition: STOFFFont.hxx:94
StarCharAttribute::StarCAttributeFlyCnt::m_format
std::shared_ptr< StarFormatManagerInternal::FormatDef > m_format
the format
Definition: StarCharAttribute.cxx:722
STOFFListenerPtr
std::shared_ptr< STOFFListener > STOFFListenerPtr
a smart pointer of STOFFListener
Definition: libstaroffice_internal.hxx:491
StarLanguage::getLanguageId
bool getLanguageId(int id, std::string &lang, std::string &country)
returns the iso639-1 and iso3166 language code
Definition: StarLanguage.cxx:471
StarCharAttribute::StarCAttributeBool::create
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarCharAttribute.cxx:63
StarAttribute::ATTR_CHR_WORDLINEMODE
@ ATTR_CHR_WORDLINEMODE
Definition: StarAttribute.hxx:83
StarAttribute
virtual class used to store the different attribute
Definition: StarAttribute.hxx:62
StarAttribute::ATTR_TXT_DUMMY2
@ ATTR_TXT_DUMMY2
Definition: StarAttribute.hxx:123
StarCharAttribute::StarCAttributeCharFormat::addTo
void addTo(StarState &state, std::set< StarAttribute const * > &) const final
add to a font
Definition: StarCharAttribute.cxx:978
StarAttribute::ATTR_CHR_CTL_FONT
@ ATTR_CHR_CTL_FONT
Definition: StarAttribute.hxx:94
StarCharAttribute::StarCAttributeEscapement::StarCAttributeEscapement
StarCAttributeEscapement(Type type, std::string const &debugName)
constructor
Definition: StarCharAttribute.cxx:438
StarAttribute::ATTR_FRM_CNTNT
@ ATTR_FRM_CNTNT
Definition: StarAttribute.hxx:153
StarCharAttribute::addAttributeVoid
void addAttributeVoid(std::map< int, std::shared_ptr< StarAttribute > > &map, StarAttribute::Type type, std::string const &debugName)
add a void attribute
Definition: StarCharAttribute.cxx:178
StarAttribute::ATTR_CHR_CJK_WEIGHT
@ ATTR_CHR_CJK_WEIGHT
Definition: StarAttribute.hxx:93
StarCharAttribute::StarCAttributeColor
a character color attribute
Definition: StarCharAttribute.cxx:76
StarAttribute::ATTR_TXT_HARDBLANK
@ ATTR_TXT_HARDBLANK
Definition: StarAttribute.hxx:121
StarCharAttribute::StarCAttributeINetFmt::addTo
void addTo(StarState &state, std::set< StarAttribute const * > &) const final
add to a font
Definition: StarCharAttribute.cxx:1024
StarCharAttribute::StarCAttributeEscapement::m_delta
int m_delta
the sub/super decal in %
Definition: StarCharAttribute.cxx:462
StarCharAttribute::StarCAttributeContent::m_content
std::shared_ptr< StarObjectTextInternal::Content > m_content
the content
Definition: StarCharAttribute.cxx:663
StarCharAttribute::StarCAttributeHardBlank::StarCAttributeHardBlank
StarCAttributeHardBlank(Type type, std::string const &debugName)
constructor
Definition: StarCharAttribute.cxx:782
STOFFEntry
basic class to store an entry in a file This contained :
Definition: STOFFEntry.hxx:46
libstoff::getString
librevenge::RVNGString getString(std::vector< uint32_t > const &unicode)
transform a unicode string in a RNVGString
Definition: libstaroffice_internal.cxx:63
StarCharAttribute::StarCAttributeFontSize::StarCAttributeFontSize
StarCAttributeFontSize(Type type, std::string const &debugName)
constructor
Definition: StarCharAttribute.cxx:556
StarCharAttribute::StarCAttributeVoid
a void attribute
Definition: StarCharAttribute.cxx:138
StarCharAttribute::StarCAttributeField::create
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarCharAttribute.cxx:677
StarAttribute::ATTR_TXT_DUMMY4
@ ATTR_TXT_DUMMY4
Definition: StarAttribute.hxx:107
StarCharAttribute::addInitTo
void addInitTo(std::map< int, std::shared_ptr< StarAttribute > > &map)
adds character attribute to the general it to attribute map
Definition: StarCharAttribute.cxx:1430
StarAttribute::ATTR_CHR_NOHYPHEN
@ ATTR_CHR_NOHYPHEN
Definition: StarAttribute.hxx:86
StarAttribute::Type
Type
the attribute list
Definition: StarAttribute.hxx:66
StarCharAttribute::StarCAttributeField::read
bool read(StarZone &zone, int vers, long endPos, StarObject &object) final
read a zone
Definition: StarCharAttribute.cxx:1172
StarCharAttribute::StarCAttributeField::StarCAttributeField
StarCAttributeField(Type type, std::string const &debugName)
constructor
Definition: StarCharAttribute.cxx:671
StarCharAttribute::StarCAttributeFlyCnt::StarCAttributeFlyCnt
StarCAttributeFlyCnt(Type type, std::string const &debugName)
constructor
Definition: StarCharAttribute.cxx:697
StarZone::ascii
libstoff::DebugFile & ascii()
returns the ascii file
Definition: StarZone.hxx:254
StarAttribute::ATTR_CHR_KERNING
@ ATTR_CHR_KERNING
Definition: StarAttribute.hxx:76
StarCharAttribute::StarCAttributeContent::send
bool send(STOFFListenerPtr &listener, StarState &state, std::set< StarAttribute const * > &done) const final
add to send the zone data
Definition: StarCharAttribute.cxx:1371
StarZone::getPoolName
bool getPoolName(int poolId, librevenge::RVNGString &res) const
try to return a pool name
Definition: StarZone.hxx:235
StarAttribute::ATTR_CHR_RELIEF
@ ATTR_CHR_RELIEF
Definition: StarAttribute.hxx:103
StarCharAttribute::StarCAttributeField
a field attribute
Definition: StarCharAttribute.cxx:667
SWFieldManager::readField
std::shared_ptr< SWFieldManagerInternal::Field > readField(StarZone &zone, unsigned char cKind='_')
try to read a field type
Definition: SWFieldManager.cxx:1025
STOFF_DEBUG_MSG
#define STOFF_DEBUG_MSG(M)
Definition: libstaroffice_internal.hxx:129
StarCharAttribute::StarCAttributeFont::read
bool read(StarZone &zone, int vers, long endPos, StarObject &object) final
read a zone
Definition: StarCharAttribute.cxx:1053
StarAttribute::ATTR_CHR_FONTSIZE
@ ATTR_CHR_FONTSIZE
Definition: StarAttribute.hxx:75
StarAttributeColor::m_value
STOFFColor m_value
the color value
Definition: StarAttribute.hxx:871
StarCharAttribute::StarCAttributeHardBlank::create
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarCharAttribute.cxx:786
StarAttribute::ATTR_CHR_ESCAPEMENT
@ ATTR_CHR_ESCAPEMENT
Definition: StarAttribute.hxx:73
StarAttribute::m_type
Type m_type
the type
Definition: StarAttribute.hxx:805
StarCharAttribute::SubDocument::operator=
SubDocument & operator=(SubDocument const &)
STOFFColor::black
static STOFFColor black()
return the back color
Definition: libstaroffice_internal.hxx:233
StarAttribute::ATTR_TXT_FLYCNT
@ ATTR_TXT_FLYCNT
Definition: StarAttribute.hxx:118
StarState::m_headerFooter
bool m_headerFooter
flag to know if this is a header/footer
Definition: StarState.hxx:190
StarCharAttribute::StarCAttributeFont::create
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarCharAttribute.cxx:477
StarAttribute::ATTR_CHR_CJK_FONTSIZE
@ ATTR_CHR_CJK_FONTSIZE
Definition: StarAttribute.hxx:90
StarCharAttribute::StarCAttributeVoid::addTo
void addTo(StarState &state, std::set< StarAttribute const * > &) const final
add to a font
Definition: StarCharAttribute.cxx:372
STOFFSubDocument
abstract class used to store a subdocument (with a comparison function)
Definition: STOFFSubDocument.hxx:41
StarCharAttribute::StarCAttributeINetFmt::m_url
librevenge::RVNGString m_url
the url
Definition: StarCharAttribute.cxx:853
StarCharAttribute::StarCAttributeINetFmt::m_libNames
std::vector< librevenge::RVNGString > m_libNames
the lib names
Definition: StarCharAttribute.cxx:861
StarAttribute::ATTR_CHR_PROPORTIONALFONTSIZE
@ ATTR_CHR_PROPORTIONALFONTSIZE
Definition: StarAttribute.hxx:79
StarCharAttribute::addAttributeColor
void addAttributeColor(std::map< int, std::shared_ptr< StarAttribute > > &map, StarAttribute::Type type, std::string const &debugName, STOFFColor const &defValue)
add a color attribute
Definition: StarCharAttribute.cxx:163
StarAttribute::ATTR_TXT_DUMMY6
@ ATTR_TXT_DUMMY6
Definition: StarAttribute.hxx:114
StarCharAttribute::StarCAttributeBool::addTo
void addTo(StarState &state, std::set< StarAttribute const * > &) const final
add to a font
Definition: StarCharAttribute.cxx:183
StarAttribute::ATTR_CHR_CTL_FONTSIZE
@ ATTR_CHR_CTL_FONTSIZE
Definition: StarAttribute.hxx:95
StarCharAttribute::StarCAttributeFontSize::read
bool read(StarZone &zone, int vers, long endPos, StarObject &object) final
read a zone
Definition: StarCharAttribute.cxx:1116
StarCharAttribute::SubDocument::~SubDocument
~SubDocument() final
destructor
Definition: StarCharAttribute.cxx:396
StarState::m_content
bool m_content
flag to know if this is a content zone
Definition: StarState.hxx:184
StarCharAttribute::StarCAttributeFlyCnt::create
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarCharAttribute.cxx:703
StarCharAttribute::SubDocument::parse
void parse(STOFFListenerPtr &listener, libstoff::SubDocumentType type) final
the parser function
Definition: StarCharAttribute.cxx:421
StarCharAttribute::SubDocument::operator!=
bool operator!=(STOFFSubDocument const &doc) const final
operator!=
Definition: StarCharAttribute.cxx:399
StarCharAttribute::StarCAttributeInt::create
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarCharAttribute.cxx:107
StarCharAttribute::StarCAttributeEscapement
a escapement attribute
Definition: StarCharAttribute.cxx:434
StarCharAttribute::StarCAttributeFootnote::read
bool read(StarZone &zone, int vers, long endPos, StarObject &object) final
read a zone
Definition: StarCharAttribute.cxx:1215
StarState::m_field
std::shared_ptr< SWFieldManagerInternal::Field > m_field
the field
Definition: StarState.hxx:196
StarCharAttribute::StarCAttributeColor::StarCAttributeColor
StarCAttributeColor(Type type, std::string const &debugName, STOFFColor const &value)
constructor
Definition: StarCharAttribute.cxx:80
StarCharAttribute::StarCAttributeFontSize::m_size
int m_size
the font size
Definition: StarCharAttribute.cxx:592
StarAttribute::ATTR_CHR_LANGUAGE
@ ATTR_CHR_LANGUAGE
Definition: StarAttribute.hxx:77
StarCharAttribute::StarCAttributeFont::m_encoding
int m_encoding
the font encoding
Definition: StarCharAttribute.cxx:543
StarCharAttribute::addAttributeBool
void addAttributeBool(std::map< int, std::shared_ptr< StarAttribute > > &map, StarAttribute::Type type, std::string const &debugName, bool defValue)
add a bool attribute
Definition: StarCharAttribute.cxx:158
StarZone::readString
bool readString(std::vector< uint32_t > &string, int encoding=-1) const
try to read an unicode string
Definition: StarZone.hxx:220
StarCharAttribute::addAttributeInt
void addAttributeInt(std::map< int, std::shared_ptr< StarAttribute > > &map, StarAttribute::Type type, std::string const &debugName, int numBytes, int defValue)
add a int attribute
Definition: StarCharAttribute.cxx:168
StarCharAttribute::StarCAttributeEscapement::m_scale
int m_scale
the scaling
Definition: StarCharAttribute.cxx:464
StarCharAttribute::StarCAttributeContent::StarCAttributeContent
StarCAttributeContent(Type type, std::string const &debugName)
constructor
Definition: StarCharAttribute.cxx:636
STOFFFont::m_propertyList
librevenge::RVNGPropertyList m_propertyList
the property list
Definition: STOFFFont.hxx:88
StarAttribute::ATTR_CHR_UNDERLINE
@ ATTR_CHR_UNDERLINE
Definition: StarAttribute.hxx:81
STOFFColor::str
std::string str() const
print the color in the form #rrggbb
Definition: libstaroffice_internal.cxx:226
StarCharAttribute::StarCAttributeINetFmt::read
bool read(StarZone &zone, int vers, long endPos, StarObject &object) final
read a zone
Definition: StarCharAttribute.cxx:1270
STOFFColor
the class to store a color
Definition: libstaroffice_internal.hxx:189
StarAttribute::ATTR_CHR_CROSSEDOUT
@ ATTR_CHR_CROSSEDOUT
Definition: StarAttribute.hxx:72
StarCharAttribute::StarCAttributeBool
a character bool attribute
Definition: StarCharAttribute.cxx:54
STOFFNote
a note
Definition: libstaroffice_internal.hxx:389
StarState
class to store an state: ie.
Definition: StarState.hxx:67
StarObjectText
the main class to read a StarOffice sdw file
Definition: StarObjectText.hxx:100
StarAttribute::ATTR_CHR_CTL_POSTURE
@ ATTR_CHR_CTL_POSTURE
Definition: StarAttribute.hxx:97
StarCharAttribute::StarCAttributeRefMark::read
bool read(StarZone &zone, int vers, long endPos, StarObject &object) final
read a zone
Definition: StarCharAttribute.cxx:1349
libstaroffice_internal.hxx
StarAttribute::ATTR_TXT_FIELD
@ ATTR_TXT_FIELD
Definition: StarAttribute.hxx:117
libstoff::DebugStream::str
static std::string str()
Definition: STOFFDebug.hxx:203
StarCharAttribute::StarCAttributeContent::read
bool read(StarZone &zone, int vers, long endPos, StarObject &object) final
read a zone
Definition: StarCharAttribute.cxx:1151
STOFFFont::m_hyphen
bool m_hyphen
hyphen
Definition: STOFFFont.hxx:92
StarCharAttribute.hxx
StarCharAttribute::StarCAttributeFlyCnt::send
bool send(STOFFListenerPtr &listener, StarState &state, std::set< StarAttribute const * > &done) const final
add to send the zone data
Definition: StarCharAttribute.cxx:1387
StarCharAttribute::StarCAttributeVoid::create
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarCharAttribute.cxx:148
StarCharAttribute
namespace used to contain character attributes
Definition: StarCharAttribute.cxx:51
StarAttribute::ATTR_TXT_DUMMY1
@ ATTR_TXT_DUMMY1
Definition: StarAttribute.hxx:122
StarCharAttribute::StarCAttributeRefMark::StarCAttributeRefMark
StarCAttributeRefMark(Type type, std::string const &debugName)
constructor
Definition: StarCharAttribute.cxx:870
STOFFSubDocument.hxx
StarCharAttribute::StarCAttributeContent::addTo
void addTo(StarState &state, std::set< StarAttribute const * > &) const final
add to a font
Definition: StarCharAttribute.cxx:999
StarCharAttribute::StarCAttributeCharFormat::create
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarCharAttribute.cxx:609
StarCharAttribute::StarCAttributeFont::m_name
librevenge::RVNGString m_name
the font name
Definition: StarCharAttribute.cxx:539
StarCharAttribute::StarCAttributeCharFormat
a charFormat attribute
Definition: StarCharAttribute.cxx:600
StarCharAttribute::StarCAttributeFootnote::m_flags
int m_flags
the flags
Definition: StarCharAttribute.cxx:773
StarAttribute::ATTR_EE_FEATURE_LINEBR
@ ATTR_EE_FEATURE_LINEBR
Definition: StarAttribute.hxx:272
StarCharAttribute::StarCAttributeUInt::addTo
void addTo(StarState &state, std::set< StarAttribute const * > &) const final
add to a font
Definition: StarCharAttribute.cxx:217
StarCharAttribute::StarCAttributeINetFmt::m_indices
int m_indices[2]
two indices
Definition: StarCharAttribute.cxx:859
StarCharAttribute::StarCAttributeINetFmt::m_target
librevenge::RVNGString m_target
the target
Definition: StarCharAttribute.cxx:855
StarAttribute::ATTR_TXT_CHARFMT
@ ATTR_TXT_CHARFMT
Definition: StarAttribute.hxx:110
StarCharAttribute::StarCAttributeFont::m_style
librevenge::RVNGString m_style
the style
Definition: StarCharAttribute.cxx:541
StarCharAttribute::StarCAttributeFontSize::create
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarCharAttribute.cxx:561
StarAttribute::ATTR_EE_FEATURE_TAB
@ ATTR_EE_FEATURE_TAB
Definition: StarAttribute.hxx:271
StarCharAttribute::addAttributeUInt
void addAttributeUInt(std::map< int, std::shared_ptr< StarAttribute > > &map, StarAttribute::Type type, std::string const &debugName, int numBytes, unsigned int defValue)
add a unsigned int attribute
Definition: StarCharAttribute.cxx:173
STOFFFont::m_lineBreak
bool m_lineBreak
line break
Definition: STOFFFont.hxx:100
StarCharAttribute::StarCAttributeFont::printData
void printData(libstoff::DebugStream &o) const final
debug function to print the data
Definition: StarCharAttribute.cxx:486
StarAttributeUInt
a unsigned integer attribute
Definition: StarAttribute.hxx:946
StarCharAttribute::StarCAttributeFlyCnt
a txtFlyCnt attribute
Definition: StarCharAttribute.cxx:693
STOFFSubDocumentPtr
std::shared_ptr< STOFFSubDocument > STOFFSubDocumentPtr
a smart pointer of STOFFSubDocument
Definition: libstaroffice_internal.hxx:499
SWFieldManager::readPersistField
std::shared_ptr< SWFieldManagerInternal::Field > readPersistField(StarZone &zone, long lastPos)
try to read a persist field type
Definition: SWFieldManager.cxx:1901
StarCharAttribute::SubDocument::m_content
std::shared_ptr< StarObjectTextInternal::Content > m_content
the content
Definition: StarCharAttribute.cxx:413
StarCharAttribute::StarCAttributeRefMark::m_name
librevenge::RVNGString m_name
the name
Definition: StarCharAttribute.cxx:895
STOFFListener.hxx
StarAttribute::ATTR_CHR_CJK_LANGUAGE
@ ATTR_CHR_CJK_LANGUAGE
Definition: StarAttribute.hxx:91
StarCharAttribute::StarCAttributeFlyCnt::read
bool read(StarZone &zone, int vers, long endPos, StarObject &object) final
read a zone
Definition: StarCharAttribute.cxx:1198
StarAttributeInt::m_value
int m_value
Definition: StarAttribute.hxx:940
StarState::m_footnote
bool m_footnote
flag to know if this is a footnote
Definition: StarState.hxx:188
StarCharAttribute::StarCAttributeFootnote::m_number
int m_number
the numbering
Definition: StarCharAttribute.cxx:765
StarCharAttribute::StarCAttributeCharFormat::m_name
librevenge::RVNGString m_name
the charFormat
Definition: StarCharAttribute.cxx:628
STOFFInputStreamPtr
std::shared_ptr< STOFFInputStream > STOFFInputStreamPtr
a smart pointer of STOFFInputStream
Definition: libstaroffice_internal.hxx:489
StarAttribute::ATTR_CHR_CASEMAP
@ ATTR_CHR_CASEMAP
Definition: StarAttribute.hxx:68
StarAttribute::ATTR_CHR_CJK_FONT
@ ATTR_CHR_CJK_FONT
Definition: StarAttribute.hxx:89
libstoff::SubDocumentType
SubDocumentType
Definition: libstaroffice_internal.hxx:185
SWFieldManager
the main class to read/.
Definition: SWFieldManager.hxx:109
StarCharAttribute::StarCAttributeFont::m_pitch
int m_pitch
the font pitch
Definition: StarCharAttribute.cxx:547
StarZone
a zone in a StarOffice file
Definition: StarZone.hxx:56
StarZone::getRecordLevel
int getRecordLevel() const
returns the record level
Definition: StarZone.hxx:195
StarCharAttribute::StarCAttributeColor::create
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarCharAttribute.cxx:84
StarAttribute::ATTR_CHR_BLINK
@ ATTR_CHR_BLINK
Definition: StarAttribute.hxx:85
StarObject
an object corresponding to an OLE directory
Definition: StarObject.hxx:64
StarAttribute::ATTR_TXT_SOFTHYPH
@ ATTR_TXT_SOFTHYPH
Definition: StarAttribute.hxx:120
StarCharAttribute::StarCAttributeContent::printData
void printData(libstoff::DebugStream &o) const final
debug function to print the data
Definition: StarCharAttribute.cxx:651
StarState::m_font
STOFFFont m_font
the font
Definition: StarState.hxx:182
StarCharAttribute::StarCAttributeVoid::StarCAttributeVoid
StarCAttributeVoid(Type type, std::string const &debugName)
constructor
Definition: StarCharAttribute.cxx:142
StarAttributeUInt::m_value
unsigned int m_value
Definition: StarAttribute.hxx:978
libstoff::DebugStream
Definition: STOFFDebug.hxx:194
StarCharAttribute::StarCAttributeFont
a font attribute
Definition: StarCharAttribute.cxx:468
StarCharAttribute::StarCAttributeContent
a content attribute
Definition: StarCharAttribute.cxx:632
StarAttribute::printData
virtual void printData(libstoff::DebugStream &o) const
debug function to print the data
Definition: StarAttribute.hxx:782
StarAttributeBool::m_value
bool m_value
Definition: StarAttribute.hxx:841
StarAttribute::ATTR_TXT_REFMARK
@ ATTR_TXT_REFMARK
Definition: StarAttribute.hxx:108
StarAttributeColor
a color attribute
Definition: StarAttribute.hxx:845
StarCharAttribute::StarCAttributeEscapement::printData
void printData(libstoff::DebugStream &o) const final
debug function to print the data
Definition: StarCharAttribute.cxx:451
StarAttribute::ATTR_CHR_WEIGHT
@ ATTR_CHR_WEIGHT
Definition: StarAttribute.hxx:82
StarAttribute::ATTR_CHR_POSTURE
@ ATTR_CHR_POSTURE
Definition: StarAttribute.hxx:78
StarCharAttribute::StarCAttributeFontSize::m_proportion
int m_proportion
the font proportion
Definition: StarCharAttribute.cxx:594
StarAttribute::ATTR_CHR_SHADOWED
@ ATTR_CHR_SHADOWED
Definition: StarAttribute.hxx:80
StarCharAttribute::StarCAttributeFootnote::create
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarCharAttribute.cxx:740
StarAttribute::ATTR_SC_HYPHENATE
@ ATTR_SC_HYPHENATE
Definition: StarAttribute.hxx:206
StarCharAttribute::StarCAttributeEscapement::create
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarCharAttribute.cxx:442
StarAttribute::ATTR_TXT_DUMMY7
@ ATTR_TXT_DUMMY7
Definition: StarAttribute.hxx:115
STOFFFont
Class to store font.
Definition: STOFFFont.hxx:43
StarAttribute::ATTR_CHR_CONTOUR
@ ATTR_CHR_CONTOUR
Definition: StarAttribute.hxx:71
StarCharAttribute::StarCAttributeContent::create
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarCharAttribute.cxx:642
StarCharAttribute::SubDocument
Internal: the subdocument of a StarObjectSpreadsheet.
Definition: StarCharAttribute.cxx:389
StarState::m_flyCnt
bool m_flyCnt
flag to know if this is a flyCnt
Definition: StarState.hxx:186
StarCharAttribute::StarCAttributeRefMark
a refMark attribute
Definition: StarCharAttribute.cxx:866
StarCharAttribute::StarCAttributeFont::addTo
void addTo(StarState &state, std::set< StarAttribute const * > &) const final
add to a font
Definition: StarCharAttribute.cxx:905
StarCharAttribute::StarCAttributeUInt::create
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarCharAttribute.cxx:126
StarCharAttribute::StarCAttributeUInt::StarCAttributeUInt
StarCAttributeUInt(Type type, std::string const &debugName, int intSize, unsigned int value)
constructor
Definition: StarCharAttribute.cxx:121
StarAttribute::ATTR_CHR_NOLINEBREAK
@ ATTR_CHR_NOLINEBREAK
Definition: StarAttribute.hxx:87
StarObjectText.hxx
StarCharAttribute::StarCAttributeFootnote::m_label
librevenge::RVNGString m_label
the label
Definition: StarCharAttribute.cxx:767
StarCharAttribute::StarCAttributeRefMark::addTo
void addTo(StarState &state, std::set< StarAttribute const * > &) const final
add to a font
Definition: StarCharAttribute.cxx:1033
StarCharAttribute::StarCAttributeInt
a character integer attribute
Definition: StarCharAttribute.cxx:96
StarAttribute::ATTR_TXT_INETFMT
@ ATTR_TXT_INETFMT
Definition: StarAttribute.hxx:106
StarCharAttribute::StarCAttributeUInt
a character unsigned integer attribute
Definition: StarCharAttribute.cxx:117
STOFFNote::m_label
librevenge::RVNGString m_label
the note label
Definition: libstaroffice_internal.hxx:399
StarCharAttribute::StarCAttributeFlyCnt::addTo
void addTo(StarState &state, std::set< StarAttribute const * > &) const final
add to the state
Definition: StarCharAttribute.cxx:1009
StarAttribute::ATTR_CHR_COLOR
@ ATTR_CHR_COLOR
Definition: StarAttribute.hxx:70
StarCharAttribute::SubDocument::m_state
std::shared_ptr< StarState::GlobalState > m_state
the global state
Definition: StarCharAttribute.cxx:415
STOFFFont::m_hardBlank
bool m_hardBlank
hard blank
Definition: STOFFFont.hxx:96
StarAttribute::ATTR_CHR_EMPHASIS_MARK
@ ATTR_CHR_EMPHASIS_MARK
Definition: StarAttribute.hxx:100
StarState.hxx
STOFFNote::FootNote
@ FootNote
Definition: libstaroffice_internal.hxx:391
StarCharAttribute::StarCAttributeINetFmt::m_name
librevenge::RVNGString m_name
the name
Definition: StarCharAttribute.cxx:857
libstoff::DebugFile::addPos
static void addPos(long)
Definition: STOFFDebug.hxx:223
StarCharAttribute::StarCAttributeRefMark::create
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarCharAttribute.cxx:876
StarAttribute::ATTR_TXT_FTN
@ ATTR_TXT_FTN
Definition: StarAttribute.hxx:119
StarAttribute::ATTR_TXT_DUMMY5
@ ATTR_TXT_DUMMY5
Definition: StarAttribute.hxx:111
StarCharAttribute::StarCAttributeFlyCnt::printData
void printData(libstoff::DebugStream &o) const final
debug function to print the data
Definition: StarCharAttribute.cxx:712
StarAttribute::ATTR_EE_FEATURE_FIELD
@ ATTR_EE_FEATURE_FIELD
Definition: StarAttribute.hxx:273
StarObject.hxx
StarZone.hxx
StarAttribute::ATTR_TXT_UNKNOWN_CONTAINER
@ ATTR_TXT_UNKNOWN_CONTAINER
Definition: StarAttribute.hxx:113
StarCharAttribute::StarCAttributeHardBlank::addTo
void addTo(StarState &state, std::set< StarAttribute const * > &) const final
add to a font
Definition: StarCharAttribute.cxx:1019
StarCharAttribute::StarCAttributeFont::StarCAttributeFont
StarCAttributeFont(Type type, std::string const &debugName)
constructor
Definition: StarCharAttribute.cxx:472
StarCharAttribute::StarCAttributeFont::m_family
int m_family
the font family
Definition: StarCharAttribute.cxx:545
StarAttribute::ATTR_CHR_AUTOKERN
@ ATTR_CHR_AUTOKERN
Definition: StarAttribute.hxx:84
StarCharAttribute::StarCAttributeEscapement::read
bool read(StarZone &zone, int vers, long endPos, StarObject &object) final
read a zone
Definition: StarCharAttribute.cxx:1038
StarAttribute::ATTR_CHR_DUMMY1
@ ATTR_CHR_DUMMY1
Definition: StarAttribute.hxx:104
StarCharAttribute::StarCAttributeColor::addTo
void addTo(StarState &state, std::set< StarAttribute const * > &) const final
add to a font
Definition: StarCharAttribute.cxx:205
StarCharAttribute::StarCAttributeFootnote
a footnote attribute
Definition: StarCharAttribute.cxx:726
StarCharAttribute::StarCAttributeFontSize
a font size attribute
Definition: StarCharAttribute.cxx:552
StarState::m_global
std::shared_ptr< GlobalState > m_global
global state
Definition: StarState.hxx:165
StarAttributeVoid
void attribute of StarAttribute
Definition: StarAttribute.hxx:1058
libstoff::DebugFile
Definition: STOFFDebug.hxx:210
StarCharAttribute::StarCAttributeINetFmt::create
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarCharAttribute.cxx:823
StarAttribute::m_debugName
std::string m_debugName
the debug name
Definition: StarAttribute.hxx:807
StarCharAttribute::StarCAttributeInt::StarCAttributeInt
StarCAttributeInt(Type type, std::string const &debugName, int intSize, int value)
constructor
Definition: StarCharAttribute.cxx:100
StarCharAttribute::StarCAttributeFootnote::addTo
void addTo(StarState &state, std::set< StarAttribute const * > &) const final
add to a font
Definition: StarCharAttribute.cxx:1014
STOFFNote::m_number
int m_number
the note number if defined
Definition: libstaroffice_internal.hxx:401
StarCharAttribute::StarCAttributeHardBlank::read
bool read(StarZone &zone, int vers, long endPos, StarObject &object) final
read a zone
Definition: StarCharAttribute.cxx:1255
StarCharAttribute::StarCAttributeFontSize::m_unit
int m_unit
the font unit
Definition: StarCharAttribute.cxx:596
StarCharAttribute::StarCAttributeHardBlank
a hardBlank attribute
Definition: StarCharAttribute.cxx:778
StarItemSet::m_whichToItemMap
std::map< int, std::shared_ptr< StarItem > > m_whichToItemMap
the list of item
Definition: StarItem.hxx:111
StarAttribute::ATTR_SC_LANGUAGE_FORMAT
@ ATTR_SC_LANGUAGE_FORMAT
Definition: StarAttribute.hxx:220
StarCharAttribute::StarCAttributeHardBlank::m_char
uint8_t m_char
the character
Definition: StarCharAttribute.cxx:805
StarItemSet
class to store a list of item
Definition: StarItem.hxx:87
StarFormatManager.hxx
StarCharAttribute::StarCAttributeFontSize::addTo
void addTo(StarState &state, std::set< StarAttribute const * > &) const final
add to a font
Definition: StarCharAttribute.cxx:926
StarAttribute::ATTR_CHR_CTL_LANGUAGE
@ ATTR_CHR_CTL_LANGUAGE
Definition: StarAttribute.hxx:96
libstoff::DebugFile::addNote
static void addNote(char const *)
Definition: STOFFDebug.hxx:224
StarCharAttribute::StarCAttributeHardBlank::printData
void printData(libstoff::DebugStream &o) const final
debug function to print the data
Definition: StarCharAttribute.cxx:795
StarCharAttribute::StarCAttributeFootnote::printData
void printData(libstoff::DebugStream &o) const final
debug function to print the data
Definition: StarCharAttribute.cxx:749
STOFFFont::m_tab
bool m_tab
tab
Definition: STOFFFont.hxx:98
StarCharAttribute::StarCAttributeFontSize::printData
void printData(libstoff::DebugStream &o) const final
debug function to print the data
Definition: StarCharAttribute.cxx:570
StarState::m_refMark
librevenge::RVNGString m_refMark
the ref mark
Definition: StarState.hxx:194
StarZone::input
STOFFInputStreamPtr input()
return the zone input
Definition: StarZone.hxx:247
StarAttribute::ATTR_CHR_FONT
@ ATTR_CHR_FONT
Definition: StarAttribute.hxx:74
StarCharAttribute::StarCAttributeBool::StarCAttributeBool
StarCAttributeBool(Type type, std::string const &debugName, bool value)
constructor
Definition: StarCharAttribute.cxx:58
StarCharAttribute::StarCAttributeRefMark::printData
void printData(libstoff::DebugStream &o) const final
debug function to print the data
Definition: StarCharAttribute.cxx:885
StarCharAttribute::StarCAttributeEscapement::addTo
void addTo(StarState &state, std::set< StarAttribute const * > &) const final
add to a font
Definition: StarCharAttribute.cxx:898
StarCharAttribute::StarCAttributeCharFormat::StarCAttributeCharFormat
StarCAttributeCharFormat(Type type, std::string const &debugName)
constructor
Definition: StarCharAttribute.cxx:604
StarAttribute::ATTR_CHR_CJK_POSTURE
@ ATTR_CHR_CJK_POSTURE
Definition: StarAttribute.hxx:92
StarCharAttribute::StarCAttributeINetFmt::StarCAttributeINetFmt
StarCAttributeINetFmt(Type type, std::string const &debugName)
constructor
Definition: StarCharAttribute.cxx:813
STOFFFont.hxx
StarCharAttribute::StarCAttributeField::addTo
void addTo(StarState &state, std::set< StarAttribute const * > &) const final
add to a font
Definition: StarCharAttribute.cxx:1004
StarState::m_link
librevenge::RVNGString m_link
the link url
Definition: StarState.hxx:192
StarCharAttribute::StarCAttributeINetFmt
a INetFmt attribute: ie. a link, ...
Definition: StarCharAttribute.cxx:809
StarItemPool.hxx
StarCharAttribute::StarCAttributeField::m_field
std::shared_ptr< SWFieldManagerInternal::Field > m_field
the field
Definition: StarCharAttribute.cxx:689
StarAttribute.hxx
StarCharAttribute::StarCAttributeFootnote::StarCAttributeFootnote
StarCAttributeFootnote(Type type, std::string const &debugName)
constructor
Definition: StarCharAttribute.cxx:730
StarCharAttribute::StarCAttributeFootnote::m_numSeq
int m_numSeq
the sequential number
Definition: StarCharAttribute.cxx:771
StarCharAttribute::StarCAttributeCharFormat::read
bool read(StarZone &zone, int vers, long endPos, StarObject &object) final
read a zone
Definition: StarCharAttribute.cxx:1132
StarCharAttribute::StarCAttributeFootnote::send
bool send(STOFFListenerPtr &listener, StarState &state, std::set< StarAttribute const * > &done) const final
add to send the zone data
Definition: StarCharAttribute.cxx:1405
StarCharAttribute::SubDocument::SubDocument
SubDocument(std::shared_ptr< StarObjectTextInternal::Content > const &content, std::shared_ptr< StarState::GlobalState > const &state)
Definition: StarCharAttribute.cxx:392
StarObjectText::readSWContent
bool readSWContent(StarZone &zone, std::shared_ptr< StarObjectTextInternal::Content > &content)
try to read some content : 'N'
Definition: StarObjectText.cxx:958
StarAttribute::ATTR_CHR_CTL_WEIGHT
@ ATTR_CHR_CTL_WEIGHT
Definition: StarAttribute.hxx:98
StarAttributeInt
an integer attribute
Definition: StarAttribute.hxx:907
StarCharAttribute::StarCAttributeCharFormat::printData
void printData(libstoff::DebugStream &o) const final
debug function to print the data
Definition: StarCharAttribute.cxx:614
StarCharAttribute::StarCAttributeINetFmt::printData
void printData(libstoff::DebugStream &o) const final
debug function to print the data
Definition: StarCharAttribute.cxx:832
StarItemStyle::F_Char
@ F_Char
Definition: StarItem.hxx:120
StarAttributeBool
a boolean attribute
Definition: StarAttribute.hxx:814
SWFieldManager.hxx
StarCharAttribute::StarCAttributeFootnote::m_content
std::shared_ptr< StarObjectTextInternal::Content > m_content
the content
Definition: StarCharAttribute.cxx:769