Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.apache.maven.doxia.sink.SinkAdapter
org.apache.maven.doxia.module.rtf.RtfSink
public class RtfSink
extends SinkAdapter
Field Summary | |
static double | |
static int | |
static int | |
static String | |
static int | |
static String | |
static String | |
static double | |
static double | |
static double | |
static int | |
static double | |
static int | |
static double | |
static String | |
static String | |
static String | |
static String | |
static String | |
static String | |
static int | |
static int | |
static int | |
static int | |
protected OutputStream | |
protected PrintWriter |
Fields inherited from interface org.apache.maven.doxia.sink.Sink | |
NUMBERING_DECIMAL , NUMBERING_LOWER_ALPHA , NUMBERING_LOWER_ROMAN , NUMBERING_UPPER_ALPHA , NUMBERING_UPPER_ROMAN , ROLE |
Constructor Summary | |
| |
| |
|
Method Summary | |
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void | |
void | |
void | |
void | |
void | |
void | |
void | |
void | |
void |
|
void | |
void | |
void |
|
void |
|
void |
|
void |
|
void |
|
void | |
void |
|
void |
|
void | |
void |
|
void |
|
void |
|
void |
|
void | |
void |
|
void | |
void | |
void | |
void |
|
void | |
void | |
void | |
void | |
void | |
void | |
void |
|
void | |
void |
|
void | |
void |
|
void | |
void |
|
void | |
void |
|
void | |
void | |
void | |
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void | |
void | |
void | |
void | |
void |
|
void | |
void |
|
void | |
void |
|
void |
|
void |
|
void |
|
void |
|
void |
public static final double DEFAULT_BOTTOM_MARGIN
- Field Value:
- 2.0
public static final int DEFAULT_CHAR_SET
- Field Value:
- 0
public static final int DEFAULT_CODE_PAGE
- Field Value:
- 1252
public static final String DEFAULT_DATA_FORMAT
public static final int DEFAULT_FONT_SIZE
- Field Value:
- 10
public static final String DEFAULT_IMAGE_FORMAT
public static final String DEFAULT_IMAGE_TYPE
public static final double DEFAULT_LEFT_MARGIN
- Field Value:
- 2.0
public static final double DEFAULT_PAPER_HEIGHT
- Field Value:
- 29.0
public static final double DEFAULT_PAPER_WIDTH
- Field Value:
- 21.0
public static final int DEFAULT_RESOLUTION
- Field Value:
- 72
public static final double DEFAULT_RIGHT_MARGIN
- Field Value:
- 2.0
public static final int DEFAULT_SPACING
- Field Value:
- 10
public static final double DEFAULT_TOP_MARGIN
- Field Value:
- 2.0
public static final String IMG_DATA_ASCII
public static final String IMG_DATA_RAW
public static final String IMG_FORMAT_BMP
public static final String IMG_FORMAT_WMF
public static final String IMG_TYPE_PALETTE
public static final String IMG_TYPE_RGB
public static final int STYLE_BOLD
- Field Value:
- 2
public static final int STYLE_ITALIC
- Field Value:
- 1
public static final int STYLE_ROMAN
- Field Value:
- 0
public static final int STYLE_TYPEWRITER
- Field Value:
- 3
protected OutputStream stream
protected PrintWriter writer
public RtfSink() throws IOException
public RtfSink(OutputStream output) throws IOException
public RtfSink(OutputStream output, String encoding) throws IOException
public void definedTerm()
- Specified by:
- definedTerm in interface Sink
- Overrides:
- definedTerm in interface SinkAdapter
public void definedTerm_()
- Specified by:
- definedTerm_ in interface Sink
- Overrides:
- definedTerm_ in interface SinkAdapter
public void definition()
- Specified by:
- definition in interface Sink
- Overrides:
- definition in interface SinkAdapter
public void definitionList()
- Specified by:
- definitionList in interface Sink
- Overrides:
- definitionList in interface SinkAdapter
public void definitionListItem()
- Specified by:
- definitionListItem in interface Sink
- Overrides:
- definitionListItem in interface SinkAdapter
public void definitionListItem_()
- Specified by:
- definitionListItem_ in interface Sink
- Overrides:
- definitionListItem_ in interface SinkAdapter
public void definitionList_()
- Specified by:
- definitionList_ in interface Sink
- Overrides:
- definitionList_ in interface SinkAdapter
public void definition_()
- Specified by:
- definition_ in interface Sink
- Overrides:
- definition_ in interface SinkAdapter
public void figureCaption()
- Specified by:
- figureCaption in interface Sink
- Overrides:
- figureCaption in interface SinkAdapter
public void figureCaption_()
- Specified by:
- figureCaption_ in interface Sink
- Overrides:
- figureCaption_ in interface SinkAdapter
public void figureGraphics(String name)
- Specified by:
- figureGraphics in interface Sink
- Overrides:
- figureGraphics in interface SinkAdapter
public void horizontalRule()
- Specified by:
- horizontalRule in interface Sink
- Overrides:
- horizontalRule in interface SinkAdapter
public void monospaced()
- Specified by:
- monospaced in interface Sink
- Overrides:
- monospaced in interface SinkAdapter
public void monospaced_()
- Specified by:
- monospaced_ in interface Sink
- Overrides:
- monospaced_ in interface SinkAdapter
public void nonBreakingSpace()
- Specified by:
- nonBreakingSpace in interface Sink
- Overrides:
- nonBreakingSpace in interface SinkAdapter
public void numberedList(int numbering)
- Specified by:
- numberedList in interface Sink
- Overrides:
- numberedList in interface SinkAdapter
public void numberedListItem()
- Specified by:
- numberedListItem in interface Sink
- Overrides:
- numberedListItem in interface SinkAdapter
public void numberedListItem_()
- Specified by:
- numberedListItem_ in interface Sink
- Overrides:
- numberedListItem_ in interface SinkAdapter
public void numberedList_()
- Specified by:
- numberedList_ in interface Sink
- Overrides:
- numberedList_ in interface SinkAdapter
public void paragraph_()
- Specified by:
- paragraph_ in interface Sink
- Overrides:
- paragraph_ in interface SinkAdapter
public void sectionTitle()
- Specified by:
- sectionTitle in interface Sink
- Overrides:
- sectionTitle in interface SinkAdapter
public void sectionTitle_()
- Specified by:
- sectionTitle_ in interface Sink
- Overrides:
- sectionTitle_ in interface SinkAdapter
public void setBottomMargin(double margin)
public void setCharSet(int cs)
public void setCodePage(int cp)
public void setFontSize(int size)
public void setImageCompression(boolean compression)
public void setImageDataFormat(String format)
public void setImageFormat(String format)
public void setImageType(String type)
public void setLeftMargin(double margin)
public void setPaperSize(double width, double height)
public void setResolution(int resolution)
public void setRightMargin(double margin)
public void setSpacing(int spacing)
public void setTopMargin(double margin)
public void tableCaption()
- Specified by:
- tableCaption in interface Sink
- Overrides:
- tableCaption in interface SinkAdapter
public void tableCaption_()
- Specified by:
- tableCaption_ in interface Sink
- Overrides:
- tableCaption_ in interface SinkAdapter
public void tableCell_()
- Specified by:
- tableCell_ in interface Sink
- Overrides:
- tableCell_ in interface SinkAdapter
public void tableRows(int[] justification, boolean grid)
- Overrides:
- tableRows in interface SinkAdapter
public void tableRows_()
- Specified by:
- tableRows_ in interface Sink
- Overrides:
- tableRows_ in interface SinkAdapter