org.jfree.layouting.input.swing.converter
public class DocumentConverter extends Object implements Converter
Field Summary | |
---|---|
static String | PAGE_RULE_TYPE |
static String | RTF_GUTTERWIDTH
The inner margin of a page (near the spine) of a book. |
static String | RTF_LANDSCAPE
Page orientation in which the page width exceeds the page length. |
static String | RTF_MARGINBOTTOM |
static String | RTF_MARGINLEFT |
static String | RTF_MARGINRIGHT |
static String | RTF_MARGINTOP |
static String | RTF_PAGEHEIGHT |
static String | RTF_PAGEWIDTH |
Constructor Summary | |
---|---|
DocumentConverter() |
Method Summary | |
---|---|
ConverterAttributeSet | convertToCSS(Object key, Object value, ConverterAttributeSet cssAttr, Element context)
Converts a style key and a style value to a CSS compatible style key and style value.
|
Parameters: key The style key to convert. value The style value to convert. cssAttr The current converted CSS attributes for the current element. context The current Element.
Returns: The conversion result or null if no converstion has been done.