public class OImpressDoc extends ODrawDoc
| Modifier and Type | Class and Description |
|---|---|
static class |
OImpressDoc.Bullet
A slide bullet.
|
static class |
OImpressDoc.DateTimeShape
A DateTime shape.
|
static class |
OImpressDoc.FooterShape
A footer shape.
|
static class |
OImpressDoc.OutlinerShape
An outliner shape.
|
static class |
OImpressDoc.ShapeType
Enumerates presentation shape types.
|
class |
OImpressDoc.Slide
A slide (page).
|
static class |
OImpressDoc.SlideLayout
Enumerates slide layouts.
|
static class |
OImpressDoc.SlideNumberShape
A slide number shape.
|
static class |
OImpressDoc.SubtitleShape
A subtitle shape.
|
static class |
OImpressDoc.TitleTextShape
A title text shape.
|
ODrawDoc.BitmapShape, ODrawDoc.ConnectorShape, ODrawDoc.EllipseShape, ODrawDoc.LineDash, ODrawDoc.LineShape, ODrawDoc.Page, ODrawDoc.PageLayer, ODrawDoc.RectangleShape, ODrawDoc.TextShapeORootDoc.Info| Constructor and Description |
|---|
OImpressDoc(java.lang.String url)
Constructs and opens an Impress document.
|
| Modifier and Type | Method and Description |
|---|---|
OImpressDoc.Slide |
insertBitmapSlide(int number,
java.lang.String title,
java.lang.String bitmapUrl)
Inserts a document bitmap slide.
|
OImpressDoc.Slide |
insertBulletSlide(int number,
java.lang.String title,
java.util.Collection<OImpressDoc.Bullet> bullets,
java.lang.String bulletsStyle)
Inserts a document bullet slide.
|
OImpressDoc.Slide |
insertSlide(int number,
OImpressDoc.SlideLayout layout)
Inserts a document slide.
|
OImpressDoc.Slide |
insertTitleSlide(int number,
java.lang.String title,
java.lang.String subTitle)
Inserts a document title slide.
|
java.util.ArrayList<OImpressDoc.Slide> |
masterSlides()
Returns a collection of all document master slides.
|
void |
removeSlide(int number)
Removes a slide.
|
void |
setupMaster()
Optional method to setup the master slide when a document is constructed.
|
java.util.ArrayList<OImpressDoc.Slide> |
slides()
Returns a collection of all document slides.
|
java.lang.String |
writeOdp(java.lang.String url)
Writes the document using OFileFilter.ODP.
|
insertPage, masterPages, page, pages, removePage, writeOdg, xGetXDocclose, deleteStyle, info, logFields, logServices, logShapes, logStyles, logSummary, numPages, numShapes, numStyles, read, setupStyles, shapes, shapesByType, style, styleFamilies, styles, styles, toString, url, write, writeProtected, xGetMSFactory, xGetXComplogProps, xGetPropSetpublic OImpressDoc(java.lang.String url)
throws com.sun.star.uno.Exception
url - the URLcom.sun.star.uno.Exceptionpublic java.util.ArrayList<OImpressDoc.Slide> slides() throws com.sun.star.uno.Exception
com.sun.star.uno.Exceptionpublic java.util.ArrayList<OImpressDoc.Slide> masterSlides() throws com.sun.star.uno.Exception
com.sun.star.uno.Exceptionpublic OImpressDoc.Slide insertSlide(int number, OImpressDoc.SlideLayout layout) throws com.sun.star.uno.Exception
number - the slide number (first is zero)layout - the slide layoutcom.sun.star.uno.Exceptionpublic OImpressDoc.Slide insertTitleSlide(int number, java.lang.String title, java.lang.String subTitle) throws com.sun.star.uno.Exception
number - the slide numbertitle - the slide titlesubTitle - the slide subtitlecom.sun.star.uno.Exceptionpublic OImpressDoc.Slide insertBulletSlide(int number, java.lang.String title, java.util.Collection<OImpressDoc.Bullet> bullets, java.lang.String bulletsStyle) throws com.sun.star.uno.Exception
number - the slide numbertitle - the slide titlebullets - the bulletsbulletsStyle - the bullets' character stylecom.sun.star.uno.Exceptionpublic OImpressDoc.Slide insertBitmapSlide(int number, java.lang.String title, java.lang.String bitmapUrl) throws com.sun.star.uno.Exception
number - the slide numbertitle - the slide titlebitmapUrl - the bitmap URLcom.sun.star.uno.Exceptionpublic void removeSlide(int number)
throws com.sun.star.uno.Exception
number - the slide numbercom.sun.star.uno.Exceptionpublic void setupMaster()
throws com.sun.star.uno.Exception
com.sun.star.uno.Exceptionpublic java.lang.String writeOdp(java.lang.String url)
throws com.sun.star.uno.Exception
url - the URLcom.sun.star.uno.Exception