com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Class BulletFormat

    • Method Detail

      • getType

        public final byte getType()

        Returns or sets the bullet type of a paragraph with no inheritance. Read/write BulletType.

        Specified by:
        getType in interface IBulletFormat
      • setType

        public final void setType(byte value)

        Returns or sets the bullet type of a paragraph with no inheritance. Read/write BulletType.

        Specified by:
        setType in interface IBulletFormat
      • getChar

        public final char getChar()

        Returns or sets the bullet char of a paragraph with no inheritance. Read/write char.

        Specified by:
        getChar in interface IBulletFormat
      • setChar

        public final void setChar(char value)

        Returns or sets the bullet char of a paragraph with no inheritance. Read/write char.

        Specified by:
        setChar in interface IBulletFormat
      • setFont

        public final void setFont(IFontData value)

        Returns or sets the bullet font of a paragraph with no inheritance. Read/write IFontData.

        Specified by:
        setFont in interface IBulletFormat
      • getHeight

        public final float getHeight()

        Returns or sets the bullet height of a paragraph with no inheritance. Value Float.NaN determines that bullet inherits height from the first portion in the paragraph. Read/write float.

        Specified by:
        getHeight in interface IBulletFormat
      • setHeight

        public final void setHeight(float value)

        Returns or sets the bullet height of a paragraph with no inheritance. Value Float.NaN determines that bullet inherits height from the first portion in the paragraph. Read/write float.

        Specified by:
        setHeight in interface IBulletFormat
      • getNumberedBulletStartWith

        public final short getNumberedBulletStartWith()

        Returns or sets the first number which is used for group of numbered bullets with no inheritance. Read/write short.

        Specified by:
        getNumberedBulletStartWith in interface IBulletFormat
      • setNumberedBulletStartWith

        public final void setNumberedBulletStartWith(short value)

        Returns or sets the first number which is used for group of numbered bullets with no inheritance. Read/write short.

        Specified by:
        setNumberedBulletStartWith in interface IBulletFormat
      • isBulletHardColor

        public final byte isBulletHardColor()

        Determines whether the bullet has own color or inherits it from the first portion in the paragraph. <b>NullableBool.True</b> if bullet has own color and <b>NullableBool.False</b> if bullet inherits color from the first portion in the paragraph. Read/write NullableBool.

        Specified by:
        isBulletHardColor in interface IBulletFormat
      • setBulletHardColor

        public final void setBulletHardColor(byte value)

        Determines whether the bullet has own color or inherits it from the first portion in the paragraph. <b>NullableBool.True</b> if bullet has own color and <b>NullableBool.False</b> if bullet inherits color from the first portion in the paragraph. Read/write NullableBool.

        Specified by:
        setBulletHardColor in interface IBulletFormat
      • isBulletHardFont

        public final byte isBulletHardFont()

        Determines whether the bullet has own font or inherits it from the first portion in the paragraph. <b>NullableBool.True</b> if bullet has own font and <b>NullableBool.False</b> if bullet inherits font from the first portion in the paragraph. Read/write NullableBool.

        Specified by:
        isBulletHardFont in interface IBulletFormat
      • setBulletHardFont

        public final void setBulletHardFont(byte value)

        Determines whether the bullet has own font or inherits it from the first portion in the paragraph. <b>NullableBool.True</b> if bullet has own font and <b>NullableBool.False</b> if bullet inherits font from the first portion in the paragraph. Read/write NullableBool.

        Specified by:
        setBulletHardFont in interface IBulletFormat
      • applyDefaultParagraphIndentsShifts

        public final void applyDefaultParagraphIndentsShifts()

        Sets default non-zero shifts for effective paragraph Indent and MarginLeft when bullets is enabled (like PowerPoint do if enable paragraph bullets/numbering in it). If bullets is disabled then just reset paragraph Indent and MarginLeft (like PowerPoint do if disable paragraph bullets/numbering in it). Indents shifts are applied in regard to current bullet context - IBulletFormat.Type, .NumberedBulletStyle and FontHeight of first portion. Non-zero indents shifts are applied to effective Indent and MarginLeft of current paragraph (make result values to be local values).

        Specified by:
        applyDefaultParagraphIndentsShifts in interface IBulletFormat
        Throws:
        com.aspose.ms.System.InvalidOperationException - Calling this method doesn't matter and throw InvalidOperationException in following cases: if parent formatted object is not a paragraph (for example calling ITextStyle.DefaultParagraphFormat.Bullet.ApplyDefaultParagraphIndentsShifts() will throw exception); or if paragraph wasn't added to any ITextFrame.Paragraphs collection (add it first);
      • getVersion

        public long getVersion()

        Version. Read-only long.

      • getParent_Immediate

        public com.aspose.slides.IDOMObject getParent_Immediate()

        Returns Parent_Immediate object. Read-only IDOMObject.