writer2latex.xhtml
public class PresentationStyleConverter extends FrameStyleConverter
Constructor Summary | |
---|---|
PresentationStyleConverter(OfficeReader ofr, XhtmlConfig config, Converter converter, int nType) Create a new PresentationStyleConverter |
Method Summary | |
---|---|
void | applyOutlineStyle(int nLevel, StyleInfo info) |
void | enterOutline(String sStyleName) |
void | exitOutline() |
String | getClassNamePrefix() Return a prefix to be used in generated css class names |
String | getDefaultTagName(StyleWithProperties style) Create default tag name to represent a presentation object |
String | getStyleDeclarations(String sIndent) Convert style information for used styles |
OfficeStyleFamily | getStyles() Get the family of presentation styles |
PresentationStyleConverter
Parameters: 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
Returns: the prefix
Parameters: style to use
Returns: the tag name.
Convert style information for used styles
Parameters: sIndent a String of spaces to add before each line
Returns: the style family