writer2latex.latex.util
public class Context extends Object
LaTeX code is in general very context dependent. This class tracks the current context, which is the used by the converter to create valid and optimal LaTeX code.
Method Summary | |
---|---|
Object | clone() |
String | getBgColor() |
String | getCountry() |
String | getFontColor() |
String | getFontName() |
String | getFontSize() |
String | getFontStyle() |
String | getFontVariant() |
String | getFontWeight() |
String | getLang() |
int | getListLevel() |
String | getListStyleName() |
void | incListLevel() |
boolean | isIgnoreLists() |
boolean | isInCaption() |
boolean | isInFigureFloat() |
boolean | isInFootnote() |
boolean | isInFrame() |
boolean | isInHeaderFooter() |
boolean | isInLastTableColumn() |
boolean | isInMulticols() |
boolean | isInSection() |
boolean | isInSimpleTable() |
boolean | isInTable() |
boolean | isInTableFloat() |
boolean | isNoFootnotes() |
boolean | isNoLineBreaks() |
boolean | isVerbatim() |
void | resetFormattingFromStyle(StyleWithProperties style) |
void | setBgColor(String sBgColor) |
void | setCountry(String sCountry) |
void | setFontColor(String sFontColor) |
void | setFontName(String sFontName) |
void | setFontSize(String sFontSize) |
void | setFontStyle(String sFontStyle) |
void | setFontVariant(String sFontVariant) |
void | setFontWeight(String sFontWeight) |
void | setIgnoreLists(boolean bIgnoreLists) |
void | setInCaption(boolean bInCaption) |
void | setInFigureFloat(boolean bInFigureFloat) |
void | setInFootnote(boolean bInFootnote) |
void | setInFrame(boolean bInFrame) |
void | setInHeaderFooter(boolean bInHeaderFooter) |
void | setInLastTableColumn(boolean bInLastTableColumn) |
void | setInMulticols(boolean bInMulticols) |
void | setInSection(boolean bInSection) |
void | setInSimpleTable(boolean bInSimpleTable) |
void | setInTable(boolean bInTable) |
void | setInTableFloat(boolean bInTableFloat) |
void | setLang(String sLang) |
void | setListLevel(int nListLevel) |
void | setListStyleName(String sListStyleName) |
void | setNoFootnotes(boolean bNoFootnotes) |
void | setNoLineBreaks(boolean bNoLineBreaks) |
void | setVerbatim(boolean bVerbatim) |
void | updateFormattingFromStyle(StyleWithProperties style) |