LibreOffice Module oox (master) 1
|
#include <seriesconverter.hxx>
Public Member Functions | |
TrendlineConverter (const ConverterRoot &rParent, TrendlineModel &rModel) | |
virtual | ~TrendlineConverter () override |
void | convertFromModel (const css::uno::Reference< css::chart2::XDataSeries > &rxDataSeries) |
Converts an OOXML trendline and inserts it into the passed data series. More... | |
Public Member Functions inherited from oox::drawingml::chart::ConverterBase< TrendlineModel > | |
const TrendlineModel & | 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< TrendlineModel > | |
ConverterBase (const ConverterRoot &rParent, TrendlineModel &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< TrendlineModel > | |
TrendlineModel & | mrModel |
Definition at line 92 of file seriesconverter.hxx.
|
explicit |
Definition at line 621 of file seriesconverter.cxx.
|
overridevirtual |
Definition at line 626 of file seriesconverter.cxx.
void oox::drawingml::chart::TrendlineConverter::convertFromModel | ( | const css::uno::Reference< css::chart2::XDataSeries > & | rxDataSeries | ) |
Converts an OOXML trendline and inserts it into the passed data series.
Definition at line 630 of file seriesconverter.cxx.
References oox::drawingml::chart::ObjectFormatter::convertFrameFormatting(), oox::drawingml::chart::TrendlineLabelConverter::convertFromModel(), oox::drawingml::chart::ConverterRoot::createInstance(), Exception, oox::drawingml::chart::ConverterRoot::getFormatter(), oox::drawingml::chart::ModelRef< ModelType >::getOrCreate(), oox::drawingml::chart::TrendlineModel::maName, oox::drawingml::chart::TrendlineModel::mbDispEquation, oox::drawingml::chart::TrendlineModel::mbDispRSquared, oox::drawingml::chart::TrendlineModel::mfBackward, oox::drawingml::chart::TrendlineModel::mfForward, oox::drawingml::chart::TrendlineModel::mfIntercept, oox::drawingml::chart::TrendlineModel::mnOrder, oox::drawingml::chart::TrendlineModel::mnPeriod, oox::drawingml::chart::TrendlineModel::mnTypeId, oox::drawingml::chart::ConverterBase< TrendlineModel >::mrModel, oox::drawingml::chart::TrendlineModel::mxLabel, oox::drawingml::chart::TrendlineModel::mxShapeProp, oox::drawingml::chart::OBJECTTYPE_TRENDLINE, PROP_CurveName, PROP_ExtrapolateBackward, PROP_ExtrapolateForward, PROP_ForceIntercept, PROP_InterceptValue, PROP_MovingAveragePeriod, PROP_PolynomialDegree, and oox::PropertySet::setProperty().
Referenced by oox::drawingml::chart::SeriesConverter::createDataSeries().