public class ODrawDoc.Page extends OEnumPropObj
| Modifier and Type | Method and Description |
|---|---|
ODrawArea |
area()
Returns the draw area corresponding to the borders of the layer.
|
ODrawDoc.PageLayer |
backgroundLayer()
Returns the background layer.
|
ODrawDoc.PageLayer |
backObjectsLayer()
Returns the background objects layer.
|
void |
invert()
Inverts the page by interchanging the width and heigth.
|
java.util.ArrayList<ODrawDoc.PageLayer> |
layers()
Returns a collection of all page layers.
|
ODrawDoc.PageLayer |
layoutLayer()
Returns the layout layer.
|
int |
numShapes()
Returns the number of shapes in the layer.
|
java.util.Collection<OShape> |
shapes()
Returns a collection of all shapes in the layer.
|
java.util.Collection<OShape> |
shapesByType(ODrawDoc.ShapeType type)
Returns a collection of all layer shapes of a type.
|
com.sun.star.drawing.XDrawPage |
xGetXPage()
Gets the XDrawPage object.
|
prop, prop, prop, prop, prop, prop, prop, prop, prop, prop, prop, prop, prop, prop, prop, prop, prop, prop, prop, prop, prop, prop, prop, setProp, setProp, setProp, setProp, setProp, setProp, setProp, setProp, setProp, setProp, setProp, setProp, setProp, setProp, setProp, setProp, setProp, setProp, setProp, setProp, setProp, setProp, setProplogProps, xGetPropSetpublic java.util.ArrayList<ODrawDoc.PageLayer> layers() throws com.sun.star.uno.Exception
com.sun.star.uno.Exceptionpublic int numShapes()
public java.util.Collection<OShape> shapes() throws com.sun.star.uno.Exception
com.sun.star.uno.Exceptionpublic java.util.Collection<OShape> shapesByType(ODrawDoc.ShapeType type) throws com.sun.star.uno.Exception
type - the shape typecom.sun.star.uno.Exceptionpublic ODrawArea area() throws com.sun.star.uno.Exception
com.sun.star.uno.Exceptionpublic ODrawDoc.PageLayer backgroundLayer() throws com.sun.star.uno.Exception
com.sun.star.uno.Exceptionpublic ODrawDoc.PageLayer layoutLayer() throws com.sun.star.uno.Exception
com.sun.star.uno.Exceptionpublic ODrawDoc.PageLayer backObjectsLayer() throws com.sun.star.uno.Exception
com.sun.star.uno.Exceptionpublic void invert()
throws com.sun.star.uno.Exception
com.sun.star.uno.Exceptionpublic com.sun.star.drawing.XDrawPage xGetXPage()