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 deTypeAccessDescription
portionsIPortionCollectionLireObtient les portions.
paragraphFormatIParagraphFormatLireObtient le format de paragraphe.
textStringLireObtient le texte.
slideIBaseSlideLireObtient la diapositive.
presentationIPresentationLireObtient la présentation.

méthodes

SignatureDescription
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)ParagraphInitialisez ce paragraphe à partir des éléments OOXML existants.
getPortions()IPortionCollectionRetourner les portions.
getParagraphFormat()IParagraphFormatRetourner le format du paragraphe.
getText()StringRetourner le texte.
setText(value: String)Définit la valeur du texte.
asISlideComponent()ISlideComponentMettre le paragraphe dans un ISlideComponent interface
asIPresentationComponent()IPresentationComponentMettre le paragraphe dans un IPresentationComponent interface
getSlide()IBaseSlideRetourner le slide.
setSlide(slide: IBaseSlide)Définit la diapositive parente pour ce paragraphe.
getPresentation()IPresentationRetourner la présentation.

Voir aussi

 Français