39# define STAR_STATE_HXX
126 explicit StarState(std::shared_ptr<GlobalState> &global)
152 return m_global->m_relativeUnit*val;
162 return float(
m_global->m_relativeUnit)*val;
196 std::shared_ptr<SWFieldManagerInternal::Field>
m_field;
Class to store a cell style.
Definition STOFFCellStyle.hxx:44
Class to store font.
Definition STOFFFont.hxx:44
Class to store a frame style.
Definition STOFFFrameStyle.hxx:46
Class to store a graphic style.
Definition STOFFGraphicStyle.hxx:45
a small structure used to store the informations about a list
Definition STOFFList.hxx:110
A class which defines the page properties.
Definition STOFFPageSpan.hxx:76
ZoneType
the zone type
Definition STOFFPageSpan.hxx:79
class to store the paragraph properties
Definition STOFFParagraph.hxx:48
the main class to read/.
Definition StarItemPool.hxx:71
the main class to read a SdrModel zone
Definition StarObjectModel.hxx:65
the main class to read a SwNumRules zone
Definition StarObjectNumericRuler.hxx:64
an object corresponding to an OLE directory
Definition StarObject.hxx:65
class to store an state: ie.
Definition StarState.hxx:68
bool m_footnote
flag to know if this is a footnote
Definition StarState.hxx:188
int m_break
a page/column break: 1=columnBefore, 2=columnAfter, 3=columnBoth, 4=pageBefore, 5=pageAfter,...
Definition StarState.hxx:170
STOFFFont m_font
the font
Definition StarState.hxx:182
bool m_headerFooter
flag to know if this is a header/footer
Definition StarState.hxx:190
bool m_content
flag to know if this is a content zone
Definition StarState.hxx:184
StarState(StarItemPool const *pool, StarObject &object)
constructor
Definition StarState.cxx:50
void reinitializeLineData()
reinit the local data: break, font, content, footnote, ...
Definition StarState.cxx:92
double convertInPoint(double val) const
return the relative units
Definition StarState.hxx:150
bool m_flyCnt
flag to know if this is a flyCnt
Definition StarState.hxx:186
librevenge::RVNGString m_styleName
the style name
Definition StarState.hxx:167
STOFFParagraph m_paragraph
the paragraph style
Definition StarState.hxx:180
STOFFCellStyle m_cell
the cell style
Definition StarState.hxx:173
StarState(std::shared_ptr< GlobalState > &global)
constructor which share the global state
Definition StarState.hxx:126
std::shared_ptr< GlobalState > m_global
global state
Definition StarState.hxx:165
STOFFGraphicStyle m_graphic
the graphic style
Definition StarState.hxx:177
STOFFFrameStyle m_frame
the frame style
Definition StarState.hxx:175
STOFFVec2f convertPointInPoint(STOFFVec2f const &val) const
return the relative units
Definition StarState.hxx:155
std::shared_ptr< SWFieldManagerInternal::Field > m_field
the field
Definition StarState.hxx:196
~StarState()
destructor
Definition StarState.cxx:88
librevenge::RVNGString m_link
the link url
Definition StarState.hxx:192
STOFFVec2f convertVectorInPoint(STOFFVec2f const &val) const
return the relative units
Definition StarState.hxx:160
librevenge::RVNGString m_refMark
the ref mark
Definition StarState.hxx:194
a zone in a StarOffice file
Definition StarZone.hxx:57
Internal: the structures of a SWFieldManager.
Definition StarState.hxx:61
Internal: a field.
Definition SWFieldManager.hxx:53
small struct use to store global data
Definition StarState.hxx:71
STOFFVec2f m_offset
an offset: in point
Definition StarState.hxx:116
std::vector< librevenge::RVNGString > m_pageNameList
the list of page name
Definition StarState.hxx:104
librevenge::RVNGString m_pageName
the page name
Definition StarState.hxx:102
STOFFPageSpan m_page
the page
Definition StarState.hxx:100
int m_listLevel
the current list level
Definition StarState.hxx:112
StarItemPool const * m_pool
the pool
Definition StarState.hxx:92
GlobalState(GlobalState const &)=delete
std::shared_ptr< StarObjectNumericRuler > m_numericRuler
the numeric ruler manager
Definition StarState.hxx:98
std::shared_ptr< StarObjectModel > m_objectModel
the object model(for sdw file)
Definition StarState.hxx:96
std::string m_pageOccurence
the page occurence: all, first, left, right
Definition StarState.hxx:108
STOFFPageSpan::ZoneType m_pageZone
the actual page zone: document, header, footer
Definition StarState.hxx:106
~GlobalState()
destructor
Definition StarState.cxx:46
GlobalState & operator=(GlobalState const &)=delete
GlobalState(StarItemPool const *pool, StarObject &object, double relUnit=0.05)
constructor
Definition StarState.hxx:73
double m_relativeUnit
the relative unit uses to transform rel font height in point, default 1/20
Definition StarState.hxx:114
std::shared_ptr< STOFFList > m_list
the current list
Definition StarState.hxx:110
StarObject & m_object
the object
Definition StarState.hxx:94