public interface StyleBackgroundImageAttlist extends ODFAttribute
This attribute is attached to the <style:background-image> element and its value can be no-repeat, repeat, or stretch.
The style:position attribute specifies where to position a background image in a paragraph. This attribute is attached to the <style:background-image> element and its value can be a space separated combination of top, center or bottom for the vertical position and left, center or right for the horizontal position. The vertical and horizontal positions can be specified in any order. If one position is specified, the other position defaults to center.
The style:filter-name attribute specifies the application specific filter name that is used to load the image into the document. This attribute is attached to the <style:background-image> element.
The draw:opacity attribute specifies the opacity of the background image. The value is a percentage, where 0% is fully transparent and 100% is fully opaque.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
BOTTOM
Constants for style:position.
|
static java.lang.String |
CENTER
Constants for style:position.
|
static java.lang.String |
LEFT
Constants for style:position.
|
static java.lang.String |
NO_REPEAT
Constants for style:repeat.
|
static java.lang.String |
REPEAT
Constants for style:repeat.
|
static java.lang.String |
RIGHT
Constants for style:position.
|
static java.lang.String |
STRETCH
Constants for style:repeat.
|
static java.lang.String |
TOP
Constants for style:position.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDrawOpacity()
Return a draw:opacity.
|
java.lang.String |
getStyleFilterName()
Return a style:filter-name.
|
java.lang.String |
getStylePosition()
Return a style:position.
|
java.lang.String |
getStyleRepeat()
Return a style:repeat.
|
void |
setDrawOpacity(java.lang.String drawOpacity)
Set a draw:opacity.
|
void |
setStyleFilterName(java.lang.String styleFilterName)
Set a style:filter-name.
|
void |
setStylePosition(java.lang.String stylePosition)
Set a style:position.
|
void |
setStyleRepeat(java.lang.String styleRepeat)
Set a style:repeat.
|
static final java.lang.String NO_REPEAT
static final java.lang.String REPEAT
static final java.lang.String STRETCH
static final java.lang.String LEFT
static final java.lang.String CENTER
static final java.lang.String RIGHT
static final java.lang.String TOP
static final java.lang.String BOTTOM
java.lang.String getStyleRepeat()
void setStyleRepeat(java.lang.String styleRepeat)
styleRepeat
- the style:repeat to setjava.lang.String getStylePosition()
void setStylePosition(java.lang.String stylePosition)
stylePosition
- the style:position to setjava.lang.String getStyleFilterName()
void setStyleFilterName(java.lang.String styleFilterName)
styleFilterName
- the style:filter-name to setjava.lang.String getDrawOpacity()
void setDrawOpacity(java.lang.String drawOpacity)
drawOpacity
- the draw:opacity to setCopyright © 2010 - No Magic Asia