IBasePortionFormat

Overview

IBasePortionFormat is an interface in Aspose.Slides FOSS for Java.

Represents common text portion formatting properties.

This interface declares 48 methods for IBasePortionFormat objects in Java programs. Available methods include: getAlternativeLanguageId, getComplexScriptFont, getEastAsianFont, getEffectFormat, getEscapement, getFillFormat, getFontBold, getFontHeight, getFontItalic, getFontUnderline, getHighlightColor, getIsHardUnderlineFill, and 36 additional methods. Public members are accessible to any Java application after installing the Aspose.Slides FOSS for Java package. Properties: alternativeLanguageId, complexScriptFont, eastAsianFont, effectFormat, escapement, fillFormat, and 21 more.

Properties

NameTypeAccessDescription
lineFormatILineFormatReadReturns the LineFormat properties for text outlining.
fillFormatIFillFormatReadReturns the text FillFormat properties.
effectFormatIEffectFormatReadReturns the text EffectFormat properties.
highlightColorIColorFormatReadReturns the color used to highlight a text.
underlineLineFormatILineFormatReadReturns the LineFormat properties used to outline underline line.
underlineFillFormatIFillFormatReadReturns the underline line FillFormat properties.
fontBoldNullableBoolRead/WriteDetermines whether the font is bold.
fontItalicNullableBoolRead/WriteDetermines whether the font is italic.
kumimojiNullableBoolRead/WriteDetermines whether the numbers should ignore text eastern language-specific vertical text layout.
normaliseHeightNullableBoolRead/WriteDetermines whether the height of a text should be normalized.
proofDisabledNullableBoolRead/WriteDetermines whether the text shouldn’t be proofed.
fontUnderlineTextUnderlineTypeRead/WriteReturns the text underline type.
textCapTypeTextCapTypeRead/WriteReturns the type of text capitalization.
strikethroughTypeTextStrikethroughTypeRead/WriteReturns the strikethrough type of a text.
isHardUnderlineLineNullableBoolRead/WriteDetermines whether the underline style has own LineFormat properties or inherits from text.
isHardUnderlineFillNullableBoolRead/WriteDetermines whether the underline style has own FillFormat properties or inherits from text.
fontHeightfloatRead/WriteReturns the font height of a portion.
escapementfloatRead/WriteReturns the superscript or subscript text value from -100% (subscript) to 100% (superscript).
kerningMinimalSizefloatRead/WriteReturns the minimal font size for which kerning should be switched on.
spacingfloatRead/WriteReturns the intercharacter spacing increment.
latinFontIFontDataRead/WriteReturns the Latin font info.
eastAsianFontIFontDataRead/WriteReturns the East Asian font info.
complexScriptFontIFontDataRead/WriteReturns the complex script font info.
symbolFontIFontDataRead/WriteReturns the symbolic font info.
languageIdStringRead/WriteReturns the Id of a proofing language.
alternativeLanguageIdStringRead/WriteReturns the Id of an alternative language.
spellCheckbooleanRead/WriteGets a value indicating whether spell checking is enabled for the text portion.

Methods

SignatureDescription
getLineFormat() → ILineFormatReturns the LineFormat properties for text outlining.
getFillFormat() → IFillFormatReturns the text FillFormat properties.
getEffectFormat() → IEffectFormatReturns the text EffectFormat properties.
getHighlightColor() → IColorFormatReturns the color used to highlight a text.
getUnderlineLineFormat() → ILineFormatReturns the LineFormat properties used to outline underline line.
getUnderlineFillFormat() → IFillFormatReturns the underline line FillFormat properties.
getFontBold() → NullableBoolDetermines whether the font is bold.
setFontBold(value: NullableBool)Sets whether the font is bold.
getFontItalic() → NullableBoolDetermines whether the font is italic.
setFontItalic(value: NullableBool)Sets whether the font is italic.
getKumimoji() → NullableBoolDetermines whether the numbers should ignore text eastern language-specific vertical text layout.
setKumimoji(value: NullableBool)Sets whether the numbers should ignore text eastern language-specific vertical text layout.
getNormaliseHeight() → NullableBoolDetermines whether the height of a text should be normalized.
setNormaliseHeight(value: NullableBool)Sets whether the height of a text should be normalized.
getProofDisabled() → NullableBoolDetermines whether the text shouldn’t be proofed.
setProofDisabled(value: NullableBool)Sets whether the text shouldn’t be proofed.
getFontUnderline() → TextUnderlineTypeReturns the text underline type.
setFontUnderline(value: TextUnderlineType)Sets the text underline type.
getTextCapType() → TextCapTypeReturns the type of text capitalization.
setTextCapType(value: TextCapType)Sets the type of text capitalization.
getStrikethroughType() → TextStrikethroughTypeReturns the strikethrough type of a text.
setStrikethroughType(value: TextStrikethroughType)Sets the strikethrough type of a text.
getIsHardUnderlineLine() → NullableBoolDetermines whether the underline style has own LineFormat properties or inherits from text.
setIsHardUnderlineLine(value: NullableBool)Sets whether the underline style has own LineFormat properties or inherits from text.
getIsHardUnderlineFill() → NullableBoolDetermines whether the underline style has own FillFormat properties or inherits from text.
setIsHardUnderlineFill(value: NullableBool)Sets whether the underline style has own FillFormat properties or inherits from text.
getFontHeight() → floatReturns the font height of a portion.
setFontHeight(value: float)Sets the font height of a portion.
getEscapement() → floatReturns the superscript or subscript text value from -100% (subscript) to 100% (superscript).
setEscapement(value: float)Sets the superscript or subscript text value.
getKerningMinimalSize() → floatReturns the minimal font size for which kerning should be switched on.
setKerningMinimalSize(value: float)Sets the minimal font size for which kerning should be switched on.
getSpacing() → floatReturns the intercharacter spacing increment.
setSpacing(value: float)Sets the intercharacter spacing increment.
getLatinFont() → IFontDataReturns the Latin font info.
setLatinFont(value: IFontData)Sets the Latin font info.
getEastAsianFont() → IFontDataReturns the East Asian font info.
setEastAsianFont(value: IFontData)Sets the East Asian font info.
getComplexScriptFont() → IFontDataReturns the complex script font info.
setComplexScriptFont(value: IFontData)Sets the complex script font info.
getSymbolFont() → IFontDataReturns the symbolic font info.
setSymbolFont(value: IFontData)Sets the symbolic font info.
getLanguageId() → StringReturns the Id of a proofing language.
setLanguageId(value: String)Sets the Id of a proofing language.
getAlternativeLanguageId() → StringReturns the Id of an alternative language.
setAlternativeLanguageId(value: String)Sets the Id of an alternative language.
getSpellCheck() → booleanGets a value indicating whether spell checking is enabled for the text portion.
setSpellCheck(value: boolean)Sets a value indicating whether spell checking is enabled for the text portion.

See Also

 English