StarPageAttribute.hxx Source File documentation

StarPageAttribute.hxx
Go to the documentation of this file.
1 /* -*- Mode: C++; c-default-style: "k&r"; indent-tabs-mode: nil; tab-width: 2; c-basic-offset: 2 -*- */
2
3 /* libstaroffice
4 * Version: MPL 2.0 / LGPLv2+
5 *
6 * The contents of this file are subject to the Mozilla Public License Version
7 * 2.0 (the "License"); you may not use this file except in compliance with
8 * the License or as specified alternatively below. You may obtain a copy of
9 * the License at http://www.mozilla.org/MPL/
10 *
11 * Software distributed under the License is distributed on an "AS IS" basis,
12 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
13 * for the specific language governing rights and limitations under the
14 * License.
15 *
16 * Major Contributor(s):
17 * Copyright (C) 2002 William Lachance (wrlach@gmail.com)
18 * Copyright (C) 2002,2004 Marc Maurer (uwog@uwog.net)
19 * Copyright (C) 2004-2006 Fridrich Strba (fridrich.strba@bluewin.ch)
20 * Copyright (C) 2006, 2007 Andrew Ziem
21 * Copyright (C) 2011, 2012 Alonso Laurent (alonso@loria.fr)
22 *
23 *
24 * All Rights Reserved.
25 *
26 * For minor contributions see the git repository.
27 *
28 * Alternatively, the contents of this file may be used under the terms of
29 * the GNU Lesser General Public License Version 2 or later (the "LGPLv2+"),
30 * in which case the provisions of the LGPLv2+ are applicable
31 * instead of those above.
32 */
33
34 /*
35 * file to read/parse StarOffice page attributes
36 *
37 */
38 #ifndef STAR_PAGE_ATTRIBUTE
39 # define STAR_PAGE_ATTRIBUTE
40
41 #include <map>
42
43 #include "libstaroffice_internal.hxx"
44
45 class StarAttribute;
46
48 namespace StarPageAttribute
49 {
51 void addInitTo(std::map<int, std::shared_ptr<StarAttribute> > &whichToAttributeMap);
52 }
53
54 #endif
55 // vim: set filetype=cpp tabstop=2 shiftwidth=2 cindent autoindent smartindent noexpandtab:
StarAttribute::ATTR_SC_PAGE_TOPDOWN
@ ATTR_SC_PAGE_TOPDOWN
Definition: StarAttribute.hxx:244
StarPageAttribute::StarPAttributePage::read
bool read(StarZone &zone, int vers, long endPos, StarObject &object) final
read a zone
Definition: StarPageAttribute.cxx:902
StarPageAttribute::StarPAttributeRangeItem::m_flags
bool m_flags[2]
two flags
Definition: StarPageAttribute.cxx:764
STOFFListenerPtr
std::shared_ptr< STOFFListener > STOFFListenerPtr
a smart pointer of STOFFListener
Definition: libstaroffice_internal.hxx:491
StarAttribute::ATTR_SC_PAGE_SHARED
@ ATTR_SC_PAGE_SHARED
Definition: StarAttribute.hxx:237
StarAttribute::ATTR_SC_PAGE_FORMULAS
@ ATTR_SC_PAGE_FORMULAS
Definition: StarAttribute.hxx:258
StarPageAttribute::StarPAttributeVec2i::addTo
void addTo(StarState &state, std::set< StarAttribute const * > &) const final
add to a pageSpan
Definition: StarPageAttribute.cxx:288
StarPageAttribute::StarPAttributePageDesc::addTo
void addTo(StarState &state, std::set< StarAttribute const * > &) const final
add to a page
Definition: StarPageAttribute.cxx:858
StarAttribute
virtual class used to store the different attribute
Definition: StarAttribute.hxx:62
StarPageAttribute::StarPAttributePage::create
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarPageAttribute.cxx:578
StarPageAttribute::addAttributeColor
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
StarAttribute::ATTR_SC_PAGE_ON
@ ATTR_SC_PAGE_ON
Definition: StarAttribute.hxx:235
StarPageAttribute::StarPAttributePageHF
a page header/footer attribute
Definition: StarPageAttribute.cxx:663
StarPageAttribute::StarPAttributePageHF::read
bool read(StarZone &zone, int vers, long endPos, StarObject &object) final
read a zone
Definition: StarPageAttribute.cxx:1024
StarPageAttribute::StarPAttributePrint::StarPAttributePrint
StarPAttributePrint(Type type, std::string const &debugName)
constructor
Definition: StarPageAttribute.cxx:698
StarPageAttribute::StarPAttributeItemSet
a list of item attribute of StarAttributeInternal
Definition: StarPageAttribute.cxx:173
STOFFVec2< int >
STOFFEntry
basic class to store an entry in a file This contained :
Definition: STOFFEntry.hxx:46
libstoff::getString
librevenge::RVNGString getString(std::vector< uint32_t > const &unicode)
transform a unicode string in a RNVGString
Definition: libstaroffice_internal.cxx:63
StarPageAttribute::StarPAttributeFrameHF
a frame header/footer attribute (used to define header/footer in a sdw file)
Definition: StarPageAttribute.cxx:521
StarAttribute::ATTR_SC_PAGE_REPEATROW
@ ATTR_SC_PAGE_REPEATROW
Definition: StarAttribute.hxx:249
StarAttribute::Type
Type
the attribute list
Definition: StarAttribute.hxx:66
StarPageAttribute::StarPAttributeRangeItem::create
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarPageAttribute.cxx:737
StarZone::ascii
libstoff::DebugFile & ascii()
returns the ascii file
Definition: StarZone.hxx:254
StarZone::getPoolName
bool getPoolName(int poolId, librevenge::RVNGString &res) const
try to return a pool name
Definition: StarZone.hxx:235
StarPageAttribute::StarPAttributeItemSet::create
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarPageAttribute.cxx:182
StarPageAttribute::StarPAttributeColumns::m_penWidth
int m_penWidth
the pen width
Definition: StarPageAttribute.cxx:513
StarPageAttribute::StarPAttributePage::addTo
void addTo(StarState &state, std::set< StarAttribute const * > &) const final
add to a page
Definition: StarPageAttribute.cxx:830
STOFF_DEBUG_MSG
#define STOFF_DEBUG_MSG(M)
Definition: libstaroffice_internal.hxx:129
StarPageAttribute::StarPAttributeRangeItem::printData
void printData(libstoff::DebugStream &o) const final
debug function to print the data
Definition: StarPageAttribute.cxx:744
StarPageAttribute::StarPAttributePage
a page attribute
Definition: StarPageAttribute.cxx:565
StarAttribute::ATTR_SC_PAGE_REPEATCOL
@ ATTR_SC_PAGE_REPEATCOL
Definition: StarAttribute.hxx:250
StarAttribute::ATTR_SC_PAGE_HEADERLEFT
@ ATTR_SC_PAGE_HEADERLEFT
Definition: StarAttribute.hxx:252
StarPageAttribute::StarPAttributeViewMode::printData
void printData(libstoff::DebugStream &o) const final
print data
Definition: StarPageAttribute.cxx:793
StarAttribute::ATTR_SC_PAGE_CHARTS
@ ATTR_SC_PAGE_CHARTS
Definition: StarAttribute.hxx:241
StarAttribute::ATTR_SC_PAGE_SIZE
@ ATTR_SC_PAGE_SIZE
Definition: StarAttribute.hxx:231
StarAttribute::m_type
Type m_type
the type
Definition: StarAttribute.hxx:805
StarPageAttribute::StarPAttributePageHF::printData
void printData(libstoff::DebugStream &o) const final
debug function to print the data
Definition: StarPageAttribute.cxx:681
StarState::m_headerFooter
bool m_headerFooter
flag to know if this is a header/footer
Definition: StarState.hxx:190
StarPageAttribute::StarPAttributeColumns::StarPAttributeColumns
StarPAttributeColumns(Type type, std::string const &debugName)
constructor
Definition: StarPageAttribute.cxx:450
StarPageAttribute::StarPAttributeInt::~StarPAttributeInt
~StarPAttributeInt() override
destructor
Definition: StarPageAttribute.cxx:121
STOFFSubDocument
abstract class used to store a subdocument (with a comparison function)
Definition: STOFFSubDocument.hxx:41
StarPageAttribute::StarPAttributeColor::~StarPAttributeColor
~StarPAttributeColor() final
destructor
Definition: StarPageAttribute.cxx:95
StarAttribute::ATTR_FRM_PAGEDESC
@ ATTR_FRM_PAGEDESC
Definition: StarAttribute.hxx:151
StarPageAttribute::StarPAttributeUInt::create
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarPageAttribute.cxx:135
StarPageAttribute::StarPAttributePageHF::create
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarPageAttribute.cxx:672
StarAttribute::ATTR_SC_PAGE_NULLVALS
@ ATTR_SC_PAGE_NULLVALS
Definition: StarAttribute.hxx:259
StarAttribute::ATTR_SC_PAGE_SCALE
@ ATTR_SC_PAGE_SCALE
Definition: StarAttribute.hxx:245
StarPageAttribute::addAttributeBool
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
STOFFBox2i
STOFFBox2< int > STOFFBox2i
STOFFBox2 of int.
Definition: libstaroffice_internal.hxx:1133
StarObjectSmallText.hxx
StarPageAttribute::StarPAttributeBool::addTo
void addTo(StarState &state, std::set< StarAttribute const * > &) const final
add to a page
Definition: StarPageAttribute.cxx:215
STOFFSection.hxx
StarAttribute::ATTR_SC_PAGE_FOOTERRIGHT
@ ATTR_SC_PAGE_FOOTERRIGHT
Definition: StarAttribute.hxx:255
StarPageAttribute::StarPAttributeViewMode::read
bool read(StarZone &zone, int vers, long endPos, StarObject &object) final
try to read a field
Definition: StarPageAttribute.cxx:784
StarZone::readString
bool readString(std::vector< uint32_t > &string, int encoding=-1) const
try to read an unicode string
Definition: StarZone.hxx:220
StarPageAttribute::StarPAttributeColor
a character color attribute
Definition: StarPageAttribute.cxx:73
StarPageAttribute::StarPAttributeColumns::m_lineHeight
int m_lineHeight
the line height
Definition: StarPageAttribute.cxx:505
StarAttribute::ATTR_SC_PAGE_GRID
@ ATTR_SC_PAGE_GRID
Definition: StarAttribute.hxx:239
StarPageAttribute::StarPAttributeFrameHF::operator=
StarPAttributeFrameHF & operator=(StarPAttributeFrameHF const &)
StarPageAttribute::StarPAttributeItemSet::addTo
void addTo(StarState &state, std::set< StarAttribute const * > &done) const final
add to a pageSpan
Definition: StarPageAttribute.cxx:300
StarPageAttribute::StarPAttributeColumns::Column
a column
Definition: StarPageAttribute.cxx:416
StarPageAttribute::StarPAttributeColumns
a frame + columns
Definition: StarPageAttribute.cxx:412
StarPageAttribute::StarPAttributePageHF::m_zones
std::shared_ptr< StarObjectSmallText > m_zones[3]
the left/middle/right zones
Definition: StarPageAttribute.cxx:690
STOFFBox2< int >
StarPageAttribute::StarPAttributeInt::StarPAttributeInt
StarPAttributeInt(Type type, std::string const &debugName, int intSize, int value)
constructor
Definition: StarPageAttribute.cxx:103
StarPageAttribute::StarPAttributeVec2i::StarPAttributeVec2i
StarPAttributeVec2i(Type type, std::string const &debugName, int intSize, STOFFVec2i value=STOFFVec2i(0, 0))
constructor
Definition: StarPageAttribute.cxx:199
StarPageAttribute::StarPAttributeVoid::StarPAttributeVoid
StarPAttributeVoid(Type type, std::string const &debugName)
constructor
Definition: StarPageAttribute.cxx:151
StarAttribute::ATTR_SC_PAGE_PRINTAREA
@ ATTR_SC_PAGE_PRINTAREA
Definition: StarAttribute.hxx:248
STOFFColor
the class to store a color
Definition: libstaroffice_internal.hxx:189
StarPageAttribute::StarPAttributeColumns::m_lineAdj
int m_lineAdj
the lineAdj
Definition: StarPageAttribute.cxx:501
StarPageAttribute::StarPAttributeFrameHF::m_active
bool m_active
active flag
Definition: StarPageAttribute.cxx:554
StarPageAttribute::StarPAttributePage::printData
void printData(libstoff::DebugStream &o) const final
debug function to print the data
Definition: StarPageAttribute.cxx:587
StarAttributeUInt::read
bool read(StarZone &zone, int vers, long endPos, StarObject &object) override
read a zone
Definition: StarAttribute.cxx:515
StarPageAttribute::StarPAttributeColumns::Column::Column
Column()
constructor
Definition: StarPageAttribute.cxx:418
StarPageAttribute::StarPAttributePrint::create
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarPageAttribute.cxx:704
StarPageAttribute::StarPAttributeColumns::m_ortho
bool m_ortho
ortho flag
Definition: StarPageAttribute.cxx:503
StarState
class to store an state: ie.
Definition: StarState.hxx:67
StarPageAttribute::StarPAttributeInt::create
std::shared_ptr< StarAttribute > create() const final
add to a page
Definition: StarPageAttribute.cxx:112
StarPageAttribute::addAttributeUInt
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
StarAttribute::ATTR_SC_PAGE_MAXSIZE
@ ATTR_SC_PAGE_MAXSIZE
Definition: StarAttribute.hxx:232
StarAttributeItemSet::addTo
void addTo(StarState &state, std::set< StarAttribute const * > &done) const override
add to a state
Definition: StarAttribute.cxx:376
libstaroffice_internal.hxx
StarPageAttribute::StarPAttributeViewMode::addTo
void addTo(StarState &state, std::set< StarAttribute const * > &) const final
add to a page
Definition: StarPageAttribute.cxx:883
StarPageAttribute::StarPAttributePageDesc::StarPAttributePageDesc
StarPAttributePageDesc(Type type, std::string const &debugName)
constructor
Definition: StarPageAttribute.cxx:625
StarPageAttribute::StarPAttributeUInt
a character unsigned integer attribute
Definition: StarPageAttribute.cxx:126
StarPageAttribute::StarPAttributePage::m_name
librevenge::RVNGString m_name
the name
Definition: StarPageAttribute.cxx:611
StarPageAttribute::StarPAttributeFrameHF::addTo
void addTo(StarState &state, std::set< StarAttribute const * > &) const final
add to a page
Definition: StarPageAttribute.cxx:844
libstoff::DebugStream::str
static std::string str()
Definition: STOFFDebug.hxx:203
StarPageAttribute::StarPAttributeRangeItem::read
bool read(StarZone &zone, int vers, long endPos, StarObject &object) final
read a zone
Definition: StarPageAttribute.cxx:1071
StarAttribute::ATTR_FRM_COL
@ ATTR_FRM_COL
Definition: StarAttribute.hxx:167
STOFFPageSpan.hxx
StarPageAttribute::StarPAttributePageHF::StarPAttributePageHF
StarPAttributePageHF(Type type, std::string const &debugName)
constructor
Definition: StarPageAttribute.cxx:667
StarItemPool
the main class to read/.
Definition: StarItemPool.hxx:70
StarAttribute::ATTR_SC_PAGE_SCALETOPAGES
@ ATTR_SC_PAGE_SCALETOPAGES
Definition: StarAttribute.hxx:246
StarAttribute::ATTR_SC_PAGE_PRINTTABLES
@ ATTR_SC_PAGE_PRINTTABLES
Definition: StarAttribute.hxx:251
StarPageAttribute::addInitTo
void addInitTo(std::map< int, std::shared_ptr< StarAttribute > > &map)
adds character attribute to the general it to attribute map
Definition: StarPageAttribute.cxx:1102
StarAttribute::ATTR_SC_PAGE_HEADERSET
@ ATTR_SC_PAGE_HEADERSET
Definition: StarAttribute.hxx:256
STOFFSubDocument.hxx
StarPageAttribute::StarPAttributePrint::printData
void printData(libstoff::DebugStream &o) const final
debug function to print the data
Definition: StarPageAttribute.cxx:711
StarPageAttribute::StarPAttributeColumns::m_wishWidth
int m_wishWidth
the wish width
Definition: StarPageAttribute.cxx:509
StarAttributeUInt
a unsigned integer attribute
Definition: StarAttribute.hxx:946
StarPageAttribute::SubDocument::operator!=
bool operator!=(STOFFSubDocument const &doc) const final
operator!=
Definition: StarPageAttribute.cxx:366
StarAttributeVec2i
an Vec2i attribute
Definition: StarAttribute.hxx:984
StarPageAttribute::SubDocument::m_format
std::shared_ptr< StarFormatManagerInternal::FormatDef > m_format
the format
Definition: StarPageAttribute.cxx:385
STOFFInputStreamPtr
std::shared_ptr< STOFFInputStream > STOFFInputStreamPtr
a smart pointer of STOFFInputStream
Definition: libstaroffice_internal.hxx:489
StarAttribute::ATTR_FRM_HEADER
@ ATTR_FRM_HEADER
Definition: StarAttribute.hxx:154
StarPageAttribute::StarPAttributeBool::StarPAttributeBool
StarPAttributeBool(Type type, std::string const &debugName, bool value)
constructor
Definition: StarPageAttribute.cxx:55
libstoff::SubDocumentType
SubDocumentType
Definition: libstaroffice_internal.hxx:185
StarZone
a zone in a StarOffice file
Definition: StarZone.hxx:56
StarPageAttribute::StarPAttributeColumns::Column::printData
void printData(libstoff::DebugStream &o) const
debug function to print the data
Definition: StarPageAttribute.cxx:423
StarPageAttribute::StarPAttributePageDesc::printData
void printData(libstoff::DebugStream &o) const final
debug function to print the data
Definition: StarPageAttribute.cxx:642
StarZone::getRecordLevel
int getRecordLevel() const
returns the record level
Definition: StarZone.hxx:195
StarAttribute::ATTR_SC_PAGE_VERCENTER
@ ATTR_SC_PAGE_VERCENTER
Definition: StarAttribute.hxx:234
StarObject
an object corresponding to an OLE directory
Definition: StarObject.hxx:64
StarPageAttribute::StarPAttributeColumns::printData
void printData(libstoff::DebugStream &o) const final
debug function to print the data
Definition: StarPageAttribute.cxx:473
StarPageAttribute::StarPAttributeColor::create
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarPageAttribute.cxx:84
STOFFPageSpan::Header
@ Header
Definition: STOFFPageSpan.hxx:79
StarPageAttribute::StarPAttributeItemSet::StarPAttributeItemSet
StarPAttributeItemSet(Type type, std::string const &debugName, std::vector< STOFFVec2i > const &limits)
constructor
Definition: StarPageAttribute.cxx:177
StarPageAttribute::StarPAttributeColumns::read
bool read(StarZone &zone, int vers, long endPos, StarObject &object) final
read a zone
Definition: StarPageAttribute.cxx:929
StarPageAttribute::StarPAttributeVoid::~StarPAttributeVoid
~StarPAttributeVoid() final
destructor
Definition: StarPageAttribute.cxx:168
StarPageAttribute::StarPAttributeColumns::Column::m_margins
int m_margins[4]
the left, top, right bottom margins
Definition: StarPageAttribute.cxx:446
StarAttributeUInt::m_value
unsigned int m_value
Definition: StarAttribute.hxx:978
StarPageAttribute::StarPAttributePageDesc::m_auto
bool m_auto
the auto flag
Definition: StarPageAttribute.cxx:655
StarPageAttribute::SubDocument::~SubDocument
~SubDocument() final
destructor
Definition: StarPageAttribute.cxx:363
StarPageAttribute::StarPAttributePage::m_used
int m_used
the number of use
Definition: StarPageAttribute.cxx:617
libstoff::DebugStream
Definition: STOFFDebug.hxx:194
StarPageAttribute::StarPAttributeViewMode
a character unsigned integer attribute
Definition: StarPageAttribute.cxx:768
StarObjectSmallText
the main class to read a small StarOffice text zone
Definition: StarObjectSmallText.hxx:58
StarPageAttribute::StarPAttributeVoid::create
std::shared_ptr< StarAttribute > create() const final
add to a page
Definition: StarPageAttribute.cxx:159
StarAttributeBool::m_value
bool m_value
Definition: StarAttribute.hxx:841
StarAttributeColor
a color attribute
Definition: StarAttribute.hxx:845
StarPageAttribute::StarPAttributeColumns::addTo
void addTo(StarState &state, std::set< StarAttribute const * > &) const final
add to a page
Definition: StarPageAttribute.cxx:815
StarPageAttribute::StarPAttributePrint::read
bool read(StarZone &zone, int vers, long endPos, StarObject &object) final
read a zone
Definition: StarPageAttribute.cxx:1048
StarAttribute::ATTR_SC_PAGE_DYNAMIC
@ ATTR_SC_PAGE_DYNAMIC
Definition: StarAttribute.hxx:236
StarPageAttribute::StarPAttributeFrameHF::StarPAttributeFrameHF
StarPAttributeFrameHF(Type type, std::string const &debugName)
constructor
Definition: StarPageAttribute.cxx:525
StarPageAttribute::StarPAttributeUInt::addTo
void addTo(StarState &state, std::set< StarAttribute const * > &) const final
add to a page
Definition: StarPageAttribute.cxx:264
StarAttribute::ATTR_SC_PAGE
@ ATTR_SC_PAGE
Definition: StarAttribute.hxx:229
StarAttribute::ATTR_SC_PAGE_HEADERRIGHT
@ ATTR_SC_PAGE_HEADERRIGHT
Definition: StarAttribute.hxx:254
STOFFHeaderFooter
a class which stores the header/footer
Definition: STOFFPageSpan.hxx:48
StarPageAttribute::addAttributeVoid
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
StarAttribute::ATTR_SC_PAGE_FIRSTPAGENO
@ ATTR_SC_PAGE_FIRSTPAGENO
Definition: StarAttribute.hxx:247
StarPageAttribute::StarPAttributeColumns::Column::m_wishWidth
int m_wishWidth
the wish width
Definition: StarPageAttribute.cxx:444
StarPageAttribute::StarPAttributeViewMode::create
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarPageAttribute.cxx:777
StarPageAttribute::StarPAttributePageHF::addTo
void addTo(StarState &state, std::set< StarAttribute const * > &) const final
add to a page
Definition: StarPageAttribute.cxx:866
StarPageAttribute::StarPAttributePrint
a print attribute
Definition: StarPageAttribute.cxx:694
StarPageAttribute::StarPAttributePageDesc
a page descriptor attribute
Definition: StarPageAttribute.cxx:621
StarPageAttribute::StarPAttributeColumns::Column::addTo
bool addTo(librevenge::RVNGPropertyList &propList) const
Definition: StarPageAttribute.cxx:432
StarPageAttribute::StarPAttributeRangeItem::m_range
STOFFBox2i m_range
the range
Definition: StarPageAttribute.cxx:762
StarAttributeItemSet
a list of item attribute of StarAttributeInternal
Definition: StarAttribute.hxx:1023
StarPageAttribute::StarPAttributeVoid
a void attribute
Definition: StarPageAttribute.cxx:147
StarPageAttribute::StarPAttributeFrameHF::read
bool read(StarZone &zone, int vers, long endPos, StarObject &object) final
read a zone
Definition: StarPageAttribute.cxx:968
StarPageAttribute::StarPAttributePageDesc::read
bool read(StarZone &zone, int vers, long endPos, StarObject &object) final
read a zone
Definition: StarPageAttribute.cxx:989
StarPageAttribute::StarPAttributeBool::create
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarPageAttribute.cxx:60
StarAttributeVec2i::m_value
STOFFVec2i m_value
Definition: StarAttribute.hxx:1017
StarPageAttribute::StarPAttributePageDesc::create
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarPageAttribute.cxx:633
StarPageAttribute::StarPAttributeFrameHF::m_format
std::shared_ptr< StarFormatManagerInternal::FormatDef > m_format
the format
Definition: StarPageAttribute.cxx:556
StarPageAttribute::StarPAttributeViewMode::StarPAttributeViewMode
StarPAttributeViewMode(Type type, std::string const &debugName)
constructor
Definition: StarPageAttribute.cxx:772
StarPageAttribute::SubDocument::operator=
SubDocument & operator=(SubDocument const &)=delete
StarPageAttribute
namespace used to contain page attributes
Definition: StarPageAttribute.cxx:48
StarPageAttribute::StarPAttributeInt
a character integer attribute
Definition: StarPageAttribute.cxx:99
StarPageAttribute::StarPAttributeRangeItem::StarPAttributeRangeItem
StarPAttributeRangeItem(Type type, std::string const &debugName)
constructor
Definition: StarPageAttribute.cxx:731
StarState.hxx
StarPageAttribute::StarPAttributeVec2i
an Vec2i attribute
Definition: StarPageAttribute.cxx:195
StarPageAttribute::StarPAttributeColumns::create
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarPageAttribute.cxx:464
StarPageAttribute::SubDocument::SubDocument
SubDocument(std::shared_ptr< StarObjectSmallText > const &text)
Definition: StarPageAttribute.cxx:349
StarPageAttribute::SubDocument::m_object
StarObject * m_object
the original object
Definition: StarPageAttribute.cxx:387
StarPageAttribute::StarPAttributePage::m_pageType
int m_pageType
the type
Definition: StarPageAttribute.cxx:613
StarPageAttribute::SubDocument
Internal: the subdocument of a StarObjectSpreadsheet.
Definition: StarPageAttribute.cxx:346
libstoff::DebugFile::addPos
static void addPos(long)
Definition: STOFFDebug.hxx:223
StarPageAttribute::StarPAttributeColumns::m_gutterWidth
int m_gutterWidth
the gutter width
Definition: StarPageAttribute.cxx:507
StarObject.hxx
StarZone.hxx
StarAttribute::ATTR_SC_PAGE_FOOTERLEFT
@ ATTR_SC_PAGE_FOOTERLEFT
Definition: StarAttribute.hxx:253
StarPageAttribute::StarPAttributeColumns::m_penStyle
int m_penStyle
the pen style
Definition: StarPageAttribute.cxx:511
StarPageAttribute::StarPAttributeColumns::m_penColor
STOFFColor m_penColor
the pen color
Definition: StarPageAttribute.cxx:515
StarAttribute::ATTR_SC_PAGE_NOTES
@ ATTR_SC_PAGE_NOTES
Definition: StarAttribute.hxx:238
StarPageAttribute::StarPAttributeUInt::StarPAttributeUInt
StarPAttributeUInt(Type type, std::string const &debugName, int intSize, unsigned int value)
constructor
Definition: StarPageAttribute.cxx:130
StarState::m_global
std::shared_ptr< GlobalState > m_global
global state
Definition: StarState.hxx:165
StarAttributeVoid
void attribute of StarAttribute
Definition: StarAttribute.hxx:1058
libstoff::DebugFile
Definition: STOFFDebug.hxx:210
STOFFPageSpan::Page
@ Page
Definition: STOFFPageSpan.hxx:79
StarPageAttribute::StarPAttributePrint::m_tableList
std::vector< int > m_tableList
the list of table to print
Definition: StarPageAttribute.cxx:723
StarAttribute::ATTR_SC_PAGE_HORCENTER
@ ATTR_SC_PAGE_HORCENTER
Definition: StarAttribute.hxx:233
StarAttribute::m_debugName
std::string m_debugName
the debug name
Definition: StarAttribute.hxx:807
StarPageAttribute::StarPAttributeFrameHF::printData
void printData(libstoff::DebugStream &o) const final
debug function to print the data
Definition: StarPageAttribute.cxx:542
StarPageAttribute::StarPAttributeColumns::m_columnList
std::vector< Column > m_columnList
the column list
Definition: StarPageAttribute.cxx:517
StarFormatManager.hxx
StarAttribute::ATTR_SC_PAGE_FOOTERSET
@ ATTR_SC_PAGE_FOOTERSET
Definition: StarAttribute.hxx:257
StarPageAttribute::SubDocument::parse
void parse(STOFFListenerPtr &listener, libstoff::SubDocumentType type) final
the parser function
Definition: StarPageAttribute.cxx:396
libstoff::DebugFile::addNote
static void addNote(char const *)
Definition: STOFFDebug.hxx:224
StarPageAttribute::StarPAttributePageDesc::m_name
librevenge::RVNGString m_name
the page name
Definition: StarPageAttribute.cxx:659
STOFFHeaderFooter::m_subDocument
STOFFSubDocumentPtr m_subDocument[4]
the document data: left, center, right, all
Definition: STOFFPageSpan.hxx:71
StarAttribute::ATTR_SC_PAGE_DRAWINGS
@ ATTR_SC_PAGE_DRAWINGS
Definition: StarAttribute.hxx:243
StarPageAttribute.hxx
StarZone::input
STOFFInputStreamPtr input()
return the zone input
Definition: StarZone.hxx:247
StarPageAttribute::StarPAttributeBool
a character bool attribute
Definition: StarPageAttribute.cxx:51
StarPageAttribute::StarPAttributePage::StarPAttributePage
StarPAttributePage(Type type, std::string const &debugName)
constructor
Definition: StarPageAttribute.cxx:569
StarPageAttribute::StarPAttributeFrameHF::m_object
StarObject * m_object
the original object
Definition: StarPageAttribute.cxx:558
STOFFVec2i
STOFFVec2< int > STOFFVec2i
STOFFVec2 of int.
Definition: libstaroffice_internal.hxx:767
StarPageAttribute::SubDocument::m_pool
const StarItemPool * m_pool
the pool
Definition: StarPageAttribute.cxx:389
StarAttribute::ATTR_FRM_FOOTER
@ ATTR_FRM_FOOTER
Definition: StarAttribute.hxx:155
STOFFColor::isBlack
bool isBlack() const
return true if the color is black
Definition: libstaroffice_internal.hxx:277
StarPageAttribute::StarPAttributePage::m_landscape
bool m_landscape
true if landscape
Definition: StarPageAttribute.cxx:615
StarPageAttribute::StarPAttributePageDesc::m_offset
int m_offset
the offset
Definition: StarPageAttribute.cxx:657
StarAttribute::ATTR_SC_PAGE_HEADERS
@ ATTR_SC_PAGE_HEADERS
Definition: StarAttribute.hxx:240
StarPageAttribute::addAttributeInt
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
StarItemPool.hxx
StarAttribute::ATTR_SC_PAGE_OBJECTS
@ ATTR_SC_PAGE_OBJECTS
Definition: StarAttribute.hxx:242
StarAttribute.hxx
StarPageAttribute::StarPAttributeFrameHF::create
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarPageAttribute.cxx:533
StarPageAttribute::StarPAttributeRangeItem
a rangeItem attribute
Definition: StarPageAttribute.cxx:727
StarPageAttribute::SubDocument::m_smallText
std::shared_ptr< StarObjectSmallText > m_smallText
the note text
Definition: StarPageAttribute.cxx:383
StarPageAttribute::StarPAttributeRangeItem::m_table
int m_table
the table(v0)
Definition: StarPageAttribute.cxx:760
StarPageAttribute::StarPAttributeVec2i::create
std::shared_ptr< StarAttribute > create() const final
create a new attribute
Definition: StarPageAttribute.cxx:204
StarPageAttribute::SubDocument::SubDocument
SubDocument(std::shared_ptr< StarFormatManagerInternal::FormatDef > const &format, StarItemPool const *pool, StarObject *object)
Definition: StarPageAttribute.cxx:355
StarAttribute::ATTR_SC_PAGE_PAPERTRAY
@ ATTR_SC_PAGE_PAPERTRAY
Definition: StarAttribute.hxx:230
StarAttributeInt
an integer attribute
Definition: StarAttribute.hxx:907
STOFFPageSpan::Footer
@ Footer
Definition: STOFFPageSpan.hxx:79
StarPageAttribute::StarPAttributeColor::StarPAttributeColor
StarPAttributeColor(Type type, std::string const &debugName, STOFFColor const &value)
constructor
Definition: StarPageAttribute.cxx:77
StarAttributeBool
a boolean attribute
Definition: StarAttribute.hxx:814