public class HtmlOptions extends SaveOptions implements IHtmlOptions
Represents a HTML exporting options.
Constructor and Description |
---|
HtmlOptions()
Creates a new HtmlOptions object for saving into single HTML file.
|
HtmlOptions(ILinkEmbedController linkEmbedController)
Creates a new HtmlOptions object specifiing callback.
|
Modifier and Type | Method and Description |
---|---|
boolean |
getDeletePicturesCroppedAreas()
A boolean flag indicates if the cropped parts remain as part of the document.
|
IHtmlFormatter |
getHtmlFormatter()
Returns or sets HTML template.
|
byte |
getJpegQuality()
Returns or sets a value determining the quality of the JPEG images inside PDF document.
|
INotesCommentsLayoutingOptions |
getNotesCommentsLayouting()
Provides options that control how notes and comments is placed in exported document.
|
int |
getPicturesCompression()
Represents the pictures compression level
|
boolean |
getShowHiddenSlides()
Specifies whether the generated document should include hidden slides or not.
|
ISlideImageFormat |
getSlideImageFormat()
Returns or sets slide image format options.
|
boolean |
getSvgResponsiveLayout()
True to exclude width and height attributes from svg container - that will make layout responsive.
|
void |
setDeletePicturesCroppedAreas(boolean value)
A boolean flag indicates if the cropped parts remain as part of the document.
|
void |
setHtmlFormatter(IHtmlFormatter value)
Returns or sets HTML template.
|
void |
setJpegQuality(byte value)
Returns or sets a value determining the quality of the JPEG images inside PDF document.
|
void |
setPicturesCompression(int value)
Represents the pictures compression level
|
void |
setShowHiddenSlides(boolean value)
Specifies whether the generated document should include hidden slides or not.
|
void |
setSlideImageFormat(ISlideImageFormat value)
Returns or sets slide image format options.
|
void |
setSvgResponsiveLayout(boolean value)
True to exclude width and height attributes from svg container - that will make layout responsive.
|
getDefaultRegularFont, getProgressCallback, getWarningCallback, setDefaultRegularFont, setProgressCallback, setWarningCallback
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDefaultRegularFont, getProgressCallback, getWarningCallback, setDefaultRegularFont, setProgressCallback, setWarningCallback
public HtmlOptions(ILinkEmbedController linkEmbedController)
Creates a new HtmlOptions object specifiing callback.
linkEmbedController
- Callback object which controls saving project.public HtmlOptions()
Creates a new HtmlOptions object for saving into single HTML file.
public final INotesCommentsLayoutingOptions getNotesCommentsLayouting()
Provides options that control how notes and comments is placed in exported document.
getNotesCommentsLayouting
in interface IHtmlOptions
public final boolean getShowHiddenSlides()
Specifies whether the generated document should include hidden slides or not.
Default is false
.
getShowHiddenSlides
in interface IHtmlOptions
public final void setShowHiddenSlides(boolean value)
Specifies whether the generated document should include hidden slides or not.
Default is false
.
setShowHiddenSlides
in interface IHtmlOptions
public final IHtmlFormatter getHtmlFormatter()
Returns or sets HTML template.
Read/write IHtmlFormatter
.
getHtmlFormatter
in interface IHtmlOptions
public final void setHtmlFormatter(IHtmlFormatter value)
Returns or sets HTML template.
Read/write IHtmlFormatter
.
setHtmlFormatter
in interface IHtmlOptions
public final ISlideImageFormat getSlideImageFormat()
Returns or sets slide image format options.
Read/write ISlideImageFormat
.
getSlideImageFormat
in interface IHtmlOptions
public final void setSlideImageFormat(ISlideImageFormat value)
Returns or sets slide image format options.
Read/write ISlideImageFormat
.
setSlideImageFormat
in interface IHtmlOptions
public final byte getJpegQuality()
Returns or sets a value determining the quality of the JPEG images inside PDF document.
Read/write byte
.
<p>Has effect only when a document contains JPEG images.</p>
<p>Use this property to get or set the quality of the images inside a document when saving in PDF format.
The value may vary from 0 to 100 where 0 means worst quality but maximum compression and 100 means best quality but minimum compression.</p>
<p>The default value is <b>95</b>.</p>
getJpegQuality
in interface IHtmlOptions
public final void setJpegQuality(byte value)
Returns or sets a value determining the quality of the JPEG images inside PDF document.
Read/write byte
.
<p>Has effect only when a document contains JPEG images.</p>
<p>Use this property to get or set the quality of the images inside a document when saving in PDF format.
The value may vary from 0 to 100 where 0 means worst quality but maximum compression and 100 means best quality but minimum compression.</p>
<p>The default value is <b>95</b>.</p>
setJpegQuality
in interface IHtmlOptions
public final int getPicturesCompression()
Represents the pictures compression level
getPicturesCompression
in interface IHtmlOptions
public final void setPicturesCompression(int value)
Represents the pictures compression level
setPicturesCompression
in interface IHtmlOptions
public final boolean getDeletePicturesCroppedAreas()
A boolean flag indicates if the cropped parts remain as part of the document. If true the cropped parts will removed, if false they will be serialized in the document (which can possible lead to a larger file)
getDeletePicturesCroppedAreas
in interface IHtmlOptions
public final void setDeletePicturesCroppedAreas(boolean value)
A boolean flag indicates if the cropped parts remain as part of the document. If true the cropped parts will removed, if false they will be serialized in the document (which can possible lead to a larger file)
setDeletePicturesCroppedAreas
in interface IHtmlOptions
public final boolean getSvgResponsiveLayout()
True to exclude width and height attributes from svg container - that will make layout responsive. False - otherwise.
Read/write boolean
.
getSvgResponsiveLayout
in interface IHtmlOptions
public final void setSvgResponsiveLayout(boolean value)
True to exclude width and height attributes from svg container - that will make layout responsive. False - otherwise.
Read/write boolean
.
setSvgResponsiveLayout
in interface IHtmlOptions