a boolean attribute More...
#include <StarAttribute.hxx>
Public Member Functions | |
StarAttributeBool (Type type, std::string const &debugName, bool value) | |
constructor More... | |
virtual shared_ptr< StarAttribute > | create () const |
create a new attribute More... | |
virtual bool | read (StarZone &zone, int ver, long endPos, StarObject &object) |
read a zone More... | |
virtual void | printData (libstoff::DebugStream &o) const |
debug function to print the data More... | |
![]() | |
virtual | ~StarAttribute () |
destructor More... | |
Type | getType () const |
returns the attribute type More... | |
void | addTo (StarState &state) const |
add to a state More... | |
bool | send (STOFFListenerPtr listener, StarState &state) const |
add to send the zone data More... | |
virtual void | addTo (StarState &, std::set< StarAttribute const * > &) const |
add to a state(internal) More... | |
virtual bool | send (STOFFListenerPtr, StarState &, std::set< StarAttribute const * > &) const |
try to send the child zone(internal) More... | |
std::string const & | getDebugName () const |
returns the debug name More... | |
virtual void | print (libstoff::DebugStream &o, std::set< StarAttribute const * > &done) const |
debug function to print the data More... | |
Protected Member Functions | |
StarAttributeBool (StarAttributeBool const &orig) | |
copy constructor More... | |
![]() | |
StarAttribute (Type type, std::string const &debugName) | |
constructor More... | |
StarAttribute (StarAttribute const &orig) | |
copy constructor More... | |
Protected Attributes | |
bool | m_value |
![]() | |
Type | m_type |
the type More... | |
std::string | m_debugName |
the debug name More... | |
a boolean attribute
|
inline |
constructor
|
inlineprotected |
copy constructor
|
inlinevirtual |
create a new attribute
Implements StarAttribute.
Reimplemented in StarGraphicAttribute::StarGAttributeBool, StarCharAttribute::StarCAttributeBool, StarParagraphAttribute::StarPAttributeBool, StarPageAttribute::StarPAttributeBool, StarCellAttribute::StarCAttributeBool, and StarFrameAttribute::StarFAttributeBool.
|
inlinevirtual |
debug function to print the data
Reimplemented from StarAttribute.
Referenced by StarParagraphAttribute::StarPAttributeTabStop::printData(), StarGraphicAttribute::StarGAttributeFraction::read(), StarFrameAttribute::StarFAttributeBorder::read(), StarParagraphAttribute::StarPAttributeAdjust::read(), StarFrameAttribute::StarFAttributeBrush::read(), StarCellAttribute::StarCAttributeMargins::read(), StarParagraphAttribute::StarPAttributeBulletNumeric::read(), StarFrameAttribute::StarFAttributeFrameSize::read(), StarCellAttribute::StarCAttributeMerge::read(), StarFrameAttribute::StarFAttributeLineNumbering::read(), StarParagraphAttribute::StarPAttributeDrop::read(), StarFrameAttribute::StarFAttributeLRSpace::read(), StarParagraphAttribute::StarPAttributeHyphen::read(), StarCharAttribute::StarCAttributeEscapement::read(), StarCellAttribute::StarCAttributeProtection::read(), StarPageAttribute::StarPAttributeColumns::read(), StarFrameAttribute::StarFAttributeOrientation::read(), StarCharAttribute::StarCAttributeFont::read(), StarParagraphAttribute::StarPAttributeLineSpacing::read(), StarFrameAttribute::StarFAttributeShadow::read(), StarGraphicAttribute::StarGAttributeBoxInfo::read(), StarPageAttribute::StarPAttributeFrameHF::read(), StarParagraphAttribute::StarPAttributeNumericRuler::read(), StarGraphicAttribute::StarGAttributeCrop::read(), StarPageAttribute::StarPAttributePage::read(), StarCharAttribute::StarCAttributeFontSize::read(), StarFrameAttribute::StarFAttributeULSpace::read(), StarParagraphAttribute::StarPAttributeTabStop::read(), StarPageAttribute::StarPAttributePageDesc::read(), StarCharAttribute::StarCAttributeCharFormat::read(), StarGraphicAttribute::StarGAttributeNamedArrow::read(), StarCharAttribute::StarCAttributeContent::read(), StarPageAttribute::StarPAttributePageHF::read(), StarGraphicAttribute::StarGAttributeNamedBitmap::read(), StarCharAttribute::StarCAttributeField::read(), StarPageAttribute::StarPAttributePrint::read(), StarGraphicAttribute::StarGAttributeNamedColor::read(), StarCharAttribute::StarCAttributeFootnote::read(), StarPageAttribute::StarPAttributeRangeItem::read(), StarGraphicAttribute::StarGAttributeNamedDash::read(), StarCharAttribute::StarCAttributeINetFmt::read(), StarGraphicAttribute::StarGAttributeNamedGradient::read(), StarCharAttribute::StarCAttributeRefMark::read(), and StarGraphicAttribute::StarGAttributeNamedHatch::read().
|
virtual |
read a zone
Implements StarAttribute.
Referenced by StarGraphicAttribute::StarGAttributeFraction::create(), StarFrameAttribute::StarFAttributeBorder::create(), StarParagraphAttribute::StarPAttributeAdjust::create(), StarFrameAttribute::StarFAttributeBrush::create(), StarCellAttribute::StarCAttributeMargins::create(), StarParagraphAttribute::StarPAttributeBulletNumeric::create(), StarFrameAttribute::StarFAttributeFrameSize::create(), StarCellAttribute::StarCAttributeMerge::create(), StarParagraphAttribute::StarPAttributeBulletSimple::create(), StarFrameAttribute::StarFAttributeLineNumbering::create(), StarParagraphAttribute::StarPAttributeDrop::create(), StarFrameAttribute::StarFAttributeLRSpace::create(), StarParagraphAttribute::StarPAttributeHyphen::create(), StarCharAttribute::StarCAttributeEscapement::create(), StarCellAttribute::StarCAttributeProtection::create(), StarPageAttribute::StarPAttributeColumns::create(), StarFrameAttribute::StarFAttributeOrientation::create(), StarCharAttribute::StarCAttributeFont::create(), StarParagraphAttribute::StarPAttributeLineSpacing::create(), StarFrameAttribute::StarFAttributeShadow::create(), StarGraphicAttribute::StarGAttributeBoxInfo::create(), StarPageAttribute::StarPAttributeFrameHF::create(), StarParagraphAttribute::StarPAttributeNumericRuler::create(), StarGraphicAttribute::StarGAttributeCrop::create(), StarPageAttribute::StarPAttributePage::create(), StarCharAttribute::StarCAttributeFontSize::create(), StarFrameAttribute::StarFAttributeULSpace::create(), StarParagraphAttribute::StarPAttributeTabStop::create(), StarPageAttribute::StarPAttributePageDesc::create(), StarGraphicAttribute::StarGAttributeNamedArrow::create(), StarCharAttribute::StarCAttributeContent::create(), StarPageAttribute::StarPAttributePageHF::create(), StarGraphicAttribute::StarGAttributeNamedBitmap::create(), StarCharAttribute::StarCAttributeField::create(), StarPageAttribute::StarPAttributePrint::create(), StarGraphicAttribute::StarGAttributeNamedColor::create(), StarCharAttribute::StarCAttributeFootnote::create(), StarPageAttribute::StarPAttributeRangeItem::create(), StarGraphicAttribute::StarGAttributeNamedDash::create(), StarCharAttribute::StarCAttributeINetFmt::create(), StarGraphicAttribute::StarGAttributeNamedGradient::create(), StarCharAttribute::StarCAttributeRefMark::create(), StarGraphicAttribute::StarGAttributeNamedHatch::create(), StarCharAttribute::StarCAttributeCharFormat::printData(), and StarGraphicAttribute::StarGAttributeNamed::StarGAttributeNamed().
|
protected |
Referenced by StarFrameAttribute::StarFAttributeBool::addTo(), StarCellAttribute::StarCAttributeBool::addTo(), StarPageAttribute::StarPAttributeBool::addTo(), StarCharAttribute::StarCAttributeBool::addTo(), StarParagraphAttribute::StarPAttributeBool::addTo(), StarGraphicAttribute::StarGAttributeBool::addTo(), StarCharAttribute::StarCAttributeColor::addTo(), StarCharAttribute::StarCAttributeInt::addTo(), StarCellAttribute::StarCAttributeInt::addTo(), StarCharAttribute::StarCAttributeUInt::addTo(), StarCellAttribute::StarCAttributeUInt::addTo(), StarPageAttribute::StarPAttributeUInt::addTo(), StarFrameAttribute::StarFAttributeUInt::addTo(), StarGraphicAttribute::StarGAttributeInt::addTo(), StarParagraphAttribute::StarPAttributeUInt::addTo(), StarGraphicAttribute::StarGAttributeUInt::addTo(), StarPageAttribute::StarPAttributeVec2i::addTo(), StarPageAttribute::StarPAttributeViewMode::addTo(), StarPageAttribute::StarPAttributeViewMode::printData(), StarFrameAttribute::StarFAttributeUInt::read(), StarParagraphAttribute::StarPAttributeUInt::read(), and StarPageAttribute::StarPAttributeViewMode::read().