Class to store a graphic style. More...
#include <STOFFGraphicStyle.hxx>
Public Member Functions | |
STOFFGraphicStyle () | |
constructor | |
void | addTo (librevenge::RVNGPropertyList &propList) const |
add to the propList | |
bool | operator== (STOFFGraphicStyle const &graphicStyle) const |
operator== | |
bool | operator!= (STOFFGraphicStyle const &graphicStyle) const |
operator!= | |
Static Public Member Functions | |
static void | checkForDefault (librevenge::RVNGPropertyList &propList) |
check if the line style is set and the fill style is set. | |
static void | checkForPadding (librevenge::RVNGPropertyList &propList) |
check if the padding margins are set, if not set them to 0 | |
Public Attributes | |
librevenge::RVNGPropertyList | m_propertyList |
the property list | |
bool | m_hasBackground |
true if background attribute is set | |
bool | m_protections [3] |
the protection: move, size, printable | |
Friends | |
std::ostream & | operator<< (std::ostream &o, STOFFGraphicStyle const &graphicStyle) |
operator<< | |
Class to store a graphic style.
STOFFGraphicStyle::STOFFGraphicStyle | ( | ) |
constructor
void STOFFGraphicStyle::addTo | ( | librevenge::RVNGPropertyList & | propList | ) | const |
add to the propList
Referenced by STOFFGraphicListener::_handleFrameParameters(), STOFFTextListener::_handleFrameParameters(), STOFFChart::Axis::addStyleTo(), STOFFChart::Legend::addStyleTo(), STOFFChart::Serie::addStyleTo(), STOFFChart::TextZone::addStyleTo(), STOFFGraphicListener::insertEquation(), STOFFGraphicListener::insertPicture(), STOFFGraphicListener::insertShape(), STOFFSpreadsheetListener::insertShape(), STOFFTextListener::insertShape(), and STOFFChart::sendChart().
|
static |
check if the line style is set and the fill style is set.
If not set the line style, to black color and the fill style to none
Referenced by STOFFGraphicListener::defineStyle(), STOFFSpreadsheetListener::defineStyle(), STOFFTextListener::defineStyle(), STOFFGraphicListener::insertShape(), STOFFSpreadsheetListener::insertShape(), and STOFFTextListener::insertShape().
|
static |
check if the padding margins are set, if not set them to 0
Referenced by STOFFGraphicListener::defineStyle(), STOFFSpreadsheetListener::defineStyle(), STOFFTextListener::defineStyle(), STOFFSpreadsheetListener::insertTextBox(), STOFFGraphicListener::insertTextBox(), and STOFFTextListener::insertTextBox().
|
inline |
operator!=
bool STOFFGraphicStyle::operator== | ( | STOFFGraphicStyle const & | graphicStyle | ) | const |
operator==
Referenced by operator!=().
|
friend |
operator<<
bool STOFFGraphicStyle::m_hasBackground |
true if background attribute is set
Referenced by StarGraphicAttribute::StarGAttributeBool::addTo(), and operator==().
librevenge::RVNGPropertyList STOFFGraphicStyle::m_propertyList |
the property list
Referenced by addTo(), 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(), STOFFChart::Axis::Axis(), StarItemPool::defineGraphicStyle(), STOFFGraphicListener::defineStyle(), STOFFSpreadsheetListener::defineStyle(), STOFFTextListener::defineStyle(), STOFFSpreadsheetListener::insertTextBox(), STOFFTextListener::insertTextBox(), STOFFSpreadsheetListener::openFrame(), operator==(), SDGParser::parse(), StarObjectTextInternal::GraphZone::send(), StarObjectTextInternal::OLEZone::send(), StarObjectTextInternal::Content::send(), StarObjectSmallGraphicInternal::SdrGraphicText::sendTextZone(), STOFFChart::TextZone::TextZone(), StarObjectSmallGraphicInternal::SdrGraphicAttribute::updateStyle(), and StarObjectSmallGraphicInternal::SdrGraphic::updateStyle().
bool STOFFGraphicStyle::m_protections[3] |
the protection: move, size, printable
Referenced by StarGraphicAttribute::StarGAttributeBool::addTo(), and STOFFGraphicStyle().