LibreOffice Module sc (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
XclExpChMarkerFormat Class Reference

The CHMARKERFORMAT record containing data point marker formatting data. More...

#include <xechart.hxx>

Inheritance diagram for XclExpChMarkerFormat:
[legend]
Collaboration diagram for XclExpChMarkerFormat:
[legend]

Public Member Functions

 XclExpChMarkerFormat (const XclExpChRoot &rRoot)
 
void Convert (const XclExpChRoot &rRoot, const ScfPropertySet &rPropSet, sal_uInt16 nFormatIdx)
 Converts symbol properties from the passed property set. More...
 
void ConvertStockSymbol (const XclExpChRoot &rRoot, const ScfPropertySet &rPropSet, bool bCloseSymbol)
 Converts symbol properties for stock charts from the passed property set. More...
 
bool HasMarker () const
 Returns true, if markers are enabled. More...
 
bool HasLineColor () const
 Returns true, if border line of markers is visible. More...
 
bool HasFillColor () const
 Returns true, if fill area of markers is visible. More...
 
- Public Member Functions inherited from XclExpRecord
 XclExpRecord (sal_uInt16 nRecId=EXC_ID_UNKNOWN, std::size_t nRecSize=0)
 
 XclExpRecord (XclExpRecord const &)=default
 
virtual ~XclExpRecord () override
 
sal_uInt16 GetRecId () const
 Returns the current record ID. More...
 
std::size_t GetRecSize () const
 Returns the current record size prediction. More...
 
void SetRecId (sal_uInt16 nRecId)
 Sets a new record ID. More...
 
void SetRecSize (std::size_t nRecSize)
 Sets a new record size prediction. More...
 
void AddRecSize (std::size_t nRecSize)
 Adds a size value to the record size prediction. More...
 
void SetRecHeader (sal_uInt16 nRecId, std::size_t nRecSize)
 Sets record ID and size with one call. More...
 
virtual void Save (XclExpStream &rStrm) override
 Writes the record header and calls WriteBody(). More...
 
- Public Member Functions inherited from XclExpRecordBase
 XclExpRecordBase ()
 
 XclExpRecordBase (XclExpRecordBase const &)
 
 XclExpRecordBase (XclExpRecordBase &&)
 
XclExpRecordBaseoperator= (XclExpRecordBase const &)
 
XclExpRecordBaseoperator= (XclExpRecordBase &&) noexcept
 
virtual ~XclExpRecordBase ()
 
virtual void Save (XclExpStream &rStrm)
 Overwrite this method to do any operation while saving the record. More...
 
virtual void SaveXml (XclExpXmlStream &rStrm)
 
- Public Member Functions inherited from salhelper::SimpleReferenceObject
 SimpleReferenceObject ()
 
void acquire ()
 
void release ()
 

Private Member Functions

void RegisterColors (const XclExpChRoot &rRoot)
 Registers marker colors in palette and stores color identifiers. More...
 
virtual void WriteBody (XclExpStream &rStrm) override
 Writes the body of the record (without record header). More...
 

Private Attributes

XclChMarkerFormat maData
 
sal_uInt32 mnLineColorId
 Contents of the CHMARKERFORMAT record. More...
 
sal_uInt32 mnFillColorId
 Border line color identifier. More...
 

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)
 
virtual void WriteBody (XclExpStream &rStrm)
 Writes the body of the record (without record header). More...
 
- Protected Member Functions inherited from salhelper::SimpleReferenceObject
virtual ~SimpleReferenceObject () COVERITY_NOEXCEPT_FALSE
 
- Protected Attributes inherited from salhelper::SimpleReferenceObject
oslInterlockedCount m_nCount
 

Detailed Description

The CHMARKERFORMAT record containing data point marker formatting data.

Definition at line 540 of file xechart.hxx.

Constructor & Destructor Documentation

◆ XclExpChMarkerFormat()

XclExpChMarkerFormat::XclExpChMarkerFormat ( const XclExpChRoot rRoot)
explicit

Definition at line 1426 of file xechart.cxx.

Member Function Documentation

◆ Convert()

void XclExpChMarkerFormat::Convert ( const XclExpChRoot rRoot,
const ScfPropertySet rPropSet,
sal_uInt16  nFormatIdx 
)

◆ ConvertStockSymbol()

void XclExpChMarkerFormat::ConvertStockSymbol ( const XclExpChRoot rRoot,
const ScfPropertySet rPropSet,
bool  bCloseSymbol 
)

◆ HasFillColor()

bool XclExpChMarkerFormat::HasFillColor ( ) const
inline

Returns true, if fill area of markers is visible.

Definition at line 557 of file xechart.hxx.

References EXC_CHMARKERFORMAT_NOFILL, get_flag(), maData, and XclChMarkerFormat::mnFlags.

Referenced by RegisterColors().

◆ HasLineColor()

bool XclExpChMarkerFormat::HasLineColor ( ) const
inline

Returns true, if border line of markers is visible.

Definition at line 555 of file xechart.hxx.

References EXC_CHMARKERFORMAT_NOLINE, get_flag(), maData, and XclChMarkerFormat::mnFlags.

Referenced by RegisterColors().

◆ HasMarker()

bool XclExpChMarkerFormat::HasMarker ( ) const
inline

Returns true, if markers are enabled.

Definition at line 553 of file xechart.hxx.

References EXC_CHMARKERFORMAT_NOSYMBOL, maData, and XclChMarkerFormat::mnMarkerType.

Referenced by RegisterColors().

◆ RegisterColors()

void XclExpChMarkerFormat::RegisterColors ( const XclExpChRoot rRoot)
private

◆ WriteBody()

void XclExpChMarkerFormat::WriteBody ( XclExpStream rStrm)
overrideprivatevirtual

Writes the body of the record (without record header).

@descr Usually this method will be overwritten by derived classes.

Reimplemented from XclExpRecord.

Definition at line 1483 of file xechart.cxx.

References EXC_BIFF8, XclExpPalette::GetColorIndex(), maData, XclChMarkerFormat::maFillColor, XclChMarkerFormat::maLineColor, mnFillColorId, XclChMarkerFormat::mnFlags, mnLineColorId, XclChMarkerFormat::mnMarkerSize, XclChMarkerFormat::mnMarkerType, and rStrm.

Member Data Documentation

◆ maData

XclChMarkerFormat XclExpChMarkerFormat::maData
private

◆ mnFillColorId

sal_uInt32 XclExpChMarkerFormat::mnFillColorId
private

Border line color identifier.

Definition at line 568 of file xechart.hxx.

Referenced by RegisterColors(), and WriteBody().

◆ mnLineColorId

sal_uInt32 XclExpChMarkerFormat::mnLineColorId
private

Contents of the CHMARKERFORMAT record.

Definition at line 567 of file xechart.hxx.

Referenced by RegisterColors(), and WriteBody().


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