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

ConstructorDescription
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

MethodDescription
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:

ParameterTypeDescription
elementIMathElementThe 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:

ParameterTypeDescription
elementIMathElementThe base element to which the border box is applied
hideTopbooleanHide Top Edge
hideBottombooleanHide Bottom Edge
hideLeftbooleanHide Left Edge
hideRightbooleanHide Right Edge
strikethroughHorizontalbooleanStrikethrough Horizontal
strikethroughVerticalbooleanStrikethrough Vertical
strikethroughBottomLeftToTopRightbooleanStrikethrough Bottom-Left to Top-Right
strikethroughTopLeftToBottomRightbooleanStrikethrough 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:

ParameterTypeDescription
valueboolean

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:

ParameterTypeDescription
valueboolean

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:

ParameterTypeDescription
valueboolean

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:

ParameterTypeDescription
valueboolean

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:

ParameterTypeDescription
valueboolean

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:

ParameterTypeDescription
valueboolean

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:

ParameterTypeDescription
valueboolean

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:

ParameterTypeDescription
valueboolean

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