Paragraph
Vue d’ensemble
Paragraph C’est une classe dans Aspose.Slides FOSS pour Java. hérité de : IParagraph, ISlideComponent, IPresentationComponent.
Il représente un paragraphe texte.
Cette classe fournit 12 méthodes pour travailler avec les objets du paragraphe dans les programmes Java. Les méthodes disponibles comprennent : Paragraph, asIPresentationComponent, asISlideComponent, getParagraphFormat, getPortions, getPresentation, getSlide, getText, initInternal, setSlide, setText. Tous les membres publics sont accessibles à toute application Java après l’installation de la Aspose.Slides FOSS pour le package Java. Propriétés : paragraphFormat, portions, presentation, slide, text.
Propriétés
| Nom de | Type | Access | Description |
|---|---|---|---|
portions | IPortionCollection | Lire | Obtient les portions. |
paragraphFormat | IParagraphFormat | Lire | Obtient le format de paragraphe. |
text | String | Lire | Obtient le texte. |
slide | IBaseSlide | Lire | Obtient la diapositive. |
presentation | IPresentation | Lire | Obtient la présentation. |
méthodes
| Signature | Description |
|---|---|
Paragraph() | Créez un nouveau paragraphe vide avec un élément détaché {@code <a:p>}. |
Paragraph(pElement: Element, saveCallback: Runnable) | Créer un paragraphe soutenu par un élément XML existant. |
initInternal(pElement: Element, txbodyElement: Element, slidePart: Object, parentSlide: IBaseSlide) → Paragraph | Initialisez ce paragraphe à partir des éléments OOXML existants. |
getPortions() → IPortionCollection | Retourner les portions. |
getParagraphFormat() → IParagraphFormat | Retourner le format du paragraphe. |
getText() → String | Retourner le texte. |
setText(value: String) | Définit la valeur du texte. |
asISlideComponent() → ISlideComponent | Mettre le paragraphe dans un ISlideComponent interface |
asIPresentationComponent() → IPresentationComponent | Mettre le paragraphe dans un IPresentationComponent interface |
getSlide() → IBaseSlide | Retourner le slide. |
setSlide(slide: IBaseSlide) | Définit la diapositive parente pour ce paragraphe. |
getPresentation() → IPresentation | Retourner la présentation. |