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
| Name | Type | Access | Description |
|---|---|---|---|
paragraphs | List<IParagraph> | Read | Provides direct access to the underlying list of IParagraph objects |
readOnly | boolean | Read | Indicates whether the collection cannot be modified |
slide | IBaseSlide | Read | References the slide that owns this paragraph collection |
presentation | IPresentation | Read | References the presentation containing this collection |
Mètodes
| Signature | Description |
|---|---|
ParagraphCollection() | Creates an empty ParagraphCollection. |
ParagraphCollection(paragraphs: List<IParagraph>) | Creates a ParagraphCollection with the given initial paragraphs. |
initInternal(txbodyElement: Element, slidePart: Object, parentSlide: IBaseSlide) → ParagraphCollection | Initialises this collection from an OOXML text-body element. |
getParagraphs() → List<IParagraph> | Builds and returns the list of paragraphs. |
get(index: int) → IParagraph | Returns the IParagraph at the specified index |
size() → int | |
count() → int | Returns the total count of paragraphs |
isReadOnly() → boolean | Indicates whether the collection is read‑only |
asISlideComponent() → ISlideComponent | |
asIEnumerable() → Iterable<IParagraph> | |
asIPresentationComponent() → IPresentationComponent | |
getSlide() → IBaseSlide | Retrieves the parent slide of the collection |
getPresentation() → IPresentation | Retrieves 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 |