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