LibreOffice Module oox (master) 1
|
#include <seriesconverter.hxx>
Public Member Functions | |
ErrorBarConverter (const ConverterRoot &rParent, ErrorBarModel &rModel) | |
virtual | ~ErrorBarConverter () override |
void | convertFromModel (const css::uno::Reference< css::chart2::XDataSeries > &rxDataSeries) |
Converts an OOXML errorbar and inserts it into the passed data series. More... | |
Public Member Functions inherited from oox::drawingml::chart::ConverterBase< ErrorBarModel > | |
const ErrorBarModel & | 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 |
Private Member Functions | |
css::uno::Reference< css::chart2::data::XLabeledDataSequence > | createLabeledDataSequence (ErrorBarModel::SourceType eSourceType) |
Additional Inherited Members | |
Protected Member Functions inherited from oox::drawingml::chart::ConverterBase< ErrorBarModel > | |
ConverterBase (const ConverterRoot &rParent, ErrorBarModel &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< ErrorBarModel > | |
ErrorBarModel & | mrModel |
Definition at line 65 of file seriesconverter.hxx.
|
explicit |
Definition at line 479 of file seriesconverter.cxx.
|
overridevirtual |
Definition at line 484 of file seriesconverter.cxx.
void oox::drawingml::chart::ErrorBarConverter::convertFromModel | ( | const css::uno::Reference< css::chart2::XDataSeries > & | rxDataSeries | ) |
Converts an OOXML errorbar and inserts it into the passed data series.
Definition at line 488 of file seriesconverter.cxx.
References comphelper::containerToSequence(), oox::drawingml::chart::ObjectFormatter::convertFrameFormatting(), oox::drawingml::chart::ConverterRoot::createInstance(), createLabeledDataSequence(), Exception, oox::drawingml::chart::ConverterRoot::getFormatter(), oox::drawingml::chart::ErrorBarModel::mfValue, oox::drawingml::chart::ErrorBarModel::MINUS, oox::drawingml::chart::ErrorBarModel::mnDirection, oox::drawingml::chart::ErrorBarModel::mnTypeId, oox::drawingml::chart::ErrorBarModel::mnValueType, oox::drawingml::chart::ConverterBase< ErrorBarModel >::mrModel, oox::drawingml::chart::ErrorBarModel::mxShapeProp, oox::drawingml::chart::OBJECTTYPE_ERRORBAR, oox::drawingml::chart::ErrorBarModel::PLUS, PROP_ErrorBarStyle, PROP_NegativeError, PROP_PositiveError, PROP_ShowNegativeError, PROP_ShowPositiveError, PROP_Weight, and oox::PropertySet::setProperty().
Referenced by oox::drawingml::chart::SeriesConverter::createDataSeries().
|
private |
Definition at line 582 of file seriesconverter.cxx.
References oox::RefMap< KeyType, ObjType, CompType >::get(), oox::drawingml::chart::ErrorBarModel::maSources, oox::drawingml::chart::ErrorBarModel::MINUS, oox::drawingml::chart::ErrorBarModel::mnDirection, oox::drawingml::chart::ConverterBase< ErrorBarModel >::mrModel, and oox::drawingml::chart::ErrorBarModel::PLUS.
Referenced by convertFromModel().