writer2latex.latex
public class ColorConverter extends ConverterHelper
Constructor Summary | |
---|---|
ColorConverter(OfficeReader ofr, LaTeXConfig config, ConverterPalette palette) Constructs a new |
Method Summary | |
---|---|
void | appendDeclarations(LaTeXDocumentPortion pack, LaTeXDocumentPortion decl) |
void | applyAutomaticColor(BeforeAfter ba, boolean bDecl, Context context) |
void | applyBgColor(String sCommand, String sColor, BeforeAfter ba, Context context) |
void | applyColor(StyleWithProperties style, boolean bDecl, boolean bInherit, BeforeAfter ba, Context context) Apply foreground color. |
void | applyColor(String sColor, boolean bDecl, BeforeAfter ba, Context context) Apply a specific foreground color. |
void | applyNormalColor(BeforeAfter ba) |
void | setNormalColor(String sColor, LaTeXDocumentPortion ldp) |
Constructs a new CharStyleConverter
.
Apply foreground color.
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. context the current context
Apply a specific foreground color.
Parameters: sColor the rgb color to use bDecl true if declaration form is required ba the BeforeAfter
to add LaTeX code to.