Portion
Vue de l’ensemble
‘Portium’ est une classe dans Aspose.Slides FOSS pour Java.Déduit de: ‘IPortion’.
Représente une portion de texte (run) dans un paragraphe.
Cette classe fournit 11 méthodes pour travailler avec des objets de portion dans les programmes Java. Les méthodologies disponibles comprennent: ‘Portion’, ‘asIPresentationComponent’, asISlideComposent' , 'getPortionsFormat', ‘getPresentations', ’getSlides’, 'gettText', ‚setSLide, ‘setTeXT’. Tous les membres publics sont accessibles à toute application Java après l’installation du package Java Aspose.Slieds FOSS. Propriétés: portionFormate , presentation ; ‘slide’, text`.
Propriétés
| Name | Type | Access | Description |
|---|---|---|---|
text | String | Read | Gets the text. |
portionFormat | IPortionFormat | Read | Gets the portion format. |
slide | IBaseSlide | Read | Gets the slide. |
presentation | IPresentation | Read | Gets the presentation. |
méthodes
| Signature | Description |
|---|---|
Portion() | Creates a new empty Portion with a detached {@code <a:r>} element. |
Portion(text: String) | Creates a new Portion with the given text. |
Portion(runElement: Element, saveCallback: Runnable) | Creates a Portion backed by an existing XML run element. |
getText() → String | Returns the text. |
setText(value: String) | Sets the text value. |
getPortionFormat() → IPortionFormat | Returns the portion format. |
asISlideComponent() → ISlideComponent | |
asIPresentationComponent() → IPresentationComponent | |
getSlide() → IBaseSlide | Returns the slide. |
setSlide(slide: IBaseSlide) | Sets the parent slide for this portion. |
getPresentation() → IPresentation | Returns the presentation. |
Voir aussi
- Aspose.Slides - référence API d’entreprise