public final class JEuclidUtilities
extends java.lang.Object
WebPageOutputOptionsBuilder| 构造器和说明 |
|---|
JEuclidUtilities() |
| 限定符和类型 | 方法和说明 |
|---|---|
static uk.ac.ed.ph.snuggletex.WebPageOutputOptions |
createHTML4WebPageOptions(boolean downConvertFirst,
MathMLImageSavingCallback callback)
Creates a new
WebPageOutputOptions suitably configured for to convert MathML
to images, with optional down-conversion. |
static uk.ac.ed.ph.snuggletex.WebPageOutputOptions |
createHTML5WebPageOptions(boolean downConvertFirst,
MathMLImageSavingCallback callback)
Creates a new
WebPageOutputOptions suitably configured for to convert MathML
to images, with optional down-conversion. |
static uk.ac.ed.ph.snuggletex.WebPageOutputOptions |
createWebPageOptions(boolean downConvertFirst,
MathMLImageSavingCallback callback)
已过时。
|
static uk.ac.ed.ph.snuggletex.WebPageOutputOptions |
createXHTMLWebPageOptions(boolean downConvertFirst,
MathMLImageSavingCallback callback)
Creates a new
WebPageOutputOptions suitably configured for to convert MathML
to images, with optional down-conversion. |
static void |
setupJEuclidPostProcessors(uk.ac.ed.ph.snuggletex.DOMOutputOptions options,
boolean downConvertFirst,
MathMLImageSavingCallback callback)
Takes an existing
DOMOutputOptions and configures it to convert
MathML to images using JEuclid, optionally down-converting simple expressions to HTML+CSS
beforehand. |
public static void setupJEuclidPostProcessors(uk.ac.ed.ph.snuggletex.DOMOutputOptions options,
boolean downConvertFirst,
MathMLImageSavingCallback callback)
DOMOutputOptions and configures it to convert
MathML to images using JEuclid, optionally down-converting simple expressions to HTML+CSS
beforehand.
This works by replacing any existing DOMPostProcessors. If you
want to use other DOMPostProcessors, then you will have to work out whether they
fit in with this process and configure things manually.
options - existing DOMOutputOptions ObjectdownConvertFirst - callback - @Deprecated
public static uk.ac.ed.ph.snuggletex.WebPageOutputOptions createWebPageOptions(boolean downConvertFirst,
MathMLImageSavingCallback callback)
createXHTMLWebPageOptions(boolean, MathMLImageSavingCallback),
createHTML4WebPageOptions(boolean, MathMLImageSavingCallback)
or createHTML5WebPageOptions(boolean, MathMLImageSavingCallback) methods now.WebPageOutputOptions suitably configured for converting MathML
to images, with optional down-conversion.
As of SnuggleTeX 1.3.0, this simply calls #createXHTMLWebPageOptions(). This method
will be removed in SnuggleTeX 1.4.downConvertFirst - callback - public static uk.ac.ed.ph.snuggletex.WebPageOutputOptions createXHTMLWebPageOptions(boolean downConvertFirst,
MathMLImageSavingCallback callback)
WebPageOutputOptions suitably configured for to convert MathML
to images, with optional down-conversion. The resulting web page will be XHTML.downConvertFirst - callback - public static uk.ac.ed.ph.snuggletex.WebPageOutputOptions createHTML4WebPageOptions(boolean downConvertFirst,
MathMLImageSavingCallback callback)
WebPageOutputOptions suitably configured for to convert MathML
to images, with optional down-conversion. The resulting web page will be HTML 4.downConvertFirst - callback - public static uk.ac.ed.ph.snuggletex.WebPageOutputOptions createHTML5WebPageOptions(boolean downConvertFirst,
MathMLImageSavingCallback callback)
WebPageOutputOptions suitably configured for to convert MathML
to images, with optional down-conversion. The resulting web page will be HTML 5.downConvertFirst - callback -