writer2latex.xhtml
Class PageStyleConverter
public class PageStyleConverter
This class converts OpenDocument page styles to CSS2 styles.
A page style in a presentation is represented through the master page,
which links to a page layout defining the geometry and optionally a drawing
page defining the drawing background.
In a presentation document we export the full page style, in a text
document we only export the background.
applyStyle , getCellSc , getDrawCv , getFrameSc , getListSc , getMathCv , getPageSc , getParSc , getPresentationSc , getRowSc , getSectionSc , getStyleCv , getTableCv , getTableSc , getTextCv , getTextSc |
PageStyleConverter
public PageStyleConverter(OfficeReader ofr,
XhtmlConfig config,
Converter converter,
int nType)
Create a new PageStyleConverter
ofr
- an OfficeReader
to read style information fromconfig
- the configuration to useconverter
- the main Converter
classnType
- the type of xhtml to use
applyStyle
public void applyStyle(String sStyleName,
StyleInfo info)
getStyleDeclarations
public String getStyleDeclarations(String sIndent)
Convert style information for used styles
- getStyleDeclarations in interface StyleConverterHelper
sIndent
- a String of spaces to add before each line