LibreOffice Module sc (master) 1
Public Types | Public Member Functions | Public Attributes | List of all members
XclExpChRootData Struct Reference

Stores global data needed in various classes of the Chart export filter. More...

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

Public Types

typedef ::std::vector< XclChFrBlockXclChFrBlockVector
 
- Public Types inherited from XclChRootData
typedef std::shared_ptr< XclChTypeInfoProviderXclChTypeProvRef
 
typedef std::shared_ptr< XclChFormatInfoProviderXclChFmtInfoProvRef
 
typedef std::shared_ptr< XclChObjectTableXclChObjectTableRef
 
typedef std::map< XclChTextKey, XclChGetShapeFuncXclChGetShapeFuncMap
 

Public Member Functions

 XclExpChRootData (XclExpChChart &rChartData)
 Stack of future record levels not yet written out. More...
 
void RegisterFutureRecBlock (const XclChFrBlock &rFrBlock)
 Registers a new future record level. More...
 
void InitializeFutureRecBlock (XclExpStream &rStrm)
 Initializes the current future record level (writes all unwritten CHFRBLOCKBEGIN records). More...
 
void FinalizeFutureRecBlock (XclExpStream &rStrm)
 Finalizes the current future record level (writes CHFRBLOCKEND record if needed). More...
 
- Public Member Functions inherited from XclChRootData
 XclChRootData ()
 Size of a chart Y unit (1/4000 of chart height) in 1/100 mm. More...
 
virtual ~XclChRootData ()
 
void InitConversion (const XclRoot &rRoot, const css::uno::Reference< css::chart2::XChartDocument > &rxChartDoc, const tools::Rectangle &rChartRect)
 Starts the API chart document conversion. More...
 
void FinishConversion ()
 Finishes the API chart document conversion. More...
 
css::uno::Reference< css::drawing::XShape > GetTitleShape (const XclChTextKey &rTitleKey) const
 Returns the drawing shape interface of the specified title object. More...
 

Public Attributes

XclExpChChartmrChartData
 
XclChFrBlockVector maWrittenFrBlocks
 The chart data object. More...
 
XclChFrBlockVector maUnwrittenFrBlocks
 Stack of future record levels already written out. More...
 
- Public Attributes inherited from XclChRootData
css::uno::Reference< css::chart2::XChartDocument > mxChartDoc
 
tools::Rectangle maChartRect
 The chart document. More...
 
XclChTypeProvRef mxTypeInfoProv
 Position and size of the chart shape. More...
 
XclChFmtInfoProvRef mxFmtInfoProv
 Provides info about chart types. More...
 
XclChObjectTableRef mxLineDashTable
 Provides info about auto formatting. More...
 
XclChObjectTableRef mxGradientTable
 Container for line dash styles. More...
 
XclChObjectTableRef mxHatchTable
 Container for gradient fill styles. More...
 
XclChObjectTableRef mxBitmapTable
 Container for hatch fill styles. More...
 
XclChGetShapeFuncMap maGetShapeFuncs
 Container for bitmap fill styles. More...
 
sal_Int32 mnBorderGapX
 Maps title shape getter functions. More...
 
sal_Int32 mnBorderGapY
 Border gap to chart space in 1/100mm. More...
 
double mfUnitSizeX
 Border gap to chart space in 1/100mm. More...
 
double mfUnitSizeY
 Size of a chart X unit (1/4000 of chart width) in 1/100 mm. More...
 

Detailed Description

Stores global data needed in various classes of the Chart export filter.

Definition at line 229 of file xechart.cxx.

Member Typedef Documentation

◆ XclChFrBlockVector

Definition at line 231 of file xechart.cxx.

Constructor & Destructor Documentation

◆ XclExpChRootData()

XclExpChRootData::XclExpChRootData ( XclExpChChart rChartData)
inlineexplicit

Stack of future record levels not yet written out.

Definition at line 237 of file xechart.cxx.

Member Function Documentation

◆ FinalizeFutureRecBlock()

void XclExpChRootData::FinalizeFutureRecBlock ( XclExpStream rStrm)

Finalizes the current future record level (writes CHFRBLOCKEND record if needed).

Definition at line 277 of file xechart.cxx.

References maUnwrittenFrBlocks, maWrittenFrBlocks, and rStrm.

◆ InitializeFutureRecBlock()

void XclExpChRootData::InitializeFutureRecBlock ( XclExpStream rStrm)

Initializes the current future record level (writes all unwritten CHFRBLOCKBEGIN records).

Definition at line 252 of file xechart.cxx.

References EXC_CHFRBLOCK_TYPE_UNKNOWN, EXC_CHFRINFO_EXCELXP2003, EXC_FUTUREREC_EMPTYFLAGS, EXC_ID_CHFRINFO, maUnwrittenFrBlocks, maWrittenFrBlocks, and rStrm.

◆ RegisterFutureRecBlock()

void XclExpChRootData::RegisterFutureRecBlock ( const XclChFrBlock rFrBlock)

Registers a new future record level.

Definition at line 247 of file xechart.cxx.

References maUnwrittenFrBlocks.

Member Data Documentation

◆ maUnwrittenFrBlocks

XclChFrBlockVector XclExpChRootData::maUnwrittenFrBlocks

Stack of future record levels already written out.

Definition at line 235 of file xechart.cxx.

Referenced by FinalizeFutureRecBlock(), InitializeFutureRecBlock(), and RegisterFutureRecBlock().

◆ maWrittenFrBlocks

XclChFrBlockVector XclExpChRootData::maWrittenFrBlocks

The chart data object.

Definition at line 234 of file xechart.cxx.

Referenced by FinalizeFutureRecBlock(), and InitializeFutureRecBlock().

◆ mrChartData

XclExpChChart& XclExpChRootData::mrChartData

Definition at line 233 of file xechart.cxx.


The documentation for this struct was generated from the following file: