writer2latex.latex

Class StarMathConverter

Implemented Interfaces:
StarMathConverter

public final class StarMathConverter
extends java.lang.Object
implements StarMathConverter

Constructor Summary

StarMathConverter()

Method Summary

void
appendDeclarations(LaTeXDocumentPortion pack, LaTeXDocumentPortion decl)
String
convert(String sStarMath)
Convert a StarMath formula
Config
getConfig()
Get the configuration used when converting.
String
getPreamble()
Create a suitable LaTeX preamble to process the formulas converted so far

Constructor Details

StarMathConverter

public StarMathConverter()

Method Details

appendDeclarations

public void appendDeclarations(LaTeXDocumentPortion pack,
                               LaTeXDocumentPortion decl)

convert

public String convert(String sStarMath)
Convert a StarMath formula
Specified by:
convert in interface StarMathConverter
Parameters:
Returns:
a string containing the converted LaTeX formula

getConfig

public Config getConfig()
Get the configuration used when converting.
Specified by:
getConfig in interface StarMathConverter
Returns:
the configuration used by this converter

getPreamble

public String getPreamble()
Create a suitable LaTeX preamble to process the formulas converted so far
Specified by:
getPreamble in interface StarMathConverter
Returns:
a string containg the entire LaTeX preamble