writer2latex.api

Interface StarMathConverter

public interface StarMathConverter

This is an interface for a converter, which offers conversion of a StarMath formula into LaTeX Instances of this interface are created using the ConverterFactory
Method Summary
Stringconvert(String sStarMathFormula)
Convert a StarMath formula
ConfiggetConfig()
Get the configuration used when converting.
StringgetPreamble()
Create a suitable LaTeX preamble to process the formulas converted so far

Method Detail

convert

public String convert(String sStarMathFormula)
Convert a StarMath formula

Parameters: sStarMathFormula is a string containing the StarMath formula

Returns: a string containing the converted LaTeX formula

getConfig

public Config getConfig()
Get the configuration used when converting.

Returns: the configuration used by this converter

getPreamble

public String getPreamble()
Create a suitable LaTeX preamble to process the formulas converted so far

Returns: a string containg the entire LaTeX preamble