LibreOffice
LibreOffice 25.8 SDK API Reference
Loading...
Searching...
No Matches
SpreadsheetDrawPage Service Referencepublished

This abstract service is implemented by every page of a SpreadsheetDocument. More...

import "SpreadsheetDrawPage.idl";

Inheritance diagram for SpreadsheetDrawPage:
XDrawPage XShapeGrouper XShapes XInterface XIndexAccess XElementAccess XInterface

Exported Interfaces

interface com::sun::star::drawing::XDrawPage
 manages the com::sun::star::drawing::Shapes of this page.
interface com::sun::star::drawing::XShapeGrouper
 With this interface you can group/ungroup a collection of com::sun::star::drawing::Shapes.

Additional Inherited Members

Public Member Functions inherited from XShapes
void add ([in] com::sun::star::drawing::XShape xShape)
 inserts a Shape into this collection.
void remove ([in] com::sun::star::drawing::XShape xShape)
 removes a Shape from this collection.
Public Member Functions inherited from XIndexAccess
long getCount ()
any getByIndex ([in] long Index) raises ( com::sun::star::lang::IndexOutOfBoundsException, com::sun::star::lang::WrappedTargetException )
Public Member Functions inherited from XElementAccess
type getElementType ()
boolean hasElements ()
Public Member Functions inherited from XInterface
any queryInterface ([in] type aType)
 queries for a new interface to an existing UNO object.
void acquire ()
 increases the reference counter by one.
void release ()
 decreases the reference counter by one.
Public Member Functions inherited from XShapeGrouper
com::sun::star::drawing::XShapeGroup group ([in] com::sun::star::drawing::XShapes xShapes)
 groups the Shapes inside a collection.
void ungroup ([in] com::sun::star::drawing::XShapeGroup aGroup)
 ungroups a given GroupShape.

Detailed Description

This abstract service is implemented by every page of a SpreadsheetDocument.

Example: create and insert a couple of com::sun::star::drawing::LineShapes:

xPage = xDoc.DrawPages(0)
for x% = 0 to 200
xShape = xProv.createInstance( "com.sun.star.drawing.LineShape" )
xShape.LineColor = rgb( 255, 0, n%+20 )
xShape.LineWidth = 20
xShape.Position = Point( x%, 2*x% )
xShape.Size = Size( 300-x%, 20 )
xPage.add( xShape )
next x%
Since
OOo 1.1.2

Exported Interfaces

◆ com::sun::star::drawing::XDrawPage

manages the com::sun::star::drawing::Shapes of this page.

    <p>It also lets you add new com::sun::star::drawing::Shapes. The program currently
    requires that these com::sun::star::drawing::Shapes be created by the factory of
    the document.

    @see SpreadsheetDocument

◆ com::sun::star::drawing::XShapeGrouper

With this interface you can group/ungroup a collection of com::sun::star::drawing::Shapes.


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