Portion
Přehled
Portion je třída v Aspose.Slides FOSS pro Java. Dědici: IPortion.
Zobrazuje část textu (run) v odstavci.
Vlastnosti
| Název: | Typ: | Přístup | Popis: |
|---|---|---|---|
text | String | Čtěte. | Získejte nebo nastavit text části. |
portionFormat | IPortionFormat | Čtěte. | Poskytuje přístup k nastavení formátování části. |
slide | IBaseSlide | Čtěte. | Získejte nebo nastavit základní diapozitiv části |
presentation | IPresentation | Čtěte. | Dostane prezentaci, která vlastní část. |
Metody
| Podpis: | Popis: |
|---|---|
Portion() | Vytvoří novou prázdnou část s odděleným prvkem {@code <a:r>} . |
Portion(text: String) | Vytvoří novou část s uvedeným textem. |
Portion(runElement: Element, saveCallback: Runnable) | Vytvoří část podporovanou existujícím prvkem XML. |
getText() → String | Zpětný obsah části: |
setText(value: String) | Nastavení obsahu textu části . |
getPortionFormat() → IPortionFormat | Vrátí IPortionFormat spojený s touto částí. |
asISlideComponent() → ISlideComponent | |
asIPresentationComponent() → IPresentationComponent | |
getSlide() → IBaseSlide | Vrací primární snímek této části . |
setSlide(slide: IBaseSlide) | Nastavuje hlavní diapozitiv pro tuto část. |
getPresentation() → IPresentation |