LibreOffice Module sc (master) 1
|
The CHESCHERFORMAT record containing complex area formatting data (bitmaps, hatches). More...
#include <xichart.hxx>
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 | |
XclImpChGroupBase & | operator= (XclImpChGroupBase const &)=default |
XclImpChGroupBase & | operator= (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... | |
The CHESCHERFORMAT record containing complex area formatting data (bitmaps, hatches).
Definition at line 293 of file xichart.hxx.
|
explicit |
Definition at line 521 of file xichart.cxx.
References XclRoot::GetDoc(), ScDocument::GetDrawLayer(), SdrModel::GetItemPool(), maData, mso_fillSolid, and XclChEscherFormat::mxItemSet.
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.
|
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.
|
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.
|
private |
Definition at line 308 of file xichart.hxx.
Referenced by Convert(), ReadHeaderRecord(), and XclImpChEscherFormat().
|
private |
Fill properties for complex areas (CHESCHERFORMAT record).
Definition at line 309 of file xichart.hxx.
Referenced by Convert(), and ReadSubRecord().
|
private |
Image options, e.g. stretched, stacked (CHPICFORMAT record).
Definition at line 310 of file xichart.hxx.
Referenced by Convert(), and ReadHeaderRecord().