LibreOffice Module oox (master) 1
|
#include <seriesconverter.hxx>
Public Member Functions | |
DataLabelConverter (const ConverterRoot &rParent, DataLabelModel &rModel) | |
virtual | ~DataLabelConverter () override |
void | convertFromModel (const css::uno::Reference< css::chart2::XDataSeries > &rxDataSeries, const TypeGroupConverter &rTypeGroup) |
Converts OOXML data label settings for the passed data point. More... | |
Public Member Functions inherited from oox::drawingml::chart::ConverterBase< DataLabelModel > | |
const DataLabelModel & | 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< DataLabelModel > | |
ConverterBase (const ConverterRoot &rParent, DataLabelModel &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< DataLabelModel > | |
DataLabelModel & | mrModel |
Definition at line 39 of file seriesconverter.hxx.
|
explicit |
Definition at line 264 of file seriesconverter.cxx.
|
overridevirtual |
Definition at line 269 of file seriesconverter.cxx.
void oox::drawingml::chart::DataLabelConverter::convertFromModel | ( | const css::uno::Reference< css::chart2::XDataSeries > & | rxDataSeries, |
const TypeGroupConverter & | rTypeGroup | ||
) |
Converts OOXML data label settings for the passed data point.
Definition at line 273 of file seriesconverter.cxx.
References Any, eType, Exception, oox::drawingml::chart::ConverterRoot::getChartDocument(), oox::drawingml::chart::ConverterRoot::getComponentContext(), oox::drawingml::chart::ConverterRoot::getFilter(), oox::drawingml::chart::ConverterRoot::getFormatter(), oox::core::FilterBase::getModelObjectHelperForModel(), oox::PropertySet::getProperty(), oox::drawingml::chart::TypeGroupConverter::getTypeInfo(), oox::drawingml::chart::ModelRef< ModelType >::is(), oox::core::XmlFilterBase::isMSO2007Document(), oox::drawingml::chart::TypeGroupInfo::meTypeCategory, oox::drawingml::chart::DataLabelModel::mnIndex, oox::drawingml::chart::DataLabelModelBase::mobShowDataLabelsRange, oox::drawingml::chart::DataLabelsModel::mpLabelsSource, oox::drawingml::chart::ConverterBase< DataLabelModel >::mrModel, oox::drawingml::chart::DataLabelModel::mrParent, oox::drawingml::chart::DataSourceModel::mxDataSeq, oox::drawingml::chart::DataLabelModel::mxLayout, oox::drawingml::chart::DataLabelModelBase::mxShapeProp, oox::drawingml::chart::DataLabelModel::mxText, nPos, PROP_LabelPlacement, oox::PropertySet::setProperty(), oox::drawingml::chart::TYPECATEGORY_PIE, and xFactory.
Referenced by oox::drawingml::chart::DataLabelsConverter::convertFromModel().