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

#include <axisconverter.hxx>

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

Public Member Functions

 AxisConverter (const ConverterRoot &rParent, AxisModel &rModel)
 
virtual ~AxisConverter () override
 
void convertFromModel (const css::uno::Reference< css::chart2::XCoordinateSystem > &rxCoordSystem, RefVector< TypeGroupConverter > &rTypeGroups, const AxisModel *pCrossingAxis, sal_Int32 nAxesSetIdx, sal_Int32 nAxisIdx, bool bUseFixedInnerSize)
 Creates a chart2 axis and inserts it into the passed coordinate system. More...
 
- Public Member Functions inherited from oox::drawingml::chart::ConverterBase< AxisModel >
const AxisModelgetModel () 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
 

Additional Inherited Members

- Protected Member Functions inherited from oox::drawingml::chart::ConverterBase< AxisModel >
 ConverterBase (const ConverterRoot &rParent, AxisModel &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< AxisModel >
AxisModelmrModel
 

Detailed Description

Definition at line 51 of file axisconverter.hxx.

Constructor & Destructor Documentation

oox::drawingml::chart::AxisConverter::AxisConverter ( const ConverterRoot rParent,
AxisModel rModel 
)
explicit

Definition at line 132 of file axisconverter.cxx.

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

Definition at line 137 of file axisconverter.cxx.

Member Function Documentation

void oox::drawingml::chart::AxisConverter::convertFromModel ( const css::uno::Reference< css::chart2::XCoordinateSystem > &  rxCoordSystem,
RefVector< TypeGroupConverter > &  rTypeGroups,
const AxisModel pCrossingAxis,
sal_Int32  nAxesSetIdx,
sal_Int32  nAxisIdx,
bool  bUseFixedInnerSize 
)

Creates a chart2 axis and inserts it into the passed coordinate system.

TODO #i58731# show n-th category

Definition at line 141 of file axisconverter.cxx.

References Any, oox::drawingml::chart::API_X_AXIS, oox::drawingml::chart::API_Y_AXIS, oox::drawingml::chart::API_Z_AXIS, oox::drawingml::chart::ObjectFormatter::convertFormatting(), oox::drawingml::chart::ObjectFormatter::convertFrameFormatting(), oox::drawingml::chart::AxisDispUnitsConverter::convertFromModel(), oox::drawingml::chart::TitleConverter::convertFromModel(), oox::drawingml::chart::ObjectFormatter::convertNumberFormat(), oox::drawingml::chart::ObjectFormatter::convertTextRotation(), oox::drawingml::chart::ConverterRoot::createInstance(), Exception, oox::OptValue< Type >::get(), oox::drawingml::chart::ConverterRoot::getFormatter(), oox::drawingml::Shape::getLineProperties(), oox::drawingml::chart::ModelRef< ModelType >::getOrCreate(), comphelper::getProcessComponentContext(), oox::PropertySet::getProperty(), oox::OptValue< Type >::has(), oox::drawingml::chart::ModelRef< ModelType >::is(), oox::drawingml::LineProperties::maLineFill, oox::drawingml::chart::AxisModel::maNumberFormat, oox::drawingml::chart::AxisModel::mbAuto, oox::drawingml::chart::TypeGroupInfo::mbCategoryAxis, oox::drawingml::chart::AxisModel::mbDeleted, oox::drawingml::chart::TypeGroupInfo::meTypeCategory, oox::drawingml::chart::TypeGroupInfo::meTypeId, oox::drawingml::chart::AxisModel::mnAxisPos, oox::drawingml::chart::AxisModel::mnCrossBetween, oox::drawingml::chart::AxisModel::mnCrossMode, oox::drawingml::chart::AxisModel::mnMajorTickMark, oox::drawingml::chart::AxisModel::mnMajorTimeUnit, oox::drawingml::chart::AxisModel::mnMinorTickMark, oox::drawingml::chart::AxisModel::mnMinorTimeUnit, oox::drawingml::chart::AxisModel::mnOrientation, oox::drawingml::chart::AxisModel::mnTickLabelPos, oox::drawingml::chart::AxisModel::mnTypeId, oox::drawingml::chart::AxisModel::mofCrossesAt, oox::drawingml::FillProperties::moFillType, oox::drawingml::chart::AxisModel::mofMajorUnit, oox::drawingml::chart::AxisModel::mofMax, oox::drawingml::chart::AxisModel::mofMin, oox::drawingml::chart::AxisModel::mofMinorUnit, oox::drawingml::chart::AxisModel::monBaseTimeUnit, oox::drawingml::chart::ConverterBase< AxisModel >::mrModel, oox::drawingml::chart::AxisModel::mxDispUnits, oox::drawingml::chart::AxisModel::mxMajorGridLines, oox::drawingml::chart::AxisModel::mxMinorGridLines, oox::drawingml::chart::AxisModel::mxShapeProp, oox::drawingml::chart::AxisModel::mxTextProp, oox::drawingml::chart::AxisModel::mxTitle, oox::drawingml::chart::OBJECTTYPE_AXIS, oox::drawingml::chart::OBJECTTYPE_AXISTITLE, oox::drawingml::chart::OBJECTTYPE_MAJORGRIDLINE, oox::drawingml::chart::OBJECTTYPE_MINORGRIDLINE, OoxResId(), oox::PropertySet::setProperty(), oox::drawingml::chart::TYPECATEGORY_BAR, oox::drawingml::chart::TYPECATEGORY_PIE, oox::drawingml::chart::TYPECATEGORY_RADAR, oox::drawingml::chart::TYPEID_BAR, oox::drawingml::chart::TYPEID_HORBAR, oox::drawingml::chart::TYPEID_LINE, oox::drawingml::chart::TYPEID_RADARAREA, oox::drawingml::chart::TYPEID_RADARLINE, and oox::drawingml::chart::TYPEID_STOCK.


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