IOverridableText

All Implemented Interfaces: com.aspose.slides.IFormattedTextContainer

public interface IOverridableText extends IFormattedTextContainer

Represents overridable text for a chart.

Methods

Method Description
getTextFrameForOverriding() Can contain a rich formatted text.
addTextFrameForOverriding(String text) Initialize TextFrameForOverriding with the text in paramener “text”.

getTextFrameForOverriding()

public abstract ITextFrame getTextFrameForOverriding()

Can contain a rich formatted text. If this property is not null then this formatted text value overrides auto-generated text. Auto-generated text is an implicit property of the data label, the display unit label of the value axis, the axis title, the chart title, the label of the trendline. Auto-generated text is formatted with the IFormattedTextContainer.TextFormat property. Read-only ITextFrame.

Returns: ITextFrame

addTextFrameForOverriding(String text)

public abstract ITextFrame addTextFrameForOverriding(String text)

Initialize TextFrameForOverriding with the text in paramener “text”. If TextFrameForOverriding is already initialized then simply changes its text.

Parameters:

Parameter Type Description
text java.lang.String Text for a new TextFrameForOverriding.

Returns: ITextFrame - Text frame ITextFrame