Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
PAGE_RULE_TYPE |
|
static java.lang.String |
RTF_GUTTERWIDTH |
The inner margin of a page (near the spine) of a book.
|
static java.lang.String |
RTF_LANDSCAPE |
Page orientation in which the page width exceeds the page length.
|
static java.lang.String |
RTF_MARGINBOTTOM |
|
static java.lang.String |
RTF_MARGINLEFT |
|
static java.lang.String |
RTF_MARGINRIGHT |
|
static java.lang.String |
RTF_MARGINTOP |
|
static java.lang.String |
RTF_PAGEHEIGHT |
|
static java.lang.String |
RTF_PAGEWIDTH |
Constructor | Description |
---|---|
DocumentConverter() |
Modifier and Type | Method | Description |
---|---|---|
ConverterAttributeSet |
convertToCSS(java.lang.Object key,
java.lang.Object value,
ConverterAttributeSet cssAttr,
javax.swing.text.Element context) |
Converts a style key and a style value to a CSS compatible style key and style value.
|
public static final java.lang.String PAGE_RULE_TYPE
public static final java.lang.String RTF_PAGEWIDTH
public static final java.lang.String RTF_PAGEHEIGHT
public static final java.lang.String RTF_MARGINLEFT
public static final java.lang.String RTF_MARGINRIGHT
public static final java.lang.String RTF_MARGINTOP
public static final java.lang.String RTF_MARGINBOTTOM
public static final java.lang.String RTF_GUTTERWIDTH
public static final java.lang.String RTF_LANDSCAPE
public ConverterAttributeSet convertToCSS(java.lang.Object key, java.lang.Object value, ConverterAttributeSet cssAttr, javax.swing.text.Element context)
convertToCSS
in interface Converter
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.