|
LibreOffice Module oox (master) 1
|
#include <titleconverter.hxx>
Public Member Functions | |
| TitleConverter (const ConverterRoot &rParent, TitleModel &rModel) | |
| virtual | ~TitleConverter () override |
| void | convertFromModel (const css::uno::Reference< css::chart2::XTitled > &rxTitled, const OUString &rAutoTitle, ObjectType eObjType, sal_Int32 nMainIdx=-1, sal_Int32 nSubIdx=-1) |
| Creates a title text object and attaches it at the passed interface. More... | |
Public Member Functions inherited from oox::drawingml::chart::ConverterBase< TitleModel > | |
| const TitleModel & | 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 | |
| ConverterRoot & | operator= (ConverterRoot const &)=default |
| ConverterRoot & | operator= (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< TitleModel > | |
| ConverterBase (const ConverterRoot &rParent, TitleModel &rModel) | |
| virtual | ~ConverterBase () override |
Protected Member Functions inherited from oox::drawingml::chart::ConverterRoot | |
| ::oox::core::XmlFilterBase & | getFilter () const |
| Returns the filter object of the imported/exported document. More... | |
| ChartConverter & | getChartConverter () 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... | |
| ObjectFormatter & | getFormatter () 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< TitleModel > | |
| TitleModel & | mrModel |
Definition at line 66 of file titleconverter.hxx.
|
explicit |
Definition at line 137 of file titleconverter.cxx.
|
overridevirtual |
Definition at line 142 of file titleconverter.cxx.
| void oox::drawingml::chart::TitleConverter::convertFromModel | ( | const css::uno::Reference< css::chart2::XTitled > & | rxTitled, |
| const OUString & | rAutoTitle, | ||
| ObjectType | eObjType, | ||
| sal_Int32 | nMainIdx = -1, |
||
| sal_Int32 | nSubIdx = -1 |
||
| ) |
Creates a title text object and attaches it at the passed interface.
Definition at line 146 of file titleconverter.cxx.
References oox::drawingml::chart::ObjectFormatter::convertFrameFormatting(), oox::drawingml::chart::ObjectFormatter::convertTextRotation(), oox::drawingml::chart::ConverterRoot::createInstance(), oox::drawingml::chart::TextConverter::createStringSequence(), Exception, oox::drawingml::chart::ConverterRoot::getFormatter(), oox::drawingml::chart::ModelRef< ModelType >::getOrCreate(), oox::drawingml::chart::ModelRef< ModelType >::is(), oox::drawingml::chart::TitleModel::mnDefaultRotation, oox::drawingml::chart::ConverterBase< TitleModel >::mrModel, oox::drawingml::chart::TitleModel::mxLayout, oox::drawingml::chart::TitleModel::mxShapeProp, oox::drawingml::chart::TitleModel::mxText, oox::drawingml::chart::TextModel::mxTextBody, oox::drawingml::chart::TitleModel::mxTextProp, and oox::drawingml::chart::ConverterRoot::registerTitleLayout().
Referenced by oox::drawingml::chart::AxisConverter::convertFromModel(), and oox::drawingml::chart::ChartSpaceConverter::convertFromModel().