LibreOffice Module sc (master) 1
|
The CHLINEFORMAT record containing line formatting data. More...
#include <xichart.hxx>
Public Member Functions | |
XclImpChLineFormat () | |
Creates a new line format object with automatic formatting. More... | |
XclImpChLineFormat (const XclChLineFormat &rLineFmt) | |
Creates a new line format object with the passed formatting. More... | |
XclImpChLineFormat (XclImpChLineFormat const &rOther) | |
XclImpChLineFormat (XclImpChLineFormat &&rOther) | |
XclImpChLineFormat & | operator= (XclImpChLineFormat const &rOther) |
XclImpChLineFormat & | operator= (XclImpChLineFormat &&rOther) noexcept |
void | ReadChLineFormat (XclImpStream &rStrm) |
Reads the CHLINEFORMAT record (basic line properties). More... | |
bool | IsAuto () const |
Returns true, if the line format is set to automatic. More... | |
bool | HasLine () const |
Returns true, if the line style is set to something visible. More... | |
sal_Int16 | GetWeight () const |
Returns the line width of this line format (returns 'single', if the line is invisible). More... | |
bool | IsShowAxis () const |
Returns true, if the "show axis" flag is set. More... | |
void | Convert (const XclImpChRoot &rRoot, ScfPropertySet &rPropSet, XclChObjectType eObjType, sal_uInt16 nFormatIdx=EXC_CHDATAFORMAT_UNKNOWN) const |
Converts and writes the contained data to the passed property set. More... | |
Public Member Functions inherited from salhelper::SimpleReferenceObject | |
SimpleReferenceObject () | |
void | acquire () |
void | release () |
Private Attributes | |
XclChLineFormat | maData |
Additional Inherited Members | |
Static Public Member Functions inherited from salhelper::SimpleReferenceObject | |
static void * | operator new (std::size_t nSize) |
static void * | operator new (std::size_t nSize, std::nothrow_t const &rNothrow) |
static void | operator delete (void *pPtr) |
static void | operator delete (void *pPtr, std::nothrow_t const &rNothrow) |
Protected Member Functions inherited from salhelper::SimpleReferenceObject | |
virtual | ~SimpleReferenceObject () COVERITY_NOEXCEPT_FALSE |
Protected Attributes inherited from salhelper::SimpleReferenceObject | |
oslInterlockedCount | m_nCount |
The CHLINEFORMAT record containing line formatting data.
Definition at line 223 of file xichart.hxx.
|
inlineexplicit |
Creates a new line format object with automatic formatting.
Definition at line 227 of file xichart.hxx.
|
inlineexplicit |
Creates a new line format object with the passed formatting.
Definition at line 229 of file xichart.hxx.
|
inline |
Definition at line 232 of file xichart.hxx.
|
inline |
Definition at line 234 of file xichart.hxx.
void XclImpChLineFormat::Convert | ( | const XclImpChRoot & | rRoot, |
ScfPropertySet & | rPropSet, | ||
XclChObjectType | eObjType, | ||
sal_uInt16 | nFormatIdx = EXC_CHDATAFORMAT_UNKNOWN |
||
) | const |
Converts and writes the contained data to the passed property set.
Definition at line 466 of file xichart.cxx.
References XclImpChRoot::ConvertLineFormat(), EXC_CHLINEFORMAT_SOLID, EXC_CHOBJTYPE_LINEARSERIES, XclImpPalette::GetColor(), XclImpChRoot::GetFormatInfo(), XclImpRoot::GetPalette(), XclImpChRoot::GetSeriesLineAutoColor(), IsAuto(), XclChLineFormat::maColor, maData, XclChFormatInfo::mePropMode, XclChFormatInfo::mnAutoLineColorIdx, XclChFormatInfo::mnAutoLineWeight, XclChLineFormat::mnPattern, and XclChLineFormat::mnWeight.
|
inline |
Returns the line width of this line format (returns 'single', if the line is invisible).
Definition at line 249 of file xichart.hxx.
References EXC_CHLINEFORMAT_SINGLE, HasLine(), IsAuto(), maData, and XclChLineFormat::mnWeight.
|
inline |
Returns true, if the line style is set to something visible.
Definition at line 247 of file xichart.hxx.
References EXC_CHLINEFORMAT_NONE, IsAuto(), maData, and XclChLineFormat::mnPattern.
Referenced by GetWeight().
|
inline |
Returns true, if the line format is set to automatic.
Definition at line 245 of file xichart.hxx.
References EXC_CHLINEFORMAT_AUTO, get_flag(), maData, and XclChLineFormat::mnFlags.
Referenced by Convert(), GetWeight(), and HasLine().
|
inline |
Returns true, if the "show axis" flag is set.
Definition at line 251 of file xichart.hxx.
References EXC_CHLINEFORMAT_SHOWAXIS, get_flag(), maData, and XclChLineFormat::mnFlags.
|
inlinenoexcept |
Definition at line 238 of file xichart.hxx.
References maData.
|
inline |
Definition at line 236 of file xichart.hxx.
References maData.
void XclImpChLineFormat::ReadChLineFormat | ( | XclImpStream & | rStrm | ) |
Reads the CHLINEFORMAT record (basic line properties).
Definition at line 453 of file xichart.cxx.
References EXC_BIFF8, XclRoot::GetBiff(), XclImpPalette::GetColor(), XclImpRoot::GetPalette(), XclChLineFormat::maColor, maData, XclChLineFormat::mnFlags, XclChLineFormat::mnPattern, XclChLineFormat::mnWeight, SvStream::ReadInt16(), and rStrm.
Referenced by XclImpChTypeGroup::ReadChChartLine().
|
private |
Definition at line 259 of file xichart.hxx.
Referenced by Convert(), GetWeight(), HasLine(), IsAuto(), IsShowAxis(), operator=(), and ReadChLineFormat().