LibreOffice Module oox (master)  1
Public Member Functions | Private Member Functions | List of all members
oox::drawingml::chart::SeriesConverter Class Referencefinal

#include <seriesconverter.hxx>

Inheritance diagram for oox::drawingml::chart::SeriesConverter:
[legend]
Collaboration diagram for oox::drawingml::chart::SeriesConverter:
[legend]

Public Member Functions

 SeriesConverter (const ConverterRoot &rParent, SeriesModel &rModel)
 
virtual ~SeriesConverter () override
 
css::uno::Reference< css::chart2::data::XLabeledDataSequence > createCategorySequence (const OUString &rRole)
 Creates a labeled data sequence object from category data link. More...
 
css::uno::Reference< css::chart2::data::XLabeledDataSequence > createValueSequence (const OUString &rRole)
 Creates a labeled data sequence object from value data link. More...
 
css::uno::Reference< css::chart2::XDataSeries > createDataSeries (const TypeGroupConverter &rTypeGroup, bool bVaryColorsByPoint)
 Creates a data series object with initialized source links. More...
 
- Public Member Functions inherited from oox::drawingml::chart::ConverterBase< SeriesModel >
const SeriesModelgetModel () 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
 
ConverterRootoperator= (ConverterRoot const &)=default
 
ConverterRootoperator= (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 (SeriesModel::SourceType eSourceType, const OUString &rRole, bool bUseTextLabel)
 

Additional Inherited Members

- Protected Member Functions inherited from oox::drawingml::chart::ConverterBase< SeriesModel >
 ConverterBase (const ConverterRoot &rParent, SeriesModel &rModel)
 
virtual ~ConverterBase () override
 
- Protected Member Functions inherited from oox::drawingml::chart::ConverterRoot
::oox::core::XmlFilterBasegetFilter () const
 Returns the filter object of the imported/exported document. More...
 
ChartConvertergetChartConverter () 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...
 
ObjectFormattergetFormatter () 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< SeriesModel >
SeriesModelmrModel
 

Detailed Description

Definition at line 118 of file seriesconverter.hxx.

Constructor & Destructor Documentation

oox::drawingml::chart::SeriesConverter::SeriesConverter ( const ConverterRoot rParent,
SeriesModel rModel 
)
explicit

Definition at line 724 of file seriesconverter.cxx.

oox::drawingml::chart::SeriesConverter::~SeriesConverter ( )
overridevirtual

Definition at line 729 of file seriesconverter.cxx.

Member Function Documentation

Reference< XLabeledDataSequence > oox::drawingml::chart::SeriesConverter::createCategorySequence ( const OUString &  rRole)

Creates a labeled data sequence object from category data link.

Definition at line 733 of file seriesconverter.cxx.

References oox::drawingml::chart::SeriesModel::CATEGORIES, and createLabeledDataSequence().

Referenced by oox::drawingml::chart::TypeGroupConverter::createCategorySequence(), and createDataSeries().

Reference< XDataSeries > oox::drawingml::chart::SeriesConverter::createDataSeries ( const TypeGroupConverter rTypeGroup,
bool  bVaryColorsByPoint 
)

Creates a data series object with initialized source links.

Definition at line 743 of file seriesconverter.cxx.

References oox::drawingml::chart::ObjectFormatter::convertAutomaticFill(), oox::drawingml::chart::TypeGroupConverter::convertBarGeometry(), oox::drawingml::chart::ObjectFormatter::convertFrameFormatting(), oox::drawingml::chart::DataLabelsConverter::convertFromModel(), oox::drawingml::chart::ErrorBarConverter::convertFromModel(), oox::drawingml::chart::TrendlineConverter::convertFromModel(), oox::drawingml::chart::DataPointConverter::convertFromModel(), oox::drawingml::chart::TypeGroupConverter::convertLineSmooth(), oox::drawingml::chart::TypeGroupConverter::convertMarker(), oox::drawingml::chart::TypeGroupConverter::convertPieExplosion(), createCategorySequence(), oox::drawingml::chart::ConverterRoot::createInstance(), createLabeledDataSequence(), createValueSequence(), Exception, oox::RefMap< KeyType, ObjType, CompType >::get(), oox::OptValue< Type >::get(), oox::drawingml::chart::ConverterRoot::getFilter(), oox::drawingml::chart::ConverterRoot::getFormatter(), oox::drawingml::chart::ObjectFormatter::getMaxSeriesIndex(), oox::drawingml::chart::ConverterBase< ModelType >::getModel(), oox::drawingml::chart::ModelRef< ModelType >::getOrCreate(), oox::drawingml::chart::TypeGroupConverter::getSeriesObjectType(), oox::drawingml::chart::TypeGroupConverter::getTypeInfo(), oox::drawingml::chart::ModelRef< ModelType >::is(), oox::drawingml::chart::ObjectFormatter::isAutomaticFill(), oox::core::XmlFilterBase::isMSO2007Document(), oox::drawingml::chart::TypeGroupConverter::isSeriesFrameFormat(), oox::drawingml::chart::SeriesModel::maErrorBars, oox::drawingml::chart::SeriesModel::maPoints, oox::drawingml::chart::SeriesModel::maSources, oox::drawingml::chart::SeriesModel::maTrendlines, oox::drawingml::chart::TypeGroupInfo::mbCategoryAxis, oox::drawingml::chart::TypeGroupInfo::mbPictureOptions, oox::drawingml::chart::SeriesModel::mbSmooth, oox::drawingml::chart::TypeGroupInfo::meTypeCategory, oox::drawingml::chart::TypeGroupInfo::meTypeId, oox::drawingml::chart::SeriesModel::mnExplosion, oox::drawingml::chart::SeriesModel::mnIndex, oox::drawingml::chart::SeriesModel::mnMarkerSize, oox::drawingml::chart::SeriesModel::mnMarkerSymbol, oox::drawingml::chart::TypeGroupModel::mnShape, oox::drawingml::chart::SeriesModel::monShape, oox::drawingml::chart::ConverterBase< SeriesModel >::mrModel, oox::drawingml::chart::DataSourceModel::mxDataSeq, oox::drawingml::chart::TypeGroupModel::mxLabels, oox::drawingml::chart::SeriesModel::mxLabels, oox::drawingml::chart::SeriesModel::mxMarkerProp, oox::drawingml::chart::SeriesModel::mxPicOptions, oox::drawingml::chart::SeriesModel::mxShapeProp, nIndex, point(), oox::drawingml::chart::SeriesModel::POINTS, oox::drawingml::chart::ObjectFormatter::setMaxSeriesIndex(), oox::PropertySet::setProperty(), oox::drawingml::chart::TYPECATEGORY_PIE, oox::drawingml::chart::TYPEID_BUBBLE, oox::drawingml::chart::SeriesModel::VALUES, and oox::ContainerHelper::vectorToSequence().

Referenced by oox::drawingml::chart::TypeGroupConverter::convertFromModel().

Reference< XLabeledDataSequence > oox::drawingml::chart::SeriesConverter::createLabeledDataSequence ( SeriesModel::SourceType  eSourceType,
const OUString &  rRole,
bool  bUseTextLabel 
)
private
Reference< XLabeledDataSequence > oox::drawingml::chart::SeriesConverter::createValueSequence ( const OUString &  rRole)

Creates a labeled data sequence object from value data link.

Definition at line 738 of file seriesconverter.cxx.

References createLabeledDataSequence(), and oox::drawingml::chart::SeriesModel::VALUES.

Referenced by createDataSeries().


The documentation for this class was generated from the following files: