STOFFGraphicStyle Class Reference

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<<
 

Detailed Description

Class to store a graphic style.

Constructor & Destructor Documentation

◆ STOFFGraphicStyle()

STOFFGraphicStyle::STOFFGraphicStyle ( )

constructor

Member Function Documentation

◆ addTo()

◆ checkForDefault()

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(), STOFFSpreadsheetListener::defineStyle(), STOFFTextListener::defineStyle(), STOFFGraphicListener::insertShape(), STOFFSpreadsheetListener::insertShape(), and STOFFTextListener::insertShape().

◆ checkForPadding()

void STOFFGraphicStyle::checkForPadding ( librevenge::RVNGPropertyList &  propList)
static

◆ operator!=()

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

operator!=

◆ operator==()

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

operator==

Referenced by operator!=().

Friends And Related Function Documentation

◆ operator<<

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

operator<<

Member Data Documentation

◆ m_hasBackground

bool STOFFGraphicStyle::m_hasBackground

true if background attribute is set

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

◆ m_propertyList

librevenge::RVNGPropertyList STOFFGraphicStyle::m_propertyList

◆ m_protections

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 Fri Apr 14 2023 04:41:10 for libstaroffice by doxygen 1.9.6