CommentCollection

CommentCollection class

Represents a collection of comments of one author.

addComment

NameDescription
addComment(String, Slide, Point2D.Float, Date)Add new comment at the end of a collection.

Parameters:

NameTypeDescription
textStringPlain text of a new comment.
slideSlideSlide in a presentation where to add a new comment.
positionPoint2D.FloatPosition on a slide where to add a new comment.
creationTimeDateTime of a comment creation.

Result: Comment, ModernComment


addModernComment

NameDescription
addModernComment(String, Slide, SummaryZoomSection, Point2D.Float, Date)Add new modern comment at the end of a collection.

Parameters:

NameTypeDescription
textStringPlain text of a new modern comment.
slideSlideSlide in a presentation where to add a new modern comment.
shapeSummaryZoomSectionShape on a slide to which a new modern comment is associated.
positionPoint2D.FloatPosition on a slide where to add a new modern comment.
creationTimeDateTime of a modern comment creation.

Result: ModernComment


addModernComment

NameDescription
addModernComment(String, Slide, AutoShape, Point2D.Float, Date)Add new modern comment at the end of a collection.

Parameters:

NameTypeDescription
textStringPlain text of a new modern comment.
slideSlideSlide in a presentation where to add a new modern comment.
shapeAutoShapeShape on a slide to which a new modern comment is associated.
positionPoint2D.FloatPosition on a slide where to add a new modern comment.
creationTimeDateTime of a modern comment creation.

Result: ModernComment


addModernComment

NameDescription
addModernComment(String, Slide, AudioFrame, Point2D.Float, Date)Add new modern comment at the end of a collection.

Parameters:

NameTypeDescription
textStringPlain text of a new modern comment.
slideSlideSlide in a presentation where to add a new modern comment.
shapeAudioFrameShape on a slide to which a new modern comment is associated.
positionPoint2D.FloatPosition on a slide where to add a new modern comment.
creationTimeDateTime of a modern comment creation.

Result: ModernComment


addModernComment

NameDescription
addModernComment(String, Slide, OleObjectFrame, Point2D.Float, Date)Add new modern comment at the end of a collection.

Parameters:

NameTypeDescription
textStringPlain text of a new modern comment.
slideSlideSlide in a presentation where to add a new modern comment.
shapeOleObjectFrameShape on a slide to which a new modern comment is associated.
positionPoint2D.FloatPosition on a slide where to add a new modern comment.
creationTimeDateTime of a modern comment creation.

Result: ModernComment


addModernComment

NameDescription
addModernComment(String, Slide, SummaryZoomFrame, Point2D.Float, Date)Add new modern comment at the end of a collection.

Parameters:

NameTypeDescription
textStringPlain text of a new modern comment.
slideSlideSlide in a presentation where to add a new modern comment.
shapeSummaryZoomFrameShape on a slide to which a new modern comment is associated.
positionPoint2D.FloatPosition on a slide where to add a new modern comment.
creationTimeDateTime of a modern comment creation.

Result: ModernComment


addModernComment

NameDescription
addModernComment(String, Slide, ZoomFrame, Point2D.Float, Date)Add new modern comment at the end of a collection.

Parameters:

NameTypeDescription
textStringPlain text of a new modern comment.
slideSlideSlide in a presentation where to add a new modern comment.
shapeZoomFrameShape on a slide to which a new modern comment is associated.
positionPoint2D.FloatPosition on a slide where to add a new modern comment.
creationTimeDateTime of a modern comment creation.

Result: ModernComment


addModernComment

NameDescription
addModernComment(String, Slide, GraphicalObject, Point2D.Float, Date)Add new modern comment at the end of a collection.

Parameters:

NameTypeDescription
textStringPlain text of a new modern comment.
slideSlideSlide in a presentation where to add a new modern comment.
shapeGraphicalObjectShape on a slide to which a new modern comment is associated.
positionPoint2D.FloatPosition on a slide where to add a new modern comment.
creationTimeDateTime of a modern comment creation.

Result: ModernComment


addModernComment

NameDescription
addModernComment(String, Slide, PictureFrame, Point2D.Float, Date)Add new modern comment at the end of a collection.

Parameters:

NameTypeDescription
textStringPlain text of a new modern comment.
slideSlideSlide in a presentation where to add a new modern comment.
shapePictureFrameShape on a slide to which a new modern comment is associated.
positionPoint2D.FloatPosition on a slide where to add a new modern comment.
creationTimeDateTime of a modern comment creation.

Result: ModernComment


addModernComment

NameDescription
addModernComment(String, Slide, ZoomObject, Point2D.Float, Date)Add new modern comment at the end of a collection.

Parameters:

NameTypeDescription
textStringPlain text of a new modern comment.
slideSlideSlide in a presentation where to add a new modern comment.
shapeZoomObjectShape on a slide to which a new modern comment is associated.
positionPoint2D.FloatPosition on a slide where to add a new modern comment.
creationTimeDateTime of a modern comment creation.

Result: ModernComment


addModernComment

NameDescription
addModernComment(String, Slide, VideoFrame, Point2D.Float, Date)Add new modern comment at the end of a collection.

Parameters:

NameTypeDescription
textStringPlain text of a new modern comment.
slideSlideSlide in a presentation where to add a new modern comment.
shapeVideoFrameShape on a slide to which a new modern comment is associated.
positionPoint2D.FloatPosition on a slide where to add a new modern comment.
creationTimeDateTime of a modern comment creation.

Result: ModernComment


addModernComment

NameDescription
addModernComment(String, Slide, SmartArtShape, Point2D.Float, Date)Add new modern comment at the end of a collection.

Parameters:

NameTypeDescription
textStringPlain text of a new modern comment.
slideSlideSlide in a presentation where to add a new modern comment.
shapeSmartArtShapeShape on a slide to which a new modern comment is associated.
positionPoint2D.FloatPosition on a slide where to add a new modern comment.
creationTimeDateTime of a modern comment creation.

Result: ModernComment


addModernComment

NameDescription
addModernComment(String, Slide, SmartArt, Point2D.Float, Date)Add new modern comment at the end of a collection.

Parameters:

NameTypeDescription
textStringPlain text of a new modern comment.
slideSlideSlide in a presentation where to add a new modern comment.
shapeSmartArtShape on a slide to which a new modern comment is associated.
positionPoint2D.FloatPosition on a slide where to add a new modern comment.
creationTimeDateTime of a modern comment creation.

Result: ModernComment


addModernComment

NameDescription
addModernComment(String, Slide, Ink, Point2D.Float, Date)Add new modern comment at the end of a collection.

Parameters:

NameTypeDescription
textStringPlain text of a new modern comment.
slideSlideSlide in a presentation where to add a new modern comment.
shapeInkShape on a slide to which a new modern comment is associated.
positionPoint2D.FloatPosition on a slide where to add a new modern comment.
creationTimeDateTime of a modern comment creation.

Result: ModernComment


addModernComment

NameDescription
addModernComment(String, Slide, Chart, Point2D.Float, Date)Add new modern comment at the end of a collection.

Parameters:

NameTypeDescription
textStringPlain text of a new modern comment.
slideSlideSlide in a presentation where to add a new modern comment.
shapeChartShape on a slide to which a new modern comment is associated.
positionPoint2D.FloatPosition on a slide where to add a new modern comment.
creationTimeDateTime of a modern comment creation.

Result: ModernComment


addModernComment

NameDescription
addModernComment(String, Slide, GroupShape, Point2D.Float, Date)Add new modern comment at the end of a collection.

Parameters:

NameTypeDescription
textStringPlain text of a new modern comment.
slideSlideSlide in a presentation where to add a new modern comment.
shapeGroupShapeShape on a slide to which a new modern comment is associated.
positionPoint2D.FloatPosition on a slide where to add a new modern comment.
creationTimeDateTime of a modern comment creation.

Result: ModernComment


addModernComment

NameDescription
addModernComment(String, Slide, Table, Point2D.Float, Date)Add new modern comment at the end of a collection.

Parameters:

NameTypeDescription
textStringPlain text of a new modern comment.
slideSlideSlide in a presentation where to add a new modern comment.
shapeTableShape on a slide to which a new modern comment is associated.
positionPoint2D.FloatPosition on a slide where to add a new modern comment.
creationTimeDateTime of a modern comment creation.

Result: ModernComment


addModernComment

NameDescription
addModernComment(String, Slide, SectionZoomFrame, Point2D.Float, Date)Add new modern comment at the end of a collection.

Parameters:

NameTypeDescription
textStringPlain text of a new modern comment.
slideSlideSlide in a presentation where to add a new modern comment.
shapeSectionZoomFrameShape on a slide to which a new modern comment is associated.
positionPoint2D.FloatPosition on a slide where to add a new modern comment.
creationTimeDateTime of a modern comment creation.

Result: ModernComment


addModernComment

NameDescription
addModernComment(String, Slide, Shape, Point2D.Float, Date)Add new modern comment at the end of a collection.

Parameters:

NameTypeDescription
textStringPlain text of a new modern comment.
slideSlideSlide in a presentation where to add a new modern comment.
shapeShapeShape on a slide to which a new modern comment is associated.
positionPoint2D.FloatPosition on a slide where to add a new modern comment.
creationTimeDateTime of a modern comment creation.

Result: ModernComment


addModernComment

NameDescription
addModernComment(String, Slide, LegacyDiagram, Point2D.Float, Date)Add new modern comment at the end of a collection.

Parameters:

NameTypeDescription
textStringPlain text of a new modern comment.
slideSlideSlide in a presentation where to add a new modern comment.
shapeLegacyDiagramShape on a slide to which a new modern comment is associated.
positionPoint2D.FloatPosition on a slide where to add a new modern comment.
creationTimeDateTime of a modern comment creation.

Result: ModernComment


addModernComment

NameDescription
addModernComment(String, Slide, Connector, Point2D.Float, Date)Add new modern comment at the end of a collection.

Parameters:

NameTypeDescription
textStringPlain text of a new modern comment.
slideSlideSlide in a presentation where to add a new modern comment.
shapeConnectorShape on a slide to which a new modern comment is associated.
positionPoint2D.FloatPosition on a slide where to add a new modern comment.
creationTimeDateTime of a modern comment creation.

Result: ModernComment


clear

NameDescription
clear()Removes all comments from a collection.

findCommentByIdx

NameDescription
findCommentByIdx(int)Finds a comment in the collection by index.

Parameters:

NameTypeDescription
idxintUnique index of a comment to find {@code int}.

Result: Comment, ModernComment


getParent_Immediate

NameDescription
getParent_Immediate()

getSyncRoot

NameDescription
getSyncRoot()Returns a synchronization root. Read-only Object.

Result: Object


get_Item

NameDescription
get_Item(int)Gets the element at the specified index. Read-only Comment.

Result: Comment, ModernComment


insertComment

NameDescription
insertComment(int, String, Slide, Point2D.Float, Date)Insert new comment to a collection at the specified index.

Parameters:

NameTypeDescription
indexintIndex of the element in a collection at which comment should be inserted.
textStringPlain text of a new comment.
slideSlideSlide in a presentation where to add a new comment.
positionPoint2D.FloatPosition on a slide where to add a new comment.
creationTimeDateTime of a comment creation.

Result: Comment, ModernComment


insertModernComment

NameDescription
insertModernComment(int, String, Slide, SummaryZoomSection, Point2D.Float, Date)Insert new modern comment to a collection at the specified index.

Parameters:

NameTypeDescription
indexintIndex of the element in a collection at which modern comment should be inserted.
textStringPlain text of a new modern comment.
slideSlideSlide in a presentation where to add a new modern comment.
shapeSummaryZoomSectionShape on a slide to which a new modern comment is associated.
positionPoint2D.FloatPosition on a slide where to add a new modern comment.
creationTimeDateTime of a modern comment creation.

Result: ModernComment


insertModernComment

NameDescription
insertModernComment(int, String, Slide, AutoShape, Point2D.Float, Date)Insert new modern comment to a collection at the specified index.

Parameters:

NameTypeDescription
indexintIndex of the element in a collection at which modern comment should be inserted.
textStringPlain text of a new modern comment.
slideSlideSlide in a presentation where to add a new modern comment.
shapeAutoShapeShape on a slide to which a new modern comment is associated.
positionPoint2D.FloatPosition on a slide where to add a new modern comment.
creationTimeDateTime of a modern comment creation.

Result: ModernComment


insertModernComment

NameDescription
insertModernComment(int, String, Slide, AudioFrame, Point2D.Float, Date)Insert new modern comment to a collection at the specified index.

Parameters:

NameTypeDescription
indexintIndex of the element in a collection at which modern comment should be inserted.
textStringPlain text of a new modern comment.
slideSlideSlide in a presentation where to add a new modern comment.
shapeAudioFrameShape on a slide to which a new modern comment is associated.
positionPoint2D.FloatPosition on a slide where to add a new modern comment.
creationTimeDateTime of a modern comment creation.

Result: ModernComment


insertModernComment

NameDescription
insertModernComment(int, String, Slide, OleObjectFrame, Point2D.Float, Date)Insert new modern comment to a collection at the specified index.

Parameters:

NameTypeDescription
indexintIndex of the element in a collection at which modern comment should be inserted.
textStringPlain text of a new modern comment.
slideSlideSlide in a presentation where to add a new modern comment.
shapeOleObjectFrameShape on a slide to which a new modern comment is associated.
positionPoint2D.FloatPosition on a slide where to add a new modern comment.
creationTimeDateTime of a modern comment creation.

Result: ModernComment


insertModernComment

NameDescription
insertModernComment(int, String, Slide, SummaryZoomFrame, Point2D.Float, Date)Insert new modern comment to a collection at the specified index.

Parameters:

NameTypeDescription
indexintIndex of the element in a collection at which modern comment should be inserted.
textStringPlain text of a new modern comment.
slideSlideSlide in a presentation where to add a new modern comment.
shapeSummaryZoomFrameShape on a slide to which a new modern comment is associated.
positionPoint2D.FloatPosition on a slide where to add a new modern comment.
creationTimeDateTime of a modern comment creation.

Result: ModernComment


insertModernComment

NameDescription
insertModernComment(int, String, Slide, ZoomFrame, Point2D.Float, Date)Insert new modern comment to a collection at the specified index.

Parameters:

NameTypeDescription
indexintIndex of the element in a collection at which modern comment should be inserted.
textStringPlain text of a new modern comment.
slideSlideSlide in a presentation where to add a new modern comment.
shapeZoomFrameShape on a slide to which a new modern comment is associated.
positionPoint2D.FloatPosition on a slide where to add a new modern comment.
creationTimeDateTime of a modern comment creation.

Result: ModernComment


insertModernComment

NameDescription
insertModernComment(int, String, Slide, GraphicalObject, Point2D.Float, Date)Insert new modern comment to a collection at the specified index.

Parameters:

NameTypeDescription
indexintIndex of the element in a collection at which modern comment should be inserted.
textStringPlain text of a new modern comment.
slideSlideSlide in a presentation where to add a new modern comment.
shapeGraphicalObjectShape on a slide to which a new modern comment is associated.
positionPoint2D.FloatPosition on a slide where to add a new modern comment.
creationTimeDateTime of a modern comment creation.

Result: ModernComment


insertModernComment

NameDescription
insertModernComment(int, String, Slide, PictureFrame, Point2D.Float, Date)Insert new modern comment to a collection at the specified index.

Parameters:

NameTypeDescription
indexintIndex of the element in a collection at which modern comment should be inserted.
textStringPlain text of a new modern comment.
slideSlideSlide in a presentation where to add a new modern comment.
shapePictureFrameShape on a slide to which a new modern comment is associated.
positionPoint2D.FloatPosition on a slide where to add a new modern comment.
creationTimeDateTime of a modern comment creation.

Result: ModernComment


insertModernComment

NameDescription
insertModernComment(int, String, Slide, ZoomObject, Point2D.Float, Date)Insert new modern comment to a collection at the specified index.

Parameters:

NameTypeDescription
indexintIndex of the element in a collection at which modern comment should be inserted.
textStringPlain text of a new modern comment.
slideSlideSlide in a presentation where to add a new modern comment.
shapeZoomObjectShape on a slide to which a new modern comment is associated.
positionPoint2D.FloatPosition on a slide where to add a new modern comment.
creationTimeDateTime of a modern comment creation.

Result: ModernComment


insertModernComment

NameDescription
insertModernComment(int, String, Slide, VideoFrame, Point2D.Float, Date)Insert new modern comment to a collection at the specified index.

Parameters:

NameTypeDescription
indexintIndex of the element in a collection at which modern comment should be inserted.
textStringPlain text of a new modern comment.
slideSlideSlide in a presentation where to add a new modern comment.
shapeVideoFrameShape on a slide to which a new modern comment is associated.
positionPoint2D.FloatPosition on a slide where to add a new modern comment.
creationTimeDateTime of a modern comment creation.

Result: ModernComment


insertModernComment

NameDescription
insertModernComment(int, String, Slide, SmartArtShape, Point2D.Float, Date)Insert new modern comment to a collection at the specified index.

Parameters:

NameTypeDescription
indexintIndex of the element in a collection at which modern comment should be inserted.
textStringPlain text of a new modern comment.
slideSlideSlide in a presentation where to add a new modern comment.
shapeSmartArtShapeShape on a slide to which a new modern comment is associated.
positionPoint2D.FloatPosition on a slide where to add a new modern comment.
creationTimeDateTime of a modern comment creation.

Result: ModernComment


insertModernComment

NameDescription
insertModernComment(int, String, Slide, SmartArt, Point2D.Float, Date)Insert new modern comment to a collection at the specified index.

Parameters:

NameTypeDescription
indexintIndex of the element in a collection at which modern comment should be inserted.
textStringPlain text of a new modern comment.
slideSlideSlide in a presentation where to add a new modern comment.
shapeSmartArtShape on a slide to which a new modern comment is associated.
positionPoint2D.FloatPosition on a slide where to add a new modern comment.
creationTimeDateTime of a modern comment creation.

Result: ModernComment


insertModernComment

NameDescription
insertModernComment(int, String, Slide, Ink, Point2D.Float, Date)Insert new modern comment to a collection at the specified index.

Parameters:

NameTypeDescription
indexintIndex of the element in a collection at which modern comment should be inserted.
textStringPlain text of a new modern comment.
slideSlideSlide in a presentation where to add a new modern comment.
shapeInkShape on a slide to which a new modern comment is associated.
positionPoint2D.FloatPosition on a slide where to add a new modern comment.
creationTimeDateTime of a modern comment creation.

Result: ModernComment


insertModernComment

NameDescription
insertModernComment(int, String, Slide, Chart, Point2D.Float, Date)Insert new modern comment to a collection at the specified index.

Parameters:

NameTypeDescription
indexintIndex of the element in a collection at which modern comment should be inserted.
textStringPlain text of a new modern comment.
slideSlideSlide in a presentation where to add a new modern comment.
shapeChartShape on a slide to which a new modern comment is associated.
positionPoint2D.FloatPosition on a slide where to add a new modern comment.
creationTimeDateTime of a modern comment creation.

Result: ModernComment


insertModernComment

NameDescription
insertModernComment(int, String, Slide, GroupShape, Point2D.Float, Date)Insert new modern comment to a collection at the specified index.

Parameters:

NameTypeDescription
indexintIndex of the element in a collection at which modern comment should be inserted.
textStringPlain text of a new modern comment.
slideSlideSlide in a presentation where to add a new modern comment.
shapeGroupShapeShape on a slide to which a new modern comment is associated.
positionPoint2D.FloatPosition on a slide where to add a new modern comment.
creationTimeDateTime of a modern comment creation.

Result: ModernComment


insertModernComment

NameDescription
insertModernComment(int, String, Slide, Table, Point2D.Float, Date)Insert new modern comment to a collection at the specified index.

Parameters:

NameTypeDescription
indexintIndex of the element in a collection at which modern comment should be inserted.
textStringPlain text of a new modern comment.
slideSlideSlide in a presentation where to add a new modern comment.
shapeTableShape on a slide to which a new modern comment is associated.
positionPoint2D.FloatPosition on a slide where to add a new modern comment.
creationTimeDateTime of a modern comment creation.

Result: ModernComment


insertModernComment

NameDescription
insertModernComment(int, String, Slide, SectionZoomFrame, Point2D.Float, Date)Insert new modern comment to a collection at the specified index.

Parameters:

NameTypeDescription
indexintIndex of the element in a collection at which modern comment should be inserted.
textStringPlain text of a new modern comment.
slideSlideSlide in a presentation where to add a new modern comment.
shapeSectionZoomFrameShape on a slide to which a new modern comment is associated.
positionPoint2D.FloatPosition on a slide where to add a new modern comment.
creationTimeDateTime of a modern comment creation.

Result: ModernComment


insertModernComment

NameDescription
insertModernComment(int, String, Slide, Shape, Point2D.Float, Date)Insert new modern comment to a collection at the specified index.

Parameters:

NameTypeDescription
indexintIndex of the element in a collection at which modern comment should be inserted.
textStringPlain text of a new modern comment.
slideSlideSlide in a presentation where to add a new modern comment.
shapeShapeShape on a slide to which a new modern comment is associated.
positionPoint2D.FloatPosition on a slide where to add a new modern comment.
creationTimeDateTime of a modern comment creation.

Result: ModernComment


insertModernComment

NameDescription
insertModernComment(int, String, Slide, LegacyDiagram, Point2D.Float, Date)Insert new modern comment to a collection at the specified index.

Parameters:

NameTypeDescription
indexintIndex of the element in a collection at which modern comment should be inserted.
textStringPlain text of a new modern comment.
slideSlideSlide in a presentation where to add a new modern comment.
shapeLegacyDiagramShape on a slide to which a new modern comment is associated.
positionPoint2D.FloatPosition on a slide where to add a new modern comment.
creationTimeDateTime of a modern comment creation.

Result: ModernComment


insertModernComment

NameDescription
insertModernComment(int, String, Slide, Connector, Point2D.Float, Date)Insert new modern comment to a collection at the specified index.

Parameters:

NameTypeDescription
indexintIndex of the element in a collection at which modern comment should be inserted.
textStringPlain text of a new modern comment.
slideSlideSlide in a presentation where to add a new modern comment.
shapeConnectorShape on a slide to which a new modern comment is associated.
positionPoint2D.FloatPosition on a slide where to add a new modern comment.
creationTimeDateTime of a modern comment creation.

Result: ModernComment


isSynchronized

NameDescription
isSynchronized()Returns a value indicating whether access to the collection is synchronized (thread-safe). Read-only boolean.

Result: boolean


iterator

NameDescription
iterator()Returns an enumerator that iterates through the collection.

Result:


iteratorJava

NameDescription
iteratorJava()Returns a java iterator for the entire collection.

Result:


remove

NameDescription
remove(Comment)Removes the first occurrence of the specified comment in a collection.

Parameters:

NameTypeDescription
commentCommentThe comment to remove from a collection.

Error

ErrorCondition
PptxEditExceptionThrown if comment is already removed.

remove

NameDescription
remove(ModernComment)Removes the first occurrence of the specified comment in a collection.

Parameters:

NameTypeDescription
commentModernCommentThe comment to remove from a collection.

Error

ErrorCondition
PptxEditExceptionThrown if comment is already removed.

removeAt

NameDescription
removeAt(int)Removes the element at the specified index in a collection.

Parameters:

NameTypeDescription
indexintThe zero-based index of the element to remove.

Error

ErrorCondition
PptxEditExceptionThrown if comment is already removed.

size

NameDescription
size()Gets the number of elements actually contained in the collection. Read-only int.

Result: int


toArray

NameDescription
toArray()Creates and returns an array with all comments.

Result: Comment, ModernComment


toArray

NameDescription
toArray(int, int)Creates and returns an array with all comments from the specified range.

Parameters:

NameTypeDescription
startIndexintAn index of a first comment to return.
countintA number of comments to return.

Result: Comment, ModernComment