Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: star :: sheet ::

service SpreadsheetDrawPage
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 - Summary
::com::sun::star::drawing::XDrawPage

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

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

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

::com::sun::star::lang::XServiceInfo

returns the services implemented by this instance.

Exported Interfaces - Details
::com::sun::star::drawing::XDrawPage
Description
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
::com::sun::star::drawing::XShapeGrouper
Description
With this interface you can group/ungroup a collection of ::com::sun::star::drawing::Shapes.
::com::sun::star::lang::XServiceInfo
Description
returns the services implemented by this instance.

 
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.