IPortionFormat

All Implemented Interfaces: com.aspose.slides.IBasePortionFormat, com.aspose.slides.IHyperlinkContainer

public interface IPortionFormat extends IBasePortionFormat, IHyperlinkContainer

This class contains the text portion formatting properties. Unlike IPortionFormatEffectiveData, all properties of this class are writeable.


This class is used to return and manipulate text portion formatting properties defined for the particular portion. This means that no inheritance is applied when getting values so for the majority of cases you will get values meaning “undefined”.

In order to get the effective formatting parameter values including inherited you need to use IPortionFormat#getEffective method which returns a IPortionFormatEffectiveData instance.

Methods

Method Description
getBookmarkId() Returns or sets bookmark identifier.
setBookmarkId(String value) Returns or sets bookmark identifier.
getSmartTagClean() Determines whether the smart tag should be cleaned.
setSmartTagClean(boolean value) Determines whether the smart tag should be cleaned.
getEffective() Gets effective portion formatting data with the inheritance applied.

getBookmarkId()

public abstract String getBookmarkId()

Returns or sets bookmark identifier. Read/write String.

Returns: java.lang.String

setBookmarkId(String value)

public abstract void setBookmarkId(String value)

Returns or sets bookmark identifier. Read/write String.

Parameters:

Parameter Type Description
value java.lang.String

getSmartTagClean()

public abstract boolean getSmartTagClean()

Determines whether the smart tag should be cleaned. No inheritance applied. Read/write boolean.

Returns: boolean

setSmartTagClean(boolean value)

public abstract void setSmartTagClean(boolean value)

Determines whether the smart tag should be cleaned. No inheritance applied. Read/write boolean.

Parameters:

Parameter Type Description
value boolean

getEffective()

public abstract IPortionFormatEffectiveData getEffective()

Gets effective portion formatting data with the inheritance applied.

Returns: IPortionFormatEffectiveData - A IPortionFormatEffectiveData.