LibreOffice
LibreOffice 24.2 SDK API Reference
Included Services | Exported Interfaces | Public Attributes | List of all members
Diagram Service Referencepublished

the base service for the diagram of the chart document. More...

import"Diagram.idl";

Inheritance diagram for Diagram:
XDiagram XAxisSupplier XSecondAxisTitleSupplier XDiagramPositioning XPropertySet UserDefinedAttributesSupplier XShape XInterface XInterface XInterface XInterface XShapeDescriptor XInterface AreaDiagram BarDiagram BubbleDiagram DonutDiagram FilledNetDiagram LineDiagram NetDiagram PieDiagram StockDiagram XYDiagram

Included Services

service com::sun::star::xml::UserDefinedAttributesSupplier
 If a Diagram may be stored as XML file, this service should be supported in order to preserve unparsed XML attributes. More...
 

Exported Interfaces

interface com::sun::star::chart::XDiagram
 
interface com::sun::star::chart::XAxisSupplier
 Provides easier access to the different axes and their sub elements. More...
 
interface com::sun::star::chart::XSecondAxisTitleSupplier
 Provides access to the titles of the secondary X axis and Y axis. More...
 
interface com::sun::star::chart::XDiagramPositioning
 
More...
 
interface com::sun::star::beans::XPropertySet
 

Public Attributes

boolean AutomaticPosition
 If this property is TRUE the position is calculated by the application automatically. More...
 
boolean AutomaticSize
 If this property is TRUE the size is calculated by the application automatically. More...
 
com::sun::star::chart::ChartDataRowSource DataRowSource
 determines if the data for a data row is contained in the columns or in the rows of the data array. More...
 
long DataCaption
 specifies how the caption of data points is displayed. More...
 
long MissingValueTreatment
 specifies how empty or invalid cells in the provided data should be handled when displayed More...
 

Additional Inherited Members

- Public Member Functions inherited from XDiagram
string getDiagramType ()
 
com::sun::star::beans::XPropertySet getDataRowProperties ([in] long nRow) raises ( com::sun::star::lang::IndexOutOfBoundsException )
 
com::sun::star::beans::XPropertySet getDataPointProperties ([in] long nCol, [in] long nRow) raises ( com::sun::star::lang::IndexOutOfBoundsException )
 
- Public Member Functions inherited from XShape
com::sun::star::awt::Point getPosition ()
 gets the current position of this object. More...
 
void setPosition ([in] com::sun::star::awt::Point aPosition)
 sets the current position of this object More...
 
com::sun::star::awt::Size getSize ()
 gets the size of this object. More...
 
void setSize ([in] com::sun::star::awt::Size aSize) raises ( com::sun::star::beans::PropertyVetoException )
 sets the size of this object. More...
 
- Public Member Functions inherited from XShapeDescriptor
string getShapeType ()
 
- Public Member Functions inherited from XInterface
any queryInterface ([in] type aType)
 queries for a new interface to an existing UNO object. More...
 
void acquire ()
 increases the reference counter by one. More...
 
void release ()
 decreases the reference counter by one. More...
 
- Public Member Functions inherited from XPropertySet
com::sun::star::beans::XPropertySetInfo getPropertySetInfo ()
 
void setPropertyValue ([in] string aPropertyName, [in] any aValue) raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::beans::PropertyVetoException, com::sun::star::lang::IllegalArgumentException, com::sun::star::lang::WrappedTargetException )
 sets the value of the property with the specified name. More...
 
any getPropertyValue ([in] string PropertyName) raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::lang::WrappedTargetException )
 
void addPropertyChangeListener ([in] string aPropertyName, [in] com::sun::star::beans::XPropertyChangeListener xListener) raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::lang::WrappedTargetException )
 adds an XPropertyChangeListener to the specified property. More...
 
void removePropertyChangeListener ([in] string aPropertyName, [in] com::sun::star::beans::XPropertyChangeListener aListener) raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::lang::WrappedTargetException )
 removes an XPropertyChangeListener from the listener list. More...
 
void addVetoableChangeListener ([in] string PropertyName, [in] com::sun::star::beans::XVetoableChangeListener aListener) raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::lang::WrappedTargetException )
 adds an XVetoableChangeListener to the specified property with the name PropertyName. More...
 
void removeVetoableChangeListener ([in] string PropertyName, [in] com::sun::star::beans::XVetoableChangeListener aListener) raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::lang::WrappedTargetException )
 removes an XVetoableChangeListener from the listener list. More...
 
- Protected Member Functions inherited from XAxisSupplier
com::sun::star::chart::XAxis getAxis ([in] long nDimensionIndex)
 
com::sun::star::chart::XAxis getSecondaryAxis ([in] long nDimensionIndex)
 
- Protected Member Functions inherited from XSecondAxisTitleSupplier
com::sun::star::drawing::XShape getSecondXAxisTitle ()
 
com::sun::star::drawing::XShape getSecondYAxisTitle ()
 
- Protected Member Functions inherited from XDiagramPositioning
void setAutomaticDiagramPositioning ()
 the diagram will be placed automatically More...
 
boolean isAutomaticDiagramPositioning ()
 
void setDiagramPositionExcludingAxes ([in] com::sun::star::awt::Rectangle PositionRect)
 place the inner diagram part excluding any axes, labels and titles More...
 
boolean isExcludingDiagramPositioning ()
 
com::sun::star::awt::Rectangle calculateDiagramPositionExcludingAxes ()
 
void setDiagramPositionIncludingAxes ([in] com::sun::star::awt::Rectangle PositionRect)
 place the outer diagram part including the axes and axes labels, but excluding the axes titles. More...
 
com::sun::star::awt::Rectangle calculateDiagramPositionIncludingAxes ()
 
void setDiagramPositionIncludingAxesAndAxisTitles ([in] com::sun::star::awt::Rectangle PositionRect)
 place the diagram including the axes, axes labels and axes titles. More...
 
com::sun::star::awt::Rectangle calculateDiagramPositionIncludingAxesAndAxisTitles ()
 
- Protected Member Functions inherited from XPropertySet
com::sun::star::beans::XPropertySetInfo getPropertySetInfo ()
 
void setPropertyValue ([in] string aPropertyName, [in] any aValue) raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::beans::PropertyVetoException, com::sun::star::lang::IllegalArgumentException, com::sun::star::lang::WrappedTargetException )
 sets the value of the property with the specified name. More...
 
any getPropertyValue ([in] string PropertyName) raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::lang::WrappedTargetException )
 
void addPropertyChangeListener ([in] string aPropertyName, [in] com::sun::star::beans::XPropertyChangeListener xListener) raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::lang::WrappedTargetException )
 adds an XPropertyChangeListener to the specified property. More...
 
void removePropertyChangeListener ([in] string aPropertyName, [in] com::sun::star::beans::XPropertyChangeListener aListener) raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::lang::WrappedTargetException )
 removes an XPropertyChangeListener from the listener list. More...
 
void addVetoableChangeListener ([in] string PropertyName, [in] com::sun::star::beans::XVetoableChangeListener aListener) raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::lang::WrappedTargetException )
 adds an XVetoableChangeListener to the specified property with the name PropertyName. More...
 
void removeVetoableChangeListener ([in] string PropertyName, [in] com::sun::star::beans::XVetoableChangeListener aListener) raises ( com::sun::star::beans::UnknownPropertyException, com::sun::star::lang::WrappedTargetException )
 removes an XVetoableChangeListener from the listener list. More...
 
- Protected Attributes inherited from UserDefinedAttributesSupplier
::com::sun::star::container::XNameContainer UserDefinedAttributes
 This container holds the AttributeData elements that represent uninterpreted XML attributes. More...
 

Detailed Description

the base service for the diagram of the chart document.

The diagram is the object that contains the actual plot.

Different Diagram Types, e.g., PieDiagram or LineDiagram, can be instantiated by the com::sun::star::lang::XMultiServiceFactory of the XChartDocument.

Developers Guide
Charts - Setting the Chart Type

Exported Interfaces

◆ com::sun::star::xml::UserDefinedAttributesSupplier

If a Diagram may be stored as XML file, this service should be supported in order to preserve unparsed XML attributes.

Since
OOo 1.1.2

Exported Interfaces

◆ com::sun::star::beans::XPropertySet

◆ com::sun::star::chart::XAxisSupplier

Provides easier access to the different axes and their sub elements.

Since
OOo 3.4

◆ com::sun::star::chart::XDiagram

◆ com::sun::star::chart::XDiagramPositioning


Since
OOo 3.3

◆ com::sun::star::chart::XSecondAxisTitleSupplier

Provides access to the titles of the secondary X axis and Y axis.

Since
OOo 3.0

Member Data Documentation

◆ AutomaticPosition

boolean AutomaticPosition
optionalproperty

If this property is TRUE the position is calculated by the application automatically.

Setting this property to false will have no effect. Instead use the interface com::sun::star::drawing::XShape to set a concrete position (note com::sun::star::chart::XDiagram is derived from com::sun::star::drawing::XShape).

◆ AutomaticSize

boolean AutomaticSize
optionalproperty

If this property is TRUE the size is calculated by the application automatically.

Setting this property to false will have no effect. Instead use the interface com::sun::star::drawing::XShape to set a concrete size (note com::sun::star::chart::XDiagram is derived from com::sun::star::drawing::XShape).

◆ DataCaption

long DataCaption
property

specifies how the caption of data points is displayed.

See also
ChartDataCaption

◆ DataRowSource

determines if the data for a data row is contained in the columns or in the rows of the data array.

See also
ChartDataRowSource
ChartDataArray

◆ MissingValueTreatment

long MissingValueTreatment
optionalproperty

specifies how empty or invalid cells in the provided data should be handled when displayed

See also
MissingValueTreatment

The documentation for this service was generated from the following file: