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
| Name | Type | Access | Description |
|---|---|---|---|
lineFormat | ILineFormat | Read | Returns the LineFormat properties for text outlining. |
fillFormat | IFillFormat | Read | Returns the text FillFormat properties. |
effectFormat | IEffectFormat | Read | Returns the text EffectFormat properties. |
highlightColor | IColorFormat | Read | Returns the color used to highlight a text. |
underlineLineFormat | ILineFormat | Read | Returns the LineFormat properties used to outline underline line. |
underlineFillFormat | IFillFormat | Read | Returns the underline line FillFormat properties. |
fontBold | NullableBool | Read/Write | Determines whether the font is bold. |
fontItalic | NullableBool | Read/Write | Determines whether the font is italic. |
kumimoji | NullableBool | Read/Write | Determines whether the numbers should ignore text eastern language-specific vertical text layout. |
normaliseHeight | NullableBool | Read/Write | Determines whether the height of a text should be normalized. |
proofDisabled | NullableBool | Read/Write | Determines whether the text shouldn’t be proofed. |
fontUnderline | TextUnderlineType | Read/Write | Returns the text underline type. |
textCapType | TextCapType | Read/Write | Returns the type of text capitalization. |
strikethroughType | TextStrikethroughType | Read/Write | Returns the strikethrough type of a text. |
isHardUnderlineLine | NullableBool | Read/Write | Determines whether the underline style has own LineFormat properties or inherits from text. |
isHardUnderlineFill | NullableBool | Read/Write | Determines whether the underline style has own FillFormat properties or inherits from text. |
fontHeight | float | Read/Write | Returns the font height of a portion. |
escapement | float | Read/Write | Returns the superscript or subscript text value from -100% (subscript) to 100% (superscript). |
kerningMinimalSize | float | Read/Write | Returns the minimal font size for which kerning should be switched on. |
spacing | float | Read/Write | Returns the intercharacter spacing increment. |
latinFont | IFontData | Read/Write | Returns the Latin font info. |
eastAsianFont | IFontData | Read/Write | Returns the East Asian font info. |
complexScriptFont | IFontData | Read/Write | Returns the complex script font info. |
symbolFont | IFontData | Read/Write | Returns the symbolic font info. |
languageId | String | Read/Write | Returns the Id of a proofing language. |
alternativeLanguageId | String | Read/Write | Returns the Id of an alternative language. |
spellCheck | boolean | Read/Write | Gets a value indicating whether spell checking is enabled for the text portion. |
Methods
| Signature | Description |
|---|---|
getLineFormat() → ILineFormat | Returns the LineFormat properties for text outlining. |
getFillFormat() → IFillFormat | Returns the text FillFormat properties. |
getEffectFormat() → IEffectFormat | Returns the text EffectFormat properties. |
getHighlightColor() → IColorFormat | Returns the color used to highlight a text. |
getUnderlineLineFormat() → ILineFormat | Returns the LineFormat properties used to outline underline line. |
getUnderlineFillFormat() → IFillFormat | Returns the underline line FillFormat properties. |
getFontBold() → NullableBool | Determines whether the font is bold. |
setFontBold(value: NullableBool) | Sets whether the font is bold. |
getFontItalic() → NullableBool | Determines whether the font is italic. |
setFontItalic(value: NullableBool) | Sets whether the font is italic. |
getKumimoji() → NullableBool | Determines 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() → NullableBool | Determines whether the height of a text should be normalized. |
setNormaliseHeight(value: NullableBool) | Sets whether the height of a text should be normalized. |
getProofDisabled() → NullableBool | Determines whether the text shouldn’t be proofed. |
setProofDisabled(value: NullableBool) | Sets whether the text shouldn’t be proofed. |
getFontUnderline() → TextUnderlineType | Returns the text underline type. |
setFontUnderline(value: TextUnderlineType) | Sets the text underline type. |
getTextCapType() → TextCapType | Returns the type of text capitalization. |
setTextCapType(value: TextCapType) | Sets the type of text capitalization. |
getStrikethroughType() → TextStrikethroughType | Returns the strikethrough type of a text. |
setStrikethroughType(value: TextStrikethroughType) | Sets the strikethrough type of a text. |
getIsHardUnderlineLine() → NullableBool | Determines 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() → NullableBool | Determines 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() → float | Returns the font height of a portion. |
setFontHeight(value: float) | Sets the font height of a portion. |
getEscapement() → float | Returns the superscript or subscript text value from -100% (subscript) to 100% (superscript). |
setEscapement(value: float) | Sets the superscript or subscript text value. |
getKerningMinimalSize() → float | Returns 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() → float | Returns the intercharacter spacing increment. |
setSpacing(value: float) | Sets the intercharacter spacing increment. |
getLatinFont() → IFontData | Returns the Latin font info. |
setLatinFont(value: IFontData) | Sets the Latin font info. |
getEastAsianFont() → IFontData | Returns the East Asian font info. |
setEastAsianFont(value: IFontData) | Sets the East Asian font info. |
getComplexScriptFont() → IFontData | Returns the complex script font info. |
setComplexScriptFont(value: IFontData) | Sets the complex script font info. |
getSymbolFont() → IFontData | Returns the symbolic font info. |
setSymbolFont(value: IFontData) | Sets the symbolic font info. |
getLanguageId() → String | Returns the Id of a proofing language. |
setLanguageId(value: String) | Sets the Id of a proofing language. |
getAlternativeLanguageId() → String | Returns the Id of an alternative language. |
setAlternativeLanguageId(value: String) | Sets the Id of an alternative language. |
getSpellCheck() → boolean | Gets 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. |