Go to the documentation of this file.
38 #ifndef STAR_PARAGRAPH_ATTRIBUTE
39 # define STAR_PARAGRAPH_ATTRIBUTE
51 void addInitTo(std::map<
int, std::shared_ptr<StarAttribute> > &whichToAttributeMap);
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarParagraphAttribute.cxx:401
@ ATTR_PARA_HYPHENZONE
Definition: StarAttribute.hxx:131
void addTo(StarState &state, std::set< StarAttribute const * > &) const final
add to a para
Definition: StarParagraphAttribute.cxx:672
virtual class used to store the different attribute
Definition: StarAttribute.hxx:63
TabStop()
constructor
Definition: StarParagraphAttribute.cxx:583
void printData(libstoff::DebugStream &o) const final
debug function to print the data
Definition: StarParagraphAttribute.cxx:465
@ ATTR_PARA_WIDOWS
Definition: StarAttribute.hxx:129
int m_intSize
Definition: StarAttribute.hxx:980
librevenge::RVNGString getString(std::vector< uint32_t > const &unicode)
transform a unicode string in a RNVGString
Definition: libstaroffice_internal.cxx:63
int m_numY
the number of y
Definition: StarParagraphAttribute.cxx:438
void printData(libstoff::DebugStream &o) const override
debug function to print the data
Definition: StarParagraphAttribute.cxx:629
librevenge::RVNGPropertyList m_propertyList
the propertyList
Definition: STOFFList.hxx:101
bool m_pageEnd
the page end flag
Definition: StarParagraphAttribute.cxx:481
Type
the attribute list
Definition: StarAttribute.hxx:66
int m_numFormats
the number of format
Definition: StarParagraphAttribute.cxx:426
StarPAttributeVoid(Type type, std::string const &debugName)
constructor
Definition: StarParagraphAttribute.cxx:181
libstoff::DebugFile & ascii()
returns the ascii file
Definition: StarZone.hxx:254
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarParagraphAttribute.cxx:551
void addTo(StarState &state, std::set< StarAttribute const * > &) const final
add to a para
Definition: StarParagraphAttribute.cxx:756
int m_adjust
the adjust value
Definition: StarParagraphAttribute.cxx:301
a character integer attribute
Definition: StarParagraphAttribute.cxx:106
#define STOFF_DEBUG_MSG(M)
Definition: libstaroffice_internal.hxx:129
STOFFListLevel m_listLevel
the actual level
Definition: STOFFParagraph.hxx:85
StarPAttributeBool(Type type, std::string const &debugName, bool value)
constructor
Definition: StarParagraphAttribute.cxx:55
int m_numType
the type
Definition: StarParagraphAttribute.cxx:343
int m_numDistances
the number of distances
Definition: StarParagraphAttribute.cxx:432
std::shared_ptr< StarAttribute > create() const final
add to a para
Definition: StarParagraphAttribute.cxx:190
Type m_type
the type
Definition: StarAttribute.hxx:805
a character color attribute
Definition: StarParagraphAttribute.cxx:80
int m_interLineSpace
the line spacing
Definition: StarParagraphAttribute.cxx:530
@ ATTR_PARA_NUMRULE
Definition: StarAttribute.hxx:134
std::vector< TabStop > m_tabList
the tabStop list
Definition: StarParagraphAttribute.cxx:640
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarParagraphAttribute.cxx:90
@ ATTR_PARA_DUMMY8
Definition: StarAttribute.hxx:144
StarPAttributeBool(StarPAttributeBool const &)=default
copy constructor
@ ATTR_PARA_FORBIDDEN_RULES
Definition: StarAttribute.hxx:137
a character unsigned integer attribute
Definition: StarParagraphAttribute.cxx:133
@ ATTR_PARA_SPLIT
Definition: StarAttribute.hxx:127
@ ATTR_PARA_REGISTER
Definition: StarAttribute.hxx:133
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarParagraphAttribute.cxx:364
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarParagraphAttribute.cxx:281
bool read(StarZone &zone, int vers, long endPos, StarObject &object) final
read a zone
Definition: StarParagraphAttribute.cxx:914
bool readString(std::vector< uint32_t > &string, int encoding=-1) const
try to read an unicode string
Definition: StarZone.hxx:220
@ ATTR_PARA_ADJUST
Definition: StarAttribute.hxx:126
a character bool attribute
Definition: StarParagraphAttribute.cxx:52
bool read(StarZone &zone, int vers, long endPos, StarObject &object) final
read a zone
Definition: StarParagraphAttribute.cxx:877
void printData(libstoff::DebugStream &o) const final
debug function to print the data
Definition: StarParagraphAttribute.cxx:290
int m_listLevelIndex
the actual level index
Definition: STOFFParagraph.hxx:79
bool m_bulletVisible
flag to know if the bullet is visible
Definition: STOFFParagraph.hxx:77
int m_minTail
the min tail
Definition: StarParagraphAttribute.cxx:485
~StarPAttributeInt() final
destructor
Definition: StarParagraphAttribute.cxx:127
StarPAttributeAdjust(Type type, std::string const &debugName)
constructor
Definition: StarParagraphAttribute.cxx:274
StarPAttributeHyphen(Type type, std::string const &debugName)
constructor
Definition: StarParagraphAttribute.cxx:446
bool m_whole
flag to know if whole
Definition: StarParagraphAttribute.cxx:434
int m_hyphenZone
the hyphen value
Definition: StarParagraphAttribute.cxx:479
the class to store a color
Definition: libstaroffice_internal.hxx:189
@ ATTR_EE_PARA_XMLATTRIBS
Definition: StarAttribute.hxx:261
@ ATTR_EE_PARA_BULLET
Definition: StarAttribute.hxx:267
void appendUnicode(uint32_t val, librevenge::RVNGString &buffer)
adds an unicode character to a string
Definition: libstaroffice_internal.cxx:81
bool read(StarZone &zone, int vers, long endPos, StarObject &object) final
read a zone
Definition: StarParagraphAttribute.cxx:811
bool read(StarZone &zone, int vers, long endPos, StarObject &object) final
read a zone
Definition: StarParagraphAttribute.cxx:940
void printData(libstoff::DebugStream &o) const
debug function to print the data
Definition: StarParagraphAttribute.cxx:591
int m_flags
the flags
Definition: StarParagraphAttribute.cxx:347
void addTo(StarState &state, std::set< StarAttribute const * > &) const final
add to a para
Definition: StarParagraphAttribute.cxx:217
bool read(StarZone &zone, int vers, long endPos, StarObject &object) override
read a zone
Definition: StarAttribute.cxx:515
StarPAttributeInt(Type type, std::string const &debugName, int intSize, int value)
constructor
Definition: StarParagraphAttribute.cxx:109
class to store an state: ie.
Definition: StarState.hxx:68
@ ATTR_PARA_VERTALIGN
Definition: StarAttribute.hxx:138
a numeric bullet attribute
Definition: StarParagraphAttribute.cxx:309
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: StarParagraphAttribute.cxx:244
small structure to keep information about a list level
Definition: STOFFList.hxx:48
void addAttributeBool(std::map< int, std::shared_ptr< StarAttribute > > &map, StarAttribute::Type type, std::string const &debugName, bool defValue)
add a bool attribute
Definition: StarParagraphAttribute.cxx:239
bool m_continuous
a continuous flag
Definition: StarParagraphAttribute.cxx:349
a drop attribute
Definition: StarParagraphAttribute.cxx:386
int m_lineHeight
the height
Definition: StarParagraphAttribute.cxx:532
int m_propLineSpace
the prop lineSpacing
Definition: StarParagraphAttribute.cxx:528
static std::string str()
Definition: STOFFDebug.hxx:203
bool read(StarZone &zone, int vers, long endPos, StarObject &object) final
read a zone
Definition: StarParagraphAttribute.cxx:796
StarPAttributeNumericRuler(Type type, std::string const &debugName)
constructor
Definition: StarParagraphAttribute.cxx:544
void printData(libstoff::DebugStream &o) const final
debug function to print the data
Definition: StarParagraphAttribute.cxx:410
@ ATTR_PARA_DROP
Definition: StarAttribute.hxx:132
a tabs structure
Definition: StarParagraphAttribute.cxx:581
@ ATTR_EE_PARA_NUMBULLET
Definition: StarAttribute.hxx:263
int m_interLineSpaceRule
the inter line spacing rule: SvxInterLineSpace
Definition: StarParagraphAttribute.cxx:536
@ ATTR_EE_PARA_OUTLLEVEL
Definition: StarAttribute.hxx:266
a numRule attribute
Definition: StarParagraphAttribute.cxx:541
int m_numChars
the number of chars
Definition: StarParagraphAttribute.cxx:430
StarPAttributeLineSpacing(StarPAttributeLineSpacing const &)=default
copy constructor
void printData(libstoff::DebugStream &o) const final
debug function to print the data
Definition: StarParagraphAttribute.cxx:560
@ NUMBER
Definition: STOFFList.hxx:50
~StarPAttributeVoid() final
destructor
Definition: StarParagraphAttribute.cxx:199
a unsigned integer attribute
Definition: StarAttribute.hxx:947
Type m_type
the type of the level
Definition: STOFFList.hxx:99
std::shared_ptr< StarAttribute > create() const final
add to a para
Definition: StarParagraphAttribute.cxx:118
int m_numLevels
the numLevels
Definition: StarParagraphAttribute.cxx:345
std::shared_ptr< STOFFInputStream > STOFFInputStreamPtr
a smart pointer of STOFFInputStream
Definition: libstaroffice_internal.hxx:489
a zone in a StarOffice file
Definition: StarZone.hxx:57
int getRecordLevel() const
returns the record level
Definition: StarZone.hxx:195
an object corresponding to an OLE directory
Definition: StarObject.hxx:65
void addTo(StarState &state, std::set< StarAttribute const * > &) const final
add to a para
Definition: StarParagraphAttribute.cxx:749
void addTo(StarState &state, std::set< StarAttribute const * > &) const final
add to a para
Definition: StarParagraphAttribute.cxx:643
void addTo(StarState &state, std::set< StarAttribute const * > &) const final
add to a para
Definition: StarParagraphAttribute.cxx:711
bool read(StarZone &zone, int vers, long endPos, StarObject &object) final
read a zone
Definition: StarParagraphAttribute.cxx:895
void addTo(StarState &state, std::set< StarAttribute const * > &) const final
add to a para
Definition: StarParagraphAttribute.cxx:203
@ ATTR_PARA_LINESPACING
Definition: StarAttribute.hxx:125
int m_maxHyphen
the max hyphen
Definition: StarParagraphAttribute.cxx:487
~StarPAttributeUInt() final
destructor
Definition: StarParagraphAttribute.cxx:173
StarPAttributeDrop(Type type, std::string const &debugName)
constructor
Definition: StarParagraphAttribute.cxx:389
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarParagraphAttribute.cxx:505
unsigned int m_value
Definition: StarAttribute.hxx:978
StarPAttributeNumericRuler(StarPAttributeNumericRuler const &)=default
copy constructor
Definition: STOFFDebug.hxx:195
STOFFListLevel m_level
the level
Definition: StarParagraphAttribute.cxx:381
@ BULLET
Definition: STOFFList.hxx:50
int m_numX
the number of x
Definition: StarParagraphAttribute.cxx:436
bool read(StarZone &zone, int vers, long endPos, StarObject &object) final
read a zone
Definition: StarParagraphAttribute.cxx:848
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarParagraphAttribute.cxx:456
int m_flags
the flags
Definition: StarParagraphAttribute.cxx:303
bool m_value
Definition: StarAttribute.hxx:841
@ ATTR_PARA_TABSTOP
Definition: StarAttribute.hxx:130
void addAttributeVoid(std::map< int, std::shared_ptr< StarAttribute > > &map, StarAttribute::Type type, std::string const &debugName)
add a void attribute
Definition: StarParagraphAttribute.cxx:259
a color attribute
Definition: StarAttribute.hxx:846
void printData(libstoff::DebugStream &o) const final
debug function to print the data
Definition: StarParagraphAttribute.cxx:330
a void attribute
Definition: StarParagraphAttribute.cxx:178
StarPAttributeVoid(StarPAttributeVoid const &)=default
copy constructor
int m_type
the type: SvxTabAdjust: left, right, decimal, center, default
Definition: StarParagraphAttribute.cxx:607
~StarPAttributeBool() final
destructor
Definition: StarParagraphAttribute.cxx:74
~StarPAttributeColor() final
destructor
Definition: StarParagraphAttribute.cxx:101
StarPAttributeInt(StarPAttributeInt const &)=default
copy constructor
StarPAttributeHyphen(StarPAttributeHyphen const &)=default
copy constructor
StarPAttributeBulletNumeric(Type type, std::string const &debugName)
constructor
Definition: StarParagraphAttribute.cxx:312
void addTo(StarState &state, std::set< StarAttribute const * > &) const final
add to a para
Definition: StarParagraphAttribute.cxx:698
void printData(libstoff::DebugStream &o) const final
debug function to print the data
Definition: StarParagraphAttribute.cxx:373
int m_poolId
the poolId
Definition: StarParagraphAttribute.cxx:573
a line spacing attribute
Definition: StarParagraphAttribute.cxx:492
StarPAttributeDrop(StarPAttributeDrop const &)=default
copy constructor
int m_numLines
the number of lines
Definition: StarParagraphAttribute.cxx:428
@ ATTR_PARA_ORPHANS
Definition: StarAttribute.hxx:128
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarParagraphAttribute.cxx:143
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarParagraphAttribute.cxx:620
static void addPos(long)
Definition: STOFFDebug.hxx:223
int m_pos
the position
Definition: StarParagraphAttribute.cxx:605
static bool readAttributeLevel(StarZone &zone, int vers, long lastPos, STOFFListLevel &level)
try to read a attribute format : ATTR_EE_PARA_BULLET
Definition: StarObjectNumericRuler.cxx:445
StarPAttributeBulletSimple(StarPAttributeBulletSimple const &)=default
copy constructor
StarPAttributeUInt(StarPAttributeUInt const &)=default
copy constructor
a hyphen attribute
Definition: StarParagraphAttribute.cxx:443
StarPAttributeLineSpacing(Type type, std::string const &debugName)
constructor
Definition: StarParagraphAttribute.cxx:495
STOFFParagraph m_paragraph
the paragraph style
Definition: StarState.hxx:180
std::shared_ptr< GlobalState > m_global
global state
Definition: StarState.hxx:165
void attribute of StarAttribute
Definition: StarAttribute.hxx:1059
Definition: STOFFDebug.hxx:211
std::string m_debugName
the debug name
Definition: StarAttribute.hxx:807
StarPAttributeBulletNumeric(StarPAttributeBulletNumeric const &)=default
copy constructor
StarPAttributeColor(StarPAttributeColor const &)=default
add to a para
@ ATTR_EE_PARA_BULLETSTATE
Definition: StarAttribute.hxx:264
bool read(StarZone &zone, int vers, long endPos, StarObject &object) final
read a zone
Definition: StarParagraphAttribute.cxx:854
int m_fill
the fill char
Definition: StarParagraphAttribute.cxx:611
void addTo(StarState &state, std::set< StarAttribute const * > &) const final
add to a para
Definition: StarParagraphAttribute.cxx:692
@ ATTR_PARA_SNAPTOGRID
Definition: StarAttribute.hxx:139
static void addNote(char const *)
Definition: STOFFDebug.hxx:224
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: StarParagraphAttribute.cxx:254
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarParagraphAttribute.cxx:321
int m_lineSpaceRule
the line spacing rule: SvxLineSpace
Definition: StarParagraphAttribute.cxx:534
a adjust attribute
Definition: StarParagraphAttribute.cxx:271
librevenge::RVNGPropertyList m_propertyList
the properties
Definition: STOFFParagraph.hxx:73
librevenge::RVNGString m_name
the name value
Definition: StarParagraphAttribute.cxx:571
STOFFInputStreamPtr input()
return the zone input
Definition: StarZone.hxx:247
int m_minLead
the min lead
Definition: StarParagraphAttribute.cxx:483
@ ATTR_PARA_CONNECT_BORDER
Definition: StarAttribute.hxx:140
StarPAttributeTabStop(StarPAttributeTabStop const &)=default
copy constructor
StarPAttributeColor(Type type, std::string const &debugName, STOFFColor const &value)
constructor
Definition: StarParagraphAttribute.cxx:83
StarPAttributeTabStop(Type type, std::string const &debugName)
constructor
Definition: StarParagraphAttribute.cxx:614
@ ATTR_PARA_SCRIPTSPACE
Definition: StarAttribute.hxx:135
@ ATTR_EE_PARA_ASIANCJKSPACING
Definition: StarAttribute.hxx:262
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: StarParagraphAttribute.cxx:249
StarPAttributeAdjust(StarPAttributeAdjust const &)=default
copy constructor
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarParagraphAttribute.cxx:62
StarPAttributeBulletSimple(Type type, std::string const &debugName)
constructor
Definition: StarParagraphAttribute.cxx:358
@ ATTR_PARA_DUMMY5
Definition: StarAttribute.hxx:141
namespace used to contain paragraph attributes
Definition: StarParagraphAttribute.cxx:49
void addTo(StarState &state, std::set< StarAttribute const * > &) const final
add to a para
Definition: StarParagraphAttribute.cxx:715
a simple bullet attribute
Definition: StarParagraphAttribute.cxx:355
@ ATTR_PARA_HANGINGPUNCTUATION
Definition: StarAttribute.hxx:136
int m_decimal
the decimal char
Definition: StarParagraphAttribute.cxx:609
an integer attribute
Definition: StarAttribute.hxx:908
a tabStop attribute
Definition: StarParagraphAttribute.cxx:578
void addInitTo(std::map< int, std::shared_ptr< StarAttribute > > &map)
adds character attribute to the general it to attribute map
Definition: StarParagraphAttribute.cxx:974
StarPAttributeUInt(Type type, std::string const &debugName, int intSize, unsigned int value)
constructor
Definition: StarParagraphAttribute.cxx:136
void printData(libstoff::DebugStream &o) const final
debug function to print the data
Definition: StarParagraphAttribute.cxx:514
bool read(StarZone &zone, int vers, long endPos, StarObject &object) final
read a zone
Definition: StarParagraphAttribute.cxx:148
a boolean attribute
Definition: StarAttribute.hxx:815
Generated on Sun Dec 8 2024 05:38:41 for libstaroffice by
doxygen 1.8.20