public class PageStyleConverter extends StyleConverterHelper
config, converter, ofrbConvertHard, bConvertStyles, nType, styleMap, styleNames| Constructor | Description |
|---|---|
PageStyleConverter(OfficeReader ofr,
XhtmlConfig config,
Converter converter,
int nType) |
Create a new
PageStyleConverter |
| Modifier and Type | Method | Description |
|---|---|---|
void |
applyDefaultWritingDirection(StyleInfo info) |
Apply default writing direction (based on first master page)
|
void |
applyFootnoteRuleStyle(StyleInfo info) |
Apply footnote rule formatting (based on first master page)
|
void |
applyStyle(java.lang.String sStyleName,
StyleInfo info) |
Apply a master page style - currently only for presentations
|
java.lang.String |
getStyleDeclarations(java.lang.String sIndent) |
Convert style information for used styles
|
OfficeStyleFamily |
getStyles() |
Get the family of page styles (master pages)
|
java.lang.String |
getTextWidth() |
Get the text width of the first master page (page width minus left and right margin)
|
applyStyle, getCellSc, getDrawCv, getFrameSc, getHeadingSc, getListSc, getMathCv, getPageSc, getParSc, getPresentationSc, getRowSc, getSectionSc, getStyleCv, getTableCv, getTableSc, getTextCv, getTextScclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitapplyDirection, applyLang, colScale, scalepublic PageStyleConverter(OfficeReader ofr, XhtmlConfig config, Converter converter, int nType)
PageStyleConverterofr - an OfficeReader to read style information fromconfig - the configuration to useconverter - the main Converter classnType - the type of xhtml to usepublic java.lang.String getTextWidth()
public void applyFootnoteRuleStyle(StyleInfo info)
info - then StyleInfo to which style information should be attachedpublic void applyDefaultWritingDirection(StyleInfo info)
info - then StyleInfo to which style information should be attachedpublic void applyStyle(java.lang.String sStyleName,
StyleInfo info)
sStyleName - The name of the master pageinfo - the StyleInfo to which style information should be attachedpublic java.lang.String getStyleDeclarations(java.lang.String sIndent)
getStyleDeclarations in class StyleConverterHelpersIndent - a String of spaces to add before each linepublic OfficeStyleFamily getStyles()
getStyles in class StyleConverterHelper