BasePortionFormat
Overview
BasePortionFormat is a class in Aspose.Slides FOSS for Java.
Inherits from: IBasePortionFormat.
Common text portion formatting properties.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
rprElement | Element | Read | Returns the underlying {@code <a:rPr>} XML element. |
lineFormat | ILineFormat | Read | Provides access to the portion’s line formatting |
fillFormat | IFillFormat | Read | Provides access to the portion’s fill formatting |
effectFormat | IEffectFormat | Read | Provides access to the portion’s effect formatting |
highlightColor | IColorFormat | Read | Provides the highlight color format for the text |
underlineLineFormat | ILineFormat | Read | Provides the line format of the underline |
underlineFillFormat | IFillFormat | Read | Provides the fill format of the underline |
fontBold | NullableBool | Read | Gets or sets the nullable bold flag of the font |
fontItalic | NullableBool | Read | Gets or sets the nullable italic flag of the font |
kumimoji | NullableBool | Read | |
normaliseHeight | NullableBool | Read | Gets or sets the nullable normalise‑height flag |
proofDisabled | NullableBool | Read | Gets or sets the nullable proof‑disabled flag |
fontUnderline | TextUnderlineType | Read | Gets or sets the underline type applied to the text |
textCapType | TextCapType | Read | Gets or sets the capitalization style of the text |
strikethroughType | TextStrikethroughType | Read | Gets or sets the strikethrough style of the text |
isHardUnderlineLine | NullableBool | Read | Gets or sets the nullable hard‑underline‑line flag |
isHardUnderlineFill | NullableBool | Read | Gets or sets the nullable hard‑underline‑fill flag |
fontHeight | float | Read | Gets or sets the font size in points |
escapement | float | Read | Gets or sets the vertical offset of the text (baseline shift) |
kerningMinimalSize | float | Read | Gets or sets the minimum font size for kerning to apply |
spacing | float | Read | Gets or sets the additional spacing between characters |
latinFont | IFontData | Read | Gets or sets the font data for Latin script characters |
eastAsianFont | IFontData | Read | Gets or sets the font data for East Asian script characters |
complexScriptFont | IFontData | Read | |
symbolFont | IFontData | Read | Gets or sets the font data for symbol characters |
languageId | String | Read | Gets or sets the language identifier for the text |
alternativeLanguageId | String | Read | Gets or sets an alternative language identifier |
spellCheck | boolean | Read | Gets or sets whether spell checking is enabled for the text |
Methods
| Signature | Description |
|---|---|
BasePortionFormat() | Creates a new BasePortionFormat with a detached {@code <a:rPr>} element. |
BasePortionFormat(rprElement: Element, saveCallback: Runnable) | Creates a new BasePortionFormat backed by the given {@code <a:rPr>} element. |
getRprElement() → Element | Returns the underlying {@code <a:rPr>} XML element. |
getLineFormat() → ILineFormat | Returns the line formatting object for the portion |
getFillFormat() → IFillFormat | Returns the fill formatting object for the portion |
getEffectFormat() → IEffectFormat | Returns the effect formatting object for the portion |
getHighlightColor() → IColorFormat | Returns the highlight color format for the text |
getUnderlineLineFormat() → ILineFormat | Returns the line format of the underline |
getUnderlineFillFormat() → IFillFormat | Returns the fill format of the underline |
getFontBold() → NullableBool | Returns the nullable bold flag of the font |
setFontBold(value: NullableBool) | Sets the nullable bold flag of the font |
getFontItalic() → NullableBool | Returns the nullable italic flag of the font |
setFontItalic(value: NullableBool) | Sets the nullable italic flag of the font |
getKumimoji() → NullableBool | Returns the nullable kumimoji flag for the text |
setKumimoji(value: NullableBool) | Sets the nullable kumimoji flag for the text |
getNormaliseHeight() → NullableBool | Returns the nullable normalise‑height flag |
setNormaliseHeight(value: NullableBool) | Sets the nullable normalise‑height flag |
getProofDisabled() → NullableBool | Returns the nullable proof‑disabled flag |
setProofDisabled(value: NullableBool) | Sets the nullable proof‑disabled flag |
getFontUnderline() → TextUnderlineType | Returns the underline type applied to the text |
setFontUnderline(value: TextUnderlineType) | Sets the underline type for the text |
getTextCapType() → TextCapType | Returns the capitalization style of the text |
setTextCapType(value: TextCapType) | Sets the capitalization style of the text |
getStrikethroughType() → TextStrikethroughType | Returns the strikethrough style of the text |
setStrikethroughType(value: TextStrikethroughType) | Sets the strikethrough style of the text |
getIsHardUnderlineLine() → NullableBool | Returns the nullable hard‑underline‑line flag |
setIsHardUnderlineLine(value: NullableBool) | Sets the nullable hard‑underline‑line flag |
getIsHardUnderlineFill() → NullableBool | Returns the nullable hard‑underline‑fill flag |
setIsHardUnderlineFill(value: NullableBool) | Sets the nullable hard‑underline‑fill flag |
getFontHeight() → float | Returns the font size in points |
setFontHeight(value: float) | |
getEscapement() → float | |
setEscapement(value: float) | |
getKerningMinimalSize() → float | |
setKerningMinimalSize(value: float) | |
getSpacing() → float | |
setSpacing(value: float) | |
getLatinFont() → IFontData | |
setLatinFont(value: IFontData) | |
getEastAsianFont() → IFontData | |
setEastAsianFont(value: IFontData) | |
getComplexScriptFont() → IFontData | |
setComplexScriptFont(value: IFontData) | |
getSymbolFont() → IFontData | |
setSymbolFont(value: IFontData) | |
getLanguageId() → String | |
setLanguageId(value: String) | |
getAlternativeLanguageId() → String | |
setAlternativeLanguageId(value: String) | |
getSpellCheck() → boolean | |
setSpellCheck(value: boolean) |