BaseParagraph
Inheritance: java.lang.Object, com.aspose.pdf.BaseParagraph
All Implemented Interfaces: com.aspose.ms.System.ICloneable
public abstract class BaseParagraph extends Object implements com.aspose.ms.System.ICloneable
Represents a abstract base object can be added to the page(doc.Paragraphs.Add()).
Constructors
| Constructor | Description |
|---|---|
| BaseParagraph |
Methods
| Method | Description |
|---|---|
| deepClone | Clones this instance. Virtual method. Always return null. |
| getHorizontalAlignment | Gets a horizontal alignment of paragraph |
| getHyperlink | / * / * Gets or sets a paragraph is footnote. Default is false.(for pdf generation) / * / * |
| getMargin | Gets a outer margin for paragraph (for pdf generation) |
| getVerticalAlignment | Gets a vertical alignment of paragraph |
| 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. |
| isFirstParagraphInColumn | Gets or sets a bool value that indicates whether this paragraph will be at next column. Default is false.(for pdf generation) |
| isInLineParagraph | Gets a paragraph is inline. Default is false.(for pdf generation) |
| isInNewPage | Gets a bool value that force this paragraph generates at new page. Default is false.(for pdf generation) |
| 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) |
| setFirstParagraphInColumn | Gets or sets a bool value that indicates whether this paragraph will be at next column. Default is false.(for pdf generation) |
| setHorizontalAlignment | Sets a horizontal alignment of paragraph |
| setHyperlink | Sets hyperlink(for pdf generator). |
| setInLineParagraph | Sets a paragraph is inline. Default is false.(for pdf generation) |
| setInNewPage | Sets a boolean value that force this paragraph generates at new page. Default is false.(for pdf generation) |
| setKeptWithNext | Sets a boolean value that indicates whether current paragraph remains in the same page along with next paragraph. Default is false.(for pdf generation) |
| setMargin | Sets a outer margin for paragraph (for pdf generation) |
| setVerticalAlignment | Sets a vertical alignment of paragraph |
| setZIndex | 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. |
BaseParagraph
public BaseParagraph()
deepClone
public Object deepClone()
Clones this instance. Virtual method. Always return null.
Returns: Null
getHorizontalAlignment
public HorizontalAlignment getHorizontalAlignment()
Gets a horizontal alignment of paragraph
Returns: HorizontalAlignment value @see HorizontalAlignment
getHyperlink
public Hyperlink getHyperlink()
/ * / * Gets or sets a paragraph is footnote. Default is false.(for pdf generation) / * / *
Returns: boolean value /
getMargin
public MarginInfo getMargin()
Gets a outer margin for paragraph (for pdf generation)
Returns: MarginInfo value
getVerticalAlignment
public VerticalAlignment getVerticalAlignment()
Gets a vertical alignment of paragraph
Returns: VerticalAlignment element @see VerticalAlignment
getZIndex
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.
Returns: int value
isFirstParagraphInColumn
public boolean isFirstParagraphInColumn()
Gets or sets a bool value that indicates whether this paragraph will be at next column. Default is false.(for pdf generation)
Returns: boolean value
isInLineParagraph
public boolean isInLineParagraph()
Gets a paragraph is inline. Default is false.(for pdf generation)
Returns: boolean value
isInNewPage
public boolean isInNewPage()
Gets a bool value that force this paragraph generates at new page. Default is false.(for pdf generation)
Returns: boolean value
isKeptWithNext
public 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)
Returns: boolean value
setFirstParagraphInColumn
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)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | boolean value |
setHorizontalAlignment
Sets a horizontal alignment of paragraph
setHyperlink
Sets hyperlink(for pdf generator).
setInLineParagraph
public void setInLineParagraph(boolean value)
Sets a paragraph is inline. Default is false.(for pdf generation)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | boolean value |
setInNewPage
public void setInNewPage(boolean value)
Sets a boolean value that force this paragraph generates at new page. Default is false.(for pdf generation)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | boolean value |
setKeptWithNext
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)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | boolean value |
setMargin
Sets a outer margin for paragraph (for pdf generation)
setVerticalAlignment
Sets a vertical alignment of paragraph
setZIndex
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.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| value | int value |