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

Represents the CHDROPBAR record group describing pos/neg bars in line charts. More...

#include <xichart.hxx>

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

Public Member Functions

 XclImpChDropBar (sal_uInt16 nDropBar)
 
virtual void ReadHeaderRecord (XclImpStream &rStrm) override
 Reads the CHDROPBAR record (called by base class). More...
 
void Convert (const XclImpChRoot &rRoot, ScfPropertySet &rPropSet) const
 Converts and writes the contained frame data to the passed property set. More...
 
- Public Member Functions inherited from XclImpChFrameBase
 XclImpChFrameBase ()
 Creates a new frame object without internal formatting objects. More...
 
 XclImpChFrameBase (const XclChFormatInfo &rFmtInfo)
 Creates a new frame object with specific default formatting. More...
 
virtual void ReadSubRecord (XclImpStream &rStrm) override
 Reads a frame formatting record (called by base class). More...
 
bool IsAutoLine () 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 GetLineWeight () const
 Returns the line weight used for this frame. More...
 
bool IsAutoArea () const
 Returns true, if the area format is set to automatic. More...
 
- Public Member Functions inherited from XclImpChGroupBase
 XclImpChGroupBase ()=default
 
 XclImpChGroupBase (XclImpChGroupBase const &)=default
 
 XclImpChGroupBase (XclImpChGroupBase &&)=default
 
XclImpChGroupBaseoperator= (XclImpChGroupBase const &)=default
 
XclImpChGroupBaseoperator= (XclImpChGroupBase &&)=default
 
virtual ~XclImpChGroupBase ()
 
void ReadRecordGroup (XclImpStream &rStrm)
 Reads the entire record group. More...
 
virtual void ReadHeaderRecord (XclImpStream &rStrm)=0
 Derived classes implement to read the group header record. More...
 
virtual void ReadSubRecord (XclImpStream &rStrm)=0
 Derived classes implement to read a record from the group. More...
 

Private Attributes

sal_uInt16 mnDropBar
 
sal_uInt16 mnBarDist
 Drop bar identifier, needed for auto format. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from XclImpChGroupBase
static void SkipBlock (XclImpStream &rStrm)
 Helper to skip a CHBEGIN/CHEND block, includes nested blocks. More...
 
- Protected Member Functions inherited from XclImpChFrameBase
void ConvertLineBase (const XclImpChRoot &rRoot, ScfPropertySet &rPropSet, XclChObjectType eObjType, sal_uInt16 nFormatIdx=EXC_CHDATAFORMAT_UNKNOWN) const
 Converts and writes the contained line formatting to the passed property set. More...
 
void ConvertAreaBase (const XclImpChRoot &rRoot, ScfPropertySet &rPropSet, XclChObjectType eObjType, sal_uInt16 nFormatIdx=EXC_CHDATAFORMAT_UNKNOWN, bool bUsePicFmt=false) const
 Converts and writes the contained area formatting to the passed property set. More...
 
void ConvertFrameBase (const XclImpChRoot &rRoot, ScfPropertySet &rPropSet, XclChObjectType eObjType, sal_uInt16 nFormatIdx=EXC_CHDATAFORMAT_UNKNOWN, bool bUsePicFmt=false) const
 Converts and writes the contained data to the passed property set. More...
 
- Protected Attributes inherited from XclImpChFrameBase
XclImpChLineFormatRef mxLineFmt
 
XclImpChAreaFormatRef mxAreaFmt
 Line format (CHLINEFORMAT record). More...
 
XclImpChEscherFormatRef mxEscherFmt
 Area format (CHAREAFORMAT record). More...
 

Detailed Description

Represents the CHDROPBAR record group describing pos/neg bars in line charts.

The CHDROPBAR group consists of: CHDROPBAR, CHBEGIN, CHLINEFORMAT, CHAREAFORMAT, CHESCHERFORMAT group, CHEND.

Definition at line 956 of file xichart.hxx.

Constructor & Destructor Documentation

◆ XclImpChDropBar()

XclImpChDropBar::XclImpChDropBar ( sal_uInt16  nDropBar)
explicit

Definition at line 2651 of file xichart.cxx.

Member Function Documentation

◆ Convert()

void XclImpChDropBar::Convert ( const XclImpChRoot rRoot,
ScfPropertySet rPropSet 
) const

Converts and writes the contained frame data to the passed property set.

Definition at line 2662 of file xichart.cxx.

References XclImpChFrameBase::ConvertFrameBase(), EXC_CHDROPBAR_DOWN, EXC_CHDROPBAR_UP, EXC_CHOBJTYPE_BACKGROUND, EXC_CHOBJTYPE_BLACKDROPBAR, EXC_CHOBJTYPE_WHITEDROPBAR, and mnDropBar.

◆ ReadHeaderRecord()

void XclImpChDropBar::ReadHeaderRecord ( XclImpStream rStrm)
overridevirtual

Reads the CHDROPBAR record (called by base class).

Implements XclImpChGroupBase.

Definition at line 2657 of file xichart.cxx.

References mnBarDist, and rStrm.

Member Data Documentation

◆ mnBarDist

sal_uInt16 XclImpChDropBar::mnBarDist
private

Drop bar identifier, needed for auto format.

Definition at line 969 of file xichart.hxx.

Referenced by ReadHeaderRecord().

◆ mnDropBar

sal_uInt16 XclImpChDropBar::mnDropBar
private

Definition at line 968 of file xichart.hxx.

Referenced by Convert().


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