BasePortionFormat
概述
BasePortionFormat 是 Aspose.Slides FOSS 中用于 Java 的类。继承自:IBasePortionFormat。
常用文本部分格式属性。
此类提供了 51 个用于在 Java 程序中处理 BasePortionFormat 对象的方法。可用的方法包括:BasePortionFormat、getAlternativeLanguageId、getComplexScriptFont、getEastAsianFont、getEffectFormat、getEscapement、getFillFormat、getFontBold、getFontHeight、getFontItalic、getFontUnderline、getHighlightColor,以及另外 38 个方法。在安装 Aspose.Slides FOSS for Java 包后,所有公共成员对任何 Java 应用程序均可访问。属性:alternativeLanguageId、complexScriptFont、eastAsianFont、effectFormat、escapement、fillFormat,以及另外 22 项。
属性
| 名称 | 类型 | 访问 | 描述 |
|---|---|---|---|
rprElement | Element | 读取 | 返回底层 {@code <a:rPr>} XML 元素。 |
lineFormat | ILineFormat | 读取 | 获取行格式。 |
fillFormat | IFillFormat | 读取 | 获取填充格式。 |
effectFormat | IEffectFormat | 读取 | 获取效果格式。 |
highlightColor | IColorFormat | 读取 | 获取突出显示颜色。 |
underlineLineFormat | ILineFormat | 读取 | 获取下划线线条格式。 |
underlineFillFormat | IFillFormat | 读取 | 获取下划线填充格式。 |
fontBold | NullableBool | 读取 | 获取字体粗体。 |
fontItalic | NullableBool | 读取 | 获取字体斜体。 |
kumimoji | NullableBool | 读取 | 获取 kumimoji。 |
normaliseHeight | NullableBool | 读取 | 获取标准化高度。 |
proofDisabled | NullableBool | 读取 | 获取已禁用的校对。 |
fontUnderline | TextUnderlineType | 读取 | 获取字体下划线。 |
textCapType | TextCapType | 读取 | 获取文本大写类型。 |
strikethroughType | TextStrikethroughType | 读取 | 获取删除线类型。 |
isHardUnderlineLine | NullableBool | 读取 | 获取是否为硬下划线。 |
isHardUnderlineFill | NullableBool | 读取 | 获取硬下划线填充。 |
fontHeight | float | 读取 | 获取字体高度。 |
escapement | float | 读取 | 获取字符的水平偏移量。 |
kerningMinimalSize | float | 读取 | 获取字距的最小尺寸。 |
spacing | float | 读取 | 获取间距。 |
latinFont | IFontData | 读取 | 获取拉丁字体。 |
eastAsianFont | IFontData | 读取 | 获取东亚字体。 |
complexScriptFont | IFontData | 读取 | 获取复合脚本字体。 |
symbolFont | IFontData | 读取 | 获取符号字体。 |
languageId | String | 读取 | 获取语言 ID。 |
alternativeLanguageId | String | 读取 | 获取备用语言标识。 |
spellCheck | boolean | 读取 | 获取拼写检查。 |
方法
| 签名 | 描述 |
|---|---|
BasePortionFormat() | 创建一个新的 BasePortionFormat,并使用一个分离的 {@code <a:rPr>} 元素。 |
BasePortionFormat(rprElement: Element, saveCallback: Runnable) | 创建一个新的 BasePortionFormat,其基于给定的 {@code <a:rPr>} 元素。 |
getRprElement() → Element | 返回底层的 {@code <a:rPr>} XML 元素。 |
getLineFormat() → ILineFormat | 返回行格式。 |
getFillFormat() → IFillFormat | 返回填充格式。 |
getEffectFormat() → IEffectFormat | 返回效果格式。 |
getHighlightColor() → IColorFormat | 返回高亮颜色。 |
getUnderlineLineFormat() → ILineFormat | 返回下划线格式。 |
getUnderlineFillFormat() → IFillFormat | 返回下划线填充格式。 |
getFontBold() → NullableBool | 返回字体加粗。 |
setFontBold(value: NullableBool) | 设置字体粗体值。 |
getFontItalic() → NullableBool | 返回字体斜体。 |
setFontItalic(value: NullableBool) | 设置字体斜体值。 |
getKumimoji() → NullableBool | 返回 kumimoji。 |
setKumimoji(value: NullableBool) | 设置 kumimoji 值。 |
getNormaliseHeight() → NullableBool | 返回标准化高度。 |
setNormaliseHeight(value: NullableBool) | 设置归一化高度值。 |
getProofDisabled() → NullableBool | 返回已禁用的证明。 |
setProofDisabled(value: NullableBool) | 设置 proof disabled 值。 |
getFontUnderline() → TextUnderlineType | 返回字体下划线。 |
setFontUnderline(value: TextUnderlineType) | 设置字体下划线的值。 |
getTextCapType() → TextCapType | 返回文本大写类型。 |
setTextCapType(value: TextCapType) | 设置文本大写类型值。 |
getStrikethroughType() → TextStrikethroughType | 返回删除线类型。 |
setStrikethroughType(value: TextStrikethroughType) | 设置删除线类型值。 |
getIsHardUnderlineLine() → NullableBool | 返回硬下划线线。 |
setIsHardUnderlineLine(value: NullableBool) | 设置硬下划线的值。 |
getIsHardUnderlineFill() → NullableBool | 返回硬下划线填充。 |
setIsHardUnderlineFill(value: NullableBool) | 设置硬下划线填充值。 |
getFontHeight() → float | 返回字体高度。 |
setFontHeight(value: float) | 设置字体高度值。 |
getEscapement() → float | 返回字距。 |
setEscapement(value: float) | 设置升降值。 |
getKerningMinimalSize() → float | 返回字距的最小尺寸。 |
setKerningMinimalSize(value: float) | 设置字距的最小尺寸值。 |
getSpacing() → float | 返回间距。 |
setSpacing(value: float) | 设置间距值。 |
getLatinFont() → IFontData | 返回拉丁字体。 |
setLatinFont(value: IFontData) | 设置 latin 字体值。 |
getEastAsianFont() → IFontData | 返回东亚字体。 |
setEastAsianFont(value: IFontData) | 设置东亚字体值。 |
getComplexScriptFont() → IFontData | 返回复杂脚本字体。 |
setComplexScriptFont(value: IFontData) | 设置复合脚本字体值。 |
getSymbolFont() → IFontData | 返回符号字体。 |
setSymbolFont(value: IFontData) | 设置符号字体值。 |
getLanguageId() → String | 返回语言 id。 |
setLanguageId(value: String) | 设置语言 ID 值。 |
getAlternativeLanguageId() → String | 返回备用语言 ID。 |
setAlternativeLanguageId(value: String) | 设置备用语言 ID 值。 |
getSpellCheck() → boolean | 返回拼写检查。 |
setSpellCheck(value: boolean) | 设置拼写检查值。 |