TextFrameFormat
概述
TextFrameFormat 是 Aspose.Slides FOSS 中用于 Java 的类。继承自:PVIObject,ITextFrameFormat。
包含 TextFrame 的格式属性。
此类提供 37 个方法,用于在 Java 程序中处理 TextFrameFormat 对象。可用的方法包括:PVIObject、TextFrameFormat、asIPresentationComponent、getAnchoringType、getAutofitType、getCenterText、getColumnCount、getColumnSpacing、getMarginBottom、getMarginLeft、getMarginRight、getMarginTop,以及另外 24 个方法。所有公共成员在安装 Aspose.Slides FOSS for Java 包后,对任何 Java 应用程序均可访问。属性包括:anchoringType、autofitType、centerText、columnCount、columnSpacing、keepTextFlat,以及另外 12 个。
属性
| 名称 | 类型 | 访问 | 描述 |
|---|---|---|---|
txBodyElement | Element | 读取 | 返回底层 {@code <a:txBody>} XML 元素。 |
presentation | IPresentation | 读取 | 获取演示文稿。 |
marginLeft | double | 读取 | {@inheritDoc} |
marginRight | double | 读取 | {@inheritDoc} |
marginTop | double | 读取 | {@inheritDoc} |
marginBottom | double | 读取 | {@inheritDoc} |
wrapText | NullableBool | 读取 | {@inheritDoc} |
anchoringType | TextAnchorType | 读取 | {@inheritDoc} |
centerText | NullableBool | 读取 | {@inheritDoc} |
textVerticalType | TextVerticalType | 读取 | {@inheritDoc} |
autofitType | TextAutofitType | 读取 | {@inheritDoc} |
columnCount | int | 读取 | {@inheritDoc} |
columnSpacing | double | 读取 | {@inheritDoc} |
rotationAngle | double | 读取 | {@inheritDoc} |
transform | TextShapeType | 读取 | {@inheritDoc} |
keepTextFlat | boolean | 读取 | {@inheritDoc} |
threeDFormat | IThreeDFormat | 读取 | {@inheritDoc} |
slide | IBaseSlide | 读取 | 获取幻灯片。 |
方法
| 签名 | 描述 |
|---|---|
TextFrameFormat(txBodyElement: Element, saveCallback: Runnable) | 创建一个由给定文本主体元素支持的 TextFrameFormat。 |
getTxBodyElement() → Element | 返回底层的 {@code <a:txBody>} XML 元素。 |
TextFrameFormat() | 创建一个新的独立的 TextFrameFormat,其中包含一个独立的 {@code <a:txBody>},该 {@code <a:txBody>} 包含一个空的 {@code <a:bodyPr>}。 |
initInternal(txBodyElement: Element, saveCallback: Runnable, parentSlide: IBaseSlide) → TextFrameFormat | 使用来自幻灯片部分的真实 XML 元素初始化此格式。 |
getPresentation() → IPresentation | 返回演示文稿。 |
asIPresentationComponent() → IPresentationComponent | 将此对象作为 {@link IPresentationComponent} 返回。 |
getMarginLeft() → double | {@inheritDoc} |
setMarginLeft(value: double) | {@inheritDoc} |
getMarginRight() → double | {@inheritDoc} |
setMarginRight(value: double) | {@inheritDoc} |
getMarginTop() → double | {@inheritDoc} |
setMarginTop(value: double) | {@inheritDoc} |
getMarginBottom() → double | {@inheritDoc} |
setMarginBottom(value: double) | {@inheritDoc} |
getWrapText() → NullableBool | {@inheritDoc} |
setWrapText(value: NullableBool) | {@inheritDoc} |
getAnchoringType() → TextAnchorType | {@inheritDoc} |
setAnchoringType(value: TextAnchorType) | {@inheritDoc} |
getCenterText() → NullableBool | {@inheritDoc} |
setCenterText(value: NullableBool) | {@inheritDoc} |
getTextVerticalType() → TextVerticalType | {@inheritDoc} |
setTextVerticalType(value: TextVerticalType) | {@inheritDoc} |
getAutofitType() → TextAutofitType | {@inheritDoc} |
setAutofitType(value: TextAutofitType) | {@inheritDoc} |
getColumnCount() → int | {@inheritDoc} |
setColumnCount(value: int) | {@inheritDoc} |
getColumnSpacing() → double | {@inheritDoc} |
setColumnSpacing(value: double) | {@inheritDoc} |
getRotationAngle() → double | {@inheritDoc} |
setRotationAngle(value: double) | {@inheritDoc} |
getTransform() → TextShapeType | {@inheritDoc} |
setTransform(value: TextShapeType) | {@inheritDoc} |
isKeepTextFlat() → boolean | {@inheritDoc} |
setKeepTextFlat(value: boolean) | {@inheritDoc} |
getThreeDFormat() → IThreeDFormat | {@inheritDoc} |
PVIObject() | 创建一个没有父幻灯片的 PVIObject。 |
getSlide() → IBaseSlide | 返回幻灯片。 |