|
Docmosis API 4.8.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.docmosis.template.analysis.TableCellStyle
public class TableCellStyle
Style information for a table cell.
Nested Class Summary | |
---|---|
static class |
TableCellStyle.RepeatingRowTopAndBottomBorderStyles
This class manages the transitions for border styles for repeating rows. |
Field Summary | |
---|---|
static char[] |
ATTRIBUTE_BACKGROUND_COLOUR_CHARS
|
static String |
ATTRIBUTE_BORDER_STYLE
|
static String |
ATTRIBUTE_BORDER_STYLE_BOTTOM
|
static String |
ATTRIBUTE_BORDER_STYLE_LEFT
|
static String |
ATTRIBUTE_BORDER_STYLE_RIGHT
|
static String |
ATTRIBUTE_BORDER_STYLE_TOP
|
Constructor Summary | |
---|---|
TableCellStyle(List styleXML)
|
|
TableCellStyle(TableCellStyle copyFrom)
Create a clone of this TableCellStyle. |
Method Summary | |
---|---|
boolean |
borderStylesVary()
Determine if the border style changes for this cell from row to row. |
boolean |
dynamicStylingApplies()
Determine if styling information can vary from row to row for this cell. |
String |
getBaseStyleName()
|
String |
getBgColourEven()
|
String |
getBgColourOdd()
|
TableCellStyle.RepeatingRowTopAndBottomBorderStyles |
getBorderStyles()
|
String |
getOrigBgColour()
|
String |
getOrigBottomBorder()
|
String |
getOriginalLeftBorder()
|
String |
getOriginalRightBorder()
|
String |
getOriginalTopBottomBorder()
|
String |
getOrigTopBorder()
|
char[] |
getPostStyleName()
Return the section of xml immediately after the style name. |
char[] |
getPreStyleName()
Get the pre-style name section of xml. |
char[] |
getRemainder()
Return the remaining (static) xml portion of the style. |
void |
setAlternatingBackgroundColours(String bgColourEven,
String bgColourOdd)
Plug in alternating bg colour attributes. |
void |
setBorderStyles(String borderStyleFirstTop,
String borderStyleLastBottom)
Set the border styles for the first top and last bottom border. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final char[] ATTRIBUTE_BACKGROUND_COLOUR_CHARS
public static final String ATTRIBUTE_BORDER_STYLE_TOP
public static final String ATTRIBUTE_BORDER_STYLE_BOTTOM
public static final String ATTRIBUTE_BORDER_STYLE_LEFT
public static final String ATTRIBUTE_BORDER_STYLE_RIGHT
public static final String ATTRIBUTE_BORDER_STYLE
Constructor Detail |
---|
public TableCellStyle(List styleXML)
public TableCellStyle(TableCellStyle copyFrom)
copyFrom
- the table cell style to cloneMethod Detail |
---|
public void setBorderStyles(String borderStyleFirstTop, String borderStyleLastBottom)
borderStyleFirstTop
- borderStyleLastBottom
- public boolean borderStylesVary()
public boolean dynamicStylingApplies()
public void setAlternatingBackgroundColours(String bgColourEven, String bgColourOdd)
bgColourEven
- bgColourOdd
- public char[] getPreStyleName()
public char[] getPostStyleName()
public char[] getRemainder()
public String getBaseStyleName()
public String getBgColourEven()
public String getBgColourOdd()
public TableCellStyle.RepeatingRowTopAndBottomBorderStyles getBorderStyles()
public String getOrigBgColour()
public String getOrigTopBorder()
public String getOrigBottomBorder()
public String getOriginalTopBottomBorder()
public String getOriginalLeftBorder()
public String getOriginalRightBorder()
|
Docmosis API 4.8.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |