PortionFormat

Overview

PortionFormat is a class in Aspose.Slides FOSS for Java. Inherits from: BasePortionFormat, IPortionFormat.

Represents text portion formatting properties.

This class provides 52 methods for working with PortionFormat objects in Java programs. Available methods include: BasePortionFormat, PortionFormat, getAlternativeLanguageId, getComplexScriptFont, getEastAsianFont, getEffectFormat, getEscapement, getFillFormat, getFontBold, getFontHeight, getFontItalic, getFontUnderline, and 39 additional methods. All 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 22 more.

Properties

NameTypeAccessDescription
rprElementElementReadReturns the underlying {@code <a:rPr>} XML element.
lineFormatILineFormatReadGets the line format.
fillFormatIFillFormatReadGets the fill format.
effectFormatIEffectFormatReadGets the effect format.
highlightColorIColorFormatReadGets the highlight color.
underlineLineFormatILineFormatReadGets the underline line format.
underlineFillFormatIFillFormatReadGets the underline fill format.
fontBoldNullableBoolReadGets the font bold.
fontItalicNullableBoolReadGets the font italic.
kumimojiNullableBoolReadGets the kumimoji.
normaliseHeightNullableBoolReadGets the normalise height.
proofDisabledNullableBoolReadGets the proof disabled.
fontUnderlineTextUnderlineTypeReadGets the font underline.
textCapTypeTextCapTypeReadGets the text cap type.
strikethroughTypeTextStrikethroughTypeReadGets the strikethrough type.
isHardUnderlineLineNullableBoolReadGets the is hard underline line.
isHardUnderlineFillNullableBoolReadGets the is hard underline fill.
fontHeightfloatReadGets the font height.
escapementfloatReadGets the escapement.
kerningMinimalSizefloatReadGets the kerning minimal size.
spacingfloatReadGets the spacing.
latinFontIFontDataReadGets the latin font.
eastAsianFontIFontDataReadGets the east asian font.
complexScriptFontIFontDataReadGets the complex script font.
symbolFontIFontDataReadGets the symbol font.
languageIdStringReadGets the language id.
alternativeLanguageIdStringReadGets the alternative language id.
spellCheckbooleanReadGets the spell check.

Methods

SignatureDescription
PortionFormat()Creates a new PortionFormat with a detached element.
PortionFormat(rprElement: Element, saveCallback: Runnable)Creates a PortionFormat backed by an existing element.
BasePortionFormat()Creates a new BasePortionFormat with a detached {@code <a:rPr>} element.
getRprElement()ElementReturns the underlying {@code <a:rPr>} XML element.
getLineFormat()ILineFormatReturns the line format.
getFillFormat()IFillFormatReturns the fill format.
getEffectFormat()IEffectFormatReturns the effect format.
getHighlightColor()IColorFormatReturns the highlight color.
getUnderlineLineFormat()ILineFormatReturns the underline line format.
getUnderlineFillFormat()IFillFormatReturns the underline fill format.
getFontBold()NullableBoolReturns the font bold.
setFontBold(value: NullableBool)Sets the font bold value.
getFontItalic()NullableBoolReturns the font italic.
setFontItalic(value: NullableBool)Sets the font italic value.
getKumimoji()NullableBoolReturns the kumimoji.
setKumimoji(value: NullableBool)Sets the kumimoji value.
getNormaliseHeight()NullableBoolReturns the normalise height.
setNormaliseHeight(value: NullableBool)Sets the normalise height value.
getProofDisabled()NullableBoolReturns the proof disabled.
setProofDisabled(value: NullableBool)Sets the proof disabled value.
getFontUnderline()TextUnderlineTypeReturns the font underline.
setFontUnderline(value: TextUnderlineType)Sets the font underline value.
getTextCapType()TextCapTypeReturns the text cap type.
setTextCapType(value: TextCapType)Sets the text cap type value.
getStrikethroughType()TextStrikethroughTypeReturns the strikethrough type.
setStrikethroughType(value: TextStrikethroughType)Sets the strikethrough type value.
getIsHardUnderlineLine()NullableBoolReturns the is hard underline line.
setIsHardUnderlineLine(value: NullableBool)Sets the is hard underline line value.
getIsHardUnderlineFill()NullableBoolReturns the is hard underline fill.
setIsHardUnderlineFill(value: NullableBool)Sets the is hard underline fill value.
getFontHeight()floatReturns the font height.
setFontHeight(value: float)Sets the font height value.
getEscapement()floatReturns the escapement.
setEscapement(value: float)Sets the escapement value.
getKerningMinimalSize()floatReturns the kerning minimal size.
setKerningMinimalSize(value: float)Sets the kerning minimal size value.
getSpacing()floatReturns the spacing.
setSpacing(value: float)Sets the spacing value.
getLatinFont()IFontDataReturns the latin font.
setLatinFont(value: IFontData)Sets the latin font value.
getEastAsianFont()IFontDataReturns the east asian font.
setEastAsianFont(value: IFontData)Sets the east asian font value.
getComplexScriptFont()IFontDataReturns the complex script font.
setComplexScriptFont(value: IFontData)Sets the complex script font value.
getSymbolFont()IFontDataReturns the symbol font.
setSymbolFont(value: IFontData)Sets the symbol font value.
getLanguageId()StringReturns the language id.
setLanguageId(value: String)Sets the language id value.
getAlternativeLanguageId()StringReturns the alternative language id.
setAlternativeLanguageId(value: String)Sets the alternative language id value.
getSpellCheck()booleanReturns the spell check.
setSpellCheck(value: boolean)Sets the spell check value.

See Also