public interface StyleColumnAttlist extends ODFAttribute
The column width is not specified in a percentage length, but rather in terms of relative weights, that is, a number followed by a '*' character. The total space available for the entire table is distributed among its columns according to its relative widths. For example, if three columns are assigned the relative widths 1, 2 and 3, then the first column will take up 1/6 of the available width, the second will take up 1/3, and the last column will take up 1/2 of the available space. To achieve these figures, all given relative widths must be summed up (six in the example), and then each column will get as much space as the proportion of its own relative width to the sum of all relative widths indicates (3/6 = 1/2 for the last column in the example).
For each column, its left, right, upper, and lower space may be specified. The right space of a column together with the left space of the next column corresponds to the gap between two columns. If a columned area contains a separator line between columns, the space that is occupied by the line is contained within the left and right spaces and therefore is not added to them.
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getStyleEndIndent()
Return a style:end-indent.
|
java.lang.String |
getStyleRelWidth()
Return a style:rel-width.
|
java.lang.String |
getStyleSpaceAfter()
Return a style:space-after.
|
java.lang.String |
getStyleSpaceBefore()
Return a style:space-before.
|
java.lang.String |
getStyleStartIndent()
Return a style:start-indent.
|
void |
setStyleEndIndent(java.lang.String styleEndIndent)
Set a style:end-indent.
|
void |
setStyleRelWidth(java.lang.String styleRelWidth)
Set a style:rel-width.
|
void |
setStyleSpaceAfter(java.lang.String styleSpaceAfter)
Set a style:space-after.
|
void |
setStyleSpaceBefore(java.lang.String styleSpaceBefore)
Set a style:space-before.
|
void |
setStyleStartIndent(java.lang.String styleStartIndent)
Set a style:start-indent.
|
java.lang.String getStyleRelWidth()
void setStyleRelWidth(java.lang.String styleRelWidth)
styleRelWidth
- the style:rel-width to setjava.lang.String getStyleStartIndent()
void setStyleStartIndent(java.lang.String styleStartIndent)
styleStartIndent
- the style:start-indent to setjava.lang.String getStyleEndIndent()
void setStyleEndIndent(java.lang.String styleEndIndent)
styleEndIndent
- the style:end-indent to setjava.lang.String getStyleSpaceBefore()
void setStyleSpaceBefore(java.lang.String styleSpaceBefore)
styleSpaceBefore
- the style:space-before to setjava.lang.String getStyleSpaceAfter()
void setStyleSpaceAfter(java.lang.String styleSpaceAfter)
styleSpaceAfter
- the style:space-after to setCopyright © 2010 - No Magic Asia