writer2latex.latex.i18n
public class XeTeXI18n extends I18n
Constructor Summary | |
---|---|
XeTeXI18n(OfficeReader ofr, LaTeXConfig config, ConverterPalette palette) Construct a new XeTeXI18n as ConverterHelper |
Method Summary | |
---|---|
void | appendDeclarations(LaTeXDocumentPortion pack, LaTeXDocumentPortion decl) Add declarations to the preamble to load the required packages |
void | applyLanguage(StyleWithProperties style, boolean bDecl, boolean bInherit, BeforeAfter ba) Apply a language language |
String | convert(String s, boolean bMathMode, String sLang) Convert a string of characters into LaTeX |
void | popSpecialTable() Pop a font from the font stack |
void | pushSpecialTable(String sName) Push a font to the font stack |
Parameters: ofr the OfficeReader to get language information from config the configuration which determines the symbols to use palette the ConverterPalette (unused)
Parameters: pack usepackage declarations decl other declarations
Parameters: style the OOo style to read attributesfrom bDecl true if declaration form is required bInherit true if inherited properties should be used ba the BeforeAfter
to add LaTeX code to.
Parameters: s the source string bMathMode true if the string should be rendered in math mode sLang the iso language of the string
Returns: the LaTeX string
Parameters: sName the name of the font