com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Class HtmlOptions

    • 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

      • getShowHiddenSlides

        public final boolean getShowHiddenSlides()

        Specifies whether the generated document should include hidden slides or not. Default is false.

        Specified by:
        getShowHiddenSlides in interface IHtmlOptions
      • setShowHiddenSlides

        public final void setShowHiddenSlides(boolean value)

        Specifies whether the generated document should include hidden slides or not. Default is false.

        Specified by:
        setShowHiddenSlides in interface IHtmlOptions
      • getJpegQuality

        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>

        Specified by:
        getJpegQuality in interface IHtmlOptions
      • setJpegQuality

        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>

        Specified by:
        setJpegQuality in interface IHtmlOptions
      • getPicturesCompression

        public final int getPicturesCompression()

        Represents the pictures compression level

        Specified by:
        getPicturesCompression in interface IHtmlOptions
      • setPicturesCompression

        public final void setPicturesCompression(int value)

        Represents the pictures compression level

        Specified by:
        setPicturesCompression in interface IHtmlOptions
      • getDeletePicturesCroppedAreas

        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)

        Specified by:
        getDeletePicturesCroppedAreas in interface IHtmlOptions
      • setDeletePicturesCroppedAreas

        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)

        Specified by:
        setDeletePicturesCroppedAreas in interface IHtmlOptions
      • getIncludeComments

        @Deprecated
        public final boolean getIncludeComments()
        Deprecated. Use property NotesCommentsLayouting.setCommentsPosition(CommentsPositions.Bottom) instead. The property will be removed after release of version 18.4.

        True to insert comment pages into generated HTML. Read/write boolean.


        Default is <b>false</b>.

        Specified by:
        getIncludeComments in interface IHtmlOptions
      • setIncludeComments

        @Deprecated
        public final void setIncludeComments(boolean value)
        Deprecated. Use property NotesCommentsLayouting.setCommentsPosition(CommentsPositions.Bottom) instead. The property will be removed after release of version 18.4.

        True to insert comment pages into generated HTML. Read/write boolean.


        Default is <b>false</b>.

        Specified by:
        setIncludeComments in interface IHtmlOptions