Class Processor
java.lang.Object
net.sourceforge.jeuclid.converter.Processor
Contains the actual processing routines.
To use this class obtain an instance of the Processor singleton instance.
Then use the process(Source, Result) function to process your
Document.
This will replace all occurrences of MathML within fo:instream tags by the equivalent SVG code. It will also add a baseline-shift attribute so that the formula is in line with the rest of the text.
- Version:
- $Revision: 5a7becda9147 $
-
Constructor Details
-
Processor
protected Processor()Default constructor.
-
-
Method Details
-
getInstance
Retrieve the processor singleton object.- Returns:
- the Processor.
-
getProcessor
Deprecated.usegetInstance()instead.usegetInstance()instead.- Returns:
- see
getInstance() - Throws:
TransformerException- seegetInstance()
-
process
public void process(Source inputSource, Result result, LayoutContext context) throws TransformerException Pre-process a .fo file.- Parameters:
inputSource- Input Fileresult- Output Filecontext- LayoutContext.- Throws:
TransformerException- an error occurred during the processing.
-
process
Pre-process a .fo file.- Parameters:
inputSource- Input Fileresult- Output File- Throws:
TransformerException- an error occurred during the processing.
-
getInstance()instead.