public class PresentationStyleConverter extends FrameStyleConverter
config, converter, ofr
bConvertHard, bConvertStyles, nType, styleMap, styleNames
Constructor | Description |
---|---|
PresentationStyleConverter(OfficeReader ofr,
XhtmlConfig config,
Converter converter,
int nType) |
Create a new
PresentationStyleConverter |
Modifier and Type | Method | Description |
---|---|---|
void |
applyOutlineStyle(int nLevel,
StyleInfo info) |
|
void |
enterOutline(java.lang.String sStyleName) |
|
void |
exitOutline() |
|
java.lang.String |
getClassNamePrefix() |
Return a prefix to be used in generated css class names
|
java.lang.String |
getDefaultTagName(StyleWithProperties style) |
Create default tag name to represent a presentation object
|
java.lang.String |
getStyleDeclarations(java.lang.String sIndent) |
Convert style information for used styles
|
OfficeStyleFamily |
getStyles() |
Get the family of presentation styles
|
applyStyle, getCellSc, getDrawCv, getFrameSc, getHeadingSc, getListSc, getMathCv, getPageSc, getParSc, getPresentationSc, getRowSc, getSectionSc, getStyleCv, getTableCv, getTableSc, getTextCv, getTextSc
applyProperties, borderScale, cssBackground, cssBackgroundCommon, cssBorder, cssBox, cssMargins, cssPadding
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
applyDirection, applyLang, colScale, scale
applyStyle
public PresentationStyleConverter(OfficeReader ofr, XhtmlConfig config, Converter converter, int nType)
PresentationStyleConverter
ofr
- an OfficeReader
to read style information fromconfig
- the configuration to useconverter
- the main Converter
classnType
- the type of xhtml to usepublic java.lang.String getClassNamePrefix()
getClassNamePrefix
in class FrameStyleConverter
public OfficeStyleFamily getStyles()
getStyles
in class FrameStyleConverter
public java.lang.String getDefaultTagName(StyleWithProperties style)
getDefaultTagName
in class FrameStyleConverter
style
- to usepublic java.lang.String getStyleDeclarations(java.lang.String sIndent)
Convert style information for used styles
getStyleDeclarations
in class FrameStyleConverter
sIndent
- a String of spaces to add before each linepublic void enterOutline(java.lang.String sStyleName)
public void exitOutline()
public void applyOutlineStyle(int nLevel, StyleInfo info)