com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Class Paragraph

  • java.lang.Object
    • com.aspose.slides.Paragraph
    • Constructor Detail

      • Paragraph

        public Paragraph()

        Initializes a new instance of the Paragraph class with default properties.

      • Paragraph

        public Paragraph(Paragraph para)

        Copy constructor that initializes a new instance of a Paragraph class.

    • Method Detail

      • createParagraphFormatEffective

        @Deprecated
        public final IParagraphFormatEffectiveData createParagraphFormatEffective()
        Deprecated. Use Paragraph.ParagraphFormat.GetEffective() instead. The method will be removed after release of version 20.8.

        Creates immutable object which contains effective paragraph formatting properties with the inheritance applied.

        Specified by:
        createParagraphFormatEffective in interface IParagraph
        Returns:
        A ParagraphFormatEffectiveData.
      • getText

        public final java.lang.String getText()

        Gets or sets the the plain text of a paragraph. Read/write String.

        Value: The text.
        Specified by:
        getText in interface IParagraph
      • setText

        public final void setText(java.lang.String value)

        Gets or sets the the plain text of a paragraph. Read/write String.

        Value: The text.
        Specified by:
        setText in interface IParagraph
      • getRect

        public final android.graphics.RectF getRect()

        Get coordinates of rect that bounds paragraph. The rect includes all the lines of text in paragraph, including empty ones.

        Specified by:
        getRect in interface IParagraph
      • getEndParagraphPortionFormat

        public final IPortionFormat getEndParagraphPortionFormat()

        Specifies the portion properties that are to be used if another portion is inserted after the last one.

        Specified by:
        getEndParagraphPortionFormat in interface IParagraph
      • setEndParagraphPortionFormat

        public final void setEndParagraphPortionFormat(IPortionFormat value)

        Specifies the portion properties that are to be used if another portion is inserted after the last one.

        Specified by:
        setEndParagraphPortionFormat in interface IParagraph
      • subscribe

        public final void subscribe(com.aspose.slides.IObserver observer)
      • unsubscribe

        public final void unsubscribe(com.aspose.slides.IObserver observer)
      • getParent_Immediate

        public final com.aspose.slides.IDOMObject getParent_Immediate()

        Returns Parent_Immediate object. Read-only IDOMObject.