LibreOffice Module sc (master) 1
|
Base struct for internal root data structs for import and export. More...
#include <xlchart.hxx>
Public Types | |
typedef std::shared_ptr< XclChTypeInfoProvider > | XclChTypeProvRef |
typedef std::shared_ptr< XclChFormatInfoProvider > | XclChFmtInfoProvRef |
typedef std::shared_ptr< XclChObjectTable > | XclChObjectTableRef |
typedef std::map< XclChTextKey, XclChGetShapeFunc > | XclChGetShapeFuncMap |
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... | |
Base struct for internal root data structs for import and export.
Definition at line 1401 of file xlchart.hxx.
typedef std::shared_ptr< XclChFormatInfoProvider > XclChRootData::XclChFmtInfoProvRef |
Definition at line 1404 of file xlchart.hxx.
Definition at line 1406 of file xlchart.hxx.
typedef std::shared_ptr< XclChObjectTable > XclChRootData::XclChObjectTableRef |
Definition at line 1405 of file xlchart.hxx.
typedef std::shared_ptr< XclChTypeInfoProvider > XclChRootData::XclChTypeProvRef |
Definition at line 1403 of file xlchart.hxx.
|
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().
|
virtual |
Definition at line 1235 of file xlchart.cxx.
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.
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.
void XclChRootData::InitConversion | ( | const XclRoot & | rRoot, |
const css::uno::Reference< css::chart2::XChartDocument > & | rxChartDoc, | ||
const tools::Rectangle & | rChartRect | ||
) |
Starts the API chart document conversion.
Must be called once before any API access.
Definition at line 1239 of file xlchart.cxx.
References EXC_CHART_TOTALUNITS, tools::Rectangle::GetHeight(), XclRoot::GetHmmFromPixelX(), XclRoot::GetHmmFromPixelY(), tools::Rectangle::GetWidth(), maChartRect, mfUnitSizeX, mfUnitSizeY, mnBorderGapX, mnBorderGapY, mxBitmapTable, mxChartDoc, mxGradientTable, mxHatchTable, mxLineDashTable, SERVICE_DRAWING_BITMAPTABLE, SERVICE_DRAWING_DASHTABLE, SERVICE_DRAWING_GRADIENTTABLE, SERVICE_DRAWING_HATCHTABLE, and xFactory.
tools::Rectangle XclChRootData::maChartRect |
XclChGetShapeFuncMap XclChRootData::maGetShapeFuncs |
Container for bitmap fill styles.
Definition at line 1417 of file xlchart.hxx.
Referenced by GetTitleShape(), and XclChRootData().
double XclChRootData::mfUnitSizeX |
Border gap to chart space in 1/100mm.
Definition at line 1420 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 1421 of file xlchart.hxx.
Referenced by InitConversion().
sal_Int32 XclChRootData::mnBorderGapX |
Maps title shape getter functions.
Definition at line 1418 of file xlchart.hxx.
Referenced by InitConversion().
sal_Int32 XclChRootData::mnBorderGapY |
Border gap to chart space in 1/100mm.
Definition at line 1419 of file xlchart.hxx.
Referenced by InitConversion().
XclChObjectTableRef XclChRootData::mxBitmapTable |
Container for hatch fill styles.
Definition at line 1416 of file xlchart.hxx.
Referenced by FinishConversion(), and InitConversion().
css::uno::Reference< css::chart2::XChartDocument > XclChRootData::mxChartDoc |
Definition at line 1409 of file xlchart.hxx.
Referenced by FinishConversion(), GetTitleShape(), and InitConversion().
XclChFmtInfoProvRef XclChRootData::mxFmtInfoProv |
Provides info about chart types.
Definition at line 1412 of file xlchart.hxx.
XclChObjectTableRef XclChRootData::mxGradientTable |
Container for line dash styles.
Definition at line 1414 of file xlchart.hxx.
Referenced by FinishConversion(), and InitConversion().
XclChObjectTableRef XclChRootData::mxHatchTable |
Container for gradient fill styles.
Definition at line 1415 of file xlchart.hxx.
Referenced by FinishConversion(), and InitConversion().
XclChObjectTableRef XclChRootData::mxLineDashTable |
Provides info about auto formatting.
Definition at line 1413 of file xlchart.hxx.
Referenced by FinishConversion(), and InitConversion().
XclChTypeProvRef XclChRootData::mxTypeInfoProv |
Position and size of the chart shape.
Definition at line 1411 of file xlchart.hxx.