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

A layout converter calculates positions and sizes for various chart objects. More...

#include <converterbase.hxx>

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

Public Member Functions

 LayoutConverter (const ConverterRoot &rParent, LayoutModel &rModel)
 
virtual ~LayoutConverter () override
 
bool calcAbsRectangle (css::awt::Rectangle &orRect) const
 Tries to calculate the absolute position and size from the contained OOXML layout model. More...
 
bool convertFromModel (PropertySet &rPropSet)
 Tries to set the position and size from the contained OOXML layout model. More...
 
void convertFromModel (const css::uno::Reference< css::drawing::XShape > &rxShape, double fRotationAngle)
 Tries to set the position from the contained OOXML layout model. More...
 
bool getAutoLayout () const
 
- Public Member Functions inherited from oox::drawingml::chart::ConverterBase< LayoutModel >
const LayoutModelgetModel () 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< LayoutModel >
 ConverterBase (const ConverterRoot &rParent, LayoutModel &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< LayoutModel >
LayoutModelmrModel
 

Detailed Description

A layout converter calculates positions and sizes for various chart objects.

Definition at line 122 of file converterbase.hxx.

Constructor & Destructor Documentation

◆ LayoutConverter()

oox::drawingml::chart::LayoutConverter::LayoutConverter ( const ConverterRoot rParent,
LayoutModel rModel 
)
explicit

Definition at line 344 of file converterbase.cxx.

◆ ~LayoutConverter()

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

Definition at line 349 of file converterbase.cxx.

Member Function Documentation

◆ calcAbsRectangle()

bool oox::drawingml::chart::LayoutConverter::calcAbsRectangle ( css::awt::Rectangle &  orRect) const

◆ convertFromModel() [1/2]

void oox::drawingml::chart::LayoutConverter::convertFromModel ( const css::uno::Reference< css::drawing::XShape > &  rxShape,
double  fRotationAngle 
)

Tries to set the position from the contained OOXML layout model.

◆ convertFromModel() [2/2]

bool oox::drawingml::chart::LayoutConverter::convertFromModel ( PropertySet rPropSet)

◆ getAutoLayout()

bool oox::drawingml::chart::LayoutConverter::getAutoLayout ( ) const
inline

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