public class HtmlOfficeMathOutputMode
Example:
// Open a document that contains OfficeMath objects
Document doc = new Document(getMyDir() + "Office math.docx");
// Create a HtmlSaveOptions object and configure it to export OfficeMath objects as images
HtmlSaveOptions options = new HtmlSaveOptions();
options.setOfficeMathOutputMode(HtmlOfficeMathOutputMode.IMAGE);
doc.save(getArtifactsDir() + "HtmlSaveOptions.OfficeMathOutputMode.html", options);
Field Summary | ||
---|---|---|
static final int | IMAGE | |
OfficeMath is converted to HTML as image specified by <img> tag.
|
||
static final int | MATH_ML | |
OfficeMath is converted to HTML using MathML.
|
||
static final int | TEXT | |
OfficeMath is converted to HTML as sequence of runs specified by <span> tags.
|
public static final int IMAGE
public static final int MATH_ML
public static final int TEXT