writer2latex.xhtml
public class ParStyleConverter extends StyleWithPropertiesConverterHelper
Constructor Summary | |
---|---|
ParStyleConverter(OfficeReader ofr, XhtmlConfig config, Converter converter, int nType) Create a new ParStyleConverter |
Method Summary | |
---|---|
void | applyProperties(StyleWithProperties style, CSVList props, boolean bInherit) Convert formatting properties for a specific Par style. |
void | cssPar(StyleWithProperties style, CSVList props, boolean bInherit) |
String | getDefaultTagName(StyleWithProperties style) Create default tag name to represent a paragraph |
String | getRealParStyleName(String sStyleName) |
String | getStyleDeclarations(String sIndent) Convert style information for used styles |
OfficeStyleFamily | getStyles() Get the family of paragraph styles |
String | getTextBackground(String sStyleName) |
void | setHeadingStyle(int nLevel, String sStyleName) |
ParStyleConverter
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
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)
Parameters: style to use
Returns: the tag name.
Parameters: sIndent a String of spaces to add before each line
Returns: the style family