PortionFormat

Overview

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

Represents text portion formatting properties.

This class declares 53 methods for PortionFormat objects in Java programs. Available methods include: BasePortionFormat, PortionFormat, getAlternativeLanguageId, getComplexScriptFont, getEastAsianFont, getEffectFormat, getEscapement, getFillFormat, getFontBold, getFontHeight, getFontItalic, getFontUnderline, and 39 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 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.
fontBoldNullableBoolRead/WriteGets or sets the font bold.
fontItalicNullableBoolRead/WriteGets or sets the font italic.
kumimojiNullableBoolRead/WriteGets or sets the kumimoji.
normaliseHeightNullableBoolRead/WriteGets or sets the normalise height.
proofDisabledNullableBoolRead/WriteGets or sets the proof disabled.
fontUnderlineTextUnderlineTypeRead/WriteGets or sets the font underline.
textCapTypeTextCapTypeRead/WriteGets or sets the text cap type.
strikethroughTypeTextStrikethroughTypeRead/WriteGets or sets the strikethrough type.
isHardUnderlineLineNullableBoolRead/WriteGets or sets the is hard underline line.
isHardUnderlineFillNullableBoolRead/WriteGets or sets the is hard underline fill.
fontHeightfloatRead/WriteGets or sets the font height.
escapementfloatRead/WriteGets or sets the escapement.
kerningMinimalSizefloatRead/WriteGets or sets the kerning minimal size.
spacingfloatRead/WriteGets or sets the spacing.
latinFontIFontDataRead/WriteGets or sets the latin font.
eastAsianFontIFontDataRead/WriteGets or sets the east asian font.
complexScriptFontIFontDataRead/WriteGets or sets the complex script font.
symbolFontIFontDataRead/WriteGets or sets the symbol font.
languageIdStringRead/WriteGets or sets the language id.
alternativeLanguageIdStringRead/WriteGets or sets the alternative language id.
spellCheckbooleanRead/WriteGets or sets 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.
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 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

 English