public abstract class BaseParagraph extends Object implements com.aspose.ms.System.ICloneable
Constructor and Description |
---|
BaseParagraph() |
Modifier and Type | Method and Description |
---|---|
Object |
deepClone()
Clones this instance.
|
int |
getHorizontalAlignment()
Gets a horizontal alignment of paragraph
|
Hyperlink |
getHyperlink()
Gets the fragment hyperlink(for pdf generator).
|
MarginInfo |
getMargin()
Gets a outer margin for paragraph (for pdf generation)
|
int |
getVerticalAlignment()
Gets a vertical alignment of paragraph
|
int |
getZIndex()
Gets an int value that indicates the Z-order of the graph.
|
boolean |
isFirstParagraphInColumn()
Gets or sets a bool value that indicates whether this paragraph will be at next column.
|
boolean |
isInLineParagraph()
Gets a paragraph is inline.
|
boolean |
isInNewPage()
Gets a bool value that force this paragraph generates at new page.
|
boolean |
isKeptWithNext()
Gets a boolean value that indicates whether current paragraph remains in the same page along
with next paragraph.
|
void |
setFirstParagraphInColumn(boolean value)
Gets or sets a bool value that indicates whether this paragraph will be at next column.
|
void |
setHorizontalAlignment(int value)
Sets a horizontal alignment of paragraph
|
void |
setHyperlink(Hyperlink value)
Sets hyperlink(for pdf generator).
|
void |
setInLineParagraph(boolean value)
Sets a paragraph is inline.
|
void |
setInNewPage(boolean value)
Sets a boolean value that force this paragraph generates at new page.
|
void |
setKeptWithNext(boolean value)
Sets a boolean value that indicates whether current paragraph remains in the same page along
with next paragraph.
|
void |
setMargin(MarginInfo value)
Sets a outer margin for paragraph (for pdf generation)
|
void |
setVerticalAlignment(int value)
Sets a vertical alignment of paragraph
|
void |
setZIndex(int value)
Sets a int value that indicates the Z-order of the graph.
|
public int getVerticalAlignment()
Gets a vertical alignment of paragraph
VerticalAlignment
public void setVerticalAlignment(int value)
Sets a vertical alignment of paragraph
value
- VerticalAlignment elementpublic int getHorizontalAlignment()
Gets a horizontal alignment of paragraph
HorizontalAlignment
public void setHorizontalAlignment(int value)
Sets a horizontal alignment of paragraph
value
- HorizontalAlignment valueHorizontalAlignment
public MarginInfo getMargin()
Gets a outer margin for paragraph (for pdf generation)
public void setMargin(MarginInfo value)
Sets a outer margin for paragraph (for pdf generation)
value
- MarginInfo objectpublic boolean isFirstParagraphInColumn()
Gets or sets a bool value that indicates whether this paragraph will be at next column. Default is false.(for pdf generation)
public void setFirstParagraphInColumn(boolean value)
Gets or sets a bool value that indicates whether this paragraph will be at next column. Default is false.(for pdf generation)
value
- boolean valuepublic boolean isKeptWithNext()
Gets a boolean value that indicates whether current paragraph remains in the same page along with next paragraph. Default is false.(for pdf generation)
public final void setKeptWithNext(boolean value)
Sets a boolean value that indicates whether current paragraph remains in the same page along with next paragraph. Default is false.(for pdf generation)
value
- boolean valuepublic boolean isInNewPage()
Gets a bool value that force this paragraph generates at new page. Default is false.(for pdf generation)
public void setInNewPage(boolean value)
Sets a boolean value that force this paragraph generates at new page. Default is false.(for pdf generation)
value
- boolean valuepublic boolean isInLineParagraph()
Gets a paragraph is inline. Default is false.(for pdf generation)
public void setInLineParagraph(boolean value)
Sets a paragraph is inline. Default is false.(for pdf generation)
value
- boolean valuepublic Hyperlink getHyperlink()
Gets the fragment hyperlink(for pdf generator).
public void setHyperlink(Hyperlink value)
Sets hyperlink(for pdf generator).
value
- hyperlink(for pdf generator).public int getZIndex()
Gets an int value that indicates the Z-order of the graph. A graph with larger ZIndex will be placed over the graph with smaller ZIndex. ZIndex can be negative. Graph with negative ZIndex will be placed behind the text in the page.
public void setZIndex(int value)
Sets a int value that indicates the Z-order of the graph. A graph with larger ZIndex will be placed over the graph with smaller ZIndex. ZIndex can be negative. Graph with negative ZIndex will be placed behind the text in the page.
value
- int valuepublic Object deepClone()
Clones this instance. Virtual method. Always return null.
deepClone
in interface com.aspose.ms.System.ICloneable