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 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 voidoperator new (std::size_t nSize)
 
static voidoperator 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
 

Detailed Description

The CHMARKERFORMAT record containing data point marker formatting data.

Definition at line 541 of file xechart.hxx.

Constructor & Destructor Documentation

XclExpChMarkerFormat::XclExpChMarkerFormat ( const XclExpChRoot rRoot)
explicit

Definition at line 1427 of file xechart.cxx.

Member Function Documentation

void XclExpChMarkerFormat::Convert ( const XclExpChRoot rRoot,
const ScfPropertySet rPropSet,
sal_uInt16  nFormatIdx 
)
void XclExpChMarkerFormat::ConvertStockSymbol ( const XclExpChRoot rRoot,
const ScfPropertySet rPropSet,
bool  bCloseSymbol 
)
bool XclExpChMarkerFormat::HasFillColor ( ) const
inline

Returns true, if fill area of markers is visible.

Definition at line 558 of file xechart.hxx.

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

Referenced by RegisterColors().

bool XclExpChMarkerFormat::HasLineColor ( ) const
inline

Returns true, if border line of markers is visible.

Definition at line 556 of file xechart.hxx.

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

Referenced by RegisterColors().

bool XclExpChMarkerFormat::HasMarker ( ) const
inline

Returns true, if markers are enabled.

Definition at line 554 of file xechart.hxx.

References EXC_CHMARKERFORMAT_NOSYMBOL, maData, and XclChMarkerFormat::mnMarkerType.

Referenced by RegisterColors().

void XclExpChMarkerFormat::RegisterColors ( const XclExpChRoot rRoot)
private
void XclExpChMarkerFormat::WriteBody ( XclExpStream rStrm)
overrideprivatevirtual

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

Usually this method will be overwritten by derived classes.

Reimplemented from XclExpRecord.

Definition at line 1484 of file xechart.cxx.

References EXC_BIFF8, XclRoot::GetBiff(), XclExpPalette::GetColorIndex(), XclExpRoot::GetPalette(), XclExpStream::GetRoot(), maData, XclChMarkerFormat::maFillColor, XclChMarkerFormat::maLineColor, mnFillColorId, XclChMarkerFormat::mnFlags, mnLineColorId, XclChMarkerFormat::mnMarkerSize, and XclChMarkerFormat::mnMarkerType.

Member Data Documentation

XclChMarkerFormat XclExpChMarkerFormat::maData
private
sal_uInt32 XclExpChMarkerFormat::mnFillColorId
private

Border line color identifier.

Definition at line 569 of file xechart.hxx.

Referenced by RegisterColors(), and WriteBody().

sal_uInt32 XclExpChMarkerFormat::mnLineColorId
private

Contents of the CHMARKERFORMAT record.

Definition at line 568 of file xechart.hxx.

Referenced by RegisterColors(), and WriteBody().


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