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

NameTypeAccessDescription
textStringReadGets the text.
portionFormatIPortionFormatReadGets the portion format.
slideIBaseSlideReadGets the slide.
presentationIPresentationReadGets the presentation.

méthodes

SignatureDescription
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()StringReturns the text.
setText(value: String)Sets the text value.
getPortionFormat()IPortionFormatReturns the portion format.
asISlideComponent()ISlideComponent
asIPresentationComponent()IPresentationComponent
getSlide()IBaseSlideReturns the slide.
setSlide(slide: IBaseSlide)Sets the parent slide for this portion.
getPresentation()IPresentationReturns the presentation.

Voir aussi

  • Aspose.Slides - référence API d’entreprise
 Français