libvisio::VSDStyles Class Reference

#include <VSDStyles.h>

Public Member Functions

 VSDStyles ()
 
 VSDStyles (const VSDStyles &styles)
 
 ~VSDStyles ()
 
VSDStylesoperator= (const VSDStyles &styles)
 
void addLineStyle (unsigned lineStyleIndex, const VSDOptionalLineStyle &lineStyle)
 
void addFillStyle (unsigned fillStyleIndex, const VSDOptionalFillStyle &fillStyle)
 
void addTextBlockStyle (unsigned textStyleIndex, const VSDOptionalTextBlockStyle &textBlockStyle)
 
void addCharStyle (unsigned textStyleIndex, const VSDOptionalCharStyle &charStyle)
 
void addParaStyle (unsigned textStyleIndex, const VSDOptionalParaStyle &paraStyle)
 
void addStyleThemeReference (unsigned styleIndex, const VSDOptionalThemeReference &themeRef)
 
void addLineStyleMaster (unsigned lineStyleIndex, unsigned lineStyleMaster)
 
void addFillStyleMaster (unsigned fillStyleIndex, unsigned fillStyleMaster)
 
void addTextStyleMaster (unsigned textStyleIndex, unsigned textStyleMaster)
 
VSDOptionalLineStyle getOptionalLineStyle (unsigned lineStyleIndex) const
 
VSDFillStyle getFillStyle (unsigned fillStyleIndex) const
 
VSDOptionalFillStyle getOptionalFillStyle (unsigned fillStyleIndex) const
 
VSDOptionalTextBlockStyle getOptionalTextBlockStyle (unsigned textStyleIndex) const
 
VSDOptionalCharStyle getOptionalCharStyle (unsigned textStyleIndex) const
 
VSDOptionalParaStyle getOptionalParaStyle (unsigned textStyleIndex) const
 
VSDOptionalThemeReference getOptionalThemeReference (unsigned styleIndex) const
 

Private Attributes

std::map< unsigned,
VSDOptionalLineStyle
m_lineStyles
 
std::map< unsigned,
VSDOptionalFillStyle
m_fillStyles
 
std::map< unsigned,
VSDOptionalTextBlockStyle
m_textBlockStyles
 
std::map< unsigned,
VSDOptionalCharStyle
m_charStyles
 
std::map< unsigned,
VSDOptionalParaStyle
m_paraStyles
 
std::map< unsigned,
VSDOptionalThemeReference
m_themeRefs
 
std::map< unsigned, unsigned > m_lineStyleMasters
 
std::map< unsigned, unsigned > m_fillStyleMasters
 
std::map< unsigned, unsigned > m_textStyleMasters
 

Constructor & Destructor Documentation

libvisio::VSDStyles::VSDStyles ( )
libvisio::VSDStyles::VSDStyles ( const VSDStyles styles)
libvisio::VSDStyles::~VSDStyles ( )

Member Function Documentation

void libvisio::VSDStyles::addCharStyle ( unsigned  textStyleIndex,
const VSDOptionalCharStyle charStyle 
)
void libvisio::VSDStyles::addFillStyle ( unsigned  fillStyleIndex,
const VSDOptionalFillStyle fillStyle 
)
void libvisio::VSDStyles::addFillStyleMaster ( unsigned  fillStyleIndex,
unsigned  fillStyleMaster 
)
void libvisio::VSDStyles::addLineStyle ( unsigned  lineStyleIndex,
const VSDOptionalLineStyle lineStyle 
)
void libvisio::VSDStyles::addLineStyleMaster ( unsigned  lineStyleIndex,
unsigned  lineStyleMaster 
)
void libvisio::VSDStyles::addParaStyle ( unsigned  textStyleIndex,
const VSDOptionalParaStyle paraStyle 
)
void libvisio::VSDStyles::addStyleThemeReference ( unsigned  styleIndex,
const VSDOptionalThemeReference themeRef 
)
void libvisio::VSDStyles::addTextBlockStyle ( unsigned  textStyleIndex,
const VSDOptionalTextBlockStyle textBlockStyle 
)
void libvisio::VSDStyles::addTextStyleMaster ( unsigned  textStyleIndex,
unsigned  textStyleMaster 
)
libvisio::VSDFillStyle libvisio::VSDStyles::getFillStyle ( unsigned  fillStyleIndex) const
libvisio::VSDOptionalCharStyle libvisio::VSDStyles::getOptionalCharStyle ( unsigned  textStyleIndex) const
libvisio::VSDOptionalFillStyle libvisio::VSDStyles::getOptionalFillStyle ( unsigned  fillStyleIndex) const
libvisio::VSDOptionalLineStyle libvisio::VSDStyles::getOptionalLineStyle ( unsigned  lineStyleIndex) const
libvisio::VSDOptionalParaStyle libvisio::VSDStyles::getOptionalParaStyle ( unsigned  textStyleIndex) const
libvisio::VSDOptionalTextBlockStyle libvisio::VSDStyles::getOptionalTextBlockStyle ( unsigned  textStyleIndex) const
libvisio::VSDOptionalThemeReference libvisio::VSDStyles::getOptionalThemeReference ( unsigned  styleIndex) const
libvisio::VSDStyles & libvisio::VSDStyles::operator= ( const VSDStyles styles)

Member Data Documentation

std::map<unsigned, VSDOptionalCharStyle> libvisio::VSDStyles::m_charStyles
private

Referenced by operator=().

std::map<unsigned, unsigned> libvisio::VSDStyles::m_fillStyleMasters
private

Referenced by operator=().

std::map<unsigned, VSDOptionalFillStyle> libvisio::VSDStyles::m_fillStyles
private

Referenced by operator=().

std::map<unsigned, unsigned> libvisio::VSDStyles::m_lineStyleMasters
private

Referenced by operator=().

std::map<unsigned, VSDOptionalLineStyle> libvisio::VSDStyles::m_lineStyles
private

Referenced by operator=().

std::map<unsigned, VSDOptionalParaStyle> libvisio::VSDStyles::m_paraStyles
private

Referenced by operator=().

std::map<unsigned, VSDOptionalTextBlockStyle> libvisio::VSDStyles::m_textBlockStyles
private

Referenced by operator=().

std::map<unsigned, unsigned> libvisio::VSDStyles::m_textStyleMasters
private

Referenced by operator=().

std::map<unsigned, VSDOptionalThemeReference> libvisio::VSDStyles::m_themeRefs
private

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

Generated for libvisio by doxygen 1.8.6