public class WikiDocumentWriter extends DocumentWriter
Modifier and Type | Field and Description |
---|---|
String |
NEW_LINE |
dirPrefix, documentProperties, documentStyles, META_AUTHOR, META_DATE, META_DESCRIPTION, META_GENERATOR, META_KEYWORDS, META_TITLE, output, outputDir, pos, POS_HEADER, POS_LIST, POS_LIST_ITEM, POS_OUT, POS_PARAGRAPH, POS_TABLE, POS_TABLE_CELL, POS_TABLE_ROW, PROP_SUBDOCUMENT
Constructor and Description |
---|
WikiDocumentWriter() |
Modifier and Type | Method and Description |
---|---|
protected void |
doAddAnchor(String name,
String content) |
protected void |
doAddImage(BufferedImage img,
String name) |
protected void |
doAddLink(String href,
String content) |
protected void |
doCloseDocument() |
protected void |
doCloseList() |
protected void |
doCloseListItem() |
protected void |
doCloseParagraph() |
protected void |
doCloseTable() |
protected void |
doCloseTableCell() |
protected void |
doCloseTableRow() |
protected void |
doOpenHeader(int level,
String content,
String style) |
protected void |
doOpenList(String style,
boolean numbered) |
protected void |
doOpenListItem() |
protected void |
doOpenParagraph(String style) |
protected void |
doOpenTable(String name,
String style,
String[] t_colStyle) |
protected void |
doOpenTableCell(int colspan,
int rowspan,
boolean header,
String style) |
protected void |
doOpenTableRow(String style) |
protected void |
doWriteText(String text,
boolean newLine) |
protected String |
newLine() |
void |
startDocument() |
addAnchor, addImage, addLink, addTableRow, close, closeList, closeListItem, closeParagraph, closeTable, closeTableCell, closeTableRow, closeUntil, doesDocumentSupportExtra, ensureParagraph, getDocumentExtra, getStyles, newParagraph, openHeader, openList, openList, openListItem, openParagraph, openTable, openTableCell, openTableCell, openTableCell, openTableCell, openTableCell, openTableRow, openTableRow, registerForDocumentExtra, setDocumentProperties, setDocumentProperties, setDocumentProperty, setOutput, setOutput, setStyles, writeText, writeTextln
public String NEW_LINE
public void startDocument() throws IOException
startDocument
in class DocumentWriter
IOException
protected void doOpenParagraph(String style) throws IOException
doOpenParagraph
in class DocumentWriter
IOException
protected void doWriteText(String text, boolean newLine) throws IOException
doWriteText
in class DocumentWriter
IOException
protected String newLine()
newLine
in class DocumentWriter
protected void doOpenTable(String name, String style, String[] t_colStyle) throws IOException
doOpenTable
in class DocumentWriter
IOException
protected void doCloseTable() throws IOException
doCloseTable
in class DocumentWriter
IOException
protected void doOpenTableRow(String style) throws IOException
doOpenTableRow
in class DocumentWriter
IOException
protected void doOpenTableCell(int colspan, int rowspan, boolean header, String style) throws IOException
doOpenTableCell
in class DocumentWriter
IOException
protected void doCloseDocument() throws IOException
doCloseDocument
in class DocumentWriter
IOException
protected void doCloseParagraph() throws IOException
doCloseParagraph
in class DocumentWriter
IOException
protected void doCloseTableCell() throws IOException
doCloseTableCell
in class DocumentWriter
IOException
protected void doCloseTableRow() throws IOException
doCloseTableRow
in class DocumentWriter
IOException
protected void doOpenHeader(int level, String content, String style) throws IOException
doOpenHeader
in class DocumentWriter
IOException
protected void doAddLink(String href, String content) throws IOException
doAddLink
in class DocumentWriter
IOException
protected void doAddAnchor(String name, String content) throws IOException
doAddAnchor
in class DocumentWriter
IOException
protected void doOpenList(String style, boolean numbered) throws IOException
doOpenList
in class DocumentWriter
IOException
protected void doOpenListItem() throws IOException
doOpenListItem
in class DocumentWriter
IOException
protected void doCloseListItem() throws IOException
doCloseListItem
in class DocumentWriter
IOException
protected void doCloseList() throws IOException
doCloseList
in class DocumentWriter
IOException
protected void doAddImage(BufferedImage img, String name) throws IOException
doAddImage
in class DocumentWriter
IOException
Copyright © 2005–2020. All rights reserved.