ITextStyle

public interface ITextStyle

Text style formatting properties.

Methods

MethodDescription
getLevel(int index)If level of style exist returns it, otherwise returns null.
getDefaultParagraphFormat()Default paragraph propertiies.
getEffective()Gets effective text style formatting data with the inheritance applied.

getLevel(int index)

public abstract IParagraphFormat getLevel(int index)

If level of style exist returns it, otherwise returns null.

Parameters:

ParameterTypeDescription
indexintZero-based index of level. Must lay in 0..8 interval.

Returns: IParagraphFormat - Formatting of level IParagraphFormat.

getDefaultParagraphFormat()

public abstract IParagraphFormat getDefaultParagraphFormat()

Default paragraph propertiies. Read-only IParagraphFormat.

Returns: IParagraphFormat

getEffective()

public abstract ITextStyleEffectiveData getEffective()

Gets effective text style formatting data with the inheritance applied.

Returns: ITextStyleEffectiveData - A ITextStyleEffectiveData.