BasePortionFormat

Inheritance: java.lang.Object, com.aspose.slides.PVIObject

All Implemented Interfaces: com.aspose.slides.IBasePortionFormat

public abstract class BasePortionFormat extends PVIObject implements IBasePortionFormat

Common text portion formatting properties.

Methods

MethodDescription
getVersion()
getLineFormat()Returns the LineFormat properties for text outlining.
getFillFormat()Returns the text FillFormat properties.
getEffectFormat()Returns the text EffectFormat properties.
getHighlightColor()Returns the color used to highlight a text.
getUnderlineLineFormat()Returns the LineFormat properties used to outline underline line.
getUnderlineFillFormat()Returns the underline line FillFormat properties.
getFontBold()Determines whether the font is bold.
setFontBold(byte value)Determines whether the font is bold.
getFontItalic()Determines whether the font is itallic.
setFontItalic(byte value)Determines whether the font is itallic.
getKumimoji()Determines whether the numbers should ignore text eastern language-specific vertical text layout.
setKumimoji(byte value)Determines whether the numbers should ignore text eastern language-specific vertical text layout.
getNormaliseHeight()Determines whether the height of a text should be normalized.
setNormaliseHeight(byte value)Determines whether the height of a text should be normalized.
getProofDisabled()Determines whether the text shouldn’t be proofed.
setProofDisabled(byte value)Determines whether the text shouldn’t be proofed.
getFontUnderline()Returns or sets the text underline type.
setFontUnderline(byte value)Returns or sets the text underline type.
getTextCapType()Returns or sets the type of text capitalization.
setTextCapType(byte value)Returns or sets the type of text capitalization.
getStrikethroughType()Returns or sets the strikethrough type of a text.
setStrikethroughType(byte value)Returns or sets the strikethrough type of a text.
isHardUnderlineLine()Determines whether the underline style has own LineFormat properties or inherits it from the LineFormat properties of the text.
setHardUnderlineLine(byte value)Determines whether the underline style has own LineFormat properties or inherits it from the LineFormat properties of the text.
isHardUnderlineFill()Determines whether the underline style has own FillFormat properties or inherits it from the FillFormat properties of the text.
setHardUnderlineFill(byte value)Determines whether the underline style has own FillFormat properties or inherits it from the FillFormat properties of the text.
getFontHeight()Returns or sets the font height of a portion.
setFontHeight(float value)Returns or sets the font height of a portion.
getLatinFont()Returns or sets the Latin font info.
setLatinFont(IFontData value)Returns or sets the Latin font info.
getEastAsianFont()Returns or sets the East Asian font info.
setEastAsianFont(IFontData value)Returns or sets the East Asian font info.
getComplexScriptFont()Returns or sets the complex script font info.
setComplexScriptFont(IFontData value)Returns or sets the complex script font info.
getSymbolFont()Returns or sets the symbolic font info.
setSymbolFont(IFontData value)Returns or sets the symbolic font info.
getEscapement()Returns or sets the superscript or subscript text.
setEscapement(float value)Returns or sets the superscript or subscript text.
getKerningMinimalSize()Returns or sets the minimal font size, for which kerning should be switched on.
setKerningMinimalSize(float value)Returns or sets the minimal font size, for which kerning should be switched on.
getLanguageId()Returns or sets the Id of a proofing language.
setLanguageId(String value)Returns or sets the Id of a proofing language.
getAlternativeLanguageId()Returns or sets the Id of an alternative language.
setAlternativeLanguageId(String value)Returns or sets the Id of an alternative language.
getSpacing()Returns or sets the intercharacter spacing increment.
setSpacing(float value)Returns or sets the intercharacter spacing increment.

getVersion()

public long getVersion()

Version. Read-only long.

Returns: long

getLineFormat()

public final ILineFormat getLineFormat()

Returns the LineFormat properties for text outlining. No inheritance applied. Read-only ILineFormat.

Returns: ILineFormat

getFillFormat()

public final IFillFormat getFillFormat()

Returns the text FillFormat properties. No inheritance applied. Read-only IFillFormat.

Returns: IFillFormat

getEffectFormat()

public final IEffectFormat getEffectFormat()

Returns the text EffectFormat properties. No inheritance applied. Read-only IEffectFormat.

Returns: IEffectFormat

getHighlightColor()

public final IColorFormat getHighlightColor()

Returns the color used to highlight a text. No inheritance applied. Read-only IColorFormat.

Returns: IColorFormat

getUnderlineLineFormat()

public final ILineFormat getUnderlineLineFormat()

Returns the LineFormat properties used to outline underline line. No inheritance applied. Read-only ILineFormat.

Returns: ILineFormat

getUnderlineFillFormat()

public final IFillFormat getUnderlineFillFormat()

Returns the underline line FillFormat properties. No inheritance applied. Read-only IFillFormat.

Returns: IFillFormat

getFontBold()

public final byte getFontBold()

Determines whether the font is bold. No inheritance applied. Read/write NullableBool.

Returns: byte

setFontBold(byte value)

public final void setFontBold(byte value)

Determines whether the font is bold. No inheritance applied. Read/write NullableBool.

Parameters:

ParameterTypeDescription
valuebyte

getFontItalic()

public final byte getFontItalic()

Determines whether the font is itallic. No inheritance applied. Read/write NullableBool.

Returns: byte

setFontItalic(byte value)

public final void setFontItalic(byte value)

Determines whether the font is itallic. No inheritance applied. Read/write NullableBool.

Parameters:

ParameterTypeDescription
valuebyte

getKumimoji()

public final byte getKumimoji()

Determines whether the numbers should ignore text eastern language-specific vertical text layout. No inheritance applied. Read/write NullableBool.

Returns: byte

setKumimoji(byte value)

public final void setKumimoji(byte value)

Determines whether the numbers should ignore text eastern language-specific vertical text layout. No inheritance applied. Read/write NullableBool.

Parameters:

ParameterTypeDescription
valuebyte

getNormaliseHeight()

public final byte getNormaliseHeight()

Determines whether the height of a text should be normalized. No inheritance applied. Read/write NullableBool.

Returns: byte

setNormaliseHeight(byte value)

public final void setNormaliseHeight(byte value)

Determines whether the height of a text should be normalized. No inheritance applied. Read/write NullableBool.

Parameters:

ParameterTypeDescription
valuebyte

getProofDisabled()

public final byte getProofDisabled()

Determines whether the text shouldn’t be proofed. No inheritance applied. Read/write NullableBool.

Returns: byte

setProofDisabled(byte value)

public final void setProofDisabled(byte value)

Determines whether the text shouldn’t be proofed. No inheritance applied. Read/write NullableBool.

Parameters:

ParameterTypeDescription
valuebyte

getFontUnderline()

public final byte getFontUnderline()

Returns or sets the text underline type. No inheritance applied. Read/write TextUnderlineType.

Returns: byte

setFontUnderline(byte value)

public final void setFontUnderline(byte value)

Returns or sets the text underline type. No inheritance applied. Read/write TextUnderlineType.

Parameters:

ParameterTypeDescription
valuebyte

getTextCapType()

public final byte getTextCapType()

Returns or sets the type of text capitalization. No inheritance applied. Read/write TextCapType.

Returns: byte

setTextCapType(byte value)

public final void setTextCapType(byte value)

Returns or sets the type of text capitalization. No inheritance applied. Read/write TextCapType.

Parameters:

ParameterTypeDescription
valuebyte

getStrikethroughType()

public final byte getStrikethroughType()

Returns or sets the strikethrough type of a text. No inheritance applied. Read/write TextStrikethroughType.

Returns: byte

setStrikethroughType(byte value)

public final void setStrikethroughType(byte value)

Returns or sets the strikethrough type of a text. No inheritance applied. Read/write TextStrikethroughType.

Parameters:

ParameterTypeDescription
valuebyte

isHardUnderlineLine()

public final byte isHardUnderlineLine()

Determines whether the underline style has own LineFormat properties or inherits it from the LineFormat properties of the text. Read/write NullableBool.

Returns: byte

setHardUnderlineLine(byte value)

public final void setHardUnderlineLine(byte value)

Determines whether the underline style has own LineFormat properties or inherits it from the LineFormat properties of the text. Read/write NullableBool.

Parameters:

ParameterTypeDescription
valuebyte

isHardUnderlineFill()

public final byte isHardUnderlineFill()

Determines whether the underline style has own FillFormat properties or inherits it from the FillFormat properties of the text. Read/write NullableBool.

Returns: byte

setHardUnderlineFill(byte value)

public final void setHardUnderlineFill(byte value)

Determines whether the underline style has own FillFormat properties or inherits it from the FillFormat properties of the text. Read/write NullableBool.

Parameters:

ParameterTypeDescription
valuebyte

getFontHeight()

public final float getFontHeight()

Returns or sets the font height of a portion. Float.NaN means height is undefined and should be inherited from the Master. Read/write float .

Returns: float

setFontHeight(float value)

public final void setFontHeight(float value)

Returns or sets the font height of a portion. Float.NaN means height is undefined and should be inherited from the Master. Read/write float .

Parameters:

ParameterTypeDescription
valuefloat

getLatinFont()

public final IFontData getLatinFont()

Returns or sets the Latin font info. Null means font is undefined and should be inherited from the Master. Read/write IFontData.

Returns: IFontData

setLatinFont(IFontData value)

public final void setLatinFont(IFontData value)

Returns or sets the Latin font info. Null means font is undefined and should be inherited from the Master. Read/write IFontData.

Parameters:

ParameterTypeDescription
valueIFontData

getEastAsianFont()

public final IFontData getEastAsianFont()

Returns or sets the East Asian font info. Null means font is undefined and should be inherited from the Master. Read/write IFontData.

Returns: IFontData

setEastAsianFont(IFontData value)

public final void setEastAsianFont(IFontData value)

Returns or sets the East Asian font info. Null means font is undefined and should be inherited from the Master. Read/write IFontData.

Parameters:

ParameterTypeDescription
valueIFontData

getComplexScriptFont()

public final IFontData getComplexScriptFont()

Returns or sets the complex script font info. Null means font is undefined and should be inherited from the Master. Read/write IFontData.

Returns: IFontData

setComplexScriptFont(IFontData value)

public final void setComplexScriptFont(IFontData value)

Returns or sets the complex script font info. Null means font is undefined and should be inherited from the Master. Read/write IFontData.

Parameters:

ParameterTypeDescription
valueIFontData

getSymbolFont()

public final IFontData getSymbolFont()

Returns or sets the symbolic font info. Null means font is undefined and should be inherited from the Master. Read/write IFontData.

Returns: IFontData

setSymbolFont(IFontData value)

public final void setSymbolFont(IFontData value)

Returns or sets the symbolic font info. Null means font is undefined and should be inherited from the Master. Read/write IFontData.

Parameters:

ParameterTypeDescription
valueIFontData

getEscapement()

public final float getEscapement()

Returns or sets the superscript or subscript text. Value from -100% (subscript) to 100% (superscript). Float.NaN means value is undefined and should be inherited from the Master. Read/write float .

Returns: float

setEscapement(float value)

public final void setEscapement(float value)

Returns or sets the superscript or subscript text. Value from -100% (subscript) to 100% (superscript). Float.NaN means value is undefined and should be inherited from the Master. Read/write float .

Parameters:

ParameterTypeDescription
valuefloat

getKerningMinimalSize()

public final float getKerningMinimalSize()

Returns or sets the minimal font size, for which kerning should be switched on. Float.NaN means value is undefined and should be inherited from the Master. Read/write float .

Returns: float

setKerningMinimalSize(float value)

public final void setKerningMinimalSize(float value)

Returns or sets the minimal font size, for which kerning should be switched on. Float.NaN means value is undefined and should be inherited from the Master. Read/write float .

Parameters:

ParameterTypeDescription
valuefloat

getLanguageId()

public final String getLanguageId()

Returns or sets the Id of a proofing language. Used for checking spelling and grammar. Read/write String.

Returns: java.lang.String

setLanguageId(String value)

public final void setLanguageId(String value)

Returns or sets the Id of a proofing language. Used for checking spelling and grammar. Read/write String.

Parameters:

ParameterTypeDescription
valuejava.lang.String

getAlternativeLanguageId()

public final String getAlternativeLanguageId()

Returns or sets the Id of an alternative language. Read/write String.

Returns: java.lang.String

setAlternativeLanguageId(String value)

public final void setAlternativeLanguageId(String value)

Returns or sets the Id of an alternative language. Read/write String.

Parameters:

ParameterTypeDescription
valuejava.lang.String

getSpacing()

public final float getSpacing()

Returns or sets the intercharacter spacing increment. Float.NaN means value is undefined and should be inherited from the Master. Read/write float .

Returns: float

setSpacing(float value)

public final void setSpacing(float value)

Returns or sets the intercharacter spacing increment. Float.NaN means value is undefined and should be inherited from the Master. Read/write float .

Parameters:

ParameterTypeDescription
valuefloat