public interface CommonTextAnchorAttlist extends ODFAttribute
If the value of the text:anchor-type attribute is ... |
The anchor position is... |
The drawing shape element appears ... |
Notes |
---|---|---|---|
page |
The page that has the same physical page number as the value of the
|
Either
Or
|
The physical page number is the number assigned to the page if all pages in the document are counted starting with page 1. |
frame |
The parent text box that the current drawing shape element is contained in. |
In the element representing the text box to which the drawing object is bound. For example, if an image is bound to a text box, the image element is located in the text box element. |
|
paragraph |
The paragraph that the current drawing shape element is contained in. |
At the start of the paragraph element. |
|
char |
The character after the drawing shape element. |
Just before the character. |
|
as-char |
There is no anchor position. The drawing shape behaves like a character. |
At the position where the character appears in the document. |
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
AS_CHAR
Constants for text:anchor-type.
|
static java.lang.String |
CHAR
Constants for text:anchor-type.
|
static java.lang.String |
FRAME
Constants for text:anchor-type.
|
static java.lang.String |
PAGE
Constants for text:anchor-type.
|
static java.lang.String |
PARAGRAPH
Constants for text:anchor-type.
|
Modifier and Type | Method and Description |
---|---|
int |
getTextAnchorPageNumber()
Return a text:anchor-page-number.
|
java.lang.String |
getTextAnchorType()
Return a text:anchor-type.
|
void |
setTextAnchorPageNumber(int textAnchorPageNumber)
Set a text:anchor-page-number.
|
void |
setTextAnchorType(java.lang.String textAnchorType)
Set a text:anchor-type.
|
static final java.lang.String PAGE
static final java.lang.String FRAME
static final java.lang.String PARAGRAPH
static final java.lang.String CHAR
static final java.lang.String AS_CHAR
java.lang.String getTextAnchorType()
void setTextAnchorType(java.lang.String textAnchorType)
textAnchorType
- the text:anchor-type to setint getTextAnchorPageNumber()
void setTextAnchorPageNumber(int textAnchorPageNumber)
textAnchorPageNumber
- the text:anchor-page-number to setCopyright © 2010 - No Magic Asia