Go to the documentation of this file.
38 #ifndef STAR_CHAR_ATTRIBUTE
39 # define STAR_CHAR_ATTRIBUTE
51 void addInitTo(std::map<
int, std::shared_ptr<StarAttribute> > &whichToAttributeMap);
void addTo(StarState &state, std::set< StarAttribute const * > &) const final
add to a font
Definition: StarCharAttribute.cxx:211
bool m_softHyphen
soft hyphen
Definition: STOFFFont.hxx:90
std::shared_ptr< StarFormatManagerInternal::FormatDef > m_format
the format
Definition: StarCharAttribute.cxx:722
std::shared_ptr< STOFFListener > STOFFListenerPtr
a smart pointer of STOFFListener
Definition: libstaroffice_internal.hxx:487
bool getLanguageId(int id, std::string &lang, std::string &country)
returns the iso639-1 and iso3166 language code
Definition: StarLanguage.cxx:471
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarCharAttribute.cxx:63
Definition: StarAttribute.hxx:83
virtual class used to store the different attribute
Definition: StarAttribute.hxx:62
Definition: StarAttribute.hxx:123
Definition: StarAttribute.hxx:94
StarCAttributeEscapement(Type type, std::string const &debugName)
constructor
Definition: StarCharAttribute.cxx:438
Definition: StarAttribute.hxx:153
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
Definition: StarAttribute.hxx:93
a character color attribute
Definition: StarCharAttribute.cxx:76
Definition: StarAttribute.hxx:121
void addTo(StarState &state, std::set< StarAttribute const * > &) const final
add to a font
Definition: StarCharAttribute.cxx:1024
int m_delta
the sub/super decal in %
Definition: StarCharAttribute.cxx:462
std::shared_ptr< StarObjectTextInternal::Content > m_content
the content
Definition: StarCharAttribute.cxx:663
StarCAttributeHardBlank(Type type, std::string const &debugName)
constructor
Definition: StarCharAttribute.cxx:782
basic class to store an entry in a file This contained :
Definition: STOFFEntry.hxx:46
librevenge::RVNGString getString(std::vector< uint32_t > const &unicode)
transform a unicode string in a RNVGString
Definition: libstaroffice_internal.cxx:63
StarCAttributeFontSize(Type type, std::string const &debugName)
constructor
Definition: StarCharAttribute.cxx:556
a void attribute
Definition: StarCharAttribute.cxx:138
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarCharAttribute.cxx:677
Definition: StarAttribute.hxx:107
void addInitTo(std::map< int, std::shared_ptr< StarAttribute > > &map)
adds character attribute to the general it to attribute map
Definition: StarCharAttribute.cxx:1430
Definition: StarAttribute.hxx:86
Type
the attribute list
Definition: StarAttribute.hxx:66
bool read(StarZone &zone, int vers, long endPos, StarObject &object) final
read a zone
Definition: StarCharAttribute.cxx:1172
StarCAttributeField(Type type, std::string const &debugName)
constructor
Definition: StarCharAttribute.cxx:671
std::shared_ptr< SWFieldManagerInternal::Field > readField(StarZone &zone, char cKind='_')
try to read a field type
Definition: SWFieldManager.cxx:1025
StarCAttributeFlyCnt(Type type, std::string const &debugName)
constructor
Definition: StarCharAttribute.cxx:697
libstoff::DebugFile & ascii()
returns the ascii file
Definition: StarZone.hxx:254
Definition: StarAttribute.hxx:76
bool send(STOFFListenerPtr &listener, StarState &state, std::set< StarAttribute const * > &done) const final
add to send the zone data
Definition: StarCharAttribute.cxx:1371
bool getPoolName(int poolId, librevenge::RVNGString &res) const
try to return a pool name
Definition: StarZone.hxx:235
Definition: StarAttribute.hxx:103
a field attribute
Definition: StarCharAttribute.cxx:667
#define STOFF_DEBUG_MSG(M)
Definition: libstaroffice_internal.hxx:129
bool read(StarZone &zone, int vers, long endPos, StarObject &object) final
read a zone
Definition: StarCharAttribute.cxx:1053
Definition: StarAttribute.hxx:75
STOFFColor m_value
the color value
Definition: StarAttribute.hxx:871
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarCharAttribute.cxx:786
Definition: StarAttribute.hxx:73
Type m_type
the type
Definition: StarAttribute.hxx:805
SubDocument & operator=(SubDocument const &)
static STOFFColor black()
return the back color
Definition: libstaroffice_internal.hxx:233
Definition: StarAttribute.hxx:118
bool m_headerFooter
flag to know if this is a header/footer
Definition: StarState.hxx:190
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarCharAttribute.cxx:477
Definition: StarAttribute.hxx:90
void addTo(StarState &state, std::set< StarAttribute const * > &) const final
add to a font
Definition: StarCharAttribute.cxx:372
abstract class used to store a subdocument (with a comparison function)
Definition: STOFFSubDocument.hxx:41
librevenge::RVNGString m_url
the url
Definition: StarCharAttribute.cxx:853
std::vector< librevenge::RVNGString > m_libNames
the lib names
Definition: StarCharAttribute.cxx:861
Definition: StarAttribute.hxx:79
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
Definition: StarAttribute.hxx:114
void addTo(StarState &state, std::set< StarAttribute const * > &) const final
add to a font
Definition: StarCharAttribute.cxx:183
Definition: StarAttribute.hxx:95
bool read(StarZone &zone, int vers, long endPos, StarObject &object) final
read a zone
Definition: StarCharAttribute.cxx:1116
~SubDocument() final
destructor
Definition: StarCharAttribute.cxx:396
bool m_content
flag to know if this is a content zone
Definition: StarState.hxx:184
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarCharAttribute.cxx:703
void parse(STOFFListenerPtr &listener, libstoff::SubDocumentType type) final
the parser function
Definition: StarCharAttribute.cxx:421
bool operator!=(STOFFSubDocument const &doc) const final
operator!=
Definition: StarCharAttribute.cxx:399
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarCharAttribute.cxx:107
a escapement attribute
Definition: StarCharAttribute.cxx:434
std::shared_ptr< SWFieldManagerInternal::Field > m_field
the field
Definition: StarState.hxx:196
StarCAttributeColor(Type type, std::string const &debugName, STOFFColor const &value)
constructor
Definition: StarCharAttribute.cxx:80
int m_size
the font size
Definition: StarCharAttribute.cxx:592
Definition: StarAttribute.hxx:77
int m_encoding
the font encoding
Definition: StarCharAttribute.cxx:543
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
bool readString(std::vector< uint32_t > &string, int encoding=-1) const
try to read an unicode string
Definition: StarZone.hxx:220
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
int m_scale
the scaling
Definition: StarCharAttribute.cxx:464
StarCAttributeContent(Type type, std::string const &debugName)
constructor
Definition: StarCharAttribute.cxx:636
librevenge::RVNGPropertyList m_propertyList
the property list
Definition: STOFFFont.hxx:84
Definition: StarAttribute.hxx:81
std::string str() const
print the color in the form #rrggbb
Definition: libstaroffice_internal.cxx:226
bool read(StarZone &zone, int vers, long endPos, StarObject &object) final
read a zone
Definition: StarCharAttribute.cxx:1270
the class to store a color
Definition: libstaroffice_internal.hxx:189
Definition: StarAttribute.hxx:72
a character bool attribute
Definition: StarCharAttribute.cxx:54
a note
Definition: libstaroffice_internal.hxx:389
class to store an state: ie.
Definition: StarState.hxx:67
the main class to read a StarOffice sdw file
Definition: StarObjectText.hxx:100
Definition: StarAttribute.hxx:97
bool read(StarZone &zone, int vers, long endPos, StarObject &object) final
read a zone
Definition: StarCharAttribute.cxx:1349
Definition: StarAttribute.hxx:117
static std::string str()
Definition: STOFFDebug.hxx:203
bool read(StarZone &zone, int vers, long endPos, StarObject &object) final
read a zone
Definition: StarCharAttribute.cxx:1151
bool m_hyphen
hyphen
Definition: STOFFFont.hxx:88
bool send(STOFFListenerPtr &listener, StarState &state, std::set< StarAttribute const * > &done) const final
add to send the zone data
Definition: StarCharAttribute.cxx:1387
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarCharAttribute.cxx:148
namespace used to contain character attributes
Definition: StarCharAttribute.cxx:51
Definition: StarAttribute.hxx:122
StarCAttributeRefMark(Type type, std::string const &debugName)
constructor
Definition: StarCharAttribute.cxx:870
void addTo(StarState &state, std::set< StarAttribute const * > &) const final
add to a font
Definition: StarCharAttribute.cxx:999
librevenge::RVNGString m_name
the font name
Definition: StarCharAttribute.cxx:539
Definition: StarAttribute.hxx:272
void addTo(StarState &state, std::set< StarAttribute const * > &) const final
add to a font
Definition: StarCharAttribute.cxx:217
int m_indices[2]
two indices
Definition: StarCharAttribute.cxx:859
librevenge::RVNGString m_target
the target
Definition: StarCharAttribute.cxx:855
Definition: StarAttribute.hxx:110
librevenge::RVNGString m_style
the style
Definition: StarCharAttribute.cxx:541
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarCharAttribute.cxx:561
Definition: StarAttribute.hxx:271
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
bool m_lineBreak
line break
Definition: STOFFFont.hxx:96
void printData(libstoff::DebugStream &o) const final
debug function to print the data
Definition: StarCharAttribute.cxx:486
a unsigned integer attribute
Definition: StarAttribute.hxx:946
a txtFlyCnt attribute
Definition: StarCharAttribute.cxx:693
std::shared_ptr< STOFFSubDocument > STOFFSubDocumentPtr
a smart pointer of STOFFSubDocument
Definition: libstaroffice_internal.hxx:495
std::shared_ptr< SWFieldManagerInternal::Field > readPersistField(StarZone &zone, long lastPos)
try to read a persist field type
Definition: SWFieldManager.cxx:1901
std::shared_ptr< StarObjectTextInternal::Content > m_content
the content
Definition: StarCharAttribute.cxx:413
librevenge::RVNGString m_name
the name
Definition: StarCharAttribute.cxx:895
Definition: StarAttribute.hxx:91
bool read(StarZone &zone, int vers, long endPos, StarObject &object) final
read a zone
Definition: StarCharAttribute.cxx:1198
int m_value
Definition: StarAttribute.hxx:940
bool m_footnote
flag to know if this is a footnote
Definition: StarState.hxx:188
std::shared_ptr< STOFFInputStream > STOFFInputStreamPtr
a smart pointer of STOFFInputStream
Definition: libstaroffice_internal.hxx:485
Definition: StarAttribute.hxx:68
Definition: StarAttribute.hxx:89
SubDocumentType
Definition: libstaroffice_internal.hxx:185
the main class to read/.
Definition: SWFieldManager.hxx:109
int m_pitch
the font pitch
Definition: StarCharAttribute.cxx:547
a zone in a StarOffice file
Definition: StarZone.hxx:56
int getRecordLevel() const
returns the record level
Definition: StarZone.hxx:195
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarCharAttribute.cxx:84
Definition: StarAttribute.hxx:85
an object corresponding to an OLE directory
Definition: StarObject.hxx:64
Definition: StarAttribute.hxx:120
void printData(libstoff::DebugStream &o) const final
debug function to print the data
Definition: StarCharAttribute.cxx:651
STOFFFont m_font
the font
Definition: StarState.hxx:182
StarCAttributeVoid(Type type, std::string const &debugName)
constructor
Definition: StarCharAttribute.cxx:142
unsigned int m_value
Definition: StarAttribute.hxx:978
Definition: STOFFDebug.hxx:194
a font attribute
Definition: StarCharAttribute.cxx:468
a content attribute
Definition: StarCharAttribute.cxx:632
virtual void printData(libstoff::DebugStream &o) const
debug function to print the data
Definition: StarAttribute.hxx:782
bool m_value
Definition: StarAttribute.hxx:841
Definition: StarAttribute.hxx:108
a color attribute
Definition: StarAttribute.hxx:845
void printData(libstoff::DebugStream &o) const final
debug function to print the data
Definition: StarCharAttribute.cxx:451
Definition: StarAttribute.hxx:82
Definition: StarAttribute.hxx:78
int m_proportion
the font proportion
Definition: StarCharAttribute.cxx:594
Definition: StarAttribute.hxx:80
Definition: StarAttribute.hxx:206
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarCharAttribute.cxx:442
Definition: StarAttribute.hxx:115
Class to store font.
Definition: STOFFFont.hxx:43
Definition: StarAttribute.hxx:71
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarCharAttribute.cxx:642
Internal: the subdocument of a StarObjectSpreadsheet.
Definition: StarCharAttribute.cxx:389
bool m_flyCnt
flag to know if this is a flyCnt
Definition: StarState.hxx:186
a refMark attribute
Definition: StarCharAttribute.cxx:866
void addTo(StarState &state, std::set< StarAttribute const * > &) const final
add to a font
Definition: StarCharAttribute.cxx:905
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarCharAttribute.cxx:126
StarCAttributeUInt(Type type, std::string const &debugName, int intSize, unsigned int value)
constructor
Definition: StarCharAttribute.cxx:121
Definition: StarAttribute.hxx:87
void addTo(StarState &state, std::set< StarAttribute const * > &) const final
add to a font
Definition: StarCharAttribute.cxx:1033
a character integer attribute
Definition: StarCharAttribute.cxx:96
Definition: StarAttribute.hxx:106
a character unsigned integer attribute
Definition: StarCharAttribute.cxx:117
librevenge::RVNGString m_label
the note label
Definition: libstaroffice_internal.hxx:399
void addTo(StarState &state, std::set< StarAttribute const * > &) const final
add to the state
Definition: StarCharAttribute.cxx:1009
Definition: StarAttribute.hxx:70
std::shared_ptr< StarState::GlobalState > m_state
the global state
Definition: StarCharAttribute.cxx:415
bool m_hardBlank
hard blank
Definition: STOFFFont.hxx:92
Definition: StarAttribute.hxx:100
Definition: libstaroffice_internal.hxx:391
librevenge::RVNGString m_name
the name
Definition: StarCharAttribute.cxx:857
static void addPos(long)
Definition: STOFFDebug.hxx:223
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarCharAttribute.cxx:876
Definition: StarAttribute.hxx:119
Definition: StarAttribute.hxx:111
void printData(libstoff::DebugStream &o) const final
debug function to print the data
Definition: StarCharAttribute.cxx:712
Definition: StarAttribute.hxx:273
Definition: StarAttribute.hxx:113
void addTo(StarState &state, std::set< StarAttribute const * > &) const final
add to a font
Definition: StarCharAttribute.cxx:1019
StarCAttributeFont(Type type, std::string const &debugName)
constructor
Definition: StarCharAttribute.cxx:472
int m_family
the font family
Definition: StarCharAttribute.cxx:545
Definition: StarAttribute.hxx:84
bool read(StarZone &zone, int vers, long endPos, StarObject &object) final
read a zone
Definition: StarCharAttribute.cxx:1038
Definition: StarAttribute.hxx:104
void addTo(StarState &state, std::set< StarAttribute const * > &) const final
add to a font
Definition: StarCharAttribute.cxx:205
a font size attribute
Definition: StarCharAttribute.cxx:552
std::shared_ptr< GlobalState > m_global
global state
Definition: StarState.hxx:165
void attribute of StarAttribute
Definition: StarAttribute.hxx:1058
Definition: STOFFDebug.hxx:210
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarCharAttribute.cxx:823
std::string m_debugName
the debug name
Definition: StarAttribute.hxx:807
StarCAttributeInt(Type type, std::string const &debugName, int intSize, int value)
constructor
Definition: StarCharAttribute.cxx:100
int m_number
the note number if defined
Definition: libstaroffice_internal.hxx:401
bool read(StarZone &zone, int vers, long endPos, StarObject &object) final
read a zone
Definition: StarCharAttribute.cxx:1255
int m_unit
the font unit
Definition: StarCharAttribute.cxx:596
a hardBlank attribute
Definition: StarCharAttribute.cxx:778
std::map< int, std::shared_ptr< StarItem > > m_whichToItemMap
the list of item
Definition: StarItem.hxx:111
Definition: StarAttribute.hxx:220
uint8_t m_char
the character
Definition: StarCharAttribute.cxx:805
class to store a list of item
Definition: StarItem.hxx:87
void addTo(StarState &state, std::set< StarAttribute const * > &) const final
add to a font
Definition: StarCharAttribute.cxx:926
Definition: StarAttribute.hxx:96
static void addNote(char const *)
Definition: STOFFDebug.hxx:224
void printData(libstoff::DebugStream &o) const final
debug function to print the data
Definition: StarCharAttribute.cxx:795
bool m_tab
tab
Definition: STOFFFont.hxx:94
void printData(libstoff::DebugStream &o) const final
debug function to print the data
Definition: StarCharAttribute.cxx:570
librevenge::RVNGString m_refMark
the ref mark
Definition: StarState.hxx:194
STOFFInputStreamPtr input()
return the zone input
Definition: StarZone.hxx:247
Definition: StarAttribute.hxx:74
StarCAttributeBool(Type type, std::string const &debugName, bool value)
constructor
Definition: StarCharAttribute.cxx:58
void printData(libstoff::DebugStream &o) const final
debug function to print the data
Definition: StarCharAttribute.cxx:885
void addTo(StarState &state, std::set< StarAttribute const * > &) const final
add to a font
Definition: StarCharAttribute.cxx:898
Definition: StarAttribute.hxx:92
StarCAttributeINetFmt(Type type, std::string const &debugName)
constructor
Definition: StarCharAttribute.cxx:813
void addTo(StarState &state, std::set< StarAttribute const * > &) const final
add to a font
Definition: StarCharAttribute.cxx:1004
librevenge::RVNGString m_link
the link url
Definition: StarState.hxx:192
a INetFmt attribute: ie. a link, ...
Definition: StarCharAttribute.cxx:809
std::shared_ptr< SWFieldManagerInternal::Field > m_field
the field
Definition: StarCharAttribute.cxx:689
SubDocument(std::shared_ptr< StarObjectTextInternal::Content > const &content, std::shared_ptr< StarState::GlobalState > const &state)
Definition: StarCharAttribute.cxx:392
bool readSWContent(StarZone &zone, std::shared_ptr< StarObjectTextInternal::Content > &content)
try to read some content : 'N'
Definition: StarObjectText.cxx:958
Definition: StarAttribute.hxx:98
an integer attribute
Definition: StarAttribute.hxx:907
void printData(libstoff::DebugStream &o) const final
debug function to print the data
Definition: StarCharAttribute.cxx:832
Definition: StarItem.hxx:120
a boolean attribute
Definition: StarAttribute.hxx:814
Generated on Mon Jan 20 2020 23:02:16 for libstaroffice by
doxygen 1.8.16