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 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 VSDXTheme *theme) const
 
VSDOptionalFillStyle getOptionalFillStyle (unsigned fillStyleIndex) const
 
VSDOptionalTextBlockStyle getOptionalTextBlockStyle (unsigned textStyleIndex) const
 
VSDOptionalCharStyle getOptionalCharStyle (unsigned textStyleIndex) const
 
VSDOptionalParaStyle getOptionalParaStyle (unsigned textStyleIndex) const
 

Private Attributes

std::map< unsigned, VSDOptionalLineStylem_lineStyles
 
std::map< unsigned, VSDOptionalFillStylem_fillStyles
 
std::map< unsigned, VSDOptionalTextBlockStylem_textBlockStyles
 
std::map< unsigned, VSDOptionalCharStylem_charStyles
 
std::map< unsigned, VSDOptionalParaStylem_paraStyles
 
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::addTextBlockStyle ( unsigned  textStyleIndex,
const VSDOptionalTextBlockStyle textBlockStyle 
)
void libvisio::VSDStyles::addTextStyleMaster ( unsigned  textStyleIndex,
unsigned  textStyleMaster 
)
libvisio::VSDFillStyle libvisio::VSDStyles::getFillStyle ( unsigned  fillStyleIndex,
const VSDXTheme theme 
) 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::VSDStyles & libvisio::VSDStyles::operator= ( const VSDStyles styles)

Member Data Documentation

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

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

Generated for libvisio by doxygen 1.8.11