ITextFrame
概述
ITextFrame 是一个面接在Aspose.Slides FOSS for Java 中. 继承人: ISlideComponent, IPresentationComponent.
表示一个 TextFrame.
这个接口提供了10种方法,用于在Java程序中与ITextFrame对象工作. 有的方法包括: asIPresentationComponent, asISlideComponent, getParagraphs, getParentCell, getParentShape, getPresentation, getSlide, getText, getTextFrameFormat, setText. 所有公众成员在安装了Java的FOSS包后,可以访问任何 Java应用程序. 特性: paragraphs, parentCell, parentShape, presentation, slide, text,另外一个.
属性
| 名称: | 类型 | Access | 描述情况 |
|---|---|---|---|
paragraphs | IParagraphCollection | 阅读 | 返回一个框架中的所有段落列表. |
text | String | 阅读 | 获取 TextFrame 的纯文本。. |
textFrameFormat | ITextFrameFormat | 阅读 | 返回这个 TextFrame 对象的格式化对象. |
parentShape | IShape | 阅读 | 如果父对象不实现{@link IShape}接口,则返回母形或 {@code null}. |
parentCell | ICell | 阅读 | 如果父对象不实现{@link ICell}接口,则返回母细胞或 {@code null}. |
slide | IBaseSlide | 阅读 | 返回主幻灯片. |
presentation | IPresentation | 阅读 | 返回包含该组件的表达式. |
方法
| Signature | 描述情况 |
|---|---|
getParagraphs() → IParagraphCollection | 返回一个框架中的所有段落列表. |
getText() → String | 获取 TextFrame 的纯文本。. |
setText(value: String) | 为 TextFrame 设置纯文本。. |
getTextFrameFormat() → ITextFrameFormat | 返回这个 TextFrame 对象的格式化对象. |
getParentShape() → IShape | 如果父对象不实现{@link IShape}接口,则返回母形或 {@code null}. |
getParentCell() → ICell | 如果父对象不实现{@link ICell}接口,则返回母细胞或 {@code null}. |
asISlideComponent() → ISlideComponent | 返回基本的 {@link ISlideComponent}接口. |
getSlide() → IBaseSlide | 返回主幻灯片. |
asIPresentationComponent() → IPresentationComponent | 返回基本的 {@link IPresentationComponent}接口. |
getPresentation() → IPresentation | 返回包含该组件的表达式. |