|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tools.ant.ProjectComponent org.apache.tools.ant.Task org.apache.tools.ant.taskdefs.MatchingTask net.sourceforge.jeuclid.ant.MathMLConverter
public class MathMLConverter
This task converts MathML files to images.
Field Summary |
---|
Fields inherited from class org.apache.tools.ant.taskdefs.MatchingTask |
---|
fileset |
Fields inherited from class org.apache.tools.ant.Task |
---|
description, location, target, taskName, taskType, wrapper |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
---|
project |
Constructor Summary | |
---|---|
MathMLConverter()
Creates a new MathMLConverter Task. |
Method Summary | |
---|---|
void |
execute()
Executes the task. |
void |
setAntiAlias(boolean antiAlias)
Sets support for anti alias (default is true). |
void |
setAntiAliasMinSize(float antiAliasMinSize)
Sets minimal size for turn on anti alias (default is 10.0). |
void |
setBackgroundColor(String color)
Sets background color. |
void |
setBasedir(File dir)
Set the base directory. |
void |
setDebug(boolean debug)
Sets support for debug (default is false). |
void |
setDestdir(File dir)
Set the destination directory into which the result files should be copied to. |
void |
setDisplay(String display)
Sets display style (default is BLOCK. |
void |
setFontsDoublestruck(String fonts)
Sets list of supported font families for Double-Struck. |
void |
setFontsFraktur(String fonts)
Sets list of supported font families for Fraktur. |
void |
setFontSize(float fontSize)
Sets font size of text. |
void |
setFontsMonospaced(String fonts)
Sets list of supported font families for Monospaced. |
void |
setFontsSansSerif(String fonts)
Sets list of supported font families for Sans-Serif. |
void |
setFontsScript(String fonts)
Sets list of supported font families for Script. |
void |
setFontsSerif(String fonts)
Sets list of supported font families for Serif. |
void |
setForce(boolean force)
Set whether to check dependencies, or always generate. |
void |
setForegroundColor(String color)
Sets foreground color. |
void |
setIn(File inFile)
Sets an input xml file to be converted. |
void |
setMfracKeepScriptLevel(boolean keepScriptLevel)
Sets <mfrac> keep scriptlevel. |
void |
setOut(File outFile)
Sets an out file. |
void |
setScriptLevel(int level)
Sets scripts level (default is 0). |
void |
setScriptMinSize(float minSize)
Sets minimal size of smallest font size (default is 8.0). |
void |
setScriptSizeMult(float multSize)
Sets size of multiplier (default is 0.71). |
void |
setType(String mimetype)
Sets output file mimetype. |
Methods inherited from class org.apache.tools.ant.taskdefs.MatchingTask |
---|
add, addAnd, addContains, addContainsRegexp, addCustom, addDate, addDepend, addDepth, addDifferent, addFilename, addMajority, addModified, addNone, addNot, addOr, addPresent, addSelector, addSize, addType, appendSelector, createExclude, createExcludesFile, createInclude, createIncludesFile, createPatternSet, getDirectoryScanner, getImplicitFileSet, getSelectors, hasSelectors, selectorCount, selectorElements, setCaseSensitive, setDefaultexcludes, setExcludes, setExcludesfile, setFollowSymlinks, setIncludes, setIncludesfile, setProject, XsetIgnore, XsetItems |
Methods inherited from class org.apache.tools.ant.Task |
---|
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
---|
getProject |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MathMLConverter()
Method Detail |
---|
public void execute()
execute
in class org.apache.tools.ant.Task
public void setAntiAlias(boolean antiAlias)
antiAlias
- Flag for support anti alias.public void setAntiAliasMinSize(float antiAliasMinSize)
antiAliasMinSize
- Minimal size in float number.public void setBackgroundColor(String color)
color
- String representation of color.public void setDebug(boolean debug)
debug
- Flag for support debug.public void setDisplay(String display)
display
- String value of display style.Display
public void setFontsDoublestruck(String fonts)
fonts
- List separated by comma.public void setFontsFraktur(String fonts)
fonts
- List separated by comma.public void setFontSize(float fontSize)
fontSize
- Font size as float value.public void setFontsMonospaced(String fonts)
fonts
- List separated by comma.public void setFontsSansSerif(String fonts)
fonts
- List separated by comma.public void setFontsScript(String fonts)
fonts
- List separated by comma.public void setFontsSerif(String fonts)
fonts
- List separated by comma.public void setForegroundColor(String color)
color
- String representation of color.public void setMfracKeepScriptLevel(boolean keepScriptLevel)
keepScriptLevel
- if true, element will NEVER increase children's scriptlevel
(in violation of the spec).public void setScriptLevel(int level)
level
- Script level.public void setScriptMinSize(float minSize)
minSize
- Size of font.public void setScriptSizeMult(float multSize)
multSize
- Size of multiplier.public void setForce(boolean force)
force
- True, if the task should always generate the images.public void setBasedir(File dir)
dir
- Base directorypublic void setDestdir(File dir)
dir
- Destination directorypublic void setOut(File outFile)
outFile
- Output filepublic void setIn(File inFile)
inFile
- Input filepublic void setType(String mimetype)
mimetype
- mimetype for output file.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |