TextFrameFormat

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 个。

属性

名称类型访问描述
txBodyElementElement读取返回底层 {@code <a:txBody>} XML 元素。
presentationIPresentation读取获取演示文稿。
marginLeftdouble读取{@inheritDoc}
marginRightdouble读取{@inheritDoc}
marginTopdouble读取{@inheritDoc}
marginBottomdouble读取{@inheritDoc}
wrapTextNullableBool读取{@inheritDoc}
anchoringTypeTextAnchorType读取{@inheritDoc}
centerTextNullableBool读取{@inheritDoc}
textVerticalTypeTextVerticalType读取{@inheritDoc}
autofitTypeTextAutofitType读取{@inheritDoc}
columnCountint读取{@inheritDoc}
columnSpacingdouble读取{@inheritDoc}
rotationAngledouble读取{@inheritDoc}
transformTextShapeType读取{@inheritDoc}
keepTextFlatboolean读取{@inheritDoc}
threeDFormatIThreeDFormat读取{@inheritDoc}
slideIBaseSlide读取获取幻灯片。

方法

签名描述
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返回幻灯片。

另请参阅

 中文