public class SwfOptions extends SaveOptions implements ISwfOptions
Provides options that control how a presentation is saved in Swf format.
Constructor and Description |
---|
SwfOptions()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
getCompressed()
Specifies whether the generated SWF document should be compressed or not.
|
boolean |
getEnableContextMenu()
Enable/disable context menu.
|
int |
getJpegQuality()
Specifies the quality of JPEG images.
|
byte[] |
getLogoImageBytes()
Image that will be displayed as logo in the top right corner of the viewer.
|
java.lang.String |
getLogoLink()
Gets or sets the full hyperlink address for a logo.
|
INotesCommentsLayoutingOptions |
getNotesCommentsLayouting()
Provides options that control how notes and comments is placed in exported document.
|
boolean |
getShowBottomPane()
Show/hide bottom pane.
|
boolean |
getShowFullScreen()
Show/hide fullscreen button.
|
boolean |
getShowHiddenSlides()
Specifies whether the generated document should include hidden slides or not.
|
boolean |
getShowLeftPane()
Show/hide left pane.
|
boolean |
getShowPageBorder()
Specifies whether border around pages should be shown.
|
boolean |
getShowPageStepper()
Show/hide page stepper.
|
boolean |
getShowSearch()
Show/hide search section.
|
boolean |
getShowTopPane()
Show/hide whole top pane.
|
boolean |
getStartOpenLeftPane()
Start with opened left pane.
|
boolean |
getViewerIncluded()
Specifies whether the generated SWF document should include the integrated document viewer or not.
|
void |
setCompressed(boolean value)
Specifies whether the generated SWF document should be compressed or not.
|
void |
setEnableContextMenu(boolean value)
Enable/disable context menu.
|
void |
setJpegQuality(int value)
Specifies the quality of JPEG images.
|
void |
setLogoImageBytes(byte[] value)
Image that will be displayed as logo in the top right corner of the viewer.
|
void |
setLogoLink(java.lang.String value)
Gets or sets the full hyperlink address for a logo.
|
void |
setShowBottomPane(boolean value)
Show/hide bottom pane.
|
void |
setShowFullScreen(boolean value)
Show/hide fullscreen button.
|
void |
setShowHiddenSlides(boolean value)
Specifies whether the generated document should include hidden slides or not.
|
void |
setShowLeftPane(boolean value)
Show/hide left pane.
|
void |
setShowPageBorder(boolean value)
Specifies whether border around pages should be shown.
|
void |
setShowPageStepper(boolean value)
Show/hide page stepper.
|
void |
setShowSearch(boolean value)
Show/hide search section.
|
void |
setShowTopPane(boolean value)
Show/hide whole top pane.
|
void |
setStartOpenLeftPane(boolean value)
Start with opened left pane.
|
void |
setViewerIncluded(boolean value)
Specifies whether the generated SWF document should include the integrated document viewer or not.
|
getDefaultRegularFont, getProgressCallback, getWarningCallback, setDefaultRegularFont, setProgressCallback, setWarningCallback
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDefaultRegularFont, getProgressCallback, getWarningCallback, setDefaultRegularFont, setProgressCallback, setWarningCallback
public final boolean getShowHiddenSlides()
Specifies whether the generated document should include hidden slides or not.
Default is false
.
getShowHiddenSlides
in interface ISwfOptions
public final void setShowHiddenSlides(boolean value)
Specifies whether the generated document should include hidden slides or not.
Default is false
.
setShowHiddenSlides
in interface ISwfOptions
public final boolean getCompressed()
Specifies whether the generated SWF document should be compressed or not.
Default is true
.
getCompressed
in interface ISwfOptions
public final void setCompressed(boolean value)
Specifies whether the generated SWF document should be compressed or not.
Default is true
.
setCompressed
in interface ISwfOptions
public final boolean getViewerIncluded()
Specifies whether the generated SWF document should include the integrated document viewer or not.
Default is true
.
getViewerIncluded
in interface ISwfOptions
public final void setViewerIncluded(boolean value)
Specifies whether the generated SWF document should include the integrated document viewer or not.
Default is true
.
setViewerIncluded
in interface ISwfOptions
public final boolean getShowPageBorder()
Specifies whether border around pages should be shown. Default is true.
getShowPageBorder
in interface ISwfOptions
public final void setShowPageBorder(boolean value)
Specifies whether border around pages should be shown. Default is true.
setShowPageBorder
in interface ISwfOptions
public final boolean getShowFullScreen()
Show/hide fullscreen button. Can be overridden in flashvars. Default is true.
getShowFullScreen
in interface ISwfOptions
public final void setShowFullScreen(boolean value)
Show/hide fullscreen button. Can be overridden in flashvars. Default is true.
setShowFullScreen
in interface ISwfOptions
public final boolean getShowPageStepper()
Show/hide page stepper. Can be overridden in flashvars. Default is true.
getShowPageStepper
in interface ISwfOptions
public final void setShowPageStepper(boolean value)
Show/hide page stepper. Can be overridden in flashvars. Default is true.
setShowPageStepper
in interface ISwfOptions
public final boolean getShowSearch()
Show/hide search section. Can be overridden in flashvars. Default is true.
getShowSearch
in interface ISwfOptions
public final void setShowSearch(boolean value)
Show/hide search section. Can be overridden in flashvars. Default is true.
setShowSearch
in interface ISwfOptions
public final boolean getShowTopPane()
Show/hide whole top pane. Can be overridden in flashvars. Default is true.
getShowTopPane
in interface ISwfOptions
public final void setShowTopPane(boolean value)
Show/hide whole top pane. Can be overridden in flashvars. Default is true.
setShowTopPane
in interface ISwfOptions
public final boolean getShowBottomPane()
Show/hide bottom pane. Can be overridden in flashvars. Default is true.
getShowBottomPane
in interface ISwfOptions
public final void setShowBottomPane(boolean value)
Show/hide bottom pane. Can be overridden in flashvars. Default is true.
setShowBottomPane
in interface ISwfOptions
public final boolean getShowLeftPane()
Show/hide left pane. Can be overridden in flashvars. Default is true.
getShowLeftPane
in interface ISwfOptions
public final void setShowLeftPane(boolean value)
Show/hide left pane. Can be overridden in flashvars. Default is true.
setShowLeftPane
in interface ISwfOptions
public final boolean getStartOpenLeftPane()
Start with opened left pane. Can be overridden in flashvars. Default is false.
getStartOpenLeftPane
in interface ISwfOptions
public final void setStartOpenLeftPane(boolean value)
Start with opened left pane. Can be overridden in flashvars. Default is false.
setStartOpenLeftPane
in interface ISwfOptions
public final boolean getEnableContextMenu()
Enable/disable context menu. Default is true.
getEnableContextMenu
in interface ISwfOptions
public final void setEnableContextMenu(boolean value)
Enable/disable context menu. Default is true.
setEnableContextMenu
in interface ISwfOptions
public final byte[] getLogoImageBytes()
Image that will be displayed as logo in the top right corner of the viewer. Image should be 32x64 pixels PNG image, otherwise logo can be displayed improperly.
getLogoImageBytes
in interface ISwfOptions
public final void setLogoImageBytes(byte[] value)
Image that will be displayed as logo in the top right corner of the viewer. Image should be 32x64 pixels PNG image, otherwise logo can be displayed improperly.
setLogoImageBytes
in interface ISwfOptions
public final java.lang.String getLogoLink()
Gets or sets the full hyperlink address for a logo.
Has an effect only if a LogoImageBytes
(getLogoImageBytes()
/setLogoImageBytes(byte[])
) is specified.
getLogoLink
in interface ISwfOptions
public final void setLogoLink(java.lang.String value)
Gets or sets the full hyperlink address for a logo.
Has an effect only if a LogoImageBytes
(getLogoImageBytes()
/setLogoImageBytes(byte[])
) is specified.
setLogoLink
in interface ISwfOptions
public final int getJpegQuality()
Specifies the quality of JPEG images. Default is 95.
getJpegQuality
in interface ISwfOptions
public final void setJpegQuality(int value)
Specifies the quality of JPEG images. Default is 95.
setJpegQuality
in interface ISwfOptions
public final INotesCommentsLayoutingOptions getNotesCommentsLayouting()
Provides options that control how notes and comments is placed in exported document.
getNotesCommentsLayouting
in interface ISwfOptions