LibreOffice Module oox (master) 1
|
Converts the data table element and properties from OOXML model to the internal chart implementation. More...
#include <datatableconverter.hxx>
Public Member Functions | |
DataTableConverter (const ConverterRoot &rParent, DataTableModel &rModel) | |
virtual | ~DataTableConverter () override |
void | convertFromModel (css::uno::Reference< css::chart2::XDiagram > const &rxDiagram) |
Converts the OOXML data table model to a chart2 diagram. More... | |
Public Member Functions inherited from oox::drawingml::chart::ConverterBase< DataTableModel > | |
const DataTableModel & | 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< DataTableModel > | |
ConverterBase (const ConverterRoot &rParent, DataTableModel &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< DataTableModel > | |
DataTableModel & | mrModel |
Converts the data table element and properties from OOXML model to the internal chart implementation.
Definition at line 37 of file datatableconverter.hxx.
|
explicit |
Definition at line 31 of file datatableconverter.cxx.
|
overridevirtualdefault |
void oox::drawingml::chart::DataTableConverter::convertFromModel | ( | css::uno::Reference< css::chart2::XDiagram > const & | rxDiagram | ) |
Converts the OOXML data table model to a chart2 diagram.
Definition at line 38 of file datatableconverter.cxx.
References oox::drawingml::chart::ObjectFormatter::convertFormatting(), oox::drawingml::chart::ConverterRoot::createInstance(), oox::drawingml::chart::ConverterRoot::getFormatter(), oox::drawingml::chart::DataTableModel::mbShowHBorder, oox::drawingml::chart::DataTableModel::mbShowKeys, oox::drawingml::chart::DataTableModel::mbShowOutline, oox::drawingml::chart::DataTableModel::mbShowVBorder, oox::drawingml::chart::ConverterBase< DataTableModel >::mrModel, oox::drawingml::chart::DataTableModel::mxShapeProp, oox::drawingml::chart::DataTableModel::mxTextProp, oox::drawingml::chart::OBJECTTYPE_DATATABLE, PROP_HBorder, PROP_Keys, PROP_Outline, PROP_VBorder, and oox::PropertySet::setProperty().
Referenced by oox::drawingml::chart::PlotAreaConverter::convertFromModel().