public interface IMathParagraph extends IMathBlockCollection
Mathematical paragraph that is a container for mathematical blocks (IMathBlock)
Example:IAutoShape shape = slide.getShapes().addMathShape(x, y, width, height); IMathParagraph mathParagraph = ((MathPortion)shape.getTextFrame().getParagraphs().get_Item(0).getPortions().get_Item(0)).getMathParagraph(); mathParagraph.setJustification(MathJustification.LeftJustified);
Modifier and Type | Method and Description |
---|---|
int |
getJustification()
Paragraph Justification
Default value: CenteredAsGroup
|
void |
setJustification(int value)
Paragraph Justification
Default value: CenteredAsGroup
|
void |
writeAsMathMl(java.io.OutputStream stream)
Saves content of this
IMathParagraph as MathML |
add, clear, contains, get_Item, getCount, indexOf, insert, remove, removeAt, set_Item
int getJustification()
Paragraph Justification Default value: CenteredAsGroup
Example:IAutoShape shape = slide.getShapes().addMathShape(x, y, width, height); IMathParagraph mathParagraph = ((MathPortion)shape.getTextFrame().getParagraphs().get_Item(0).getPortions().get_Item(0)).getMathParagraph(); mathParagraph.setJustification(MathJustification.LeftJustified);
void setJustification(int value)
Paragraph Justification Default value: CenteredAsGroup
Example:IAutoShape shape = slide.getShapes().addMathShape(x, y, width, height); IMathParagraph mathParagraph = ((MathPortion)shape.getTextFrame().getParagraphs().get_Item(0).getPortions().get_Item(0)).getMathParagraph(); mathParagraph.setJustification(MathJustification.LeftJustified);
void writeAsMathMl(java.io.OutputStream stream)
Saves content of this IMathParagraph
as MathML
stream
- Target stream