ICommentCollection

Vue de l’ensemble

‘ICommentCollection’ est une interface dans Aspose.Slides FOSS pour Java.

Il représente une collection de commentaires appartenant à un seul auteur.

Cette interface fournit 12 méthodes pour travailler avec les objets ICommentCollection dans les programmes Java. Les méthodologies disponibles comprennent: addCommenc’ , asICollection’, aIEnumerable, clear , ‘findCommentsByIdx;get : insertCommenta; remove . tous les membres publics sont accessibles à n’importe quelle application Java après l’installation de la version Aspose.Slides FOSS pour le package Java .

méthodes

SignatureDescription
addComment(text: String, slide: ISlide, position: PointF, createdTime: LocalDateTime)ICommentAdds a comment to the collection.
insertComment(index: int, text: String, slide: ISlide, position: PointF, createdTime: LocalDateTime)ICommentInserts a comment at the given index.
removeAt(index: int)Removes the comment at the given index.
remove(comment: IComment)Removes the given comment (and its replies) from the collection.
clear()Removes all comments from this collection.
get(index: int)ICommentReturns the comment at the given index.
size()intReturns the number of comments.
toArray()IComment[]Returns all comments as an array.
toArray(startIndex: int, count: int)IComment[]Returns a subset of comments as an array.
asICollection()List<IComment>Returns this collection as a list.
asIEnumerable()Iterable<IComment>Returns this collection as an iterable.
findCommentByIdx(idx: int)Optional<IComment>Finds a comment by its unique index (per author).

Voir aussi

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