com.aspose.pdf

Interfaces

Classes

Enums

Exceptions

com.aspose.pdf

Class HtmlSaveOptions.PartsEmbeddingModes

  • java.lang.Object
    • com.aspose.ms.System.ValueType<com.aspose.ms.System.Enum>
      • com.aspose.ms.System.Enum
        • com.aspose.pdf.HtmlSaveOptions.PartsEmbeddingModes
  • Enclosing class:
    HtmlSaveOptions


    public static final class HtmlSaveOptions.PartsEmbeddingModes
    extends com.aspose.ms.System.Enum

    This enum enumerates possible modes of embedding of files referenced in HTML It allows to control whether referenced files (HTML, Fonts,Images, CSSes) will be embedded into main HTML file or will be generated as apart binary entities

    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.aspose.ms.System.Enum

        com.aspose.ms.System.Enum.AbstractEnum, com.aspose.ms.System.Enum.FlaggedEnum, com.aspose.ms.System.Enum.ObjectEnum, com.aspose.ms.System.Enum.SimpleEnum
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static int EmbedAllIntoHtml
      Enforces embed all referenced files(Css,Images,Fonts) into generated HTML markup (i.e.
      static int EmbedCssOnly
      Enforces put apart all referenced files except CSS (Images and Fonts) I.e.
      static int NoEmbedding
      Enforces put apart referenced files(Css,Images,Fonts) This approach generates set of files, but total size of output becames smaller(because no Base64 encoding of binaries is in use) Also such approach generates HTML that is sutable for wide set of browsers
      • Fields inherited from class com.aspose.ms.System.Enum

        EnumSeparatorCharArray
    • Method Summary

      • Methods inherited from class com.aspose.ms.System.Enum

        Clone, CloneTo, format, format, get_Caption, get_Value, getName, getNames, getNames, getUnderlyingType, getUnderlyingType, getValue, getValues, isDefined, isDefined, isDefined, isDefined, parse, parse, parse, parse, register, toObject
    • Field Detail

      • EmbedAllIntoHtml

        public static final int EmbedAllIntoHtml

        Enforces embed all referenced files(Css,Images,Fonts) into generated HTML markup (i.e. into HTML itself) This approach generates one HTML file, but total size of output becames bigger(because Base64 encoding of binaries is in use) and not all browsers (especially legacy) successfully process binaries embedded into HTML. But it allows get HTML that contains whole result, without any additional files.

        See Also:
        Constant Field Values
      • EmbedCssOnly

        public static final int EmbedCssOnly

        Enforces put apart all referenced files except CSS (Images and Fonts) I.e. CSS will be embedded into result HTML , and all other referenced files(Images and Fonts) will be processed as external parts It generates HTML that is sutable for wide set of browsers

        See Also:
        Constant Field Values
      • NoEmbedding

        public static final int NoEmbedding

        Enforces put apart referenced files(Css,Images,Fonts) This approach generates set of files, but total size of output becames smaller(because no Base64 encoding of binaries is in use) Also such approach generates HTML that is sutable for wide set of browsers

        See Also:
        Constant Field Values