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

#include <plotareaconverter.hxx>

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

Public Member Functions

 PlotAreaConverter (const ConverterRoot &rParent, PlotAreaModel &rModel)
 
virtual ~PlotAreaConverter () override
 
void convertFromModel (View3DModel &rView3DModel)
 Converts the OOXML plot area model to a chart2 diagram. More...
 
void convertPositionFromModel ()
 Converts the manual plot area position and size, if set. More...
 
const OUString & getAutomaticTitle () const
 Returns the automatic chart title if the chart contains only one series. More...
 
bool isWall3dChart () const
 Returns true, if chart type supports wall and floor format in 3D mode. More...
 
- Public Member Functions inherited from oox::drawingml::chart::ConverterBase< PlotAreaModel >
const PlotAreaModelgetModel () 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
 

Private Attributes

OUString maAutoTitle
 
bool mb3dChart
 
bool mbWall3dChart
 
bool mbPieChart
 

Additional Inherited Members

- Protected Member Functions inherited from oox::drawingml::chart::ConverterBase< PlotAreaModel >
 ConverterBase (const ConverterRoot &rParent, PlotAreaModel &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< PlotAreaModel >
PlotAreaModelmrModel
 

Detailed Description

Definition at line 64 of file plotareaconverter.hxx.

Constructor & Destructor Documentation

◆ PlotAreaConverter()

oox::drawingml::chart::PlotAreaConverter::PlotAreaConverter ( const ConverterRoot rParent,
PlotAreaModel rModel 
)
explicit

Definition at line 296 of file plotareaconverter.cxx.

◆ ~PlotAreaConverter()

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

Definition at line 304 of file plotareaconverter.cxx.

Member Function Documentation

◆ convertFromModel()

void oox::drawingml::chart::PlotAreaConverter::convertFromModel ( View3DModel rView3DModel)

◆ convertPositionFromModel()

void oox::drawingml::chart::PlotAreaConverter::convertPositionFromModel ( )

◆ getAutomaticTitle()

const OUString & oox::drawingml::chart::PlotAreaConverter::getAutomaticTitle ( ) const
inline

Returns the automatic chart title if the chart contains only one series.

Definition at line 76 of file plotareaconverter.hxx.

References maAutoTitle.

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

◆ isWall3dChart()

bool oox::drawingml::chart::PlotAreaConverter::isWall3dChart ( ) const
inline

Returns true, if chart type supports wall and floor format in 3D mode.

Definition at line 78 of file plotareaconverter.hxx.

References mbWall3dChart.

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

Member Data Documentation

◆ maAutoTitle

OUString oox::drawingml::chart::PlotAreaConverter::maAutoTitle
private

Definition at line 81 of file plotareaconverter.hxx.

Referenced by convertFromModel(), and getAutomaticTitle().

◆ mb3dChart

bool oox::drawingml::chart::PlotAreaConverter::mb3dChart
private

Definition at line 82 of file plotareaconverter.hxx.

Referenced by convertFromModel().

◆ mbPieChart

bool oox::drawingml::chart::PlotAreaConverter::mbPieChart
private

Definition at line 84 of file plotareaconverter.hxx.

Referenced by convertFromModel(), and convertPositionFromModel().

◆ mbWall3dChart

bool oox::drawingml::chart::PlotAreaConverter::mbWall3dChart
private

Definition at line 83 of file plotareaconverter.hxx.

Referenced by convertFromModel(), and isWall3dChart().


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