LibreOffice LibreOffice 4.3 SDK API Reference

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Exported Interfaces | List of all members
SpreadsheetDrawPage Service Referencepublished

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

`import"SpreadsheetDrawPage.idl";`

Inheritance diagram for SpreadsheetDrawPage:

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

## Additional Inherited Members
Public Member Functions inherited from XShapes
void | add ([in] com::sun::star::drawing::XShape xShape)
| inserts a Shape into this collection. More...
void | remove ([in] com::sun::star::drawing::XShape xShape)
| removes a Shape from this collection. More...
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. More...
void | acquire ()
| increases the reference counter by one. More...
void | release ()
| decreases the reference counter by one. More...
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. More...
void | ungroup ([in] com::sun::star::drawing::XShapeGroup aGroup)
| ungroups a given GroupShape. More...

## 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:

1 xPage = xDoc.DrawPages(0)
2 for x% = 0 to 200
3 xShape = xProv.createInstance( "com.sun.star.drawing.LineShape" )
4 xShape.LineColor = rgb( 255, 0, n%+20 )
5 xShape.LineWidth = 20
6 xShape.Position = Point( x%, 2*x% )
7 xShape.Size = Size( 300-x%, 20 )
8 xPage.add( xShape )
9 next x%

Since
  OOo 1.1.2

## Exported Interfaces

interface com::sun::star::drawing::XDrawPage

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

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 also
  SpreadsheetDocument

interface 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:

- com/sun/star/sheet/SpreadsheetDrawPage.idl