Go to the documentation of this file.
38 #ifndef STAR_CELL_ATTRIBUTE
39 # define STAR_CELL_ATTRIBUTE
51 void addInitTo(std::map<
int, std::shared_ptr<StarAttribute> > &whichToAttributeMap);
@ ATTR_SC_VALUE_FORMAT
Definition: StarAttribute.hxx:219
bool m_hiddenCell
the cell is hidden and protected
Definition: StarCellAttribute.cxx:472
virtual class used to store the different attribute
Definition: StarAttribute.hxx:63
StarCAttributeVoid(Type type, std::string const &debugName)
constructor
Definition: StarCellAttribute.cxx:143
void printData(libstoff::DebugStream &o) const final
debug function to print the data
Definition: StarCellAttribute.cxx:349
@ ATTR_SC_ROTATE_VALUE
Definition: StarAttribute.hxx:211
Pattern attribute of StarAttributeInternal.
Definition: StarCellAttribute.cxx:365
a character bool attribute
Definition: StarCellAttribute.cxx:51
librevenge::RVNGString getString(std::vector< uint32_t > const &unicode)
transform a unicode string in a RNVGString
Definition: libstaroffice_internal.cxx:63
@ ATTR_SC_VERJUSTIFY
Definition: StarAttribute.hxx:209
void addTo(StarState &state, std::set< StarAttribute const * > &) const final
add to a cell style
Definition: StarCellAttribute.cxx:176
Type
the attribute list
Definition: StarAttribute.hxx:66
libstoff::DebugFile & ascii()
returns the ascii file
Definition: StarZone.hxx:254
~StarCAttributeVoid() final
destructor
Definition: StarCellAttribute.cxx:160
unsigned m_format
the cell format : 0 by default
Definition: STOFFCellStyle.hxx:67
@ ATTR_SC_PROTECTION
Definition: StarAttribute.hxx:222
#define STOFF_DEBUG_MSG(M)
Definition: libstaroffice_internal.hxx:129
void addAttributeBool(std::map< int, std::shared_ptr< StarAttribute > > &map, StarAttribute::Type type, std::string const &debugName, bool defValue)
add a bool attribute
Definition: StarCellAttribute.cxx:267
Type m_type
the type
Definition: StarAttribute.hxx:805
librevenge::RVNGString m_style
item set name
Definition: StarItem.hxx:107
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarCellAttribute.cxx:445
@ ATTR_SC_USERDEF
Definition: StarAttribute.hxx:205
StarCAttributeInt(StarCAttributeInt const &)=default
copy constructor
@ ATTR_SC_MARGIN
Definition: StarAttribute.hxx:216
~StarCAttributeColor() final
destructor
Definition: StarCellAttribute.cxx:93
@ ATTR_SC_HORJUSTIFY
Definition: StarAttribute.hxx:207
int m_margins[4]
the top, left, right, bottom margins
Definition: StarCellAttribute.cxx:328
StarCAttributeMerge(Type type, std::string const &debugName)
constructor
Definition: StarCellAttribute.cxx:336
the class to store a color
Definition: libstaroffice_internal.hxx:189
StarCAttributeMargins(Type type, std::string const &debugName)
constructor
Definition: StarCellAttribute.cxx:301
a margins attribute
Definition: StarCellAttribute.cxx:298
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarCellAttribute.cxx:108
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarCellAttribute.cxx:306
STOFFVec2i m_numberCellSpanned
the cell spanned : by default (1,1)
Definition: STOFFCellStyle.hxx:65
class to store an state: ie.
Definition: StarState.hxx:68
StarCAttributeUInt(Type type, std::string const &debugName, int intSize, unsigned int value)
constructor
Definition: StarCellAttribute.cxx:122
StarCAttributePattern(StarCAttributePattern const &)=default
copy constructor
librevenge::RVNGPropertyList m_propertyList
the property list
Definition: STOFFCellStyle.hxx:63
StarCAttributeInt(Type type, std::string const &debugName, int intSize, int value)
constructor
Definition: StarCellAttribute.cxx:101
static std::string str()
Definition: STOFFDebug.hxx:203
StarCAttributeUInt(StarCAttributeUInt const &)=default
copy constructor
int m_family
the family
Definition: StarItem.hxx:109
void addTo(StarState &state, std::set< StarAttribute const * > &) const final
add to a cell style
Definition: StarCellAttribute.cxx:170
StarCAttributeProtection(Type type, std::string const &debugName)
constructor
Definition: StarCellAttribute.cxx:440
@ ATTR_SC_VERTICAL_ASIAN
Definition: StarAttribute.hxx:213
bool m_doNotPrint
do not print the formula
Definition: StarCellAttribute.cxx:474
@ ATTR_SC_ORIENTATION
Definition: StarAttribute.hxx:210
@ ATTR_SC_ROTATE_MODE
Definition: StarAttribute.hxx:212
void addTo(StarState &state, std::set< StarAttribute const * > &) const final
add to a cell style
Definition: StarCellAttribute.cxx:477
a unsigned integer attribute
Definition: StarAttribute.hxx:947
StarCAttributePattern()
constructor
Definition: StarCellAttribute.cxx:368
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarCellAttribute.cxx:127
int m_value
Definition: StarAttribute.hxx:940
std::shared_ptr< STOFFInputStream > STOFFInputStreamPtr
a smart pointer of STOFFInputStream
Definition: libstaroffice_internal.hxx:489
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: StarCellAttribute.cxx:277
StarItemSet m_itemSet
the list of items
Definition: StarAttribute.hxx:1054
a zone in a StarOffice file
Definition: StarZone.hxx:57
int getRecordLevel() const
returns the record level
Definition: StarZone.hxx:195
void print(libstoff::DebugStream &o, std::set< StarAttribute const * > &done) const final
debug function to print the data
Definition: StarCellAttribute.cxx:417
@ ATTR_SC_WRITINGDIR
Definition: StarAttribute.hxx:214
an object corresponding to an OLE directory
Definition: StarObject.hxx:65
StarCAttributeColor(StarCAttributeColor const &)=default
add to a cell style
void addTo(StarState &state, std::set< StarAttribute const * > &) const final
add to a cell style
Definition: StarCellAttribute.cxx:164
void addAttributeVoid(std::map< int, std::shared_ptr< StarAttribute > > &map, StarAttribute::Type type, std::string const &debugName)
add a void attribute
Definition: StarCellAttribute.cxx:287
unsigned int m_value
Definition: StarAttribute.hxx:978
a character unsigned integer attribute
Definition: StarCellAttribute.cxx:119
~StarCAttributePattern() final
destructor
Definition: StarCellAttribute.cxx:431
Definition: STOFFDebug.hxx:195
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarCellAttribute.cxx:376
bool m_value
Definition: StarAttribute.hxx:841
StarCAttributeMerge(StarCAttributeMerge const &)=default
copy constructor
a color attribute
Definition: StarAttribute.hxx:846
librevenge::RVNGString m_style
the style
Definition: StarCellAttribute.cxx:428
StarCAttributeVoid(StarCAttributeVoid const &)=default
add to a cell style
void printData(libstoff::DebugStream &o) const final
debug function to print the data
Definition: StarCellAttribute.cxx:454
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarCellAttribute.cxx:59
bool m_protected
the cell is protected
Definition: StarCellAttribute.cxx:468
std::vector< STOFFVec2i > m_limits
the pool limits id
Definition: StarAttribute.hxx:1052
a protection attribute
Definition: StarCellAttribute.cxx:437
@ ATTR_SC_PATTERN
Definition: StarAttribute.hxx:228
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarCellAttribute.cxx:340
StarCAttributeColor(Type type, std::string const &debugName, STOFFColor const &value)
constructor
Definition: StarCellAttribute.cxx:76
a list of item attribute of StarAttributeInternal
Definition: StarAttribute.hxx:1024
void addTo(StarState &state, std::set< StarAttribute const * > &) const final
add to a cell style
Definition: StarCellAttribute.cxx:501
@ ATTR_SC_INDENT
Definition: StarAttribute.hxx:208
void addInitTo(std::map< int, std::shared_ptr< StarAttribute > > &map)
adds cell attribute to the general it to attribute map
Definition: StarCellAttribute.cxx:571
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: StarCellAttribute.cxx:282
STOFFCellStyle m_cell
the cell style
Definition: StarState.hxx:173
static void addPos(long)
Definition: STOFFDebug.hxx:223
StarCAttributeBool(StarCAttributeBool const &)=default
copy constructor
StarCAttributeProtection(StarCAttributeProtection const &)=default
copy constructor
a character color attribute
Definition: StarCellAttribute.cxx:73
@ ATTR_SC_VALIDDATA
Definition: StarAttribute.hxx:226
bool read(StarZone &zone, int vers, long endPos, StarObject &object) final
read a zone
Definition: StarCellAttribute.cxx:516
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: StarCellAttribute.cxx:272
void attribute of StarAttribute
Definition: StarAttribute.hxx:1059
bool m_hiddenFormula
the formula is hidden
Definition: StarCellAttribute.cxx:470
Definition: STOFFDebug.hxx:211
std::string m_debugName
the debug name
Definition: StarAttribute.hxx:807
@ ATTR_SC_MERGE
Definition: StarAttribute.hxx:217
void printData(libstoff::DebugStream &o) const final
debug function to print the data
Definition: StarCellAttribute.cxx:315
@ ATTR_SC_LINEBREAK
Definition: StarAttribute.hxx:215
a merge attribute
Definition: StarCellAttribute.cxx:333
a void attribute
Definition: StarCellAttribute.cxx:140
static void addNote(char const *)
Definition: STOFFDebug.hxx:224
@ ATTR_SC_CONDITIONAL
Definition: StarAttribute.hxx:227
@ ATTR_SC_MERGE_FLAG
Definition: StarAttribute.hxx:218
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarCellAttribute.cxx:149
STOFFInputStreamPtr input()
return the zone input
Definition: StarZone.hxx:247
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarCellAttribute.cxx:82
STOFFVec2< int > STOFFVec2i
STOFFVec2 of int.
Definition: libstaroffice_internal.hxx:767
StarCAttributeBool(Type type, std::string const &debugName, bool value)
constructor
Definition: StarCellAttribute.cxx:54
void addTo(StarState &state, std::set< StarAttribute const * > &) const final
add to a cell style
Definition: StarCellAttribute.cxx:487
namespace used to contain cell attributes (and some cell attributes which are similar)
Definition: StarCellAttribute.cxx:48
bool read(StarZone &zone, int, long endPos, StarObject &object) final
read a zone
Definition: StarCellAttribute.cxx:381
bool read(StarZone &zone, int vers, long endPos, StarObject &object) final
read a zone
Definition: StarCellAttribute.cxx:532
an integer attribute
Definition: StarAttribute.hxx:908
a character integer attribute
Definition: StarCellAttribute.cxx:98
bool read(StarZone &zone, int vers, long endPos, StarObject &object) final
read a zone
Definition: StarCellAttribute.cxx:550
a boolean attribute
Definition: StarAttribute.hxx:815
void print(libstoff::DebugStream &o, std::set< StarAttribute const * > &done) const override
debug function to print the data
Definition: StarAttribute.cxx:397
STOFFVec2i m_span
the span
Definition: StarCellAttribute.cxx:360
Generated on Wed Dec 11 2024 08:16:49 for libstaroffice by
doxygen 1.8.20