public class ParStyleConverter extends StyleWithPropertiesConverterHelper
bConvertHard, bConvertStyles, nType, styleMap, styleNamesconfig, converter, ofr| Constructor and Description |
|---|
ParStyleConverter(OfficeReader ofr,
XhtmlConfig config,
Converter converter,
int nType)
Create a new
ParStyleConverter |
| Modifier and Type | Method and Description |
|---|---|
void |
applyProperties(StyleWithProperties style,
CSVList props,
boolean bInherit)
Convert formatting properties for a specific Par style.
|
void |
cssPageBreak(StyleWithProperties style,
CSVList props,
boolean bInherit) |
void |
cssPar(StyleWithProperties style,
CSVList props,
boolean bInherit) |
java.lang.String |
getDefaultTagName(StyleWithProperties style)
Create default tag name to represent a paragraph
|
java.lang.String |
getRealParStyleName(java.lang.String sStyleName) |
OfficeStyleFamily |
getStyles()
Get the family of paragraph styles
|
java.lang.String |
getTextBackground(java.lang.String sStyleName) |
applyStyle, getClassNamePrefix, getStyleDeclarationsapplyDirection, applyLang, colScale, scaleapplyStyle, getCellSc, getDrawCv, getFrameSc, getHeadingSc, getListSc, getMathCv, getPageSc, getParSc, getPresentationSc, getRowSc, getSectionSc, getStyleCv, getTableCv, getTableSc, getTextCv, getTextScpublic ParStyleConverter(OfficeReader ofr, XhtmlConfig config, Converter converter, int nType)
ParStyleConverterofr - an OfficeReader to read style information fromconfig - the configuration to useconverter - the main Converter classnType - the type of XHTML to usepublic OfficeStyleFamily getStyles()
getStyles in class StyleConverterHelperpublic java.lang.String getDefaultTagName(StyleWithProperties style)
getDefaultTagName in class StyleWithPropertiesConverterHelperstyle - to usepublic void applyProperties(StyleWithProperties style, CSVList props, boolean bInherit)
applyProperties in class StyleWithPropertiesConverterHelperstyle - the style to convertprops - the CSVList object to add information tobInherit - true if properties should be inherited from parent style(s)public java.lang.String getTextBackground(java.lang.String sStyleName)
public java.lang.String getRealParStyleName(java.lang.String sStyleName)
public void cssPageBreak(StyleWithProperties style, CSVList props, boolean bInherit)
public void cssPar(StyleWithProperties style, CSVList props, boolean bInherit)