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

ConstructorDescription
BaseParagraph

Methods

MethodDescription
deepCloneClones this instance. Virtual method. Always return null.
getHorizontalAlignmentGets a horizontal alignment of paragraph
getHyperlink/ * / * Gets or sets a paragraph is footnote. Default is false.(for pdf generation) / * / *
getMarginGets a outer margin for paragraph (for pdf generation)
getVerticalAlignmentGets a vertical alignment of paragraph
getZIndexGets 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.
isFirstParagraphInColumnGets or sets a bool value that indicates whether this paragraph will be at next column. Default is false.(for pdf generation)
isInLineParagraphGets a paragraph is inline. Default is false.(for pdf generation)
isInNewPageGets a bool value that force this paragraph generates at new page. Default is false.(for pdf generation)
isKeptWithNextGets a boolean value that indicates whether current paragraph remains in the same page along with next paragraph. Default is false.(for pdf generation)
setFirstParagraphInColumnGets or sets a bool value that indicates whether this paragraph will be at next column. Default is false.(for pdf generation)
setHorizontalAlignmentSets a horizontal alignment of paragraph
setHyperlinkSets hyperlink(for pdf generator).
setInLineParagraphSets a paragraph is inline. Default is false.(for pdf generation)
setInNewPageSets a boolean value that force this paragraph generates at new page. Default is false.(for pdf generation)
setKeptWithNextSets a boolean value that indicates whether current paragraph remains in the same page along with next paragraph. Default is false.(for pdf generation)
setMarginSets a outer margin for paragraph (for pdf generation)
setVerticalAlignmentSets a vertical alignment of paragraph
setZIndexSets 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

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:

ParameterTypeDescription
valueboolean value

setHorizontalAlignment

Sets a horizontal alignment of paragraph

Sets hyperlink(for pdf generator).

setInLineParagraph

public void setInLineParagraph(boolean value)

Sets a paragraph is inline. Default is false.(for pdf generation)

Parameters:

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

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

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

ParameterTypeDescription
valueint value