|
Elexis: Das führende OpenSource-Arztpraxisprogamm im deutschsprachigen Raum Java doc for Elexis version 2.1.7.dev vom 17.03.2013 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectag.ion.noa.graphic.TextInfo
public class TextInfo
Info class for text shapes in a text document. It contains information like height and width of the shape and the containing text.
Constructor Summary | |
---|---|
TextInfo(java.lang.String name,
short verticalAlignment,
short horizontalAlignment,
int minimumWidth,
boolean widthPixel,
boolean autoWidth,
int minimumHeight,
boolean heightPixel,
boolean autoHeight,
int backColor,
com.sun.star.text.TextContentAnchorType anchor)
Constructs new TextInfo. |
Method Summary | |
---|---|
com.sun.star.text.TextContentAnchorType |
getAnchor()
Returns the anchor of the text shape, or null. |
int |
getBackColor()
Returns the background color of the text shape, or -1 if not set (in this case it will be transparent). |
short |
getHorizontalAlignment()
Returns the horizontal alignment of the text shape. |
int |
getMinimumHeight()
Returns the minimum height of the text shape in tenth millimeter. |
int |
getMinimumWidth()
Returns the minimum width of the text shape in tenth millimeter. |
java.lang.String |
getName()
Returns the name of the text shape. |
short |
getVerticalAlignment()
Returns the vertical alignment of the text shape. |
boolean |
isAutoHeight()
Returns if auto height should be used. |
boolean |
isAutoWidth()
Returns if auto width should be used. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TextInfo(java.lang.String name, short verticalAlignment, short horizontalAlignment, int minimumWidth, boolean widthPixel, boolean autoWidth, int minimumHeight, boolean heightPixel, boolean autoHeight, int backColor, com.sun.star.text.TextContentAnchorType anchor)
name
- the name for the text shapeminimumWidth
- the minimum widthwidthPixel
- if the width is described as pixels, otherwise it is
assumed that the width is in thenth millimeterminimumHeight
- the minimum heightheightPixel
- if the height is described as pixels, otherwise it is
assumed that the height is in thenth millimeterverticalAlignment
- the vertical alignment.
Possible values are described in VertOrientation
horizontalAlignment
- the horizontal alignment.
Possible values are described in HoriOrientation
backColor
- the color of the background for the text shape, or -1 to be transparentanchor
- the anchor type of the image.
Possible values are described in TextContentAnchorType
java.lang.IllegalArgumentException
- if the OpenOffice.org interface or the document
or text info is not validMethod Detail |
---|
public java.lang.String getName()
public int getMinimumWidth()
public int getMinimumHeight()
public boolean isAutoWidth()
public boolean isAutoHeight()
public short getVerticalAlignment()
VertOrientation
public short getHorizontalAlignment()
HoriOrientation
public int getBackColor()
public com.sun.star.text.TextContentAnchorType getAnchor()
TextContentAnchorType
|
Elexis: Das führende OpenSource-Arztpraxisprogamm im deutschsprachigen Raum Java doc for Elexis version 2.1.7.dev vom 17.03.2013 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |