writer2latex.xhtml
Class FrameStyleConverter
public class FrameStyleConverter
This class converts OpenDocument graphic (frame) styles to CSS2 styles.
This includes conversion of frame properties in other styles (paragraph,
cell, section, page and presentation styles).
void | applyProperties(StyleWithProperties style, CSVList props, boolean bInherit) - Convert formatting properties for a specific frame style.
|
String | borderScale(String sBorder)
|
void | cssBackground(StyleWithProperties style, CSVList props, boolean bInherit)
|
void | cssBackgroundCommon(StyleWithProperties style, CSVList props, boolean bInherit)
|
void | cssBorder(StyleWithProperties style, CSVList props, boolean bInherit)
|
void | cssBox(StyleWithProperties style, CSVList props, boolean bInherit)
|
void | cssMargins(StyleWithProperties style, CSVList props, boolean bInherit)
|
void | cssPadding(StyleWithProperties style, CSVList props, boolean bInherit)
|
String | getClassNamePrefix() - Return a prefix to be used in generated css class names
|
String | getDefaultTagName(StyleWithProperties style) - Create default tag name to represent a frame
|
String | getStyleDeclarations(String sIndent) - Convert style information for used styles
|
OfficeStyleFamily | getStyles() - Get the family of frame styles
|
applyStyle , getCellSc , getDrawCv , getFrameSc , getListSc , getMathCv , getPageSc , getParSc , getPresentationSc , getRowSc , getSectionSc , getStyleCv , getTableCv , getTableSc , getTextCv , getTextSc |
FrameStyleConverter
public FrameStyleConverter(OfficeReader ofr,
Config config,
Converter converter,
int nType)
Create a new FrameStyleConverter
ofr
- an OfficeReader
to read style information fromconfig
- the configuration to useconverter
- the main Converter
classnType
- the type of xhtml to use
borderScale
public String borderScale(String sBorder)