writer2latex.api
Class ConverterFactory
java.lang.Object
writer2latex.api.ConverterFactory
public class ConverterFactory
extends java.lang.Object
This is a factory class which provides static methods to create converters
for documents in OpenDocument (or OpenOffice.org 1.x) format into a specific MIME type
static BatchConverter | createBatchConverter(String sMIME) - Create a
BatchConverter implementation which supports
conversion into the specified MIME type
The only currently supported MIME type is text/html
(XHTML 1.0 strict)
|
static Converter | createConverter(String sMIME) - Create a
Converter implementation which supports
conversion into the specified MIME type.
Currently supported MIME types are:
application/x-latex for LaTeX formatapplication/x-bibtex for BibTeX formattext/html for XHTML 1.0 strict formatapplication/xhtml+xml for XHTML+MathMLapplication/xml for XHTML+MathML using stylesheets from w3c's
math working group
|
static StarMathConverter | createStarMathConverter() - Create a
StarMathConverter implementation
|
static String | getDate() - Return date information
|
static String | getVersion() - Return version information
|
createBatchConverter
public static BatchConverter createBatchConverter(String sMIME)
Create a
BatchConverter
implementation which supports
conversion into the specified MIME type
The only currently supported MIME type is
text/html
(XHTML 1.0 strict)
sMIME
- the MIME type of the target format
- the required
BatchConverter
or null if a converter
for the requested MIME type could not be created
createConverter
public static Converter createConverter(String sMIME)
Create a
Converter
implementation which supports
conversion into the specified MIME type.
Currently supported MIME types are:
application/x-latex
for LaTeX formatapplication/x-bibtex
for BibTeX formattext/html
for XHTML 1.0 strict formatapplication/xhtml+xml
for XHTML+MathMLapplication/xml
for XHTML+MathML using stylesheets from w3c's
math working group
sMIME
- the MIME type of the target format
- the required
Converter
or null if a converter for
the requested MIME type could not be created
createStarMathConverter
public static StarMathConverter createStarMathConverter()
Create a StarMathConverter
implementation
getDate
public static String getDate()
Return date information
- the release date for this Writer2LaTeX version
getVersion
public static String getVersion()
Return version information
- the Writer2LaTeX version in the form
(major version).(minor version).(patch level)
an uneven minor version indicates a development release