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

Base struct for internal root data structs for import and export. More...

#include <xlchart.hxx>

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

Public Types

typedef std::shared_ptr< XclChTypeInfoProviderXclChTypeProvRef
 
typedef std::shared_ptr< XclChFormatInfoProviderXclChFmtInfoProvRef
 
typedef std::shared_ptr< XclChObjectTableXclChObjectTableRef
 
typedef std::map< XclChTextKey, XclChGetShapeFuncXclChGetShapeFuncMap
 

Public Member Functions

 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

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

Base struct for internal root data structs for import and export.

Definition at line 1401 of file xlchart.hxx.

Member Typedef Documentation

◆ XclChFmtInfoProvRef

Definition at line 1404 of file xlchart.hxx.

◆ XclChGetShapeFuncMap

Definition at line 1406 of file xlchart.hxx.

◆ XclChObjectTableRef

Definition at line 1405 of file xlchart.hxx.

◆ XclChTypeProvRef

Definition at line 1403 of file xlchart.hxx.

Constructor & Destructor Documentation

◆ XclChRootData()

XclChRootData::XclChRootData ( )
explicit

Size of a chart Y unit (1/4000 of chart height) in 1/100 mm.

Definition at line 1218 of file xlchart.cxx.

References EXC_CHAXESSET_PRIMARY, EXC_CHAXESSET_SECONDARY, EXC_CHAXIS_X, EXC_CHAXIS_Y, EXC_CHAXIS_Z, EXC_CHTEXTTYPE_AXISTITLE, EXC_CHTEXTTYPE_TITLE, maGetShapeFuncs, and make_shared().

◆ ~XclChRootData()

XclChRootData::~XclChRootData ( )
virtual

Definition at line 1235 of file xlchart.cxx.

Member Function Documentation

◆ FinishConversion()

void XclChRootData::FinishConversion ( )

Finishes the API chart document conversion.

Must be called once before any API access.

Definition at line 1262 of file xlchart.cxx.

References mxBitmapTable, mxChartDoc, mxGradientTable, mxHatchTable, and mxLineDashTable.

◆ GetTitleShape()

uno::Reference< drawing::XShape > XclChRootData::GetTitleShape ( const XclChTextKey rTitleKey) const

Returns the drawing shape interface of the specified title object.

Definition at line 1273 of file xlchart.cxx.

References maGetShapeFuncs, and mxChartDoc.

◆ InitConversion()

void XclChRootData::InitConversion ( const XclRoot rRoot,
const css::uno::Reference< css::chart2::XChartDocument > &  rxChartDoc,
const tools::Rectangle rChartRect 
)

Member Data Documentation

◆ maChartRect

tools::Rectangle XclChRootData::maChartRect

The chart document.

Definition at line 1410 of file xlchart.hxx.

Referenced by InitConversion().

◆ maGetShapeFuncs

XclChGetShapeFuncMap XclChRootData::maGetShapeFuncs

Container for bitmap fill styles.

Definition at line 1417 of file xlchart.hxx.

Referenced by GetTitleShape(), and XclChRootData().

◆ mfUnitSizeX

double XclChRootData::mfUnitSizeX

Border gap to chart space in 1/100mm.

Definition at line 1420 of file xlchart.hxx.

Referenced by InitConversion().

◆ mfUnitSizeY

double XclChRootData::mfUnitSizeY

Size of a chart X unit (1/4000 of chart width) in 1/100 mm.

Definition at line 1421 of file xlchart.hxx.

Referenced by InitConversion().

◆ mnBorderGapX

sal_Int32 XclChRootData::mnBorderGapX

Maps title shape getter functions.

Definition at line 1418 of file xlchart.hxx.

Referenced by InitConversion().

◆ mnBorderGapY

sal_Int32 XclChRootData::mnBorderGapY

Border gap to chart space in 1/100mm.

Definition at line 1419 of file xlchart.hxx.

Referenced by InitConversion().

◆ mxBitmapTable

XclChObjectTableRef XclChRootData::mxBitmapTable

Container for hatch fill styles.

Definition at line 1416 of file xlchart.hxx.

Referenced by FinishConversion(), and InitConversion().

◆ mxChartDoc

css::uno::Reference< css::chart2::XChartDocument > XclChRootData::mxChartDoc

Definition at line 1409 of file xlchart.hxx.

Referenced by FinishConversion(), GetTitleShape(), and InitConversion().

◆ mxFmtInfoProv

XclChFmtInfoProvRef XclChRootData::mxFmtInfoProv

Provides info about chart types.

Definition at line 1412 of file xlchart.hxx.

◆ mxGradientTable

XclChObjectTableRef XclChRootData::mxGradientTable

Container for line dash styles.

Definition at line 1414 of file xlchart.hxx.

Referenced by FinishConversion(), and InitConversion().

◆ mxHatchTable

XclChObjectTableRef XclChRootData::mxHatchTable

Container for gradient fill styles.

Definition at line 1415 of file xlchart.hxx.

Referenced by FinishConversion(), and InitConversion().

◆ mxLineDashTable

XclChObjectTableRef XclChRootData::mxLineDashTable

Provides info about auto formatting.

Definition at line 1413 of file xlchart.hxx.

Referenced by FinishConversion(), and InitConversion().

◆ mxTypeInfoProv

XclChTypeProvRef XclChRootData::mxTypeInfoProv

Position and size of the chart shape.

Definition at line 1411 of file xlchart.hxx.


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