Class Matrix
java.lang.Object
com.independentsoft.office.word.math.Matrix
- All Implemented Interfaces:
IContentElement,IRunTrackChangeContent,IMathElement,IMathMathElement
The Class Matrix.
-
Constructor Summary
ConstructorsConstructorDescriptionMatrix()Instantiates a new matrix.Matrix(InternalXMLStreamReader reader)Instantiates a new matrix. -
Method Summary
Modifier and TypeMethodDescriptionclone()Gets the columns.Gets the control properties.Gets the hide placeholders.Gets the matrix base justification.intGets the matrix column gap.Gets the matrix column gap rule.intGets the matrix column spacing.getRows()Gets the rows.intGets the row spacing.Gets the spacing rule.voidsetHidePlaceholders(ExtendedBoolean hidePlaceholders)Sets the hide placeholders.voidsetMatrixBaseJustification(VerticalJustification matrixBaseJustification)Sets the matrix base justification.voidsetMatrixColumnGap(int matrixColumnGap)Sets the matrix column gap.voidsetMatrixColumnGapRule(SpacingRule matrixColumnGapRule)Sets the matrix column gap rule.voidsetMatrixColumnSpacing(int matrixColumnSpacing)Sets the matrix column spacing.voidsetRowSpacing(int rowSpacing)Sets the row spacing.voidsetSpacingRule(SpacingRule spacingRule)Sets the spacing rule.toString()
-
Constructor Details
-
Matrix
public Matrix()Instantiates a new matrix. -
Matrix
Instantiates a new matrix.- Parameters:
reader- the reader- Throws:
XMLStreamException- the xML stream exception
-
-
Method Details
-
getContentElements
- Specified by:
getContentElementsin interfaceIContentElement
-
clone
- Specified by:
clonein interfaceIContentElement- Specified by:
clonein interfaceIMathElement- Specified by:
clonein interfaceIMathMathElement- Specified by:
clonein interfaceIRunTrackChangeContent- Overrides:
clonein classObject
-
toString
-
getRows
Gets the rows.- Returns:
- the rows
-
getColumns
Gets the columns.- Returns:
- the columns
-
getHidePlaceholders
Gets the hide placeholders.- Returns:
- the hide placeholders
-
setHidePlaceholders
Sets the hide placeholders.- Parameters:
hidePlaceholders- the new hide placeholders
-
getMatrixBaseJustification
Gets the matrix base justification.- Returns:
- the matrix base justification
-
setMatrixBaseJustification
Sets the matrix base justification.- Parameters:
matrixBaseJustification- the new matrix base justification
-
getMatrixColumnGapRule
Gets the matrix column gap rule.- Returns:
- the matrix column gap rule
-
setMatrixColumnGapRule
Sets the matrix column gap rule.- Parameters:
matrixColumnGapRule- the new matrix column gap rule
-
getSpacingRule
Gets the spacing rule.- Returns:
- the spacing rule
-
setSpacingRule
Sets the spacing rule.- Parameters:
spacingRule- the new spacing rule
-
getMatrixColumnGap
public int getMatrixColumnGap()Gets the matrix column gap.- Returns:
- the matrix column gap
-
setMatrixColumnGap
public void setMatrixColumnGap(int matrixColumnGap)Sets the matrix column gap.- Parameters:
matrixColumnGap- the new matrix column gap
-
getMatrixColumnSpacing
public int getMatrixColumnSpacing()Gets the matrix column spacing.- Returns:
- the matrix column spacing
-
setMatrixColumnSpacing
public void setMatrixColumnSpacing(int matrixColumnSpacing)Sets the matrix column spacing.- Parameters:
matrixColumnSpacing- the new matrix column spacing
-
getRowSpacing
public int getRowSpacing()Gets the row spacing.- Returns:
- the row spacing
-
setRowSpacing
public void setRowSpacing(int rowSpacing)Sets the row spacing.- Parameters:
rowSpacing- the new row spacing
-
getControlProperties
Gets the control properties.- Returns:
- the control properties
-