writer2latex.xhtml
public class FrameStyleConverter extends StyleWithPropertiesConverterHelper
| Constructor Summary | |
|---|---|
| FrameStyleConverter(OfficeReader ofr, XhtmlConfig config, Converter converter, int nType) Create a new FrameStyleConverter | |
| Method Summary | |
|---|---|
| void | applyProperties(StyleWithProperties style, CSVList props, boolean bInherit) Convert formatting properties for a specific frame style. |
| String | borderScale(String sBorder) |
| void | cssBackground(StyleWithProperties style, CSVList props, boolean bInherit) |
| void | cssBackgroundCommon(StyleWithProperties style, CSVList props, boolean bInherit) |
| void | cssBorder(StyleWithProperties style, CSVList props, boolean bInherit) |
| void | cssBox(StyleWithProperties style, CSVList props, boolean bInherit) |
| void | cssMargins(StyleWithProperties style, CSVList props, boolean bInherit) |
| void | cssPadding(StyleWithProperties style, CSVList props, boolean bInherit) |
| String | getClassNamePrefix() Return a prefix to be used in generated css class names |
| String | getDefaultTagName(StyleWithProperties style) Create default tag name to represent a frame |
| String | getStyleDeclarations(String sIndent) Convert style information for used styles |
| OfficeStyleFamily | getStyles() Get the family of frame styles |
FrameStyleConverterParameters: ofr an OfficeReader to read style information from config the configuration to use converter the main Converter class nType the type of xhtml to use
Parameters: style the style to convert props the CSVList object to add information to bInherit true if properties should be inherited from parent style(s)
Returns: the prefix
Parameters: style to use
Returns: the tag name.
Parameters: sIndent a String of spaces to add before each line
Returns: the style family