public final class ConditionalStyle
extends java.lang.Object
implements java.lang.Cloneable
| Modifier and Type | Method and Description |
|---|---|
void |
clearFormatting()
Clears formatting of this conditional style.
|
void |
clearParaAttrs() |
void |
clearRunAttrs() |
boolean |
equals(java.lang.Object obj) |
java.lang.Object |
fetchInheritedBorderAttr(int key) |
java.lang.Object |
fetchInheritedParaAttr(int key) |
java.lang.Object |
fetchInheritedRunAttr(int key) |
java.lang.Object |
fetchInheritedShadingAttr(int key) |
java.lang.Object |
fetchParaAttr(int key) |
BorderCollection |
getBorders()
Gets the collection of default cell borders for the conditional style.
|
double |
getBottomPadding()
Gets the amount of space (in points) to add below the contents of table cells.
|
java.lang.Object |
getDirectBorderAttr(int key) |
java.lang.Object |
getDirectParaAttr(int key) |
java.lang.Object |
getDirectParaAttr(int key,
int revisionsView) |
java.lang.Object |
getDirectRunAttr(int key) |
Font |
getFont()
Gets the character formatting of the conditional style.
|
double |
getLeftPadding()
Gets the amount of space (in points) to add to the left of the contents of table cells.
|
ParagraphFormat |
getParagraphFormat()
Gets the paragraph formatting of the conditional style.
|
double |
getRightPadding()
Gets the amount of space (in points) to add to the right of the contents of table cells.
|
Shading |
getShading()
Gets a
Shading object that refers to the shading formatting for this conditional style. |
double |
getTopPadding()
Gets the amount of space (in points) to add above the contents of table cells.
|
int |
getType()
Gets table area to which this conditional style relates.
|
int |
hashCode() |
protected java.lang.Object |
memberwiseClone() |
void |
removeParaAttr(int key) |
void |
removeRunAttr(int key) |
void |
setBorderAttr(int key,
java.lang.Object value) |
void |
setBottomPadding(double value)
Sets the amount of space (in points) to add below the contents of table cells.
|
void |
setLeftPadding(double value)
Sets the amount of space (in points) to add to the left of the contents of table cells.
|
void |
setParaAttr(int key,
java.lang.Object value) |
void |
setRightPadding(double value)
Sets the amount of space (in points) to add to the right of the contents of table cells.
|
void |
setRunAttr(int key,
java.lang.Object value) |
void |
setTopPadding(double value)
Sets the amount of space (in points) to add above the contents of table cells.
|
public final void clearFormatting()
public final boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic final int hashCode()
hashCode in class java.lang.Objectpublic final java.lang.Object getDirectBorderAttr(int key)
public final java.lang.Object fetchInheritedBorderAttr(int key)
public final void setBorderAttr(int key,
java.lang.Object value)
public final java.lang.Object fetchInheritedShadingAttr(int key)
public final void setParaAttr(int key,
java.lang.Object value)
public final void removeParaAttr(int key)
public final void clearParaAttrs()
public final java.lang.Object fetchInheritedParaAttr(int key)
public final java.lang.Object getDirectParaAttr(int key)
public final java.lang.Object getDirectParaAttr(int key,
int revisionsView)
public final java.lang.Object fetchParaAttr(int key)
public final java.lang.Object getDirectRunAttr(int key)
public final java.lang.Object fetchInheritedRunAttr(int key)
public final void setRunAttr(int key,
java.lang.Object value)
public final void removeRunAttr(int key)
public final void clearRunAttrs()
public final ParagraphFormat getParagraphFormat()
public final Font getFont()
public final Shading getShading()
Shading object that refers to the shading formatting for this conditional style.Shading object that refers to the shading formatting for this conditional style.public final BorderCollection getBorders()
public final double getLeftPadding()
public final void setLeftPadding(double value)
value - The amount of space (in points) to add to the left of the contents of table cells.public final double getRightPadding()
public final void setRightPadding(double value)
value - The amount of space (in points) to add to the right of the contents of table cells.public final double getTopPadding()
public final void setTopPadding(double value)
value - The amount of space (in points) to add above the contents of table cells.public final double getBottomPadding()
public final void setBottomPadding(double value)
value - The amount of space (in points) to add below the contents of table cells.public final int getType()
ConditionalStyleType constants.protected final java.lang.Object memberwiseClone()