ParagraphCollection

General

ParagraphCollection is a class in Aspose.Slides FOSS for Java. Inherits from: BaseCollection<IParagraph>, IParagraphCollection, ISlideComponent.

ParagraphCollection és una classe en Aspose.Slides FOSS per a Java. És heretat de: ゚BaseCollection, ⌒IParagraphCollectionヽ, ■■■ PLACHEHALDER3』.

Representa una col·lecció de paràgrafs.

Propietats

NameTypeAccessDescription
paragraphsList<IParagraph>ReadProvides direct access to the underlying list of IParagraph objects
readOnlybooleanReadIndicates whether the collection cannot be modified
slideIBaseSlideReadReferences the slide that owns this paragraph collection
presentationIPresentationReadReferences the presentation containing this collection

Mètodes

SignatureDescription
ParagraphCollection()Creates an empty ParagraphCollection.
ParagraphCollection(paragraphs: List<IParagraph>)Creates a ParagraphCollection with the given initial paragraphs.
initInternal(txbodyElement: Element, slidePart: Object, parentSlide: IBaseSlide)ParagraphCollectionInitialises this collection from an OOXML text-body element.
getParagraphs()List<IParagraph>Builds and returns the list of paragraphs.
get(index: int)IParagraphReturns the IParagraph at the specified index
size()int
count()intReturns the total count of paragraphs
isReadOnly()booleanIndicates whether the collection is read‑only
asISlideComponent()ISlideComponent
asIEnumerable()Iterable<IParagraph>
asIPresentationComponent()IPresentationComponent
getSlide()IBaseSlideRetrieves the parent slide of the collection
getPresentation()IPresentationRetrieves the presentation containing the collection
add(value: IParagraph)Appends the specified IParagraph to the collection
insert(index: int, value: IParagraph)Inserts the IParagraph at the given index
indexOf(item: IParagraph)int
contains(item: IParagraph)boolean
clear()
removeAt(index: int)Deletes the paragraph at the specified index
remove(item: IParagraph)boolean
iterator()Iterator<IParagraph>Returns an iterator over the paragraphs
 Català