Slide
Slide class
Represents a slide in a presentation.
| Name | Description |
|---|
| getHeaderFooterManager () | Returns HeaderFooter manager of the slide. Read-only ISlideHeaderFooterManager. |
Result:
SlideHeaderFooterManager
getHidden
| Name | Description |
|---|
| getHidden () | Determines whether the specified slide is hidden during a slide show. Read/write boolean. |
Result:
boolean
getLayoutSlide
| Name | Description |
|---|
| getLayoutSlide () | Returns or sets the layout slide for the current slide. Read/write ILayoutSlide. |
Result:
LayoutSlide
getNotesSlideManager
| Name | Description |
|---|
| getNotesSlideManager () | Allow to access notes slide, add and remove it. Read-only INotesSlideManager. |
Result:
NotesSlideManager
getShowMasterShapes
| Name | Description |
|---|
| getShowMasterShapes () | Specifies if shapes on the master slide should be shown on slides or not. Read/write boolean. |
Result:
boolean
| Name | Description |
|---|
| getSlideComments (CommentAuthor) | Returns all slide comments added by specific author. |
Parameters:
| Name | Type | Description |
|---|
| author | CommentAuthor | Author of comments to find or null to return all comments. |
Result:
Comment, ModernComment
getSlideNumber
| Name | Description |
|---|
| getSlideNumber () | Returns a number of slide. Index of slide in ( Presentation#getSlides) collection is always equal to SlideNumber - Presentation.FirstSlideNumber. Read/write int. |
Result:
int
getThemeManager
| Name | Description |
|---|
| getThemeManager () | Returns the overriding theme manager. Read-only IOverrideThemeManager. |
Result:
NotesSlideThemeManager, ChartThemeManager, BaseOverrideThemeManager, LayoutSlideThemeManager, SlideThemeManager
getThumbnail
| Name | Description |
|---|
| getThumbnail (float, float) | Returns a Thumbnail Bitmap object with custom scaling. |
Parameters:
| Name | Type | Description |
|---|
| scaleX | float | The value by which to scale this Thumbnail in the x-axis direction. |
| scaleY | float | The value by which to scale this Thumbnail in the y-axis direction. |
Result:
BufferedImage
getThumbnail
| Name | Description |
|---|
| getThumbnail () | Returns a Thumbnail Image object (20% of real size). |
Result:
BufferedImage
getThumbnail
| Name | Description |
|---|
| getThumbnail (Dimension) | Returns a Thumbnail Bitmap object with specified size. |
Parameters:
| Name | Type | Description |
|---|
| imageSize | Dimension | Size of the image to create. |
Result:
BufferedImage
getThumbnail
| Name | Description |
|---|
| getThumbnail (TiffOptions) | Returns a Thumbnail tiff BufferedImage object with specified parameters. |
Parameters:
Result:
BufferedImage
Error
| Error | Condition |
|---|
| InvalidOperationException | Thrown when options.NotesCommentsLayouting.NotesPosition takes the value NotesPositions.BottomFull. |
getThumbnail
Parameters:
Result:
BufferedImage
Error
| Error | Condition |
|---|
| InvalidOperationException | Thrown when notesCommentsLayouting.NotesPosition takes the value NotesPositions.BottomFull |
getThumbnail
Parameters:
| Name | Type | Description |
|---|
| notesCommentsLayouting | NotesCommentsLayoutingOptions | Options for notes and comments layouting. |
| scaleX | float | The value by which to scale this Thumbnail in the x-axis direction. |
| scaleY | float | The value by which to scale this Thumbnail in the y-axis direction. |
Result:
BufferedImage
Error
| Error | Condition |
|---|
| InvalidOperationException | Thrown when notesCommentsLayouting.NotesPosition takes the value NotesPositions.BottomFull |
getThumbnail
Parameters:
| Name | Type | Description |
|---|
| notesCommentsLayouting | NotesCommentsLayoutingOptions | Options for notes and comments layouting. |
| imageSize | Dimension | Size of the image to create. |
Result:
BufferedImage
Error
| Error | Condition |
|---|
| InvalidOperationException | Thrown when notesCommentsLayouting.NotesPosition takes the value NotesPositions.BottomFull |
getThumbnail
| Name | Description |
|---|
| getThumbnail (RenderingOptions) | Returns a Thumbnail BufferedImage object. |
Parameters:
Result:
BufferedImage
Error
| Error | Condition |
|---|
| InvalidOperationException | Thrown when notesCommentsLayouting.NotesPosition takes the value NotesPositions.BottomFull |
getThumbnail
| Name | Description |
|---|
| getThumbnail (RenderingOptions, float, float) | Returns a Thumbnail BufferedImage object with custom scaling. |
Parameters:
| Name | Type | Description |
|---|
| options | RenderingOptions | Rendering options. |
| scaleX | float | The value by which to scale this Thumbnail in the x-axis direction. |
| scaleY | float | The value by which to scale this Thumbnail in the y-axis direction. |
Result:
BufferedImage
Error
| Error | Condition |
|---|
| InvalidOperationException | Thrown when notesCommentsLayouting.NotesPosition takes the value NotesPositions.BottomFull |
getThumbnail
| Name | Description |
|---|
| getThumbnail (RenderingOptions, Dimension) | Returns a Thumbnail BufferedImage object with specified size. |
Parameters:
| Name | Type | Description |
|---|
| options | RenderingOptions | Rendering options. |
| imageSize | Dimension | Size of the image to create. |
Result:
BufferedImage
Error
| Error | Condition |
|---|
| InvalidOperationException | Thrown when options.NotesCommentsLayouting.NotesPosition takes the value NotesPositions.BottomFull |
| Name | Description |
|---|
| joinPortionsWithSameFormatting () | Joins runs with same formatting in all paragraphs in all acceptable shapes. |
remove
| Name | Description |
|---|
| remove () | Removes slide from presentation. |
Error
| Error | Condition |
|---|
| PptxEditException | Thrown if slide is already removed from presentation. |
renderToGraphics
| Name | Description |
|---|
| renderToGraphics (NotesCommentsLayoutingOptions, Graphics2D, int, int) | Renders certain slide to a Graphics object using specified size. |
Parameters:
| Name | Type | Description |
|---|
| notesCommentsLayouting | NotesCommentsLayoutingOptions | Options for notes and comments layouting. |
| graphics | Graphics2D | The object where to render to. |
| width | int | The maximum width (in pixels) that can be occupied by the rendered slide. |
| height | int | The maximum height (in pixels) that can be occupied by the rendered slide. |
Error
| Error | Condition |
|---|
| InvalidOperationException | Thrown when notesCommentsLayouting.NotesPosition takes the value NotesPositions.BottomFull |
renderToGraphics
| Name | Description |
|---|
| renderToGraphics (NotesCommentsLayoutingOptions, Graphics2D, float) | Renders certain slide to a Graphics object using specified scale. |
Parameters:
| Name | Type | Description |
|---|
| notesCommentsLayouting | NotesCommentsLayoutingOptions | Options for notes and comments layouting. |
| graphics | Graphics2D | The object where to render to. |
| scale | float | The scale for rendering the slide (1.0 is 100%). |
Error
| Error | Condition |
|---|
| InvalidOperationException | Thrown when notesCommentsLayouting.NotesPosition takes the value NotesPositions.BottomFull |
renderToGraphics
Parameters:
| Name | Type | Description |
|---|
| notesCommentsLayouting | NotesCommentsLayoutingOptions | Options for notes and comments layouting. |
| graphics | Graphics2D | The object where to render to. |
Error
| Error | Condition |
|---|
| InvalidOperationException | Thrown when notesCommentsLayouting.NotesPosition takes the value NotesPositions.BottomFull |
renderToGraphics
| Name | Description |
|---|
| renderToGraphics (RenderingOptions, Graphics2D) | Renders certain slide to a Graphics object. |
Parameters:
| Name | Type | Description |
|---|
| options | RenderingOptions | Rendering options. |
| graphics | Graphics2D | The object where to render to. |
Error
| Error | Condition |
|---|
| InvalidOperationException | Thrown when notesCommentsLayouting.NotesPosition takes the value NotesPositions.BottomFull |
renderToGraphics
| Name | Description |
|---|
| renderToGraphics (RenderingOptions, Graphics2D, float, float) | Renders certain slide to a Graphics object with custom scaling. |
Parameters:
| Name | Type | Description |
|---|
| options | RenderingOptions | Rendering options. |
| graphics | Graphics2D | The object where to render to. |
| scaleX | float | The scale for rendering the slide (1.0 is 100%) in the x-axis direction. |
| scaleY | float | The scale for rendering the slide (1.0 is 100%) in the y-axis direction. |
Error
| Error | Condition |
|---|
| InvalidOperationException | Thrown when notesCommentsLayouting.NotesPosition takes the value NotesPositions.BottomFull |
renderToGraphics
| Name | Description |
|---|
| renderToGraphics (RenderingOptions, Graphics2D, Dimension) | Renders certain slide to a Graphics object using specified size. |
Parameters:
| Name | Type | Description |
|---|
| options | RenderingOptions | Rendering options. |
| graphics | Graphics2D | The object where to render to. |
| renderingSize | Dimension | The maximum dimensions (in pixels) that can be occupied by the rendered slide. |
Error
| Error | Condition |
|---|
| InvalidOperationException | Thrown when notesCommentsLayouting.NotesPosition takes the value NotesPositions.BottomFull |
reset
| Name | Description |
|---|
| reset () | Resets position, size and formatting of every shape that has a prototype on LayoutSlide. |
setHidden
| Name | Description |
|---|
| setHidden (boolean) | Determines whether the specified slide is hidden during a slide show. Read/write boolean. |
setLayoutSlide
| Name | Description |
|---|
| setLayoutSlide (LayoutSlide) | Returns or sets the layout slide for the current slide. Read/write ILayoutSlide. |
setShowMasterShapes
| Name | Description |
|---|
| setShowMasterShapes (boolean) | Specifies if shapes on the master slide should be shown on slides or not. Read/write boolean. |
setSlideNumber
| Name | Description |
|---|
| setSlideNumber (int) | Returns a number of slide. Index of slide in ( Presentation#getSlides) collection is always equal to SlideNumber - Presentation.FirstSlideNumber. Read/write int. |
writeAsSvgToStream
| Name | Description |
|---|
| writeAsSvgToStream (Slide, WriteStream) | Saves content of slide as SVG file. |
Parameters:
| Name | Type | Description |
|---|
| slide | Slide | link to self |
| stream | WriteStream | Target stream |
writeAsSvgToStream
| Name | Description |
|---|
| writeAsSvgToStream (Slide, WriteStream, SVGOptions) | Saves content of slide as SVG file. |
Parameters:
| Name | Type | Description |
|---|
| slide | Slide | link to self |
| stream | WriteStream | Target stream |
| svgOptions | SVGOptions | SVG generation options |