MathMLImageSavingCallback that
assumes that the same Content Type will be used to produce each MathML image and
restricts the number of configurable features somewhat.
| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| public static boolean | |
| public static String | |
| public static String | |
| private String | |
| private String | |
| private final net. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public String | |
| public final String | getImageContentType(int mathmlCounter)
Implements uk. Implement to return the desired MIME type for the resulting image. |
| public abstract File | getImageOutputFile(int mathmlCounter)
Redeclares uk. Implement if you want the resulting image to be written to a |
| public abstract OutputStream | getImageOutputStream(int mathmlCounter)
Redeclares uk. Implement this if you want the resulting image to be written to an |
| public abstract String | getImageURL(int mathmlCounter)
Redeclares uk. Implement to return the URL String that will be put into the img src attribute to refer to the image. |
| public final net. | getLayoutContext(int mathmlCounter)
Implements uk. Implement to fill in the JEuclid |
| public void | imageSavingSucceeded(Object imageFileOrOutputStream, int mathmlCounter, String contentType)
Implements uk. (A "do nothing" implementation for convenience.) |
| public boolean | |
| public void | |
| public void | |
| public void |
| antiAliasing | back to summary |
|---|---|
| private boolean antiAliasing | |
| DEFAULT_ANTI_ALIASING | back to summary |
|---|---|
| public static boolean DEFAULT_ANTI_ALIASING | |
| DEFAULT_CONTENT_TYPE | back to summary |
|---|---|
| public static String DEFAULT_CONTENT_TYPE | |
| DEFAULT_FONT_SIZE | back to summary |
|---|---|
| public static String DEFAULT_FONT_SIZE | |
| fontSize | back to summary |
|---|---|
| private String fontSize | |
| imageContentType | back to summary |
|---|---|
| private String imageContentType | |
| layoutContext | back to summary |
|---|---|
| private final net. | |
| SimpleMathMLImageSavingCallback | back to summary |
|---|---|
| public SimpleMathMLImageSavingCallback() | |
| getFontSize | back to summary |
|---|---|
| public String getFontSize() | |
| getImageContentType | back to summary |
|---|---|
| public String getImageContentType() | |
| getImageContentType | back to summary |
|---|---|
| public final String getImageContentType(int mathmlCounter) Implements uk. Doc from uk. Implement to return the desired MIME type for the resulting image. Consult the JEuclid documentation for what is supported; you may need to add additional libraries for certain MIME types. SnuggleTeX contains everything required to support PNG. Note that conversion to GIF does not generally work well so should be avoided...! | |
| getImageOutputFile | back to summary |
|---|---|
| public abstract File getImageOutputFile(int mathmlCounter) Redeclares uk. Doc from uk. Implement if you want the resulting image to be written to a | |
| getImageOutputStream | back to summary |
|---|---|
| public abstract OutputStream getImageOutputStream(int mathmlCounter) Redeclares uk. Doc from uk. Implement this if you want the resulting image to be written to an | |
| getImageURL | back to summary |
|---|---|
| public abstract String getImageURL(int mathmlCounter) Redeclares uk. Doc from uk. Implement to return the URL String that will be put into the img src attribute to refer to the image. | |
| getLayoutContext | back to summary |
|---|---|
| public final net. Implements uk. Doc from uk. Implement to fill in the JEuclid | |
| imageSavingSucceeded | back to summary |
|---|---|
| public void imageSavingSucceeded(Object imageFileOrOutputStream, int mathmlCounter, String contentType) Implements uk. (A "do nothing" implementation for convenience.) | |
| isAntiAliasing | back to summary |
|---|---|
| public boolean isAntiAliasing() | |
| setAntiAliasing | back to summary |
|---|---|
| public void setAntiAliasing(boolean antiAliasing) | |
| setFontSize | back to summary |
|---|---|
| public void setFontSize(String fontSize) | |
| setImageContentType | back to summary |
|---|---|
| public void setImageContentType(String imageType) | |