Go to the documentation of this file.
38 #ifndef STAR_PAGE_ATTRIBUTE
39 # define STAR_PAGE_ATTRIBUTE
51 void addInitTo(std::map<
int, std::shared_ptr<StarAttribute> > &whichToAttributeMap);
Definition: StarAttribute.hxx:244
bool read(StarZone &zone, int vers, long endPos, StarObject &object) final
read a zone
Definition: StarPageAttribute.cxx:902
bool m_flags[2]
two flags
Definition: StarPageAttribute.cxx:764
std::shared_ptr< STOFFListener > STOFFListenerPtr
a smart pointer of STOFFListener
Definition: libstaroffice_internal.hxx:487
Definition: StarAttribute.hxx:237
Definition: StarAttribute.hxx:258
void addTo(StarState &state, std::set< StarAttribute const * > &) const final
add to a pageSpan
Definition: StarPageAttribute.cxx:288
void addTo(StarState &state, std::set< StarAttribute const * > &) const final
add to a page
Definition: StarPageAttribute.cxx:858
virtual class used to store the different attribute
Definition: StarAttribute.hxx:62
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarPageAttribute.cxx:578
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: StarPageAttribute.cxx:320
Definition: StarAttribute.hxx:235
a page header/footer attribute
Definition: StarPageAttribute.cxx:663
bool read(StarZone &zone, int vers, long endPos, StarObject &object) final
read a zone
Definition: StarPageAttribute.cxx:1024
StarPAttributePrint(Type type, std::string const &debugName)
constructor
Definition: StarPageAttribute.cxx:698
a list of item attribute of StarAttributeInternal
Definition: StarPageAttribute.cxx:173
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
a frame header/footer attribute (used to define header/footer in a sdw file)
Definition: StarPageAttribute.cxx:521
Definition: StarAttribute.hxx:249
Type
the attribute list
Definition: StarAttribute.hxx:66
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarPageAttribute.cxx:737
libstoff::DebugFile & ascii()
returns the ascii file
Definition: StarZone.hxx:254
bool getPoolName(int poolId, librevenge::RVNGString &res) const
try to return a pool name
Definition: StarZone.hxx:235
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarPageAttribute.cxx:182
int m_penWidth
the pen width
Definition: StarPageAttribute.cxx:513
void addTo(StarState &state, std::set< StarAttribute const * > &) const final
add to a page
Definition: StarPageAttribute.cxx:830
#define STOFF_DEBUG_MSG(M)
Definition: libstaroffice_internal.hxx:129
void printData(libstoff::DebugStream &o) const final
debug function to print the data
Definition: StarPageAttribute.cxx:744
a page attribute
Definition: StarPageAttribute.cxx:565
Definition: StarAttribute.hxx:250
Definition: StarAttribute.hxx:252
void printData(libstoff::DebugStream &o) const final
print data
Definition: StarPageAttribute.cxx:793
Definition: StarAttribute.hxx:241
Definition: StarAttribute.hxx:231
Type m_type
the type
Definition: StarAttribute.hxx:805
void printData(libstoff::DebugStream &o) const final
debug function to print the data
Definition: StarPageAttribute.cxx:681
bool m_headerFooter
flag to know if this is a header/footer
Definition: StarState.hxx:190
StarPAttributeColumns(Type type, std::string const &debugName)
constructor
Definition: StarPageAttribute.cxx:450
~StarPAttributeInt() override
destructor
Definition: StarPageAttribute.cxx:121
abstract class used to store a subdocument (with a comparison function)
Definition: STOFFSubDocument.hxx:41
~StarPAttributeColor() final
destructor
Definition: StarPageAttribute.cxx:95
Definition: StarAttribute.hxx:151
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarPageAttribute.cxx:135
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarPageAttribute.cxx:672
Definition: StarAttribute.hxx:259
Definition: StarAttribute.hxx:245
void addAttributeBool(std::map< int, std::shared_ptr< StarAttribute > > &map, StarAttribute::Type type, std::string const &debugName, bool defValue)
add a bool attribute
Definition: StarPageAttribute.cxx:315
STOFFBox2< int > STOFFBox2i
STOFFBox2 of int.
Definition: libstaroffice_internal.hxx:1129
void addTo(StarState &state, std::set< StarAttribute const * > &) const final
add to a page
Definition: StarPageAttribute.cxx:215
Definition: StarAttribute.hxx:255
bool read(StarZone &zone, int vers, long endPos, StarObject &object) final
try to read a field
Definition: StarPageAttribute.cxx:784
bool readString(std::vector< uint32_t > &string, int encoding=-1) const
try to read an unicode string
Definition: StarZone.hxx:220
a character color attribute
Definition: StarPageAttribute.cxx:73
int m_lineHeight
the line height
Definition: StarPageAttribute.cxx:505
Definition: StarAttribute.hxx:239
StarPAttributeFrameHF & operator=(StarPAttributeFrameHF const &)
void addTo(StarState &state, std::set< StarAttribute const * > &done) const final
add to a pageSpan
Definition: StarPageAttribute.cxx:300
a column
Definition: StarPageAttribute.cxx:416
a frame + columns
Definition: StarPageAttribute.cxx:412
std::shared_ptr< StarObjectSmallText > m_zones[3]
the left/middle/right zones
Definition: StarPageAttribute.cxx:690
StarPAttributeInt(Type type, std::string const &debugName, int intSize, int value)
constructor
Definition: StarPageAttribute.cxx:103
StarPAttributeVec2i(Type type, std::string const &debugName, int intSize, STOFFVec2i value=STOFFVec2i(0, 0))
constructor
Definition: StarPageAttribute.cxx:199
StarPAttributeVoid(Type type, std::string const &debugName)
constructor
Definition: StarPageAttribute.cxx:151
Definition: StarAttribute.hxx:248
the class to store a color
Definition: libstaroffice_internal.hxx:189
int m_lineAdj
the lineAdj
Definition: StarPageAttribute.cxx:501
bool m_active
active flag
Definition: StarPageAttribute.cxx:554
void printData(libstoff::DebugStream &o) const final
debug function to print the data
Definition: StarPageAttribute.cxx:587
bool read(StarZone &zone, int vers, long endPos, StarObject &object) override
read a zone
Definition: StarAttribute.cxx:515
Column()
constructor
Definition: StarPageAttribute.cxx:418
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarPageAttribute.cxx:704
bool m_ortho
ortho flag
Definition: StarPageAttribute.cxx:503
class to store an state: ie.
Definition: StarState.hxx:67
std::shared_ptr< StarAttribute > create() const final
add to a page
Definition: StarPageAttribute.cxx:112
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: StarPageAttribute.cxx:330
Definition: StarAttribute.hxx:232
void addTo(StarState &state, std::set< StarAttribute const * > &done) const override
add to a state
Definition: StarAttribute.cxx:376
void addTo(StarState &state, std::set< StarAttribute const * > &) const final
add to a page
Definition: StarPageAttribute.cxx:883
StarPAttributePageDesc(Type type, std::string const &debugName)
constructor
Definition: StarPageAttribute.cxx:625
a character unsigned integer attribute
Definition: StarPageAttribute.cxx:126
librevenge::RVNGString m_name
the name
Definition: StarPageAttribute.cxx:611
void addTo(StarState &state, std::set< StarAttribute const * > &) const final
add to a page
Definition: StarPageAttribute.cxx:844
static std::string str()
Definition: STOFFDebug.hxx:203
bool read(StarZone &zone, int vers, long endPos, StarObject &object) final
read a zone
Definition: StarPageAttribute.cxx:1071
Definition: StarAttribute.hxx:167
StarPAttributePageHF(Type type, std::string const &debugName)
constructor
Definition: StarPageAttribute.cxx:667
the main class to read/.
Definition: StarItemPool.hxx:70
Definition: StarAttribute.hxx:246
Definition: StarAttribute.hxx:251
void addInitTo(std::map< int, std::shared_ptr< StarAttribute > > &map)
adds character attribute to the general it to attribute map
Definition: StarPageAttribute.cxx:1102
Definition: StarAttribute.hxx:256
void printData(libstoff::DebugStream &o) const final
debug function to print the data
Definition: StarPageAttribute.cxx:711
int m_wishWidth
the wish width
Definition: StarPageAttribute.cxx:509
a unsigned integer attribute
Definition: StarAttribute.hxx:946
bool operator!=(STOFFSubDocument const &doc) const final
operator!=
Definition: StarPageAttribute.cxx:366
an Vec2i attribute
Definition: StarAttribute.hxx:984
std::shared_ptr< StarFormatManagerInternal::FormatDef > m_format
the format
Definition: StarPageAttribute.cxx:385
std::shared_ptr< STOFFInputStream > STOFFInputStreamPtr
a smart pointer of STOFFInputStream
Definition: libstaroffice_internal.hxx:485
Definition: StarAttribute.hxx:154
StarPAttributeBool(Type type, std::string const &debugName, bool value)
constructor
Definition: StarPageAttribute.cxx:55
SubDocumentType
Definition: libstaroffice_internal.hxx:185
a zone in a StarOffice file
Definition: StarZone.hxx:56
void printData(libstoff::DebugStream &o) const
debug function to print the data
Definition: StarPageAttribute.cxx:423
void printData(libstoff::DebugStream &o) const final
debug function to print the data
Definition: StarPageAttribute.cxx:642
int getRecordLevel() const
returns the record level
Definition: StarZone.hxx:195
Definition: StarAttribute.hxx:234
an object corresponding to an OLE directory
Definition: StarObject.hxx:64
void printData(libstoff::DebugStream &o) const final
debug function to print the data
Definition: StarPageAttribute.cxx:473
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarPageAttribute.cxx:84
Definition: STOFFPageSpan.hxx:79
StarPAttributeItemSet(Type type, std::string const &debugName, std::vector< STOFFVec2i > const &limits)
constructor
Definition: StarPageAttribute.cxx:177
bool read(StarZone &zone, int vers, long endPos, StarObject &object) final
read a zone
Definition: StarPageAttribute.cxx:929
~StarPAttributeVoid() final
destructor
Definition: StarPageAttribute.cxx:168
int m_margins[4]
the left, top, right bottom margins
Definition: StarPageAttribute.cxx:446
unsigned int m_value
Definition: StarAttribute.hxx:978
bool m_auto
the auto flag
Definition: StarPageAttribute.cxx:655
~SubDocument() final
destructor
Definition: StarPageAttribute.cxx:363
int m_used
the number of use
Definition: StarPageAttribute.cxx:617
Definition: STOFFDebug.hxx:194
a character unsigned integer attribute
Definition: StarPageAttribute.cxx:768
the main class to read a small StarOffice text zone
Definition: StarObjectSmallText.hxx:58
std::shared_ptr< StarAttribute > create() const final
add to a page
Definition: StarPageAttribute.cxx:159
bool m_value
Definition: StarAttribute.hxx:841
a color attribute
Definition: StarAttribute.hxx:845
void addTo(StarState &state, std::set< StarAttribute const * > &) const final
add to a page
Definition: StarPageAttribute.cxx:815
bool read(StarZone &zone, int vers, long endPos, StarObject &object) final
read a zone
Definition: StarPageAttribute.cxx:1048
Definition: StarAttribute.hxx:236
StarPAttributeFrameHF(Type type, std::string const &debugName)
constructor
Definition: StarPageAttribute.cxx:525
void addTo(StarState &state, std::set< StarAttribute const * > &) const final
add to a page
Definition: StarPageAttribute.cxx:264
Definition: StarAttribute.hxx:229
Definition: StarAttribute.hxx:254
void addAttributeVoid(std::map< int, std::shared_ptr< StarAttribute > > &map, StarAttribute::Type type, std::string const &debugName)
add a void attribute
Definition: StarPageAttribute.cxx:335
Definition: StarAttribute.hxx:247
int m_wishWidth
the wish width
Definition: StarPageAttribute.cxx:444
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarPageAttribute.cxx:777
void addTo(StarState &state, std::set< StarAttribute const * > &) const final
add to a page
Definition: StarPageAttribute.cxx:866
a print attribute
Definition: StarPageAttribute.cxx:694
a page descriptor attribute
Definition: StarPageAttribute.cxx:621
bool addTo(librevenge::RVNGPropertyList &propList) const
Definition: StarPageAttribute.cxx:432
STOFFBox2i m_range
the range
Definition: StarPageAttribute.cxx:762
a list of item attribute of StarAttributeInternal
Definition: StarAttribute.hxx:1023
a void attribute
Definition: StarPageAttribute.cxx:147
bool read(StarZone &zone, int vers, long endPos, StarObject &object) final
read a zone
Definition: StarPageAttribute.cxx:968
bool read(StarZone &zone, int vers, long endPos, StarObject &object) final
read a zone
Definition: StarPageAttribute.cxx:989
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarPageAttribute.cxx:60
STOFFVec2i m_value
Definition: StarAttribute.hxx:1017
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarPageAttribute.cxx:633
std::shared_ptr< StarFormatManagerInternal::FormatDef > m_format
the format
Definition: StarPageAttribute.cxx:556
StarPAttributeViewMode(Type type, std::string const &debugName)
constructor
Definition: StarPageAttribute.cxx:772
SubDocument & operator=(SubDocument const &)=delete
namespace used to contain page attributes
Definition: StarPageAttribute.cxx:48
a character integer attribute
Definition: StarPageAttribute.cxx:99
StarPAttributeRangeItem(Type type, std::string const &debugName)
constructor
Definition: StarPageAttribute.cxx:731
an Vec2i attribute
Definition: StarPageAttribute.cxx:195
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarPageAttribute.cxx:464
SubDocument(std::shared_ptr< StarObjectSmallText > const &text)
Definition: StarPageAttribute.cxx:349
StarObject * m_object
the original object
Definition: StarPageAttribute.cxx:387
int m_pageType
the type
Definition: StarPageAttribute.cxx:613
Internal: the subdocument of a StarObjectSpreadsheet.
Definition: StarPageAttribute.cxx:346
static void addPos(long)
Definition: STOFFDebug.hxx:223
int m_gutterWidth
the gutter width
Definition: StarPageAttribute.cxx:507
Definition: StarAttribute.hxx:253
int m_penStyle
the pen style
Definition: StarPageAttribute.cxx:511
STOFFColor m_penColor
the pen color
Definition: StarPageAttribute.cxx:515
Definition: StarAttribute.hxx:238
StarPAttributeUInt(Type type, std::string const &debugName, int intSize, unsigned int value)
constructor
Definition: StarPageAttribute.cxx:130
std::shared_ptr< GlobalState > m_global
global state
Definition: StarState.hxx:165
void attribute of StarAttribute
Definition: StarAttribute.hxx:1058
Definition: STOFFDebug.hxx:210
Definition: STOFFPageSpan.hxx:79
std::vector< int > m_tableList
the list of table to print
Definition: StarPageAttribute.cxx:723
Definition: StarAttribute.hxx:233
std::string m_debugName
the debug name
Definition: StarAttribute.hxx:807
void printData(libstoff::DebugStream &o) const final
debug function to print the data
Definition: StarPageAttribute.cxx:542
std::vector< Column > m_columnList
the column list
Definition: StarPageAttribute.cxx:517
Definition: StarAttribute.hxx:257
void parse(STOFFListenerPtr &listener, libstoff::SubDocumentType type) final
the parser function
Definition: StarPageAttribute.cxx:396
static void addNote(char const *)
Definition: STOFFDebug.hxx:224
librevenge::RVNGString m_name
the page name
Definition: StarPageAttribute.cxx:659
Definition: StarAttribute.hxx:243
STOFFInputStreamPtr input()
return the zone input
Definition: StarZone.hxx:247
a character bool attribute
Definition: StarPageAttribute.cxx:51
StarPAttributePage(Type type, std::string const &debugName)
constructor
Definition: StarPageAttribute.cxx:569
StarObject * m_object
the original object
Definition: StarPageAttribute.cxx:558
STOFFVec2< int > STOFFVec2i
STOFFVec2 of int.
Definition: libstaroffice_internal.hxx:763
const StarItemPool * m_pool
the pool
Definition: StarPageAttribute.cxx:389
Definition: StarAttribute.hxx:155
bool isBlack() const
return true if the color is black
Definition: libstaroffice_internal.hxx:277
bool m_landscape
true if landscape
Definition: StarPageAttribute.cxx:615
int m_offset
the offset
Definition: StarPageAttribute.cxx:657
Definition: StarAttribute.hxx:240
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: StarPageAttribute.cxx:325
Definition: StarAttribute.hxx:242
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarPageAttribute.cxx:533
a rangeItem attribute
Definition: StarPageAttribute.cxx:727
std::shared_ptr< StarObjectSmallText > m_smallText
the note text
Definition: StarPageAttribute.cxx:383
int m_table
the table(v0)
Definition: StarPageAttribute.cxx:760
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarPageAttribute.cxx:204
SubDocument(std::shared_ptr< StarFormatManagerInternal::FormatDef > const &format, StarItemPool const *pool, StarObject *object)
Definition: StarPageAttribute.cxx:355
Definition: StarAttribute.hxx:230
an integer attribute
Definition: StarAttribute.hxx:907
Definition: STOFFPageSpan.hxx:79
StarPAttributeColor(Type type, std::string const &debugName, STOFFColor const &value)
constructor
Definition: StarPageAttribute.cxx:77
a boolean attribute
Definition: StarAttribute.hxx:814
Generated on Mon Jan 20 2020 23:02:18 for libstaroffice by
doxygen 1.8.16