STOFFGraphicStyle Class Reference

Class to store a graphic style. More...

#include <STOFFGraphicStyle.hxx>

Public Member Functions

 STOFFGraphicStyle ()
 constructor More...
 
void addTo (librevenge::RVNGPropertyList &propList) const
 add to the propList More...
 
bool operator== (STOFFGraphicStyle const &graphicStyle) const
 operator== More...
 
bool operator!= (STOFFGraphicStyle const &graphicStyle) const
 operator!= More...
 

Static Public Member Functions

static void checkForDefault (librevenge::RVNGPropertyList &propList)
 check if the line style is set and the fill style is set. More...
 
static void checkForPadding (librevenge::RVNGPropertyList &propList)
 check if the padding margins are set, if not set them to 0 More...
 

Public Attributes

librevenge::RVNGPropertyList m_propertyList
 the property list More...
 
bool m_hasBackground
 true if background attribute is set More...
 
bool m_protections [3]
 the protection: move, size, printable More...
 

Friends

std::ostream & operator<< (std::ostream &o, STOFFGraphicStyle const &graphicStyle)
 operator<< More...
 

Detailed Description

Class to store a graphic style.

Constructor & Destructor Documentation

STOFFGraphicStyle::STOFFGraphicStyle ( )

constructor

Member Function Documentation

void STOFFGraphicStyle::checkForDefault ( librevenge::RVNGPropertyList &  propList)
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(), STOFFTextListener::defineStyle(), STOFFSpreadsheetListener::defineStyle(), STOFFGraphicListener::insertShape(), STOFFTextListener::insertShape(), and STOFFSpreadsheetListener::insertShape().

void STOFFGraphicStyle::checkForPadding ( librevenge::RVNGPropertyList &  propList)
static
bool STOFFGraphicStyle::operator!= ( STOFFGraphicStyle const &  graphicStyle) const
inline

operator!=

bool STOFFGraphicStyle::operator== ( STOFFGraphicStyle const &  graphicStyle) const

operator==

Referenced by operator!=().

Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  o,
STOFFGraphicStyle const &  graphicStyle 
)
friend

operator<<

Member Data Documentation

bool STOFFGraphicStyle::m_hasBackground

true if background attribute is set

Referenced by StarGraphicAttribute::StarGAttributeBool::addTo(), and operator==().

bool STOFFGraphicStyle::m_protections[3]

the protection: move, size, printable

Referenced by StarGraphicAttribute::StarGAttributeBool::addTo(), and STOFFGraphicStyle().


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

Generated on Sat Jul 29 2017 14:32:45 for libstaroffice by doxygen 1.8.8