StarState Class Reference

class to store an state: ie. More...

#include <StarState.hxx>

Classes

struct  GlobalState
 small struct use to store global data More...
 

Public Member Functions

 StarState (StarItemPool const *pool, StarObject &object)
 constructor
 
 StarState (GlobalState const &global)
 constructor which create a copy of the global state
 
 StarState (std::shared_ptr< GlobalState > &global)
 constructor which share the global state
 
 ~StarState ()
 destructor
 
void reinitializeLineData ()
 reinit the local data: break, font, content, footnote, ...
 
double convertInPoint (double val) const
 return the relative units
 
STOFFVec2f convertPointInPoint (STOFFVec2f const &val) const
 return the relative units
 
STOFFVec2f convertVectorInPoint (STOFFVec2f const &val) const
 return the relative units
 

Public Attributes

std::shared_ptr< GlobalStatem_global
 global state
 
librevenge::RVNGString m_styleName
 the style name
 
int m_break
 a page/column break: 1=columnBefore, 2=columnAfter, 3=columnBoth, 4=pageBefore, 5=pageAfter,n 6=pageBoth
 
STOFFCellStyle m_cell
 the cell style
 
STOFFFrameStyle m_frame
 the frame style
 
STOFFGraphicStyle m_graphic
 the graphic style
 
STOFFParagraph m_paragraph
 the paragraph style
 
STOFFFont m_font
 the font
 
bool m_content
 flag to know if this is a content zone
 
bool m_flyCnt
 flag to know if this is a flyCnt
 
bool m_footnote
 flag to know if this is a footnote
 
bool m_headerFooter
 flag to know if this is a header/footer
 
librevenge::RVNGString m_link
 the link url
 
librevenge::RVNGString m_refMark
 the ref mark
 
std::shared_ptr< SWFieldManagerInternal::Fieldm_field
 the field
 

Detailed Description

class to store an state: ie.

the current page, section, ... style

Constructor & Destructor Documentation

◆ StarState() [1/3]

StarState::StarState ( StarItemPool const *  pool,
StarObject object 
)

constructor

◆ StarState() [2/3]

StarState::StarState ( StarState::GlobalState const &  global)
explicit

constructor which create a copy of the global state

◆ StarState() [3/3]

StarState::StarState ( std::shared_ptr< GlobalState > &  global)
inlineexplicit

constructor which share the global state

◆ ~StarState()

StarState::~StarState ( )

destructor

Member Function Documentation

◆ convertInPoint()

◆ convertPointInPoint()

◆ convertVectorInPoint()

◆ reinitializeLineData()

void StarState::reinitializeLineData ( )

Member Data Documentation

◆ m_break

int StarState::m_break

a page/column break: 1=columnBefore, 2=columnAfter, 3=columnBoth, 4=pageBefore, 5=pageAfter,n 6=pageBoth

Referenced by StarFrameAttribute::StarFAttributeUInt::addTo(), StarObjectTextInternal::TextZone::inventoryPage(), StarObjectSmallTextInternal::Paragraph::send(), and StarObjectTextInternal::TextZone::send().

◆ m_cell

◆ m_content

◆ m_field

◆ m_flyCnt

◆ m_font

◆ m_footnote

◆ m_frame

◆ m_global

std::shared_ptr<GlobalState> StarState::m_global

global state

Referenced by StarCharAttribute::StarCAttributeFontSize::addTo(), StarCharAttribute::StarCAttributeCharFormat::addTo(), StarFrameAttribute::StarFAttributeFrameSize::addTo(), StarFrameAttribute::StarFAttributeLRSpace::addTo(), StarFrameAttribute::StarFAttributeULSpace::addTo(), StarGraphicAttribute::StarGAttributeNamedArrow::addTo(), StarPageAttribute::StarPAttributeBool::addTo(), StarPageAttribute::StarPAttributeUInt::addTo(), StarPageAttribute::StarPAttributeVec2i::addTo(), StarPageAttribute::StarPAttributeColumns::addTo(), StarPageAttribute::StarPAttributeFrameHF::addTo(), StarPageAttribute::StarPAttributePage::addTo(), StarPageAttribute::StarPAttributePageDesc::addTo(), StarPageAttribute::StarPAttributePageHF::addTo(), StarPageAttribute::StarPAttributeViewMode::addTo(), StarParagraphAttribute::StarPAttributeDrop::addTo(), StarParagraphAttribute::StarPAttributeLineSpacing::addTo(), StarParagraphAttribute::StarPAttributeNumericRuler::addTo(), StarParagraphAttribute::StarPAttributeTabStop::addTo(), StarPageAttribute::StarPAttributeItemSet::addTo(), StarAttributeItemSet::addTo(), convertInPoint(), convertPointInPoint(), convertVectorInPoint(), StarObjectSmallGraphicInternal::SdrGraphic::getState(), StarObjectTextInternal::TextZone::inventoryPage(), StarObjectTextInternal::Content::inventoryPages(), StarObjectSmallTextInternal::Paragraph::send(), SWFieldManagerInternal::Field::send(), StarObjectTextInternal::FormatZone::send(), StarObjectTextInternal::TextZone::send(), StarObjectTextInternal::Content::send(), StarCharAttribute::StarCAttributeFootnote::send(), StarObjectSmallGraphicInternal::SdrGraphicGroup::send(), StarObjectSmallGraphicInternal::SdrGraphicRect::send(), StarObjectSmallGraphicInternal::SdrGraphicCaption::send(), StarObjectSmallGraphicInternal::SdrGraphicCircle::send(), StarObjectSmallGraphicInternal::SdrGraphicEdge::send(), StarObjectSmallGraphicInternal::SdrGraphicMeasure::send(), StarObjectSmallGraphicInternal::SdrGraphicPath::send(), StarTableInternal::Table::send(), StarFormatManagerInternal::FormatDef::send(), StarTableInternal::TableBox::send(), StarObjectText::sendPages(), StarState(), StarObjectPageStyle::updatePageSpan(), StarObjectPageStyleInternal::PageDesc::updatePageSpan(), StarObjectPageStyle::updatePageSpans(), StarObjectSpreadsheet::updatePageSpans(), StarObjectText::updatePageSpans(), and StarObjectSmallGraphicInternal::SdrGraphicAttribute::updateStyle().

◆ m_graphic

STOFFGraphicStyle StarState::m_graphic

the graphic style

Referenced by StarFrameAttribute::StarFAttributeBorder::addTo(), StarFrameAttribute::StarFAttributeBrush::addTo(), StarFrameAttribute::StarFAttributeShadow::addTo(), StarGraphicAttribute::StarGAttributeBool::addTo(), StarGraphicAttribute::StarGAttributeInt::addTo(), StarGraphicAttribute::StarGAttributeUInt::addTo(), StarGraphicAttribute::StarGAttributeVoid::addTo(), StarGraphicAttribute::StarGAttributeCrop::addTo(), StarGraphicAttribute::StarGAttributeNamedArrow::addTo(), StarGraphicAttribute::StarGAttributeNamedBitmap::addTo(), StarGraphicAttribute::StarGAttributeNamedColor::addTo(), StarGraphicAttribute::StarGAttributeNamedDash::addTo(), StarGraphicAttribute::StarGAttributeNamedGradient::addTo(), StarGraphicAttribute::StarGAttributeNamedHatch::addTo(), StarItemPool::defineGraphicStyle(), StarObjectTextInternal::GraphZone::send(), StarObjectTextInternal::OLEZone::send(), StarObjectTextInternal::Content::send(), StarObjectSmallGraphicInternal::SdrGraphicGraph::send(), StarObjectSmallGraphicInternal::SdrGraphicOLE::send(), StarObjectSmallGraphicInternal::SdrGraphicRect::send(), StarObjectSmallGraphicInternal::SdrGraphicCaption::send(), StarObjectSmallGraphicInternal::SdrGraphicCircle::send(), StarObjectSmallGraphicInternal::SdrGraphicEdge::send(), StarObjectSmallGraphicInternal::SdrGraphicMeasure::send(), StarObjectSmallGraphicInternal::SdrGraphicPath::send(), StarObjectSmallGraphicInternal::SdrGraphicText::sendTextZone(), StarObjectSmallGraphicInternal::SdrGraphicAttribute::updateStyle(), and StarObjectSmallGraphicInternal::SdrGraphic::updateStyle().

◆ m_headerFooter

bool StarState::m_headerFooter

flag to know if this is a header/footer

Referenced by StarPageAttribute::SubDocument::parse(), and StarCharAttribute::StarCAttributeContent::send().

◆ m_link

◆ m_paragraph

◆ m_refMark

◆ m_styleName

librevenge::RVNGString StarState::m_styleName

The documentation for this class was generated from the following files:

Generated on Fri Apr 14 2023 04:41:10 for libstaroffice by doxygen 1.9.6