Go to the documentation of this file.
38 #ifndef STAR_OBJECT_PAGESTYLE
39 # define STAR_OBJECT_PAGESTYLE
73 bool updatePageSpans(std::vector<librevenge::RVNGString>
const &listNames, std::vector<STOFFPageSpan> &pageSpan,
int &numPages);
bool m_isFootnote
a flag to know if this corresponds to a footnote or a endnote
Definition: StarObjectPageStyle.cxx:78
int m_poolId
the poolId
Definition: StarObjectPageStyle.cxx:175
static bool readList(StarZone &zone, std::vector< Bookmark > &markList)
try to read a list of bookmark
Definition: StarWriterStruct.cxx:207
State()
constructor
Definition: StarObjectPageStyle.cxx:330
std::shared_ptr< SWFieldManagerInternal::Field > readField(StarZone &zone, char cKind='_')
try to read a field type
Definition: SWFieldManager.cxx:1025
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
bool read(StarZone &zone)
try to read a noteDesc: '1' or '2'
Definition: StarObjectPageStyle.cxx:89
#define STOFF_DEBUG_MSG(M)
Definition: libstaroffice_internal.hxx:129
int isCompatibleWith(int vers) const
checks if the document is compatible with vers
Definition: StarZone.hxx:99
static bool readList(StarZone &zone, std::vector< Attribute > &attributeList, StarObject &object)
try to read a list of attribute: 'S'
Definition: StarWriterStruct.cxx:107
bool updatePageSpan(librevenge::RVNGString const &name, StarState &state)
try to update the pagespan
Definition: StarObjectPageStyle.cxx:362
the main class to read a SwPageStyleSheets zone
Definition: StarObjectPageStyle.hxx:62
StarObjectPageStyle(StarObject const &orig, bool duplicateState)
constructor
Definition: StarObjectPageStyle.cxx:349
A class which defines the page properties.
Definition: STOFFPageSpan.hxx:75
librevenge::RVNGString simplifyString(librevenge::RVNGString const &s)
returns a simplify version of a string.
Definition: libstaroffice_internal.cxx:430
NoteDesc(bool isFootnote)
constructor
Definition: StarObjectPageStyle.cxx:65
std::shared_ptr< NoteDesc > m_noteDesc[2]
the foot and page foot desc
Definition: StarObjectPageStyle.cxx:183
friend std::ostream & operator<<(std::ostream &o, PageDesc const &desc)
operator<<
Definition: StarObjectPageStyle.cxx:297
std::map< librevenge::RVNGString, size_t > m_simplifyNameToPageIdMap
map simplify name to id
Definition: StarObjectPageStyle.cxx:341
void updatePageSpan(StarState &state) const
update pagespan properties
Definition: StarObjectPageStyle.cxx:188
void closeFlagZone()
close the cflag zone
Definition: StarZone.cxx:618
the class to store a color
Definition: libstaroffice_internal.hxx:189
int m_penWidth
the pen's width
Definition: StarObjectPageStyle.cxx:84
bool read(StarZone &zone, StarObject &object)
try to read a pageDesc: 'p'
Definition: StarObjectPageStyle.cxx:213
Definition: StarItemPool.hxx:75
class to store an state: ie.
Definition: StarState.hxx:67
float m_distances[4]
the width/height/topDist/bottomDist
Definition: StarObjectPageStyle.cxx:80
~PageDesc()
destructor
Definition: StarObjectPageStyle.cxx:157
std::vector< StarWriterStruct::Attribute > m_attributes[2]
the master and left attributes lists
Definition: StarObjectPageStyle.cxx:185
static std::string str()
Definition: STOFFDebug.hxx:203
bool updatePageSpans(std::vector< librevenge::RVNGString > const &listNames, std::vector< STOFFPageSpan > &pageSpan, int &numPages)
try to update the page span (to create text document)
Definition: StarObjectPageStyle.cxx:421
std::vector< PageDesc > m_pageList
list of pages
Definition: StarObjectPageStyle.cxx:337
StarObjectPageStyle & operator=(StarObjectPageStyle const &orig)=delete
std::ostream & operator<<(std::ostream &o, NoteDesc const &desc)
Definition: StarObjectPageStyle.cxx:124
bool m_landscape
is the page a lanscape
Definition: StarObjectPageStyle.cxx:173
bool closeSWRecord(char type, std::string const &debugName)
try to close a record
Definition: StarZone.hxx:177
std::shared_ptr< STOFFInputStream > STOFFInputStreamPtr
a smart pointer of STOFFInputStream
Definition: libstaroffice_internal.hxx:485
std::map< librevenge::RVNGString, size_t > m_nameToPageIdMap
map name to id
Definition: StarObjectPageStyle.cxx:339
std::shared_ptr< StarFormatManager > getFormatManager()
returns the format manager
Definition: StarObject.cxx:125
the main class to read/.
Definition: SWFieldManager.hxx:109
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
~StarObjectPageStyle() override
destructor
Definition: StarObjectPageStyle.cxx:355
Definition: STOFFDebug.hxx:194
friend std::ostream & operator<<(std::ostream &o, NoteDesc const &desc)
operator<<
Definition: StarObjectPageStyle.cxx:124
bool readSWHeader()
read the zone header present in a SW file
Definition: StarZone.cxx:190
PageDesc()
constructor
Definition: StarObjectPageStyle.cxx:146
STOFFColor m_color
the color
Definition: StarObjectPageStyle.cxx:86
int m_adjust
the adjust
Definition: StarObjectPageStyle.cxx:82
structure to store a page description
Definition: StarObjectPageStyle.cxx:143
int m_usedOn
the page where is it used ?
Definition: StarObjectPageStyle.cxx:179
static bool readListList(StarZone &zone, std::vector< std::vector< Redline > > &redlineListList)
try to read a list of list of redline : V
Definition: StarWriterStruct.cxx:829
structure to store a endnote/footnote page description
Definition: StarObjectPageStyle.cxx:62
Internal: the state of a StarObjectPageStyle.
Definition: StarObjectPageStyle.cxx:328
int m_numType
the number's type
Definition: StarObjectPageStyle.cxx:177
a class which stores section properties
Definition: STOFFSection.hxx:45
static void addPos(long)
Definition: STOFFDebug.hxx:223
bool readStringsPool()
try to read a pool of strings
Definition: StarZone.cxx:103
std::shared_ptr< GlobalState > m_global
global state
Definition: StarState.hxx:165
Definition: STOFFDebug.hxx:210
Internal: the structures of a StarObjectPageStyle.
Definition: StarObjectPageStyle.cxx:58
std::shared_ptr< StarObjectPageStyleInternal::State > m_pageStyleState
the state
Definition: StarObjectPageStyle.hxx:87
static void addNote(char const *)
Definition: STOFFDebug.hxx:224
STOFFInputStreamPtr input()
return the zone input
Definition: StarZone.hxx:247
bool isBlack() const
return true if the color is black
Definition: libstaroffice_internal.hxx:277
unsigned char openFlagZone()
try to open a cflag zone
Definition: StarZone.cxx:611
long getRecordLastPosition() const
returns the actual record last position
Definition: StarZone.hxx:200
librevenge::RVNGString m_follow
the follow
Definition: StarObjectPageStyle.cxx:171
bool updateState(StarState &state) const
try to update the section
Definition: StarObjectPageStyle.cxx:202
int m_regCollIdx
the coll idx
Definition: StarObjectPageStyle.cxx:181
bool openSWRecord(char &type)
try to open a SW record: type + size (24 bytes)
Definition: StarZone.cxx:507
librevenge::RVNGString m_name
the name
Definition: StarObjectPageStyle.cxx:169
bool read(StarZone &zone)
try to read a PageStyle zone
Definition: StarObjectPageStyle.cxx:454
Generated on Mon Jan 20 2020 23:02:17 for libstaroffice by
doxygen 1.8.16