BasePortionFormat

BasePortionFormat

Overview

BasePortionFormat is a class in Aspose.Slides FOSS for Java. Inherits from: IBasePortionFormat.

Common text portion formatting properties.

Properties

NameTypeAccessDescription
rprElementElementReadReturns the underlying {@code <a:rPr>} XML element.
lineFormatILineFormatReadProvides access to the portion’s line formatting
fillFormatIFillFormatReadProvides access to the portion’s fill formatting
effectFormatIEffectFormatReadProvides access to the portion’s effect formatting
highlightColorIColorFormatReadProvides the highlight color format for the text
underlineLineFormatILineFormatReadProvides the line format of the underline
underlineFillFormatIFillFormatReadProvides the fill format of the underline
fontBoldNullableBoolReadGets or sets the nullable bold flag of the font
fontItalicNullableBoolReadGets or sets the nullable italic flag of the font
kumimojiNullableBoolRead
normaliseHeightNullableBoolReadGets or sets the nullable normalise‑height flag
proofDisabledNullableBoolReadGets or sets the nullable proof‑disabled flag
fontUnderlineTextUnderlineTypeReadGets or sets the underline type applied to the text
textCapTypeTextCapTypeReadGets or sets the capitalization style of the text
strikethroughTypeTextStrikethroughTypeReadGets or sets the strikethrough style of the text
isHardUnderlineLineNullableBoolReadGets or sets the nullable hard‑underline‑line flag
isHardUnderlineFillNullableBoolReadGets or sets the nullable hard‑underline‑fill flag
fontHeightfloatReadGets or sets the font size in points
escapementfloatReadGets or sets the vertical offset of the text (baseline shift)
kerningMinimalSizefloatReadGets or sets the minimum font size for kerning to apply
spacingfloatReadGets or sets the additional spacing between characters
latinFontIFontDataReadGets or sets the font data for Latin script characters
eastAsianFontIFontDataReadGets or sets the font data for East Asian script characters
complexScriptFontIFontDataRead
symbolFontIFontDataReadGets or sets the font data for symbol characters
languageIdStringReadGets or sets the language identifier for the text
alternativeLanguageIdStringReadGets or sets an alternative language identifier
spellCheckbooleanReadGets or sets whether spell checking is enabled for the text

Methods

SignatureDescription
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()ElementReturns the underlying {@code <a:rPr>} XML element.
getLineFormat()ILineFormatReturns the line formatting object for the portion
getFillFormat()IFillFormatReturns the fill formatting object for the portion
getEffectFormat()IEffectFormatReturns the effect formatting object for the portion
getHighlightColor()IColorFormatReturns the highlight color format for the text
getUnderlineLineFormat()ILineFormatReturns the line format of the underline
getUnderlineFillFormat()IFillFormatReturns the fill format of the underline
getFontBold()NullableBoolReturns the nullable bold flag of the font
setFontBold(value: NullableBool)Sets the nullable bold flag of the font
getFontItalic()NullableBoolReturns the nullable italic flag of the font
setFontItalic(value: NullableBool)Sets the nullable italic flag of the font
getKumimoji()NullableBoolReturns the nullable kumimoji flag for the text
setKumimoji(value: NullableBool)Sets the nullable kumimoji flag for the text
getNormaliseHeight()NullableBoolReturns the nullable normalise‑height flag
setNormaliseHeight(value: NullableBool)Sets the nullable normalise‑height flag
getProofDisabled()NullableBoolReturns the nullable proof‑disabled flag
setProofDisabled(value: NullableBool)Sets the nullable proof‑disabled flag
getFontUnderline()TextUnderlineTypeReturns the underline type applied to the text
setFontUnderline(value: TextUnderlineType)Sets the underline type for the text
getTextCapType()TextCapTypeReturns the capitalization style of the text
setTextCapType(value: TextCapType)Sets the capitalization style of the text
getStrikethroughType()TextStrikethroughTypeReturns the strikethrough style of the text
setStrikethroughType(value: TextStrikethroughType)Sets the strikethrough style of the text
getIsHardUnderlineLine()NullableBoolReturns the nullable hard‑underline‑line flag
setIsHardUnderlineLine(value: NullableBool)Sets the nullable hard‑underline‑line flag
getIsHardUnderlineFill()NullableBoolReturns the nullable hard‑underline‑fill flag
setIsHardUnderlineFill(value: NullableBool)Sets the nullable hard‑underline‑fill flag
getFontHeight()floatReturns 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)

See Also