com.aspose.slides
Class HtmlOptions

java.lang.Object
  extended by com.aspose.slides.SaveOptions
      extended by com.aspose.slides.HtmlOptions
All Implemented Interfaces:
IHtmlOptions, ISaveOptions

public class HtmlOptions
extends SaveOptions
implements IHtmlOptions

Represents a HTML exporting options.


Constructor Summary
HtmlOptions()
           Creates a new HtmlOptions object for saving into single HTML file.
HtmlOptions(ILinkEmbedController linkEmbedController)
           Creates a new HtmlOptions object specifiing callback.
 
Method Summary
 IHtmlFormatter getHtmlFormatter()
           Returns or sets HTML template.
 byte getJpegQuality()
           Returns or sets a value determining the quality of the JPEG images inside PDF document.
 ISlideImageFormat getSlideImageFormat()
           Returns or sets slide image format options.
 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 setSlideImageFormat(ISlideImageFormat value)
           Returns or sets slide image format options.
 
Methods inherited from class com.aspose.slides.SaveOptions
getWarningCallback, setWarningCallback
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.aspose.slides.ISaveOptions
getWarningCallback, setWarningCallback
 

Constructor Detail

HtmlOptions

public HtmlOptions(ILinkEmbedController linkEmbedController)

Creates a new HtmlOptions object specifiing callback.

Parameters:
linkEmbedController - Callback object which controls saving project.

HtmlOptions

public HtmlOptions()

Creates a new HtmlOptions object for saving into single HTML file.

Method Detail

getHtmlFormatter

public IHtmlFormatter getHtmlFormatter()

Returns or sets HTML template. Read/write IHtmlFormatter.

Specified by:
getHtmlFormatter in interface IHtmlOptions

setHtmlFormatter

public void setHtmlFormatter(IHtmlFormatter value)

Returns or sets HTML template. Read/write IHtmlFormatter.

Specified by:
setHtmlFormatter in interface IHtmlOptions

getSlideImageFormat

public ISlideImageFormat getSlideImageFormat()

Returns or sets slide image format options. Read/write ISlideImageFormat.

Specified by:
getSlideImageFormat in interface IHtmlOptions

setSlideImageFormat

public void setSlideImageFormat(ISlideImageFormat value)

Returns or sets slide image format options. Read/write ISlideImageFormat.

Specified by:
setSlideImageFormat in interface IHtmlOptions

getJpegQuality

public 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>

Specified by:
getJpegQuality in interface IHtmlOptions

setJpegQuality

public 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>

Specified by:
setJpegQuality in interface IHtmlOptions


Copyright © Copyright 2004-2016 Aspose Pty Ltd. All Rights Reserved.