com.aspose.pdf

Interfaces

Classes

Enums

Exceptions

com.aspose.pdf

Class BaseParagraph

    • Constructor Detail

      • BaseParagraph

        public BaseParagraph()
    • Method Detail

      • getVerticalAlignment

        public int getVerticalAlignment()

        Gets a vertical alignment of paragraph

        Returns:
        VerticalAlignment element
        See Also:
        VerticalAlignment
      • setVerticalAlignment

        public void setVerticalAlignment(int value)

        Sets a vertical alignment of paragraph

        Parameters:
        value - VerticalAlignment element
      • getHorizontalAlignment

        public int getHorizontalAlignment()

        Gets a horizontal alignment of paragraph

        Returns:
        HorizontalAlignment value
        See Also:
        HorizontalAlignment
      • setHorizontalAlignment

        public void setHorizontalAlignment(int value)

        Sets a horizontal alignment of paragraph

        Parameters:
        value - HorizontalAlignment value
        See Also:
        HorizontalAlignment
      • getMargin

        public MarginInfo getMargin()

        Gets a outer margin for paragraph (for pdf generation)

        Returns:
        MarginInfo value
      • setMargin

        public void setMargin(MarginInfo value)

        Sets a outer margin for paragraph (for pdf generation)

        Parameters:
        value - MarginInfo object
      • 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
      • 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:
        value - 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
      • 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:
        value - 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
      • 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:
        value - boolean value
      • isInLineParagraph

        public boolean isInLineParagraph()

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

        Returns:
        boolean value
      • setInLineParagraph

        public void setInLineParagraph(boolean value)

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

        Parameters:
        value - boolean value
      • getHyperlink

        public Hyperlink getHyperlink()

        Gets the fragment hyperlink(for pdf generator).

        Returns:
        the fragment hyperlink(for pdf generator).
      • setHyperlink

        public void setHyperlink(Hyperlink value)

        Sets hyperlink(for pdf generator).

        Parameters:
        value - hyperlink(for pdf generator).
      • 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
      • 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:
        value - int value
      • deepClone

        public Object deepClone()

        Clones this instance. Virtual method. Always return null.

        Specified by:
        deepClone in interface com.aspose.ms.System.ICloneable
        Returns:
        Cloned object