islide-ag凯发旗舰厅



com.spire.presentation
interface islide


public interface islide

method summary
 void addcomment(comment comment)
          adds a new comment.
 void addcomment(icommentauthor author, java.lang.string text, java.awt.geom.point2d position, java.util.date datetime)
          adds a new comment.
 notesslide addnotesslide()
          adds a new notes slide.
 void applytheme(slidecolorscheme scheme)
          applies extra color scheme to a slide.
 void deletecomment(comment comment)
          delete a comment.
 void deletecomment(icommentauthor author)
          delete comments of specific author.
 void deletecomment(icommentauthor author, java.lang.string text)
          delete comments of specific text or specific author.
 void deletecomment(java.lang.string text)
          delete comments of specific text.
 void dispose()
          dispose object and free resources.
 comment[] getcomments()
          gets all author comments.
 comment[] getcomments(icommentauthor author)
          returns all slide comments added by specific author.
 comment[] getcomments(icommentauthor author, java.lang.string text)
          returns all slide comments added by specific author or specific text.
 comment[] getcomments(java.lang.string text)
          returns all slide comments added by specific text.
 boolean gethidden()
          indicates whether the specified slide is hidden during a slide show.
 ilayout getlayout()
          get the layout.
 long getmasterslideid()
          gets the id of a masterslide.
 java.lang.string getname()
          gets the name of a slide.
 notesslide getnotesslide()
          gets the notes slide for the current slide.
 presentation getpresentation()
           
 shapecollection getshapes()
          gets the shapes of a slide.
 boolean getshowmastershape()
          hide background graphics
 slidebackground getslidebackground()
          gets slide's background.
 long getslideid()
          gets the id of a slide.
 int getslidenumber()
          gets a number of slide.
 slideshowtransition getslideshowtransition()
          gets the transition object which contains information about how the specified slide advances during a slide show.
 tagcollection gettagslist()
          gets the slide's tags collection.
 theme gettheme()
          gets the theme object.
 timeline gettimeline()
          gets animation timeline object.
 java.lang.string gettitle()
          gets the title of silde.
 void groupshapes(java.util.arraylist<shape> shapelist)
          combine multiple shape together.
 void replacealltext(java.lang.string matchedstring, java.lang.string newvalue, boolean casesensitive)
          replaces all matched string with new value in the slide.
 void replacefirsttext(java.lang.string matchedstring, java.lang.string newvalue, boolean casesensitive)
          replaces first matched string with new value in the slide.
 java.awt.image.bufferedimage saveasimage()
           
 java.awt.image.bufferedimage saveasimage(int width, int height)
           
 void savetofile(java.lang.string file, fileformat fileformat)
          saves the slide to the specified file.
 byte[] savetosvg()
          save the slide to svg format
 void sethidden(boolean value)
           
 void setlayout(ilayout value)
          set the layout.
 void setmasterslideid(long masterslideid)
          sets the masterslideid of a slide.
 void setname(java.lang.string value)
          sets the name of a slide.
 void setshowmastershape(boolean value)
           
 void setslidenumber(int value)
           
 void settitle(java.lang.string value)
          sets the title of silde.
 
method detail

gettheme

theme gettheme()
gets the theme object.
returns:

getslidenumber

int getslidenumber()
gets a number of slide. index of slide in collection is always equal to slidenumber - 1.
returns:

setslidenumber

void setslidenumber(int value)

gethidden

boolean gethidden()
indicates whether the specified slide is hidden during a slide show. read/write .
returns:

sethidden

void sethidden(boolean value)

getnotesslide

notesslide getnotesslide()
gets the notes slide for the current slide. read-only .
returns:

getcomments

comment[] getcomments()
gets all author comments.
returns:

getshapes

shapecollection getshapes()
gets the shapes of a slide. read-only .
returns:

getname

java.lang.string getname()
gets the name of a slide. read/write .
returns:

setname

void setname(java.lang.string value)
sets the name of a slide. read/write .

getslideid

long getslideid()
gets the id of a slide. read-only .
returns:

setmasterslideid

void setmasterslideid(long masterslideid)
sets the masterslideid of a slide. read/write .

getmasterslideid

long getmasterslideid()
gets the id of a masterslide. read/write .
returns:

gettagslist

tagcollection gettagslist()
gets the slide's tags collection. read-only .
returns:

gettimeline

timeline gettimeline()
gets animation timeline object. read-only .
returns:

getslideshowtransition

slideshowtransition getslideshowtransition()
gets the transition object which contains information about how the specified slide advances during a slide show. read-only .
returns:

getslidebackground

slidebackground getslidebackground()
gets slide's background. read only .
returns:

getpresentation

presentation getpresentation()

getshowmastershape

boolean getshowmastershape()
hide background graphics
returns:

setshowmastershape

void setshowmastershape(boolean value)

saveasimage

java.awt.image.bufferedimage saveasimage(int width,
                                         int height)

saveasimage

java.awt.image.bufferedimage saveasimage()

savetosvg

byte[] savetosvg()
save the slide to svg format
returns:
a byte array of svg file-stream.

addnotesslide

notesslide addnotesslide()
adds a new notes slide.
returns:
for this slide

addcomment

void addcomment(icommentauthor author,
                java.lang.string text,
                java.awt.geom.point2d position,
                java.util.date datetime)
adds a new comment.
parameters:
author - comment author
text - comment text
position -
datetime -

addcomment

void addcomment(comment comment)
adds a new comment.
parameters:
comment -

deletecomment

void deletecomment(comment comment)
delete a comment.
parameters:
comment -

deletecomment

void deletecomment(icommentauthor author,
                   java.lang.string text)
delete comments of specific text or specific author.
parameters:
author - author of comments to delete or null to delete all comments.
text - text of comments to delete or "" to delete all comments.

deletecomment

void deletecomment(icommentauthor author)
delete comments of specific author.
parameters:
author -

deletecomment

void deletecomment(java.lang.string text)
delete comments of specific text.
parameters:
text - text of comments to delete or "" to delete all comments.

getcomments

comment[] getcomments(icommentauthor author,
                      java.lang.string text)
returns all slide comments added by specific author or specific text.
parameters:
author - author of comments to find or null to find all comments.
text - text of comments to find or "" to find all comments.
returns:
array of .

getcomments

comment[] getcomments(icommentauthor author)
returns all slide comments added by specific author.
parameters:
author - author of comments to find.
returns:
array of .

getcomments

comment[] getcomments(java.lang.string text)
returns all slide comments added by specific text.
parameters:
text - text of comments to find or "" to find all comments.
returns:
array of .

applytheme

void applytheme(slidecolorscheme scheme)
applies extra color scheme to a slide.
parameters:
scheme -

dispose

void dispose()
dispose object and free resources.

getlayout

ilayout getlayout()
get the layout.
returns:

setlayout

void setlayout(ilayout value)
set the layout.

groupshapes

void groupshapes(java.util.arraylist<shape> shapelist)
combine multiple shape together.
parameters:
shapelist -

savetofile

void savetofile(java.lang.string file,
                fileformat fileformat)
saves the slide to the specified file.
parameters:
file - :a string that contains the path of the file to which to save this document.
fileformat - :convert to fileformat.

replacefirsttext

void replacefirsttext(java.lang.string matchedstring,
                      java.lang.string newvalue,
                      boolean casesensitive)
replaces first matched string with new value in the slide.
parameters:
matchedstring - :old value
newvalue - : new string
casesensitive:case - sensitive

replacealltext

void replacealltext(java.lang.string matchedstring,
                    java.lang.string newvalue,
                    boolean casesensitive)
replaces all matched string with new value in the slide.
parameters:
matchedstring - :old value
newvalue - : new string
casesensitive:case - sensitive

gettitle

java.lang.string gettitle()
gets the title of silde.

settitle

void settitle(java.lang.string value)
sets the title of silde.
parameters:
value - : title.


网站地图