MathBorderBox

Inheritance: java.lang.Object, com.aspose.slides.MathElementBase

All Implemented Interfaces: com.aspose.slides.IMathBorderBox, com.aspose.slides.IHasControlCharacterProperties

public final class MathBorderBox extends MathElementBase implements IMathBorderBox, IHasControlCharacterProperties

Draws a rectangular or some other border around the IMathElement.


Example:
 
 MathBorderBox borderBox = new MathBorderBox(new MathematicalText("x"));

Constructors

Constructor 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

Methods

Method Description
getBase() Base argument
getHideTop() Hide Top Edge (default is false) - specifies the hidden or shown state of the top edge of border box.
setHideTop(boolean value) Hide Top Edge (default is false) - specifies the hidden or shown state of the top edge of border box.
getHideBottom() Hide Bottom Edge (default is false) - specifies the hidden or shown state of the bottom edge of border box.
setHideBottom(boolean value) Hide Bottom Edge (default is false) - specifies the hidden or shown state of the bottom edge of border box.
getHideLeft() Hide Left Edge (default is false) - specifies the hidden or shown state of the left edge of border box.
setHideLeft(boolean value) Hide Left Edge (default is false) - specifies the hidden or shown state of the left edge of border box.
getHideRight() Hide Right Edge (default is false) - specifies the hidden or shown state of the right edge of border box.
setHideRight(boolean value) Hide Right Edge (default is false) - specifies the hidden or shown state of the right edge of border box.
getStrikethroughHorizontal() Strikethrough Horizontal (default is false) - specifies the hidden or shown state of a strikethrough horizontal line.
setStrikethroughHorizontal(boolean value) Strikethrough Horizontal (default is false) - specifies the hidden or shown state of a strikethrough horizontal line.
getStrikethroughVertical() Strikethrough Vertical (default is false) - specifies the hidden or shown state of a strikethrough vertical line.
setStrikethroughVertical(boolean value) Strikethrough Vertical (default is false) - specifies the hidden or shown state of a strikethrough vertical line.
getStrikethroughBottomLeftToTopRight() Strikethrough Bottom-Left to Top-Right (default is false).
setStrikethroughBottomLeftToTopRight(boolean value) Strikethrough Bottom-Left to Top-Right (default is false).
getStrikethroughTopLeftToBottomRight() Strikethrough Top-Left to Bottom-Right (default is false).
setStrikethroughTopLeftToBottomRight(boolean value) Strikethrough Top-Left to Bottom-Right (default is false).
getChildren() Get children elements
getControlCharacterProperties() Control Character Properties

MathBorderBox(IMathElement element)

public MathBorderBox(IMathElement element)

Creates MathBorderBox element with rectangular border


Example:
 
 MathBorderBox borderBox = new MathBorderBox(new MathematicalText("x"));

Parameters:

Parameter Type Description
element IMathElement The base element to which the border box is applied. Can be null.

MathBorderBox(IMathElement element, boolean hideTop, boolean hideBottom, boolean hideLeft, boolean hideRight, boolean strikethroughHorizontal, boolean strikethroughVertical, boolean strikethroughBottomLeftToTopRight, boolean strikethroughTopLeftToBottomRight)

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)

Parameters:

Parameter Type Description
element IMathElement The base element to which the border box is applied
hideTop boolean Hide Top Edge
hideBottom boolean Hide Bottom Edge
hideLeft boolean Hide Left Edge
hideRight boolean Hide Right Edge
strikethroughHorizontal boolean Strikethrough Horizontal
strikethroughVertical boolean Strikethrough Vertical
strikethroughBottomLeftToTopRight boolean Strikethrough Bottom-Left to Top-Right
strikethroughTopLeftToBottomRight boolean Strikethrough Top-Left to Bottom-Right

getBase()

public final IMathElement getBase()

Base argument


Example:
 
 MathBorderBox borderBox = new MathBorderBox(new MathematicalText("x"));
 IMathElement base = borderBox.getBase();

Returns: IMathElement

getHideTop()

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);

Returns: boolean

setHideTop(boolean value)

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);

Parameters:

Parameter Type Description
value boolean

getHideBottom()

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);

Returns: boolean

setHideBottom(boolean value)

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);

Parameters:

Parameter Type Description
value boolean

getHideLeft()

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);

Returns: boolean

setHideLeft(boolean value)

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);

Parameters:

Parameter Type Description
value boolean

getHideRight()

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);

Returns: boolean

setHideRight(boolean value)

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);

Parameters:

Parameter Type Description
value boolean

getStrikethroughHorizontal()

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);

Returns: boolean

setStrikethroughHorizontal(boolean value)

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);

Parameters:

Parameter Type Description
value boolean

getStrikethroughVertical()

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);

Returns: boolean

setStrikethroughVertical(boolean value)

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);

Parameters:

Parameter Type Description
value boolean

getStrikethroughBottomLeftToTopRight()

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);

Returns: boolean

setStrikethroughBottomLeftToTopRight(boolean value)

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);

Parameters:

Parameter Type Description
value boolean

getStrikethroughTopLeftToBottomRight()

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);

Returns: boolean

setStrikethroughTopLeftToBottomRight(boolean value)

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);

Parameters:

Parameter Type Description
value boolean

getChildren()

public final IMathElement[] getChildren()

Get children elements

Returns: com.aspose.slides.IMathElement[]

getControlCharacterProperties()

public final OmmlControlCharacterPPTXUnsupportedProps getControlCharacterProperties()

Control Character Properties

Returns: com.aspose.slides.OmmlControlCharacterPPTXUnsupportedProps