commentlist-ag凯发旗舰厅



com.spire.presentation.collections
class commentlist

java.lang.object
  extended by com.spire.presentation.collections.commentlist
direct known subclasses:
commentcollection

public class commentlist
extends java.lang.object

represents a collection of comments of one author.


constructor summary
commentlist( parent)
           
 
method summary
 comment appendcomment(islide slide, java.lang.string text, float x, float y)
          adds a new comment added to a slide.
 comment get(int index)
          gets the element at the specified index.
 int getcount()
          gets the number of elements actually contained in the collection.
 presentation getpresentation()
          gets parent presentationpptx object for a collection of comments.
 comment insertcomment(islide slide, int index, java.lang.string text, float x, float y)
          adds a new comment added to a slide.
 void remove(comment comment)
          removes the first occurrence of the specified comment in a collection.
 void removeat(int index)
          removes the element at the specified index in a collection.
 comment[] toarray()
          gets a array of the commentlist.
 comment[] toarray(int startindex, int count)
          gets a array of the commentlist.
 
constructor detail

commentlist

public commentlist( parent)
method detail

getcount

public int getcount()
gets the number of elements actually contained in the collection. read-only .
returns:

get

public comment get(int index)
gets the element at the specified index. read-only .
parameters:
index -
returns:

appendcomment

public comment appendcomment(islide slide,
                             java.lang.string text,
                             float x,
                             float y)
adds a new comment added to a slide.
parameters:
slide -
text -
x -
y -
returns:
throws:

insertcomment

public comment insertcomment(islide slide,
                             int index,
                             java.lang.string text,
                             float x,
                             float y)
adds a new comment added to a slide.
parameters:
slide -
index -
text -
x -
y -
returns:
throws:

toarray

public comment[] toarray()
gets a array of the commentlist.
returns:

toarray

public comment[] toarray(int startindex,
                         int count)
gets a array of the commentlist.
parameters:
startindex -
count -
returns:

removeat

public void removeat(int index)
removes the element at the specified index in a collection.
parameters:
index -

remove

public void remove(comment comment)
removes the first occurrence of the specified comment in a collection.
parameters:
comment -

getpresentation

public presentation getpresentation()
gets parent presentationpptx object for a collection of comments. read-only .
returns:


网站地图