LibreOffice Module oox (master) 1
Public Member Functions | List of all members
oox::drawingml::chart::ChartSpaceConverter Class Referencefinal

#include <chartspaceconverter.hxx>

Inheritance diagram for oox::drawingml::chart::ChartSpaceConverter:
[legend]
Collaboration diagram for oox::drawingml::chart::ChartSpaceConverter:
[legend]

Public Member Functions

 ChartSpaceConverter (const ConverterRoot &rParent, ChartSpaceModel &rModel)
 
virtual ~ChartSpaceConverter () override
 
void convertFromModel (const css::uno::Reference< css::drawing::XShapes > &rxExternalPage, const css::awt::Point &rChartPos)
 Converts the contained OOXML chart model to a chart2 document. More...
 
- Public Member Functions inherited from oox::drawingml::chart::ConverterBase< ChartSpaceModel >
const ChartSpaceModelgetModel () const
 
- Public Member Functions inherited from oox::drawingml::chart::ConverterRoot
 ConverterRoot (::oox::core::XmlFilterBase &rFilter, ChartConverter &rChartConverter, const ChartSpaceModel &rChartModel, const css::uno::Reference< css::chart2::XChartDocument > &rxChartDoc, const css::awt::Size &rChartSize)
 
virtual ~ConverterRoot ()
 
 ConverterRoot (ConverterRoot const &)=default
 
 ConverterRoot (ConverterRoot &&)=default
 
ConverterRootoperator= (ConverterRoot const &)=default
 
ConverterRootoperator= (ConverterRoot &&)=default
 
css::uno::Reference< css::uno::XInterface > createInstance (const OUString &rServiceName) const
 Creates an instance for the passed service name, using the process service factory. More...
 
css::uno::Reference< css::uno::XComponentContext > const & getComponentContext () const
 

Additional Inherited Members

- Protected Member Functions inherited from oox::drawingml::chart::ConverterBase< ChartSpaceModel >
 ConverterBase (const ConverterRoot &rParent, ChartSpaceModel &rModel)
 
virtual ~ConverterBase () override
 
- Protected Member Functions inherited from oox::drawingml::chart::ConverterRoot
::oox::core::XmlFilterBasegetFilter () const
 Returns the filter object of the imported/exported document. More...
 
ChartConvertergetChartConverter () const
 Returns the chart converter. More...
 
css::uno::Reference< css::chart2::XChartDocument > const & getChartDocument () const
 Returns the API chart document model. More...
 
const css::awt::Size & getChartSize () const
 Returns the position and size of the chart shape in 1/100 mm. More...
 
ObjectFormattergetFormatter () const
 Returns the object formatter. More...
 
void registerTitleLayout (const css::uno::Reference< css::chart2::XTitle > &rxTitle, const ModelRef< LayoutModel > &rxLayout, ObjectType eObjType, sal_Int32 nMainIdx, sal_Int32 nSubIdx)
 Registers a title object and its layout data, needed for conversion of the title position using the old Chart1 API. More...
 
void convertTitlePositions ()
 Converts the positions of the main title and all axis titles. More...
 
- Static Protected Member Functions inherited from oox::drawingml::chart::ConverterRoot
static css::awt::Size getDefaultPageSize ()
 Returns the default position and size of the chart shape in 1/100 mm. More...
 
- Protected Attributes inherited from oox::drawingml::chart::ConverterBase< ChartSpaceModel >
ChartSpaceModelmrModel
 

Detailed Description

Definition at line 34 of file chartspaceconverter.hxx.

Constructor & Destructor Documentation

◆ ChartSpaceConverter()

oox::drawingml::chart::ChartSpaceConverter::ChartSpaceConverter ( const ConverterRoot rParent,
ChartSpaceModel rModel 
)
explicit

Definition at line 62 of file chartspaceconverter.cxx.

◆ ~ChartSpaceConverter()

oox::drawingml::chart::ChartSpaceConverter::~ChartSpaceConverter ( )
overridevirtual

Definition at line 67 of file chartspaceconverter.cxx.

Member Function Documentation

◆ convertFromModel()

void oox::drawingml::chart::ChartSpaceConverter::convertFromModel ( const css::uno::Reference< css::drawing::XShapes > &  rxExternalPage,
const css::awt::Point &  rChartPos 
)

Converts the contained OOXML chart model to a chart2 document.

Definition at line 147 of file chartspaceconverter.cxx.

References oox::drawingml::chart::ObjectFormatter::convertFrameFormatting(), oox::drawingml::chart::LegendConverter::convertFromModel(), oox::drawingml::chart::WallFloorConverter::convertFromModel(), oox::drawingml::chart::TitleConverter::convertFromModel(), oox::drawingml::chart::PlotAreaConverter::convertFromModel(), oox::drawingml::chart::PlotAreaConverter::convertPositionFromModel(), oox::drawingml::chart::ConverterRoot::convertTitlePositions(), oox::drawingml::chart::ChartConverter::createDataProvider(), Exception, oox::drawingml::chart::PlotAreaConverter::getAutomaticTitle(), oox::drawingml::chart::ConverterRoot::getChartConverter(), oox::drawingml::chart::ConverterRoot::getChartDocument(), oox::drawingml::chart::ConverterRoot::getChartSize(), oox::drawingml::chart::ConverterRoot::getDefaultPageSize(), oox::drawingml::chart::ConverterRoot::getFilter(), oox::drawingml::chart::ConverterRoot::getFormatter(), oox::drawingml::chart::ModelRef< ModelType >::getOrCreate(), oox::core::XmlFilterBase::importFragment(), oox::drawingml::chart::ModelRef< ModelType >::is(), oox::core::XmlFilterBase::isMSO2007Document(), oox::drawingml::chart::PlotAreaConverter::isWall3dChart(), oox::drawingml::chart::lcl_useWorkaroundForNoGapInOOXML(), oox::drawingml::chart::ChartSpaceModel::maDrawingPath, oox::drawingml::chart::ChartSpaceModel::maSheetPath, oox::drawingml::chart::ChartSpaceModel::mbAutoTitleDel, oox::drawingml::chart::ChartSpaceModel::mbPivotChart, oox::drawingml::chart::ChartSpaceModel::mbPlotVisOnly, oox::drawingml::chart::ChartSpaceModel::mnDispBlanksAs, oox::drawingml::chart::ConverterBase< ChartSpaceModel >::mrModel, oox::drawingml::chart::ChartSpaceModel::mxBackWall, oox::drawingml::chart::ChartSpaceModel::mxFloor, oox::drawingml::chart::ChartSpaceModel::mxLegend, oox::drawingml::chart::ChartSpaceModel::mxPlotArea, oox::drawingml::chart::ChartSpaceModel::mxShapeProp, oox::drawingml::chart::ChartSpaceModel::mxTitle, oox::drawingml::chart::ChartSpaceModel::mxView3D, oox::drawingml::chart::OBJECTTYPE_CHARTSPACE, oox::drawingml::chart::OBJECTTYPE_CHARTTITLE, oox::drawingml::chart::OBJECTTYPE_FLOOR, oox::drawingml::chart::OBJECTTYPE_WALL, OoxResId(), PROP_ExternalData, PROP_IncludeHiddenCells, PROP_MissingValueTreatment, and oox::PropertySet::setProperty().

Referenced by oox::drawingml::chart::ChartConverter::convertFromModel().


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