|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRemoteShape
This class represents a shape on a page.
Creation and access
Method Summary | |
---|---|
void |
copy()
This method copies the current shape to the clipboard |
void |
cut()
This method cuts the current shape to the clipboard. |
void |
exportToImage(java.lang.String filename,
int imageType,
int quality)
This method exports the specified shape to an image file. |
IRemoteSymphonyApplication |
getApplication()
This property represents the Lotus Symphony application. |
IRemoteUserDefinedAttributes |
getAttributes()
This property returns the user-defined attributes of a shape. |
IRemoteTextRange |
getContent()
This property returns the text range of a shape. |
IRemoteFillFormat |
getFillFormat()
This property returns the fill format of a shape. |
int |
getHeight()
This property returns or sets the height of a shape in 1/100th mm. |
int |
getLeft()
This property returns or sets the left position of the shape in 1/100th mm. |
IRemoteLineFormat |
getLineFormat()
This property returns the line format of the shape. |
boolean |
getMoveProtect()
This property returns or sets whether the shape can be moved. |
java.lang.String |
getName()
This property returns or sets the name of the shape. |
IRemoteTextParagraphs |
getParagraphs()
This property returns a TextParagraphs object that represents all the paragraphs of a shape. |
int |
getRotateAngle()
This property returns or sets the rotate angle of a shape in 1/100th degree. |
IRemoteShadowFormat |
getShadowFormat()
This property returns the shadow format of a shape and is used with the ShadowEnable property. |
int |
getShearAngle()
This property returns or sets the shear angle of a shape in 1/100th degree. |
boolean |
getSizeProtect()
This property returns or sets whether the size of the shape can be changed. |
int |
getTop()
This property returns or sets the top position of a shape in 1/100th mm. |
int |
getType()
This property returns the type of a shape. |
int |
getWidth()
This property returns or sets the width of a shape in 1/100th mm. |
int |
getZOrder()
This property returns the display order of a shape. |
boolean |
isShadowEnable()
This property returns or sets whether the shadow format of a shape is enabled. |
void |
remove()
This method removes the current shape from the page. |
void |
setHeight(int height)
This property returns or sets the height of a shape in 1/100th mm. |
void |
setLeft(int left)
This property returns or sets the left position of the shape in 1/100th mm. |
void |
setMoveProtect(boolean moveProtect)
This property returns or sets whether the shape can be moved. |
void |
setName(java.lang.String name)
This property returns or sets the name of the shape. |
void |
setRotateAngle(int angle)
This property returns or sets the rotate angle of a shape in 1/100th degree. |
void |
setShadowEnable(boolean enable)
This property returns or sets whether the shadow format of a shape is enabled. |
void |
setShearAngle(int angle)
This property returns or sets the shear angle of a shape in 1/100th degree. |
void |
setSizeProtect(boolean sizeProtect)
This property returns or sets whether the size of the shape can be changed. |
void |
setTop(int top)
This property returns or sets the top position of a shape in 1/100th mm. |
void |
setWidth(int width)
This property returns or sets the width of a shape in 1/100th mm. |
void |
setZOrder(int order)
This property returns the display order of a shape. |
Method Detail |
---|
java.lang.String getName() throws RemoteEclipseAPIException
RemoteEclipseAPIException
void setName(java.lang.String name) throws RemoteEclipseAPIException
name
-
RemoteEclipseAPIException
void cut() throws RemoteEclipseAPIException
RemoteEclipseAPIException
void copy() throws RemoteEclipseAPIException
RemoteEclipseAPIException
void remove() throws RemoteEclipseAPIException
RemoteEclipseAPIException
int getHeight() throws RemoteEclipseAPIException
RemoteEclipseAPIException
int getWidth() throws RemoteEclipseAPIException
RemoteEclipseAPIException
int getTop() throws RemoteEclipseAPIException
RemoteEclipseAPIException
int getLeft() throws RemoteEclipseAPIException
RemoteEclipseAPIException
void setZOrder(int order) throws RemoteEclipseAPIException
order
-
RemoteEclipseAPIException
int getZOrder() throws RemoteEclipseAPIException
RemoteEclipseAPIException
IRemoteFillFormat getFillFormat() throws RemoteEclipseAPIException
RemoteEclipseAPIException
int getType() throws RemoteEclipseAPIException
Constant | Value | Description |
---|---|---|
Constant.SHAPE_TYPE_TEXTSHAPE | 0 | specifies a text box. |
Constant.SHAPE_TYPE_TABLESHAPE | 1 | specifies a table. |
Constant.SHAPE_TYPE_RECTANGLESHAPE | 2 | specifies a rectangle shape. |
Constant.SHAPE_TYPE_ELLIPSESHAPE | 3 | specifies an ellipse shape. |
Constant.SHAPE_TYPE_LINESHAPE | 4 | specifies a line shape. |
Constant.SHAPE_TYPE_CONNECTORSHAPE | 5 | specifies a connector shape. |
Constant.SHAPE_TYPE_GROUPSHAPE | 6 | specifies a group shape. |
Constant.SHAPE_TYPE_MEASURESHAPE | 7 | specifies a measure shape. |
Constant.SHAPE_TYPE_GRAPHICSHAPE | 8 | specifies a graphic shape. |
Constant.SHAPE_TYPE_UNKNOWNSHAPE | 1024 | specifies a unknown shape. |
RemoteEclipseAPIException
boolean getMoveProtect() throws RemoteEclipseAPIException
RemoteEclipseAPIException
void setMoveProtect(boolean moveProtect) throws RemoteEclipseAPIException
moveProtect
-
RemoteEclipseAPIException
boolean getSizeProtect() throws RemoteEclipseAPIException
RemoteEclipseAPIException
void setSizeProtect(boolean sizeProtect) throws RemoteEclipseAPIException
sizeProtect,
- true specifies the shape size cannot be changed.
RemoteEclipseAPIException
boolean isShadowEnable() throws RemoteEclipseAPIException
RemoteEclipseAPIException
void setShadowEnable(boolean enable) throws RemoteEclipseAPIException
enable
-
RemoteEclipseAPIException
IRemoteShadowFormat getShadowFormat() throws RemoteEclipseAPIException
RemoteEclipseAPIException
IRemoteTextRange getContent() throws RemoteEclipseAPIException
RemoteEclipseAPIException
IRemoteTextParagraphs getParagraphs() throws RemoteEclipseAPIException
RemoteEclipseAPIException
IRemoteUserDefinedAttributes getAttributes() throws RemoteEclipseAPIException
RemoteEclipseAPIException
IRemoteSymphonyApplication getApplication() throws RemoteEclipseAPIException
RemoteEclipseAPIException
void setHeight(int height) throws RemoteEclipseAPIException
height
-
RemoteEclipseAPIException
void setWidth(int width) throws RemoteEclipseAPIException
width
-
RemoteEclipseAPIException
void setTop(int top) throws RemoteEclipseAPIException
top
-
RemoteEclipseAPIException
void setLeft(int left) throws RemoteEclipseAPIException
left
-
RemoteEclipseAPIException
IRemoteLineFormat getLineFormat() throws RemoteEclipseAPIException
RemoteEclipseAPIException
void setRotateAngle(int angle) throws RemoteEclipseAPIException
angle
- angle
RemoteEclipseAPIException
void setShearAngle(int angle) throws RemoteEclipseAPIException
angle
-
RemoteEclipseAPIException
int getRotateAngle() throws RemoteEclipseAPIException
RemoteEclipseAPIException
int getShearAngle() throws RemoteEclipseAPIException
RemoteEclipseAPIException
void exportToImage(java.lang.String filename, int imageType, int quality) throws RemoteEclipseAPIException
filename
- Specifies the file to export.imageType
- Specifies the type of the image to export. The value is a constant and can be one of these types:Constant | Value | Description |
---|---|---|
Constant.IMAGE_TYPE_JPEG | 1 | specifies the JPEG image type. |
Constant.IMAGE_TYPE_PNG | 2 | specifies the PNG image type. |
Constant.IMAGE_TYPE_GIF | 3 | specifies the GIF image type. |
quality
- Specifies the quality of the image. Values range from 0 which is the lowest quality to 100 which is the highest quality.
RemoteEclipseAPIException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |