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

service GenericDrawPage
Description
This abstract service is implemented by every page of a DrawingDocument .
Example
create and insert a couple of 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%
Developers Guide
9.6.3 Drawing Documents and Presentation Documents - Overall Document Features - Page Formatting

Exported Interfaces
XShapes
Description
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.

See also
unknown ?
DrawingDocument
XShapeGrouper
Description
With this interface you can group/ungroup a collection of Shape s.
XShapeCombiner
[ OPTIONAL ]
Description
With this interface you can combine/split a collection of Shape s.
XShapeBinder
[ OPTIONAL ]
Description
With this interface you can bind/unbind a collection of Shape s.
::com::sun::star::container::XNamed
[ OPTIONAL ]
Description
Gets or sets the name of this page.

Duplicated pagenames inside a document are not allowed.

::com::sun::star::lang::XServiceInfo
Description
returns the services implemented by this instance.
::com::sun::star::beans::XPropertySet
[ OPTIONAL ]
Description
gives you access to the properties of this DrawPage .
Properties' Summary
BorderBottom [ OPTIONAL ]
This is the border at the bottom.
BorderLeft [ OPTIONAL ]
This is the border at the left.
BorderRight [ OPTIONAL ]
This is the border at the right.
BorderTop [ OPTIONAL ]
This is the border at the top.
Height [ OPTIONAL ]
This is the height.
Width [ OPTIONAL ]
This is the width.
Number This is the number of this page, starting with 1.
Orientation [ OPTIONAL ]
This is the orientation of this page.
UserDefinedAttributes [ OPTIONAL ]
this property stores xml attributes. They will be saved to and restored from automatic styles inside xml files.
IsBackgroundDark [ OPTIONAL ]
this property is true if the avveraged background filling colors luminance is belove an application specified threshold value. This can be used to determine the actuall value of an auto color.
Properties' Details
BorderBottom
long BorderBottom;
[ OPTIONAL ]
Description
This is the border at the bottom.
BorderLeft
long BorderLeft;
[ OPTIONAL ]
Description
This is the border at the left.
BorderRight
long BorderRight;
[ OPTIONAL ]
Description
This is the border at the right.
BorderTop
long BorderTop;
[ OPTIONAL ]
Description
This is the border at the top.
Height
long Height;
[ OPTIONAL ]
Description
This is the height.
Width
long Width;
[ OPTIONAL ]
Description
This is the width.
Number
[ readonly ] short Number;
Description
This is the number of this page, starting with 1.
Orientation
::com::sun::star::view::PaperOrientation Orientation;
[ OPTIONAL ]
Description
This is the orientation of this page.
UserDefinedAttributes
::com::sun::star::container::XNameContainer UserDefinedAttributes;
[ OPTIONAL ]
Description
this property stores xml attributes. They will be saved to and restored from automatic styles inside xml files.
See also
::com::sun::star::xml::AttributeContainer
IsBackgroundDark
[ readonly ] boolean IsBackgroundDark;
[ OPTIONAL ]
Description
this property is true if the avveraged background filling colors luminance is belove an application specified threshold value. This can be used to determine the actuall value of an auto color.

 
Top of Page