Overview | Module | Use | Devguide | Index

Included Services | Exported Interfaces | Properties' Summary | Properties' Details

:: 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::LineShape s:
       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 version OpenOffice.org 1.1.1

Exported Interfaces
::com::sun::star::drawing::XDrawPage | Description manages the ::com::sun::star::drawing::Shape s of this page. It also lets you add new ::com::sun::star::drawing::Shape s. The program currently requires that these ::com::sun::star::drawing::Shape s 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::Shape s.
::com::sun::star::lang::XServiceInfo | Description returns the services implemented by this instance.

Top of Page

Copyright © 2003 Sun Microsystems, Inc.