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

The CHESCHERFORMAT record containing complex area formatting data (bitmaps, hatches). More...

#include <xichart.hxx>

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

Public Member Functions

 XclImpChEscherFormat (const XclImpRoot &rRoot)
 
virtual void ReadHeaderRecord (XclImpStream &rStrm) override
 Reads the CHESCHERFORMAT record (complex fill data) (called by base class). More...
 
virtual void ReadSubRecord (XclImpStream &rStrm) override
 Reads a record from the CHESCHERFORMAT group (called by base class). More...
 
void Convert (const XclImpChRoot &rRoot, ScfPropertySet &rPropSet, XclChObjectType eObjType, bool bUsePicFmt) const
 Converts and writes the contained data to the passed property set. 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

XclChEscherFormat maData
 
XclChPicFormat maPicFmt
 Fill properties for complex areas (CHESCHERFORMAT record). More...
 
sal_uInt32 mnDffFillType
 Image options, e.g. stretched, stacked (CHPICFORMAT record). 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...
 

Detailed Description

The CHESCHERFORMAT record containing complex area formatting data (bitmaps, hatches).

Definition at line 293 of file xichart.hxx.

Constructor & Destructor Documentation

◆ XclImpChEscherFormat()

XclImpChEscherFormat::XclImpChEscherFormat ( const XclImpRoot rRoot)
explicit

Member Function Documentation

◆ Convert()

void XclImpChEscherFormat::Convert ( const XclImpChRoot rRoot,
ScfPropertySet rPropSet,
XclChObjectType  eObjType,
bool  bUsePicFmt 
) const

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

Definition at line 553 of file xichart.cxx.

References XclImpChRoot::ConvertEscherFormat(), XclImpChRoot::GetFormatInfo(), maData, maPicFmt, XclChFormatInfo::mePropMode, and mnDffFillType.

◆ ReadHeaderRecord()

void XclImpChEscherFormat::ReadHeaderRecord ( XclImpStream rStrm)
overridevirtual

Reads the CHESCHERFORMAT record (complex fill data) (called by base class).

Implements XclImpChGroupBase.

Definition at line 528 of file xichart.cxx.

References DFF_Prop_fillType, XclImpDffPropSet::FillToItemSet(), XclImpDffPropSet::GetPropertyValue(), maData, mnDffFillType, XclChEscherFormat::mxItemSet, and rStrm.

◆ ReadSubRecord()

void XclImpChEscherFormat::ReadSubRecord ( XclImpStream rStrm)
overridevirtual

Reads a record from the CHESCHERFORMAT group (called by base class).

Implements XclImpChGroupBase.

Definition at line 540 of file xichart.cxx.

References EXC_ID_CHPICFORMAT, maPicFmt, XclChPicFormat::mfScale, XclChPicFormat::mnBmpMode, XclChPicFormat::mnFlags, SvStream::ReadDouble(), and rStrm.

Member Data Documentation

◆ maData

XclChEscherFormat XclImpChEscherFormat::maData
private

Definition at line 308 of file xichart.hxx.

Referenced by Convert(), ReadHeaderRecord(), and XclImpChEscherFormat().

◆ maPicFmt

XclChPicFormat XclImpChEscherFormat::maPicFmt
private

Fill properties for complex areas (CHESCHERFORMAT record).

Definition at line 309 of file xichart.hxx.

Referenced by Convert(), and ReadSubRecord().

◆ mnDffFillType

sal_uInt32 XclImpChEscherFormat::mnDffFillType
private

Image options, e.g. stretched, stacked (CHPICFORMAT record).

Definition at line 310 of file xichart.hxx.

Referenced by Convert(), and ReadHeaderRecord().


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