public class SlidesApi extends Object
Constructor and Description |
---|
SlidesApi(String apiKey,
String appSid) |
SlidesApi(String apiKey,
String appSid,
boolean isDebug) |
SlidesApi(String basePath,
String apiKey,
String appSid) |
SlidesApi(String basePath,
String apiKey,
String appSid,
boolean isDebug) |
Modifier and Type | Method and Description |
---|---|
SlideListResponse |
DeleteSlideByIndex(String name,
Integer slideIndex,
String folder,
String storage)
DeleteSlideByIndex
Delete presentation slide by its index.
|
SlideListResponse |
DeleteSlidesCleanSlidesList(String name,
String folder,
String storage)
DeleteSlidesCleanSlidesList
Delete presentation slides.
|
DocumentPropertiesResponse |
DeleteSlidesDocumentProperties(String name,
String folder,
String storage)
DeleteSlidesDocumentProperties
Clean document properties.
|
CommonResponse |
DeleteSlidesDocumentProperty(String name,
String propertyName,
String folder,
String storage)
DeleteSlidesDocumentProperty
Delete document property.
|
SlideBackgroundResponse |
DeleteSlidesSlideBackground(String name,
Integer slideIndex,
String folder,
String storage)
DeleteSlidesSlideBackground
Remove presentation slide background color.
|
String |
getBasePath() |
ApiInvoker |
getInvoker() |
ResponseMessage |
GetParagraphPortion(String name,
Integer slideIndex,
Integer shapeIndex,
Integer paragraphIndex,
Integer portionIndex,
String folder,
String storage)
GetParagraphPortion
Reads paragraph portion in shape's textBody.
|
ResponseMessage |
GetShapeParagraph(String name,
Integer slideIndex,
Integer shapeIndex,
Integer paragraphIndex,
String folder,
String storage)
GetShapeParagraph
Reads paragraph in shape's textBody.
|
ResponseMessage |
GetSlidesDocument(String name,
String password,
String storage,
String folder)
GetSlidesDocument
Read presentation info.
|
DocumentPropertiesResponse |
GetSlidesDocumentProperties(String name,
String folder,
String storage)
GetSlidesDocumentProperties
Read presentation document properties.
|
ResponseMessage |
GetSlidesDocumentWithFormat(String name,
String format,
Integer jpegQuality,
String password,
String storage,
String folder,
String outPath)
GetSlidesDocumentWithFormat
Export presentation to some format.
|
ResponseMessage |
GetSlideShapeParagraphs(String name,
Integer slideIndex,
Integer shapeIndex,
String folder,
String storage)
GetSlideShapeParagraphs
Reads a list of paragraphs in shape's textBody.
|
ImagesResponse |
GetSlidesImages(String name,
String folder,
String storage)
GetSlidesImages
Read presentation images info.
|
PlaceholderResponse |
GetSlidesPlaceholder(String name,
Integer slideIndex,
Integer placeholderIndex,
String folder,
String storage)
GetSlidesPlaceholder
Read slide placeholder info.
|
PlaceholdersResponse |
GetSlidesPlaceholders(String name,
Integer slideIndex,
String folder,
String storage)
GetSlidesPlaceholders
Read slide placeholders info.
|
TextItemsResponse |
GetSlidesPresentationTextItems(String name,
Boolean withEmpty,
String folder,
String storage)
GetSlidesPresentationTextItems
Extract presentation text items.
|
SlideResponse |
GetSlidesSlide(String name,
Integer slideIndex,
String folder,
String storage)
GetSlidesSlide
Read slide info.
|
SlideBackgroundResponse |
GetSlidesSlideBackground(String name,
Integer slideIndex,
String folder,
String storage)
GetSlidesSlideBackground
Read presentation slide background color type.
|
SlideCommentsResponse |
GetSlidesSlideComments(String name,
Integer slideIndex,
String folder,
String storage)
GetSlidesSlideComments
Read presentation slide comments.
|
ImagesResponse |
GetSlidesSlideImages(String name,
Integer slideIndex,
String folder,
String storage)
GetSlidesSlideImages
Read slide images info.
|
ShapeListResponse |
GetSlidesSlideShapes(String name,
Integer slideIndex,
String folder,
String storage)
GetSlidesSlideShapes
Read slides shapes info.
|
ShapeResponse |
GetSlidesSlideShapesParent(String name,
Integer slideIndex,
String shapePath,
String folder,
String storage)
GetSlidesSlideShapesParent
Read slide shapes or shape info.
|
SlideListResponse |
GetSlidesSlidesList(String name,
String folder,
String storage)
GetSlidesSlidesList
Read presentation slides info.
|
TextItemsResponse |
GetSlidesSlideTextItems(String name,
Integer slideIndex,
Boolean withEmpty,
String folder,
String storage)
GetSlidesSlideTextItems
Extract slide text items.
|
ThemeResponse |
GetSlidesTheme(String name,
Integer slideIndex,
String folder,
String storage)
GetSlidesTheme
Read slide theme info.
|
ColorSchemeResponse |
GetSlidesThemeColorScheme(String name,
Integer slideIndex,
String folder,
String storage)
GetSlidesThemeColorScheme
Read slide theme color scheme info.
|
FontSchemeResponse |
GetSlidesThemeFontScheme(String name,
Integer slideIndex,
String folder,
String storage)
GetSlidesThemeFontScheme
Read slide theme font scheme info.
|
FormatSchemeResponse |
GetSlidesThemeFormatScheme(String name,
Integer slideIndex,
String folder,
String storage)
GetSlidesThemeFormatScheme
Read slide theme color scheme info.
|
ResponseMessage |
GetSlideWithFormat(String name,
Integer slideIndex,
String format,
Integer width,
Integer height,
String folder,
String storage)
GetSlideWithFormat
Convert slide to some format.
|
SlideListResponse |
PostAddEmptySlide(String name,
String folder,
String storage)
PostAddEmptySlide
Add empty slide to the end of presentation
|
SlideListResponse |
PostAddEmptySlideAtPosition(String name,
Integer position,
String folder,
String storage)
PostAddEmptySlideAtPosition
Add empty presentation slide to the end of presentation
|
SlideListResponse |
PostAddSlideCopy(String name,
Integer slideToClone,
String folder,
String storage)
PostAddSlideCopy
Add a copy of slide to the end of presentation
|
SlideListResponse |
PostClonePresentationSlide(String name,
Integer position,
Integer slideToClone,
String folder,
String storage)
PostClonePresentationSlide
Clone presentation slide
|
SlideListResponse |
PostCopySlideFromSourcePresentation(String name,
Integer slideToCopy,
String source,
Integer position,
String folder,
String storage)
PostCopySlideFromSourcePresentation
Copy slide from source presentation
|
DocumentResponse |
PostPresentationMerge(String name,
String storage,
String folder,
PresentationsMergeRequest body)
PostPresentationMerge
Merge presentations.
|
ResponseMessage |
PostSlidesDocument(String name,
String templatePath,
String templateStorage,
Boolean isImageDataEmbeeded,
String password,
String storage,
String folder,
File file)
PostSlidesDocument
Create presentation
|
PresentationStringReplaceResponse |
PostSlidesPresentationReplaceText(String name,
String oldValue,
String newValue,
Boolean ignoreCase,
String folder,
String storage)
PostSlidesPresentationReplaceText
Replace text by a new value.
|
SlideListResponse |
PostSlidesReorderPosition(String name,
Integer oldPosition,
Integer newPosition,
String folder,
String storage)
PostSlidesReorderPosition
Reorder presentation slide position
|
DocumentPropertiesResponse |
PostSlidesSetDocumentProperties(String name,
String folder,
String storage,
DocumentProperties body)
PostSlidesSetDocumentProperties
Set document properties.
|
SlideStringReplaceResponse |
PostSlidesSlideReplaceText(String name,
Integer slideIndex,
String oldValue,
String newValue,
Boolean ignoreCase,
String folder,
String storage)
PostSlidesSlideReplaceText
Replace text by a new value.
|
SplitDocumentResponse |
PostSlidesSplit(String name,
Integer width,
Integer height,
Integer to,
Integer from,
String destFolder,
String format,
String storage,
String folder)
PostSlidesSplit
Splitting presentations.
|
DocumentResponse |
PutNewPresentation(String name,
String password,
String storage,
String folder,
File file)
PutNewPresentation
Create presentation
|
ResponseMessage |
PutNewPresentationFromStoredTemplate(String name,
String templatePath,
String templateStorage,
String password,
String storage,
String folder,
File file)
PutNewPresentationFromStoredTemplate
Create presentation from stored template
|
DocumentResponse |
PutPresentationMerge(String name,
String storage,
String folder,
OrderedMergeRequest body)
PutPresentationMerge
Merge presentations.
|
ResponseMessage |
PutSetParagraphPortionProperties(String name,
Integer slideIndex,
Integer shapeIndex,
Integer paragraphIndex,
Integer portionIndex,
String folder,
String storage,
Portion body)
PutSetParagraphPortionProperties
Updates paragraph portion properties.
|
ResponseMessage |
PutSlidesConvert(String password,
String format,
String outPath,
File file,
String fontsLocation)
PutSlidesConvert
Convert presentation from request content to format specified.
|
ResponseMessage |
PutSlidesDocumentFromHtml(String name,
String password,
String storage,
String folder,
File file)
PutSlidesDocumentFromHtml
Create presentation document from html
|
ResponseMessage |
PutSlideShapeInfo(String name,
Integer slideIndex,
String shapePath,
String folder,
String storage,
Shape body)
PutSlideShapeInfo
Updates shape properties.
|
DocumentPropertyResponse |
PutSlidesSetDocumentProperty(String name,
String propertyName,
String folder,
String storage,
DocumentProperty body)
PutSlidesSetDocumentProperty
Set document property.
|
SlideBackgroundResponse |
PutSlidesSlideBackground(String name,
Integer slideIndex,
String folder,
String storage,
String body)
PutSlidesSlideBackground
Set presentation slide background color.
|
void |
setBasePath(String basePath) |
public ApiInvoker getInvoker()
public void setBasePath(String basePath)
public String getBasePath()
public ResponseMessage GetSlidesDocument(String name, String password, String storage, String folder)
name
- String The document name.password
- String The document password.storage
- String Document's storage.folder
- String Document's folder.public ResponseMessage GetSlidesDocumentWithFormat(String name, String format, Integer jpegQuality, String password, String storage, String folder, String outPath)
name
- String The document name.format
- String The conversion format.jpegQuality
- Integer Quality of the JPEG images inside PDF document.password
- String The document password.storage
- String Document's storage.folder
- String Document's folder.outPath
- String Path to save resultpublic ResponseMessage PostSlidesDocument(String name, String templatePath, String templateStorage, Boolean isImageDataEmbeeded, String password, String storage, String folder, File file)
name
- String The document name.templatePath
- String Template file path.templateStorage
- String Template storage name.isImageDataEmbeeded
- Boolean Is Image Data Embeededpassword
- String The document password.storage
- String Document's storage.folder
- String Document's folder.file
- Filepublic SplitDocumentResponse PostSlidesSplit(String name, Integer width, Integer height, Integer to, Integer from, String destFolder, String format, String storage, String folder)
name
- String The document name.width
- Integer The width of created images.height
- Integer The height of created images.to
- Integer The last slide number for splitting, if is not specified splitting ends at the last slide of the document.from
- Integer The start slide number for splitting, if is not specified splitting starts from the first slide of the presentation.destFolder
- String Folder on storage where images are going to be uploaded. If not specified then images are uploaded to same folder as presentation.format
- String The format. Default value is jpeg.storage
- String The document storage.folder
- String The document folder.public DocumentResponse PutNewPresentation(String name, String password, String storage, String folder, File file)
name
- String The document name.password
- String The document password.storage
- String Document's storage.folder
- String Document's folder.file
- Filepublic ResponseMessage PutNewPresentationFromStoredTemplate(String name, String templatePath, String templateStorage, String password, String storage, String folder, File file)
name
- String The document name.templatePath
- String Template file path.templateStorage
- String Template storage name.password
- String The document password.storage
- String Document's storage.folder
- String Document's folder.file
- Filepublic ResponseMessage PutSlidesConvert(String password, String format, String outPath, File file, String fontsLocation)
password
- String The document password.format
- String The format.outPath
- String Path to save resultfile
- Filepublic ResponseMessage PutSlidesDocumentFromHtml(String name, String password, String storage, String folder, File file)
name
- String The document name.password
- String The document password.storage
- String Document's storage.folder
- String Document's folder.file
- Filepublic ImagesResponse GetSlidesImages(String name, String folder, String storage)
name
- String The presentation name.folder
- String The presentation folder.storage
- String Document's storage.public ImagesResponse GetSlidesSlideImages(String name, Integer slideIndex, String folder, String storage)
name
- String Presentation name.slideIndex
- Integer The slide index.folder
- String Presentation folder.storage
- String Document's storage.public DocumentResponse PostPresentationMerge(String name, String storage, String folder, PresentationsMergeRequest body)
name
- String Original presentation name.storage
- String The storage.folder
- String The folder.body
- PresentationsMergeRequest with a list of presentations to merge.public DocumentResponse PutPresentationMerge(String name, String storage, String folder, OrderedMergeRequest body)
name
- String Original presentation name.storage
- String The storage.folder
- String The folder.body
- OrderedMergeRequest with a list of presentations to merge.public PlaceholderResponse GetSlidesPlaceholder(String name, Integer slideIndex, Integer placeholderIndex, String folder, String storage)
name
- String Presentation name.slideIndex
- Integer Slide index.placeholderIndex
- Integer Pleceholder index.folder
- String Presentation folder.storage
- String Document's storage.public PlaceholdersResponse GetSlidesPlaceholders(String name, Integer slideIndex, String folder, String storage)
name
- String Presentation name.slideIndex
- Integer Slide index.folder
- String Presentation folder.storage
- String Document's storage.public DocumentPropertiesResponse DeleteSlidesDocumentProperties(String name, String folder, String storage)
name
- String The presentation name.folder
- String The presentation folder.storage
- String Document's storage.public CommonResponse DeleteSlidesDocumentProperty(String name, String propertyName, String folder, String storage)
name
- String The presentation name.propertyName
- String The property name.folder
- String The presentation folder.storage
- String Document's storage.public DocumentPropertiesResponse GetSlidesDocumentProperties(String name, String folder, String storage)
name
- String The document name.folder
- String Document's folder.storage
- String Document's storage.public DocumentPropertiesResponse PostSlidesSetDocumentProperties(String name, String folder, String storage, DocumentProperties body)
name
- String The document name.folder
- String Document's folder.storage
- String Document's storage.body
- DocumentProperties New properties.public DocumentPropertyResponse PutSlidesSetDocumentProperty(String name, String propertyName, String folder, String storage, DocumentProperty body)
name
- String The presentation name.propertyName
- String The property name.folder
- String Document's folder.storage
- String Document's storage.body
- DocumentProperty Property with the value.public ResponseMessage GetParagraphPortion(String name, Integer slideIndex, Integer shapeIndex, Integer paragraphIndex, Integer portionIndex, String folder, String storage)
name
- String Presentation name.slideIndex
- Integer Index of slide starting from 1shapeIndex
- Integer Index of shape starting from 1paragraphIndex
- Integer Index of paragraph starting from 1portionIndex
- Integer Index of portion starting from 1folder
- String Presentation folder.storage
- String Document's storage.public ResponseMessage GetShapeParagraph(String name, Integer slideIndex, Integer shapeIndex, Integer paragraphIndex, String folder, String storage)
name
- String Presentation name.slideIndex
- Integer Index of slide starting from 1shapeIndex
- Integer Index of shape starting from 1paragraphIndex
- Integer Index of paragraph starting from 1folder
- String Presentation folder.storage
- String Document's storage.public ResponseMessage GetSlideShapeParagraphs(String name, Integer slideIndex, Integer shapeIndex, String folder, String storage)
name
- String Presentation name.slideIndex
- Integer Index of slide starting from 1shapeIndex
- Integer Index of shape starting from 1folder
- String Presentation folder.storage
- String Presentation storage.public ShapeListResponse GetSlidesSlideShapes(String name, Integer slideIndex, String folder, String storage)
name
- String Presentation name.slideIndex
- Integer Slide index.folder
- String Presentation folder.storage
- String Presentation storage.public ShapeResponse GetSlidesSlideShapesParent(String name, Integer slideIndex, String shapePath, String folder, String storage)
name
- String Presentation name.slideIndex
- Integer Slide index.shapePath
- String Shape path.folder
- String Presentation folder.storage
- String Presentation storage.public ResponseMessage PutSetParagraphPortionProperties(String name, Integer slideIndex, Integer shapeIndex, Integer paragraphIndex, Integer portionIndex, String folder, String storage, Portion body)
name
- StringslideIndex
- IntegershapeIndex
- IntegerparagraphIndex
- IntegerportionIndex
- Integerfolder
- Stringstorage
- Stringbody
- Portionpublic ResponseMessage PutSlideShapeInfo(String name, Integer slideIndex, String shapePath, String folder, String storage, Shape body)
name
- String Presentation name.slideIndex
- Integer Slide index.shapePath
- String Shape path.folder
- String Presentation folder.storage
- String Presentation storage.body
- Shape Shape dto.public SlideListResponse DeleteSlideByIndex(String name, Integer slideIndex, String folder, String storage)
name
- String The presentation name.slideIndex
- Integer The slide index.folder
- String The presentation folder.storage
- String The presentation storage.public SlideListResponse DeleteSlidesCleanSlidesList(String name, String folder, String storage)
name
- String The presentation name.folder
- String The presentation folder.storage
- String Presentation storage.public SlideBackgroundResponse DeleteSlidesSlideBackground(String name, Integer slideIndex, String folder, String storage)
name
- StringslideIndex
- Integerfolder
- Stringstorage
- Stringpublic SlideResponse GetSlidesSlide(String name, Integer slideIndex, String folder, String storage)
name
- StringslideIndex
- Integerfolder
- Stringstorage
- Stringpublic SlideBackgroundResponse GetSlidesSlideBackground(String name, Integer slideIndex, String folder, String storage)
name
- StringslideIndex
- Integerfolder
- Stringstorage
- Stringpublic SlideCommentsResponse GetSlidesSlideComments(String name, Integer slideIndex, String folder, String storage)
name
- StringslideIndex
- Integerfolder
- Stringstorage
- Stringpublic SlideListResponse GetSlidesSlidesList(String name, String folder, String storage)
name
- String The presentation name.folder
- String The presentation folder.storage
- String Presentation storage.public ResponseMessage GetSlideWithFormat(String name, Integer slideIndex, String format, Integer width, Integer height, String folder, String storage)
name
- StringslideIndex
- Integerformat
- Stringwidth
- Integerheight
- Integerfolder
- Stringstorage
- Stringpublic SlideListResponse PostAddEmptySlide(String name, String folder, String storage)
name
- String The presentation name.folder
- String The presentation folder.storage
- String The presentation storage.public SlideListResponse PostAddEmptySlideAtPosition(String name, Integer position, String folder, String storage)
name
- String The presentation name.position
- Integer The presentation slide position.folder
- String The presentation folder.storage
- String The presentation storage.public SlideListResponse PostAddSlideCopy(String name, Integer slideToClone, String folder, String storage)
name
- String The presentation name.slideToClone
- Integer The presentation slide to clone.folder
- String The presentation folder.storage
- String The presentation storage.public SlideListResponse PostClonePresentationSlide(String name, Integer position, Integer slideToClone, String folder, String storage)
name
- String The presentation name.position
- Integer The presentation slide position.slideToClone
- Integer The presentation slide to clone.folder
- String The presentation folder.storage
- String The presentation storage.public SlideListResponse PostCopySlideFromSourcePresentation(String name, Integer slideToCopy, String source, Integer position, String folder, String storage)
name
- String The presentation name.slideToCopy
- Integer The presentation slide to copy.source
- String The source presentation.position
- Integer The presentation slide position.folder
- String The presentation folder.storage
- String The presentation storage.public SlideListResponse PostSlidesReorderPosition(String name, Integer oldPosition, Integer newPosition, String folder, String storage)
name
- String The presentation name.oldPosition
- Integer The new presentation slide position.newPosition
- Integer The new presentation slide position.folder
- String The presentation folder.storage
- String The presentation storage.public SlideBackgroundResponse PutSlidesSlideBackground(String name, Integer slideIndex, String folder, String storage, String body)
name
- StringslideIndex
- Integerfolder
- Stringstorage
- Stringbody
- Stringpublic TextItemsResponse GetSlidesPresentationTextItems(String name, Boolean withEmpty, String folder, String storage)
name
- String Presentation name.withEmpty
- Boolean Incude empty items.folder
- String Presentation folder.storage
- String Presentation storage.public TextItemsResponse GetSlidesSlideTextItems(String name, Integer slideIndex, Boolean withEmpty, String folder, String storage)
name
- String Presentation name.slideIndex
- Integer Slide's index.withEmpty
- Boolean Include empty items.folder
- String Presentation folder.storage
- String Presentation storage.public PresentationStringReplaceResponse PostSlidesPresentationReplaceText(String name, String oldValue, String newValue, Boolean ignoreCase, String folder, String storage)
name
- String The presentation name.oldValue
- String Text value to replace.newValue
- String The new text value.ignoreCase
- Boolean Is case must be ignored.folder
- String The presentation folder.storage
- String Presentation storage.public SlideStringReplaceResponse PostSlidesSlideReplaceText(String name, Integer slideIndex, String oldValue, String newValue, Boolean ignoreCase, String folder, String storage)
name
- String Presentation name.slideIndex
- Integer Slide's index.oldValue
- String Text to replace.newValue
- String New text value.ignoreCase
- Boolean Is case must be ignored.folder
- String Presentation folder.storage
- String Presentation storage.public ThemeResponse GetSlidesTheme(String name, Integer slideIndex, String folder, String storage)
name
- String Presentation name.slideIndex
- Integer Slide's index.folder
- String Presentation folder.storage
- String Presentation storage.public ColorSchemeResponse GetSlidesThemeColorScheme(String name, Integer slideIndex, String folder, String storage)
name
- String Presentation name.slideIndex
- Integer Slide's index.folder
- String Presentation folder.storage
- String Presentation storage.public FontSchemeResponse GetSlidesThemeFontScheme(String name, Integer slideIndex, String folder, String storage)
name
- String Presentation name.slideIndex
- Integer Slide's index.folder
- String Presentation folder.storage
- String Presentation storage.public FormatSchemeResponse GetSlidesThemeFormatScheme(String name, Integer slideIndex, String folder, String storage)
name
- String Presentation name.slideIndex
- Integer Slide's index.folder
- String Presentation folder.storage
- String Presentation storage.Copyright © 2017. All rights reserved.