LibreOffice Module oox (master)  1
Public Member Functions | Protected Member Functions | Static Protected Member Functions | Private Attributes | List of all members
oox::drawingml::chart::ConverterRoot Class Reference

#include <converterbase.hxx>

Inheritance diagram for oox::drawingml::chart::ConverterRoot:
[legend]

Public Member Functions

 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

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

static css::awt::Size getDefaultPageSize ()
 Returns the default position and size of the chart shape in 1/100 mm. More...
 

Private Attributes

std::shared_ptr< ConverterDatamxData
 

Detailed Description

Definition at line 50 of file converterbase.hxx.

Constructor & Destructor Documentation

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 
)
explicit
oox::drawingml::chart::ConverterRoot::~ConverterRoot ( )
virtual

Definition at line 211 of file converterbase.cxx.

oox::drawingml::chart::ConverterRoot::ConverterRoot ( ConverterRoot const &  )
default
oox::drawingml::chart::ConverterRoot::ConverterRoot ( ConverterRoot &&  )
default

Member Function Documentation

void oox::drawingml::chart::ConverterRoot::convertTitlePositions ( )
protected

Converts the positions of the main title and all axis titles.

Definition at line 271 of file converterbase.cxx.

References Exception, and mxData.

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

Reference< XInterface > oox::drawingml::chart::ConverterRoot::createInstance ( const OUString &  rServiceName) const
ChartConverter & oox::drawingml::chart::ConverterRoot::getChartConverter ( ) const
protected
Reference< XChartDocument > const & oox::drawingml::chart::ConverterRoot::getChartDocument ( ) const
protected
const awt::Size & oox::drawingml::chart::ConverterRoot::getChartSize ( ) const
protected

Returns the position and size of the chart shape in 1/100 mm.

Definition at line 251 of file converterbase.cxx.

References mxData.

Referenced by oox::drawingml::chart::LayoutConverter::calcAbsRectangle(), and oox::drawingml::chart::ChartSpaceConverter::convertFromModel().

Reference< XComponentContext > const & oox::drawingml::chart::ConverterRoot::getComponentContext ( ) const
static css::awt::Size oox::drawingml::chart::ConverterRoot::getDefaultPageSize ( )
inlinestaticprotected

Returns the default position and size of the chart shape in 1/100 mm.

Definition at line 83 of file converterbase.hxx.

Referenced by oox::drawingml::chart::LayoutConverter::calcAbsRectangle(), and oox::drawingml::chart::ChartSpaceConverter::convertFromModel().

XmlFilterBase & oox::drawingml::chart::ConverterRoot::getFilter ( ) const
protected
ObjectFormatter & oox::drawingml::chart::ConverterRoot::getFormatter ( ) const
protected
ConverterRoot& oox::drawingml::chart::ConverterRoot::operator= ( ConverterRoot const &  )
default
ConverterRoot& oox::drawingml::chart::ConverterRoot::operator= ( ConverterRoot &&  )
default
void oox::drawingml::chart::ConverterRoot::registerTitleLayout ( const css::uno::Reference< css::chart2::XTitle > &  rxTitle,
const ModelRef< LayoutModel > &  rxLayout,
ObjectType  eObjType,
sal_Int32  nMainIdx,
sal_Int32  nSubIdx 
)
protected

Registers a title object and its layout data, needed for conversion of the title position using the old Chart1 API.

Definition at line 261 of file converterbase.cxx.

References mxData.

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

Member Data Documentation

std::shared_ptr< ConverterData > oox::drawingml::chart::ConverterRoot::mxData
private

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