/** Creates an instance for the passed service name, using the process service factory. */
css::uno::Reference< css::uno::XInterface >
createInstance( const OUString& rServiceName ) const;
css::uno::Reference< css::uno::XComponentContext > const &
getComponentContext() const;
protected: /** Returns the filter object of the imported/exported document. */
::oox::core::XmlFilterBase& getFilter() const; /** Returns the chart converter. */
ChartConverter& getChartConverter() const; /** Returns the API chart document model. */
css::uno::Reference< css::chart2::XChartDocument > const &
getChartDocument() const; /** Returns the position and size of the chart shape in 1/100 mm. */ const css::awt::Size& getChartSize() const; /** Returns the default position and size of the chart shape in 1/100 mm. */ static css::awt::Size getDefaultPageSize() { return css::awt::Size(16000, 9000); } /** Returns the object formatter. */
ObjectFormatter& getFormatter() const;
/** Registers a title object and its layout data, needed for conversion of
the title position using the old Chart1 API. */ void registerTitleLayout( const css::uno::Reference< css::chart2::XTitle >& rxTitle, const ModelRef< LayoutModel >& rxLayout, ObjectType eObjType,
sal_Int32 nMainIdx, sal_Int32 nSubIdx ); /** Converts the positions of the main title and all axis titles. */ void convertTitlePositions();
/** Base class of all converter classes. Holds a reference to a model structure ofthespecifiedtype.
*/ template< typename ModelType > class ConverterBase : public ConverterRoot
{ public: const ModelType& getModel() const { return mrModel; }
/** A layout converter calculates positions and sizes for various chart objects.
*/ class LayoutConverter final : public ConverterBase< LayoutModel >
{ public: explicit LayoutConverter( const ConverterRoot& rParent, LayoutModel& rModel ); virtual ~LayoutConverter() override;
/** Tries to calculate the absolute position and size from the contained
OOXML layout model. Returns true, if returned rectangle is valid. */ bool calcAbsRectangle( css::awt::Rectangle& orRect ) const;
/** Tries to set the position and size from the contained OOXML layout model.
Returns true, if a manual position and size could be calculated. */ bool convertFromModel( PropertySet& rPropSet );
/** Tries to set the position from the contained OOXML layout model. */ void convertFromModel( const css::uno::Reference< css::drawing::XShape >& rxShape, double fRotationAngle ); bool getAutoLayout() const {return mrModel.mbAutoLayout;}
};
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.