public final class HtmlVersion
extends java.lang.Object
SaveFormat.HTML and SaveFormat.MHTML formats.| Modifier and Type | Field and Description |
|---|---|
static int |
HTML_5
Saves the document in compliance with the HTML 5 standard.
|
static int |
length |
static int |
XHTML
Saves the document in compliance with the XHTML 1.0 Transitional standard.
|
| Modifier and Type | Method and Description |
|---|---|
static int |
fromName(java.lang.String htmlVersionName) |
static java.lang.String |
getName(int htmlVersion) |
static int[] |
getValues() |
static java.lang.String |
toString(int htmlVersion) |
public static final int XHTML
Aspose.Words aims to output XHTML according to the XHTML 1.0 Transitional standard, but the output will not always validate against the DTD. Some structures inside a Microsoft Word document are hard or impossible to map to a document that will validate against the XHTML schema. For example, XHTML does not allow nested lists (UL cannot be nested inside another UL element), but in Microsoft Word document multilevel lists occur quite often.
public static final int HTML_5
public static final int length