Paragraph
Overview
Paragraph 是一个类在Java的FOSS中. 继承人: IParagraph, ISlideComponent, IPresentationComponent.
代表一个文本段落.
本类提供了12种方法,用于在Java程序中使用Paragraph对象. 有的方法包括: Paragraph, asIPresentationComponent, asISlideComponent, getParagraphFormat, getPortions, getPresentation, getSlide, getText, initInternal, setSlide, setText. 所有公众成员在安装了Java的FOSS包后,可以访问任何 Java应用程序. 特性: paragraphFormat, portions, presentation, slide, text.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
portions | IPortionCollection | Read | 得到了份额. |
paragraphFormat | IParagraphFormat | Read | 得到了段落格式. |
text | String | Read | 得到了短信. |
slide | IBaseSlide | Read | 得到了滑梯. |
presentation | IPresentation | Read | 得到了演示. |
Methods
| Signature | Description |
|---|---|
Paragraph() | 创建一个新的空段,并分开 {@code <a:p>} 元素. |
Paragraph(pElement: Element, saveCallback: Runnable) | 创建一个由现有 XML 元素支持的段落. |
initInternal(pElement: Element, txbodyElement: Element, slidePart: Object, parentSlide: IBaseSlide) → Paragraph | 首先从现有 OOXML 元素中开始本段. |
getPortions() → IPortionCollection | 返回了份额. |
getParagraphFormat() → IParagraphFormat | 返回段式格式. |
getText() → String | 返回文本. |
setText(value: String) | 设置文本值. |
asISlideComponent() → ISlideComponent | 将段落转移到 ISlideComponent 接口上 |
asIPresentationComponent() → IPresentationComponent | 将段落转移到 IPresentationComponent 接口上 |
getSlide() → IBaseSlide | 返回滑动. |
setSlide(slide: IBaseSlide) | 设置本段落的父幻灯片. |
getPresentation() → IPresentation | 返回表现. |