com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Interface IChartTextBlockFormat

  • All Known Implementing Classes:
    TextFrameFormat


    public interface IChartTextBlockFormat

    Represents formatting properties for chart text elements.

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      byte getAnchoringType()
      Returns or sets vertical anchor text in a TextFrame.
      byte getAutofitType()
      Returns or sets text's autofit mode.
      byte getCenterText()
      If NullableBool.True then text should be centered in box horizontally.
      double getMarginBottom()
      Returns or sets the bottom margin (points) in a TextFrame.
      double getMarginLeft()
      Returns or sets the left margin (points) in a TextFrame.
      double getMarginRight()
      Returns or sets the right margin (points) in a TextFrame.
      double getMarginTop()
      Returns or sets the top margin (points) in a TextFrame.
      float getRotationAngle()
      Specifies the custom rotation that is being applied to the text within the bounding box.
      byte getTextVerticalType()
      Determines text orientation.
      byte getWrapText()
      <b>True</b> if text is wrapped at TextFrame's margins.
      void setAnchoringType(byte value)
      Returns or sets vertical anchor text in a TextFrame.
      void setAutofitType(byte value)
      Returns or sets text's autofit mode.
      void setCenterText(byte value)
      If NullableBool.True then text should be centered in box horizontally.
      void setMarginBottom(double value)
      Returns or sets the bottom margin (points) in a TextFrame.
      void setMarginLeft(double value)
      Returns or sets the left margin (points) in a TextFrame.
      void setMarginRight(double value)
      Returns or sets the right margin (points) in a TextFrame.
      void setMarginTop(double value)
      Returns or sets the top margin (points) in a TextFrame.
      void setRotationAngle(float value)
      Specifies the custom rotation that is being applied to the text within the bounding box.
      void setTextVerticalType(byte value)
      Determines text orientation.
      void setWrapText(byte value)
      <b>True</b> if text is wrapped at TextFrame's margins.
    • Method Detail

      • getAnchoringType

        byte getAnchoringType()

        Returns or sets vertical anchor text in a TextFrame. Read/write TextAnchorType.

      • setAnchoringType

        void setAnchoringType(byte value)

        Returns or sets vertical anchor text in a TextFrame. Read/write TextAnchorType.

      • getCenterText

        byte getCenterText()

        If NullableBool.True then text should be centered in box horizontally. Read/write NullableBool.

      • setCenterText

        void setCenterText(byte value)

        If NullableBool.True then text should be centered in box horizontally. Read/write NullableBool.

      • getTextVerticalType

        byte getTextVerticalType()

        Determines text orientation. The resulted value of visual text rotation summarized from this property and custom angle in property RotationAngle. Read/write TextVerticalType.

      • setTextVerticalType

        void setTextVerticalType(byte value)

        Determines text orientation. The resulted value of visual text rotation summarized from this property and custom angle in property RotationAngle. Read/write TextVerticalType.

      • getMarginLeft

        double getMarginLeft()

        Returns or sets the left margin (points) in a TextFrame. Changing of this property can produce a certain influence only for these chart parts: DataLabel and DataLabelFormat (full suport in PowerPoint 2013; in PowerPoint 2007 there is no effect for rendering). Read/write double.

      • setMarginLeft

        void setMarginLeft(double value)

        Returns or sets the left margin (points) in a TextFrame. Changing of this property can produce a certain influence only for these chart parts: DataLabel and DataLabelFormat (full suport in PowerPoint 2013; in PowerPoint 2007 there is no effect for rendering). Read/write double.

      • getMarginRight

        double getMarginRight()

        Returns or sets the right margin (points) in a TextFrame. Changing of this property can produce a certain influence only for these chart parts: DataLabel and DataLabelFormat (full suport in PowerPoint 2013; in PowerPoint 2007 there is no effect for rendering). Read/write double.

      • setMarginRight

        void setMarginRight(double value)

        Returns or sets the right margin (points) in a TextFrame. Changing of this property can produce a certain influence only for these chart parts: DataLabel and DataLabelFormat (full suport in PowerPoint 2013; in PowerPoint 2007 there is no effect for rendering). Read/write double.

      • getMarginTop

        double getMarginTop()

        Returns or sets the top margin (points) in a TextFrame. Changing of this property can produce a certain influence only for these chart parts: DataLabel and DataLabelFormat (full suport in PowerPoint 2013; in PowerPoint 2007 there is no effect for rendering). Read/write double.

      • setMarginTop

        void setMarginTop(double value)

        Returns or sets the top margin (points) in a TextFrame. Changing of this property can produce a certain influence only for these chart parts: DataLabel and DataLabelFormat (full suport in PowerPoint 2013; in PowerPoint 2007 there is no effect for rendering). Read/write double.

      • getMarginBottom

        double getMarginBottom()

        Returns or sets the bottom margin (points) in a TextFrame. Changing of this property can produce a certain influence only for these chart parts: DataLabel and DataLabelFormat (full suport in PowerPoint 2013; in PowerPoint 2007 there is no effect for rendering). Read/write double.

      • setMarginBottom

        void setMarginBottom(double value)

        Returns or sets the bottom margin (points) in a TextFrame. Changing of this property can produce a certain influence only for these chart parts: DataLabel and DataLabelFormat (full suport in PowerPoint 2013; in PowerPoint 2007 there is no effect for rendering). Read/write double.

      • getWrapText

        byte getWrapText()

        <b>True</b> if text is wrapped at TextFrame's margins. Changing of this property can produce a certain influence only for these chart parts: DataLabel and DataLabelFormat (full suport in PowerPoint 2007/2013). Read/write NullableBool.

      • setWrapText

        void setWrapText(byte value)

        <b>True</b> if text is wrapped at TextFrame's margins. Changing of this property can produce a certain influence only for these chart parts: DataLabel and DataLabelFormat (full suport in PowerPoint 2007/2013). Read/write NullableBool.

      • getAutofitType

        byte getAutofitType()

        Returns or sets text's autofit mode. Changing of this property can produce a certain influence only for these chart parts: DataLabel and DataLabelFormat (full suport in PowerPoint 2013; in PowerPoint 2007 there is no effect for rendering). Read/write TextAutofitType.

      • setAutofitType

        void setAutofitType(byte value)

        Returns or sets text's autofit mode. Changing of this property can produce a certain influence only for these chart parts: DataLabel and DataLabelFormat (full suport in PowerPoint 2013; in PowerPoint 2007 there is no effect for rendering). Read/write TextAutofitType.

      • getRotationAngle

        float getRotationAngle()

        Specifies the custom rotation that is being applied to the text within the bounding box. If it not specified, the rotation of the accompanying shape is used. If it is specified, then this is applied independently from the shape. That is the shape can have a rotation applied in addition to the text itself having a rotation applied to it. The resulted value of visual text rotation summarized from this property and predefined vertical type in property TextVerticalType. Read/write float.


         Consider the case where a shape has a rotation of 90 degrees clockwise applied to it. 
         In addition to this, the text body itself has a rotation of -90 degrees 
         counter-clockwise applied to it. Then the resulting shape would appear to
         be rotated but the text within it would appear as though it had not been rotated at all.
         
      • setRotationAngle

        void setRotationAngle(float value)

        Specifies the custom rotation that is being applied to the text within the bounding box. If it not specified, the rotation of the accompanying shape is used. If it is specified, then this is applied independently from the shape. That is the shape can have a rotation applied in addition to the text itself having a rotation applied to it. The resulted value of visual text rotation summarized from this property and predefined vertical type in property TextVerticalType. Read/write float.


         Consider the case where a shape has a rotation of 90 degrees clockwise applied to it. 
         In addition to this, the text body itself has a rotation of -90 degrees 
         counter-clockwise applied to it. Then the resulting shape would appear to
         be rotated but the text within it would appear as though it had not been rotated at all.