writer2latex.latex.i18n
public class I18n extends Object
| Field Summary | |
|---|---|
| static int | ANY_ENC |
| static int | ASCII |
| static int | CP1250 |
| static int | CP1251 |
| static int | ISO_8859_7 |
| static int | KOI8_R |
| static int | LATIN1 |
| static int | LATIN2 |
| static int | LGR_ENC |
| static int | OT1_ENC |
| static int | T1_ENC |
| static int | T2A_ENC |
| static int | T3_ENC |
| static int | UTF8 |
| Constructor Summary | |
|---|---|
| I18n(OfficeReader ofr, Config config, ConverterPalette palette) | |
| I18n(String sSymbols) | |
| Method Summary | |
|---|---|
| void | appendDeclarations(LaTeXDocumentPortion pack, LaTeXDocumentPortion decl) |
| void | applyLanguage(StyleWithProperties style, boolean bDecl, boolean bInherit, BeforeAfter ba) Apply language. |
| String | convert(char c, boolean bMathMode, String sLang) |
| String | convert(String s, boolean bMathMode, String sLang) |
| boolean | cyrillic() |
| static String | getBabelLanguage(String sLanguage) |
| int | getCharCount() |
| static int | getFontenc(int nFontencs) |
| static int | getFontenc(String sLang) |
| static String | getFontencCs(int nFontenc) |
| String | getMajorityLanguage() |
| boolean | greek() |
| boolean | polytonicGreek() |
| void | popSpecialTable() |
| void | pushSpecialTable(String sName) |
| static int | readFontencs(String sFontencs) |
| static int | readInputenc(String sInputenc) |
| void | setDefaultLanguage(String sDefaultLang) |
| static boolean | supportsFontenc(int nFontencs, int nFontenc) |
| static String | writeFontenc(int nFontenc) |
| static String | writeInputenc(int nInputenc) |
| static String | writeJavaEncoding(int nInputenc) |
Apply language.
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.