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
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:62
TabStop()
constructor
Definition: StarParagraphAttribute.cxx:583
void printData(libstoff::DebugStream &o) const final
debug function to print the data
Definition: StarParagraphAttribute.cxx:465
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:97
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:105
#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:79
int m_interLineSpace
the line spacing
Definition: StarParagraphAttribute.cxx:530
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
Definition: StarAttribute.hxx:144
Definition: StarAttribute.hxx:137
a character unsigned integer attribute
Definition: StarParagraphAttribute.cxx:132
Definition: StarAttribute.hxx:127
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
Definition: StarAttribute.hxx:126
a character bool attribute
Definition: StarParagraphAttribute.cxx:51
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
Definition: StarAttribute.hxx:261
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:67
Definition: StarAttribute.hxx:138
a numeric bullet attribute
Definition: StarParagraphAttribute.cxx:308
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:385
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
Definition: StarAttribute.hxx:132
a tabs structure
Definition: StarParagraphAttribute.cxx:581
Definition: StarAttribute.hxx:263
int m_interLineSpaceRule
the inter line spacing rule: SvxInterLineSpace
Definition: StarParagraphAttribute.cxx:536
Definition: StarAttribute.hxx:266
a numRule attribute
Definition: StarParagraphAttribute.cxx:540
int m_numChars
the number of chars
Definition: StarParagraphAttribute.cxx:430
void printData(libstoff::DebugStream &o) const final
debug function to print the data
Definition: StarParagraphAttribute.cxx:560
Definition: STOFFList.hxx:50
~StarPAttributeVoid() final
destructor
Definition: StarParagraphAttribute.cxx:199
a unsigned integer attribute
Definition: StarAttribute.hxx:946
Type m_type
the type of the level
Definition: STOFFList.hxx:95
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:485
a zone in a StarOffice file
Definition: StarZone.hxx:56
int getRecordLevel() const
returns the record level
Definition: StarZone.hxx:195
an object corresponding to an OLE directory
Definition: StarObject.hxx:64
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
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
Definition: STOFFDebug.hxx:194
STOFFListLevel m_level
the level
Definition: StarParagraphAttribute.cxx:381
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
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:845
void printData(libstoff::DebugStream &o) const final
debug function to print the data
Definition: StarParagraphAttribute.cxx:330
a void attribute
Definition: StarParagraphAttribute.cxx:177
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
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:491
int m_numLines
the number of lines
Definition: StarParagraphAttribute.cxx:428
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
a hyphen attribute
Definition: StarParagraphAttribute.cxx:442
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:1058
Definition: STOFFDebug.hxx:210
std::string m_debugName
the debug name
Definition: StarAttribute.hxx:807
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
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:270
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
Definition: StarAttribute.hxx:140
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
Definition: StarAttribute.hxx:135
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
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
Definition: StarAttribute.hxx:141
namespace used to contain paragraph attributes
Definition: StarParagraphAttribute.cxx:48
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:354
Definition: StarAttribute.hxx:136
int m_decimal
the decimal char
Definition: StarParagraphAttribute.cxx:609
an integer attribute
Definition: StarAttribute.hxx:907
a tabStop attribute
Definition: StarParagraphAttribute.cxx:577
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:814
Generated on Mon Jan 20 2020 23:02:18 for libstaroffice by
doxygen 1.8.16