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, double relUnit=0.05) | |
| constructor | |
| StarState (shared_ptr< GlobalState > global) | |
| constructor | |
| StarState (StarState const &orig) | |
| copy constructor | |
| ~StarState () | |
| destructor | |
| void | reinitializeLineData () |
| reinit the local data: break, font, content, footnote, ... | |
Public Attributes | |
| shared_ptr< GlobalState > | m_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 | |
| 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_footnote |
| flag to know if this is a footnote | |
| librevenge::RVNGString | m_link |
| the link url | |
| librevenge::RVNGString | m_refMark |
| the ref mark | |
| shared_ptr < SWFieldManagerInternal::Field > | m_field |
| the field | |
Private Member Functions | |
| StarState & | operator= (StarState const &) |
class to store an state: ie.
the current page, section, ... style
| StarState::StarState | ( | StarItemPool const * | pool, |
| StarObject & | object, | ||
| double | relUnit = 0.05 |
||
| ) | [inline] |
constructor
| StarState::StarState | ( | shared_ptr< GlobalState > | global | ) | [inline, explicit] |
constructor
| StarState::StarState | ( | StarState const & | orig | ) | [explicit] |
copy constructor
destructor
| void StarState::reinitializeLineData | ( | ) |
reinit the local data: break, font, content, footnote, ...
Referenced by StarObjectTextInternal::TextZone::inventoryPage(), StarObjectSmallTextInternal::Paragraph::send(), and StarObjectTextInternal::TextZone::send().
a page/column break: 1=columnBefore, 2=columnAfter, 3=columnBoth, 4=pageBefore, 5=pageAfter,n 6=pageBoth
Referenced by StarParagraphAttribute::StarPAttributeUInt::addTo(), StarObjectTextInternal::TextZone::inventoryPage(), StarObjectSmallTextInternal::Paragraph::send(), and StarObjectTextInternal::TextZone::send().
the cell style
Referenced by StarCellAttribute::StarCAttributeBool::addTo(), StarCellAttribute::StarCAttributeInt::addTo(), StarCellAttribute::StarCAttributeUInt::addTo(), StarCellAttribute::StarCAttributeMargins::addTo(), StarCellAttribute::StarCAttributeMerge::addTo(), StarCellAttribute::StarCAttributeProtection::addTo(), StarGraphicAttribute::StarGAttributeBorder::addTo(), StarGraphicAttribute::StarGAttributeBrush::addTo(), and StarGraphicAttribute::StarGAttributeShadow::addTo().
| bool StarState::m_content |
flag to know if this is a content zone
Referenced by StarCharAttribute::StarCAttributeContent::addTo(), reinitializeLineData(), StarFormatManagerInternal::FormatDef::send(), StarObjectSmallTextInternal::Paragraph::send(), and StarObjectTextInternal::TextZone::send().
| shared_ptr<SWFieldManagerInternal::Field> StarState::m_field |
the font
Referenced by StarCharAttribute::StarCAttributeBool::addTo(), StarCharAttribute::StarCAttributeColor::addTo(), StarCharAttribute::StarCAttributeInt::addTo(), StarCharAttribute::StarCAttributeUInt::addTo(), StarCharAttribute::StarCAttributeVoid::addTo(), StarCharAttribute::StarCAttributeEscapement::addTo(), StarCharAttribute::StarCAttributeFont::addTo(), StarCharAttribute::StarCAttributeFontSize::addTo(), StarGraphicAttribute::StarGAttributeBrush::addTo(), StarCharAttribute::StarCAttributeCharFormat::addTo(), StarGraphicAttribute::StarGAttributeNamedColor::addTo(), reinitializeLineData(), StarObjectSmallTextInternal::Paragraph::send(), and StarObjectTextInternal::TextZone::send().
flag to know if this is a footnote
Referenced by StarCharAttribute::StarCAttributeFootnote::addTo(), reinitializeLineData(), StarObjectSmallTextInternal::Paragraph::send(), and StarObjectTextInternal::TextZone::send().
| shared_ptr<GlobalState> StarState::m_global |
global state
Referenced by StarPageAttribute::StarPAttributeBool::addTo(), StarPageAttribute::StarPAttributeUInt::addTo(), StarPageAttribute::StarPAttributeItemSet::addTo(), StarPageAttribute::StarPAttributeVec2i::addTo(), StarParagraphAttribute::StarPAttributeDrop::addTo(), StarPageAttribute::StarPAttributeColumns::addTo(), StarPageAttribute::StarPAttributeFrameHF::addTo(), StarParagraphAttribute::StarPAttributeLineSpacing::addTo(), StarPageAttribute::StarPAttributePage::addTo(), StarCharAttribute::StarCAttributeFontSize::addTo(), StarParagraphAttribute::StarPAttributeLRSpace::addTo(), StarPageAttribute::StarPAttributePageDesc::addTo(), StarParagraphAttribute::StarPAttributeNumericRuler::addTo(), StarCharAttribute::StarCAttributeCharFormat::addTo(), StarPageAttribute::StarPAttributePageHF::addTo(), StarParagraphAttribute::StarPAttributeTabStop::addTo(), StarGraphicAttribute::StarGAttributeFrameSize::addTo(), StarParagraphAttribute::StarPAttributeULSpace::addTo(), StarPageAttribute::StarPAttributeViewMode::addTo(), StarAttributeItemSet::addTo(), StarObjectTextInternal::TextZone::inventoryPage(), StarObjectTextInternal::Content::inventoryPages(), StarObjectSmallTextInternal::Paragraph::send(), SWFieldManagerInternal::Field::send(), StarObjectTextInternal::Content::send(), StarTableInternal::TableLine::send(), StarObjectTextInternal::FormatZone::send(), StarObjectTextInternal::TextZone::send(), StarCharAttribute::StarCAttributeFootnote::send(), StarObjectText::sendPages(), StarObjectPageStyle::updatePageSpan(), StarObjectPageStyleInternal::PageDesc::updatePageSpan(), and StarObjectSmallGraphicInternal::SdrGraphicAttribute::updateStyle().
the graphic style
Referenced by StarGraphicAttribute::StarGAttributeBool::addTo(), StarGraphicAttribute::StarGAttributeInt::addTo(), StarGraphicAttribute::StarGAttributeUInt::addTo(), StarGraphicAttribute::StarGAttributeVoid::addTo(), StarGraphicAttribute::StarGAttributeBorder::addTo(), StarGraphicAttribute::StarGAttributeBrush::addTo(), StarGraphicAttribute::StarGAttributeCrop::addTo(), StarGraphicAttribute::StarGAttributeNamedArrow::addTo(), StarGraphicAttribute::StarGAttributeNamedBitmap::addTo(), StarGraphicAttribute::StarGAttributeNamedColor::addTo(), StarGraphicAttribute::StarGAttributeNamedDash::addTo(), StarGraphicAttribute::StarGAttributeNamedGradient::addTo(), StarGraphicAttribute::StarGAttributeNamedHatch::addTo(), StarGraphicAttribute::StarGAttributeShadow::addTo(), StarItemPool::defineGraphicStyle(), StarObjectSmallGraphicInternal::SdrGraphic::updateStyle(), and StarObjectSmallGraphicInternal::SdrGraphicAttribute::updateStyle().
| librevenge::RVNGString StarState::m_link |
the paragraph style
Referenced by StarParagraphAttribute::StarPAttributeBool::addTo(), StarParagraphAttribute::StarPAttributeUInt::addTo(), StarParagraphAttribute::StarPAttributeAdjust::addTo(), StarParagraphAttribute::StarPAttributeBulletNumeric::addTo(), StarParagraphAttribute::StarPAttributeBulletSimple::addTo(), StarParagraphAttribute::StarPAttributeDrop::addTo(), StarParagraphAttribute::StarPAttributeLineNumbering::addTo(), StarGraphicAttribute::StarGAttributeBorder::addTo(), StarParagraphAttribute::StarPAttributeLineSpacing::addTo(), StarParagraphAttribute::StarPAttributeLRSpace::addTo(), StarGraphicAttribute::StarGAttributeBrush::addTo(), StarParagraphAttribute::StarPAttributeTabStop::addTo(), StarParagraphAttribute::StarPAttributeULSpace::addTo(), StarItemPool::defineParagraphStyle(), StarObjectSmallTextInternal::Paragraph::send(), and StarObjectTextInternal::TextZone::send().
| librevenge::RVNGString StarState::m_refMark |
| librevenge::RVNGString StarState::m_styleName |
the style name
Referenced by StarObjectTextInternal::TextZone::inventoryPage(), and StarObjectTextInternal::TextZone::send().