LibreOffice Module lotuswordpro (master) 1
|
#include <xfcolor.hxx>
Public Member Functions | |
XFColor () | |
XFColor (sal_Int32 red, sal_Int32 green, sal_Int32 blue) | |
XFColor (sal_uInt32 color) | |
bool | IsValid () const |
@descr helper function to assert whether a color is valid. More... | |
OUString | ToString () const |
Private Attributes | |
sal_uInt8 | m_nRed |
sal_uInt8 | m_nGreen |
sal_uInt8 | m_nBlue |
bool | m_bValid |
Friends | |
bool | operator== (XFColor const &c1, XFColor const &c2) |
bool | operator!= (XFColor const &c1, XFColor const &c2) |
Color object.
Definition at line 69 of file xfcolor.hxx.
|
inline |
Definition at line 72 of file xfcolor.hxx.
References m_bValid.
|
inline |
Definition at line 76 of file xfcolor.hxx.
References m_bValid.
|
inlineexplicit |
|
inline |
@descr helper function to assert whether a color is valid.
Definition at line 99 of file xfcolor.hxx.
References m_bValid.
Referenced by XFPageMaster::ToXml(), XFColumnSep::ToXml(), XFCellStyle::ToXml(), XFFrameStyle::ToXml(), XFHeaderStyle::ToXml(), XFImageStyle::ToXml(), XFRowStyle::ToXml(), XFSectionStyle::ToXml(), XFTableStyle::ToXml(), and XFParaStyle::ToXml().
OUString XFColor::ToString | ( | ) | const |
Definition at line 63 of file xfcolor.cxx.
References i, m_nBlue, m_nGreen, m_nRed, and o3tl::sprintf().
Referenced by XFBorder::ToString(), XFShadow::ToString(), XFPageMaster::ToXml(), XFColumnSep::ToXml(), XFFont::ToXml(), XFCellStyle::ToXml(), XFFrameStyle::ToXml(), XFHeaderStyle::ToXml(), XFImageStyle::ToXml(), XFRowStyle::ToXml(), XFSectionStyle::ToXml(), XFTableStyle::ToXml(), XFDrawAreaStyle::ToXml(), XFParaStyle::ToXml(), and XFNumberStyle::ToXml_Content().
Definition at line 84 of file xfcolor.cxx.
Definition at line 75 of file xfcolor.cxx.
|
private |
Definition at line 109 of file xfcolor.hxx.
|
private |
Definition at line 108 of file xfcolor.hxx.
Referenced by ToString(), and XFColor().
|
private |
Definition at line 107 of file xfcolor.hxx.
Referenced by ToString(), and XFColor().
|
private |
Definition at line 106 of file xfcolor.hxx.
Referenced by ToString(), and XFColor().