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 1400 of file xlchart.hxx.

Member Typedef Documentation

Definition at line 1403 of file xlchart.hxx.

Definition at line 1405 of file xlchart.hxx.

Definition at line 1404 of file xlchart.hxx.

Definition at line 1402 of file xlchart.hxx.

Constructor & Destructor Documentation

XclChRootData::XclChRootData ( )
explicit

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

Definition at line 1216 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 ( )
virtual

Definition at line 1233 of file xlchart.cxx.

Member Function Documentation

void XclChRootData::FinishConversion ( )

Finishes the API chart document conversion.

Must be called once before any API access.

Definition at line 1260 of file xlchart.cxx.

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

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

Returns the drawing shape interface of the specified title object.

Definition at line 1271 of file xlchart.cxx.

References maGetShapeFuncs, and mxChartDoc.

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

Member Data Documentation

tools::Rectangle XclChRootData::maChartRect

The chart document.

Definition at line 1409 of file xlchart.hxx.

Referenced by InitConversion().

XclChGetShapeFuncMap XclChRootData::maGetShapeFuncs

Container for bitmap fill styles.

Definition at line 1416 of file xlchart.hxx.

Referenced by GetTitleShape(), and XclChRootData().

double XclChRootData::mfUnitSizeX

Border gap to chart space in 1/100mm.

Definition at line 1419 of file xlchart.hxx.

Referenced by InitConversion().

double XclChRootData::mfUnitSizeY

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

Definition at line 1420 of file xlchart.hxx.

Referenced by InitConversion().

sal_Int32 XclChRootData::mnBorderGapX

Maps title shape getter functions.

Definition at line 1417 of file xlchart.hxx.

Referenced by InitConversion().

sal_Int32 XclChRootData::mnBorderGapY

Border gap to chart space in 1/100mm.

Definition at line 1418 of file xlchart.hxx.

Referenced by InitConversion().

XclChObjectTableRef XclChRootData::mxBitmapTable

Container for hatch fill styles.

Definition at line 1415 of file xlchart.hxx.

Referenced by FinishConversion(), and InitConversion().

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

Definition at line 1408 of file xlchart.hxx.

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

XclChFmtInfoProvRef XclChRootData::mxFmtInfoProv

Provides info about chart types.

Definition at line 1411 of file xlchart.hxx.

XclChObjectTableRef XclChRootData::mxGradientTable

Container for line dash styles.

Definition at line 1413 of file xlchart.hxx.

Referenced by FinishConversion(), and InitConversion().

XclChObjectTableRef XclChRootData::mxHatchTable

Container for gradient fill styles.

Definition at line 1414 of file xlchart.hxx.

Referenced by FinishConversion(), and InitConversion().

XclChObjectTableRef XclChRootData::mxLineDashTable

Provides info about auto formatting.

Definition at line 1412 of file xlchart.hxx.

Referenced by FinishConversion(), and InitConversion().

XclChTypeProvRef XclChRootData::mxTypeInfoProv

Position and size of the chart shape.

Definition at line 1410 of file xlchart.hxx.


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