public final class MathBorderBox extends MathElementBase implements IMathBorderBox
Draws a rectangular or some other border around the IMathElement.
Example:MathBorderBox borderBox = new MathBorderBox(new MathematicalText("x"));
Constructor and Description |
---|
MathBorderBox(IMathElement element)
Creates MathBorderBox element with rectangular border
|
MathBorderBox(IMathElement element,
boolean hideTop,
boolean hideBottom,
boolean hideLeft,
boolean hideRight,
boolean strikethroughHorizontal,
boolean strikethroughVertical,
boolean strikethroughBottomLeftToTopRight,
boolean strikethroughTopLeftToBottomRight)
Creates MathBorderBox element
|
Modifier and Type | Method and Description |
---|---|
IMathElement |
getBase()
Base argument
|
IMathElement[] |
getChildren()
Get children elements
|
com.aspose.slides.OmmlControlCharacterPPTXUnsupportedProps |
getControlCharacterProperties()
Control Character Properties
|
boolean |
getHideBottom()
Hide Bottom Edge (default is false) - specifies the hidden or shown state of the bottom edge of border box.
|
boolean |
getHideLeft()
Hide Left Edge (default is false) - specifies the hidden or shown state of the left edge of border box.
|
boolean |
getHideRight()
Hide Right Edge (default is false) - specifies the hidden or shown state of the right edge of border box.
|
boolean |
getHideTop()
Hide Top Edge (default is false) - specifies the hidden or shown state of the top edge of border box.
|
boolean |
getStrikethroughBottomLeftToTopRight()
Strikethrough Bottom-Left to Top-Right (default is false).
|
boolean |
getStrikethroughHorizontal()
Strikethrough Horizontal (default is false) - specifies the hidden or shown state of a strikethrough horizontal line.
|
boolean |
getStrikethroughTopLeftToBottomRight()
Strikethrough Top-Left to Bottom-Right (default is false).
|
boolean |
getStrikethroughVertical()
Strikethrough Vertical (default is false) - specifies the hidden or shown state of a strikethrough vertical line.
|
void |
setHideBottom(boolean value)
Hide Bottom Edge (default is false) - specifies the hidden or shown state of the bottom edge of border box.
|
void |
setHideLeft(boolean value)
Hide Left Edge (default is false) - specifies the hidden or shown state of the left edge of border box.
|
void |
setHideRight(boolean value)
Hide Right Edge (default is false) - specifies the hidden or shown state of the right edge of border box.
|
void |
setHideTop(boolean value)
Hide Top Edge (default is false) - specifies the hidden or shown state of the top edge of border box.
|
void |
setStrikethroughBottomLeftToTopRight(boolean value)
Strikethrough Bottom-Left to Top-Right (default is false).
|
void |
setStrikethroughHorizontal(boolean value)
Strikethrough Horizontal (default is false) - specifies the hidden or shown state of a strikethrough horizontal line.
|
void |
setStrikethroughTopLeftToBottomRight(boolean value)
Strikethrough Top-Left to Bottom-Right (default is false).
|
void |
setStrikethroughVertical(boolean value)
Strikethrough Vertical (default is false) - specifies the hidden or shown state of a strikethrough vertical line.
|
accent, asArgumentOfFunction, asArgumentOfFunction, asArgumentOfFunction, asArgumentOfFunction, asArgumentOfFunction, divide, divide, divide, divide, enclose, enclose, function, function, getParent_Immediate, group, group, integral, integral, integral, integral, integral, join, join, nary, nary, overbar, radical, radical, setLowerLimit, setLowerLimit, setSubscript, setSubscript, setSubSuperscriptOnTheLeft, setSubSuperscriptOnTheLeft, setSubSuperscriptOnTheRight, setSubSuperscriptOnTheRight, setSuperscript, setSuperscript, setUpperLimit, setUpperLimit, toBorderBox, toBorderBox, toBox, toMathArray, underbar
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
accent, asArgumentOfFunction, asArgumentOfFunction, asArgumentOfFunction, asArgumentOfFunction, asArgumentOfFunction, divide, divide, divide, divide, enclose, enclose, function, function, group, group, integral, integral, integral, integral, integral, join, join, nary, nary, overbar, radical, radical, setLowerLimit, setLowerLimit, setSubscript, setSubscript, setSubSuperscriptOnTheLeft, setSubSuperscriptOnTheLeft, setSubSuperscriptOnTheRight, setSubSuperscriptOnTheRight, setSuperscript, setSuperscript, setUpperLimit, setUpperLimit, toBorderBox, toBorderBox, toBox, toMathArray, underbar
public MathBorderBox(IMathElement element)
Creates MathBorderBox element with rectangular border
Example:MathBorderBox borderBox = new MathBorderBox(new MathematicalText("x"));
element
- The base element to which the border box is applied. Can be null.public MathBorderBox(IMathElement element, boolean hideTop, boolean hideBottom, boolean hideLeft, boolean hideRight, boolean strikethroughHorizontal, boolean strikethroughVertical, boolean strikethroughBottomLeftToTopRight, boolean strikethroughTopLeftToBottomRight)
Creates MathBorderBox element
Example:MathBorderBox borderBox = new MathBorderBox(new MathematicalText("x"), true, true, true, false, true, true, true, true)
element
- The base element to which the border box is appliedhideTop
- Hide Top EdgehideBottom
- Hide Bottom EdgehideLeft
- Hide Left EdgehideRight
- Hide Right EdgestrikethroughHorizontal
- Strikethrough HorizontalstrikethroughVertical
- Strikethrough VerticalstrikethroughBottomLeftToTopRight
- Strikethrough Bottom-Left to Top-RightstrikethroughTopLeftToBottomRight
- Strikethrough Top-Left to Bottom-Rightpublic final IMathElement getBase()
Base argument
Example:MathBorderBox borderBox = new MathBorderBox(new MathematicalText("x")); IMathElement base = borderBox.getBase();
getBase
in interface IMathBorderBox
public final boolean getHideTop()
Hide Top Edge (default is false) - specifies the hidden or shown state of the top edge of border box.
Example:MathBorderBox borderBox = new MathBorderBox(new MathematicalText("x")); borderBox.setHideTop(true);
getHideTop
in interface IMathBorderBox
public final void setHideTop(boolean value)
Hide Top Edge (default is false) - specifies the hidden or shown state of the top edge of border box.
Example:MathBorderBox borderBox = new MathBorderBox(new MathematicalText("x")); borderBox.setHideTop(true);
setHideTop
in interface IMathBorderBox
public final boolean getHideBottom()
Hide Bottom Edge (default is false) - specifies the hidden or shown state of the bottom edge of border box.
Example:MathBorderBox borderBox = new MathBorderBox(new MathematicalText("x")); borderBox.setHideBottom(true);
getHideBottom
in interface IMathBorderBox
public final void setHideBottom(boolean value)
Hide Bottom Edge (default is false) - specifies the hidden or shown state of the bottom edge of border box.
Example:MathBorderBox borderBox = new MathBorderBox(new MathematicalText("x")); borderBox.setHideBottom(true);
setHideBottom
in interface IMathBorderBox
public final boolean getHideLeft()
Hide Left Edge (default is false) - specifies the hidden or shown state of the left edge of border box.
Example:MathBorderBox borderBox = new MathBorderBox(new MathematicalText("x")); borderBox.setHideLeft(true);
getHideLeft
in interface IMathBorderBox
public final void setHideLeft(boolean value)
Hide Left Edge (default is false) - specifies the hidden or shown state of the left edge of border box.
Example:MathBorderBox borderBox = new MathBorderBox(new MathematicalText("x")); borderBox.setHideLeft(true);
setHideLeft
in interface IMathBorderBox
public final boolean getHideRight()
Hide Right Edge (default is false) - specifies the hidden or shown state of the right edge of border box.
Example:MathBorderBox borderBox = new MathBorderBox(new MathematicalText("x")); borderBox.setHideRight(true);
getHideRight
in interface IMathBorderBox
public final void setHideRight(boolean value)
Hide Right Edge (default is false) - specifies the hidden or shown state of the right edge of border box.
Example:MathBorderBox borderBox = new MathBorderBox(new MathematicalText("x")); borderBox.setHideRight(true);
setHideRight
in interface IMathBorderBox
public final boolean getStrikethroughHorizontal()
Strikethrough Horizontal (default is false) - specifies the hidden or shown state of a strikethrough horizontal line.
Example:MathBorderBox borderBox = new MathBorderBox(new MathematicalText("x")); borderBox.setStrikethroughHorizontal(true);
getStrikethroughHorizontal
in interface IMathBorderBox
public final void setStrikethroughHorizontal(boolean value)
Strikethrough Horizontal (default is false) - specifies the hidden or shown state of a strikethrough horizontal line.
Example:MathBorderBox borderBox = new MathBorderBox(new MathematicalText("x")); borderBox.setStrikethroughHorizontal(true);
setStrikethroughHorizontal
in interface IMathBorderBox
public final boolean getStrikethroughVertical()
Strikethrough Vertical (default is false) - specifies the hidden or shown state of a strikethrough vertical line.
Example:MathBorderBox borderBox = new MathBorderBox(new MathematicalText("x")); borderBox.setStrikethroughVertical(true);
getStrikethroughVertical
in interface IMathBorderBox
public final void setStrikethroughVertical(boolean value)
Strikethrough Vertical (default is false) - specifies the hidden or shown state of a strikethrough vertical line.
Example:MathBorderBox borderBox = new MathBorderBox(new MathematicalText("x")); borderBox.setStrikethroughVertical(true);
setStrikethroughVertical
in interface IMathBorderBox
public final boolean getStrikethroughBottomLeftToTopRight()
Strikethrough Bottom-Left to Top-Right (default is false). Specifies the hidden or shown state of a strikethrough diagonal line from the bottom-left corner to the top-right corner of border box.
Example:MathBorderBox borderBox = new MathBorderBox(new MathematicalText("x")); borderBox.setStrikethroughBottomLeftToTopRight(true);
getStrikethroughBottomLeftToTopRight
in interface IMathBorderBox
public final void setStrikethroughBottomLeftToTopRight(boolean value)
Strikethrough Bottom-Left to Top-Right (default is false). Specifies the hidden or shown state of a strikethrough diagonal line from the bottom-left corner to the top-right corner of border box.
Example:MathBorderBox borderBox = new MathBorderBox(new MathematicalText("x")); borderBox.setStrikethroughBottomLeftToTopRight(true);
setStrikethroughBottomLeftToTopRight
in interface IMathBorderBox
public final boolean getStrikethroughTopLeftToBottomRight()
Strikethrough Top-Left to Bottom-Right (default is false). Specifies the hidden or shown state of a strikethrough diagonal line from the top-left corner to the bottom-right corner of border box.
Example:MathBorderBox borderBox = new MathBorderBox(new MathematicalText("x")); borderBox.setStrikethroughTopLeftToBottomRight(true);
getStrikethroughTopLeftToBottomRight
in interface IMathBorderBox
public final void setStrikethroughTopLeftToBottomRight(boolean value)
Strikethrough Top-Left to Bottom-Right (default is false). Specifies the hidden or shown state of a strikethrough diagonal line from the top-left corner to the bottom-right corner of border box.
Example:MathBorderBox borderBox = new MathBorderBox(new MathematicalText("x")); borderBox.setStrikethroughTopLeftToBottomRight(true);
setStrikethroughTopLeftToBottomRight
in interface IMathBorderBox
public final IMathElement[] getChildren()
Get children elements
getChildren
in interface IMathElement
getChildren
in class MathElementBase
IMathElement
public final com.aspose.slides.OmmlControlCharacterPPTXUnsupportedProps getControlCharacterProperties()
Control Character Properties