public interface CommonVerticalPosAttlist extends ODFAttribute
The value of this property can be one of the following: from-top, top, middle, below or bottom. The area that the position relates to is specified by the style:vertical-rel property. top, middle and bottom specify the the given corners of the frame and the reference area get aligned. below specifies that the top corner of the frame is positioned below the reference area.
If the value of this property is from-top, the svg:y attribute associated with the frame element specifies the vertical position of the frame. Otherwise, the svg:y attribute is ignored for text documents.
It is also possible to use an svg:y attribute within a graphic style. If this is the case, the attribute specifies a default position for new frames that are created using this style.
Some values may be used in connection with certain frame anchor and relation types only.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
BELOW
Constants for style:vertical-pos.
|
static java.lang.String |
BOTTOM
Constants for style:vertical-pos.
|
static java.lang.String |
FROM_TOP
Constants for style:vertical-pos.
|
static java.lang.String |
MIDDLE
Constants for style:vertical-pos.
|
static java.lang.String |
TOP
Constants for style:vertical-pos.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getStyleVerticalPos()
Return a style:vertical-pos.
|
java.lang.String |
getSvgY()
Return a svg:y.
|
void |
setStyleVerticalPos(java.lang.String styleVerticalPos)
Set a style:vertical-pos.
|
void |
setSvgY(java.lang.String svgY)
Set a svg:y.
|
static final java.lang.String TOP
static final java.lang.String MIDDLE
static final java.lang.String BOTTOM
static final java.lang.String FROM_TOP
static final java.lang.String BELOW
java.lang.String getStyleVerticalPos()
void setStyleVerticalPos(java.lang.String styleVerticalPos)
styleVerticalPos
- the style:vertical-pos to setjava.lang.String getSvgY()
void setSvgY(java.lang.String svgY)
svgY
- the svg:y to setCopyright © 2010 - No Magic Asia