LibreOffice Module oox (master) 1
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
oox::drawingml::chart::ConverterBase< ModelType > Class Template Reference

Base class of all converter classes. More...

#include <converterbase.hxx>

Inheritance diagram for oox::drawingml::chart::ConverterBase< ModelType >:
[legend]
Collaboration diagram for oox::drawingml::chart::ConverterBase< ModelType >:
[legend]

Public Member Functions

const ModelType & getModel () 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
 

Protected Member Functions

 ConverterBase (const ConverterRoot &rParent, ModelType &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...
 

Protected Attributes

ModelType & mrModel
 

Additional Inherited Members

- 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...
 

Detailed Description

template<typename ModelType>
class oox::drawingml::chart::ConverterBase< ModelType >

Base class of all converter classes.

Holds a reference to a model structure of the specified type.

Definition at line 105 of file converterbase.hxx.

Constructor & Destructor Documentation

◆ ConverterBase()

template<typename ModelType >
oox::drawingml::chart::ConverterBase< ModelType >::ConverterBase ( const ConverterRoot rParent,
ModelType &  rModel 
)
inlineexplicitprotected

Definition at line 111 of file converterbase.hxx.

◆ ~ConverterBase()

template<typename ModelType >
virtual oox::drawingml::chart::ConverterBase< ModelType >::~ConverterBase ( )
inlineoverrideprotectedvirtual

Definition at line 113 of file converterbase.hxx.

Member Function Documentation

◆ getModel()

template<typename ModelType >
const ModelType & oox::drawingml::chart::ConverterBase< ModelType >::getModel ( ) const
inline

Member Data Documentation

◆ mrModel

template<typename ModelType >
ModelType& oox::drawingml::chart::ConverterBase< ModelType >::mrModel
protected

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