service GenericDrawPage in module com::sun::star::drawing:: |
service GenericDrawPage;
This abstract service is implemented by every page of a DrawingDocument .
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%
Exported Interfaces |
manages the Shape s of this page.
It also lets you add new Shape s. The program currently requires that these Shape s be created by the factory of the document.
With this interface you can group/ungroup a collection of Shape s.
With this interface you can combine/split a collection of Shape s.
With this interface you can bind/unbind a collection of Shape s.
Gets or sets the name of this page.
Duplicated pagenames inside a document are not allowed.
returns the services implemented by this instance.
gives you access to the properties of this DrawPage .
Property Summary |
|
BorderBottom | This is the border at the bottom. |
BorderLeft | This is the border at the left. |
BorderRight | This is the border at the right. |
BorderTop | This is the border at the top. |
Height | This is the height. |
Width | This is the width. |
Number | This is the number of this page, starting with 1. |
Orientation | This is the orientation of this page. |
UserDefinedAttributes | this property stores xml attributes. They will be saved to and restored from automatic styles inside xml files. |
Property Details |
||||||||||
|
Copyright 2002 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, CA 94303 USA.