com.xpn.xwiki.plugin.charts
Class RadeoxHelper
java.lang.Object
com.xpn.xwiki.plugin.charts.RadeoxHelper
public class RadeoxHelper
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
customEngine
private static volatile XWikiRenderingEngine customEngine
radeoxRenderer
private XWikiRenderer radeoxRenderer
context
private XWikiContext context
document
private XWikiDocument document
TABLE
private static final java.lang.String TABLE
- See Also:
- Constant Field Values
RadeoxHelper
public RadeoxHelper(XWikiDocument document,
XWikiContext context)
throws XWikiException
- Throws:
XWikiException
getPreRadeoxContent
public java.lang.String getPreRadeoxContent()
getTableStrings
public java.lang.String[] getTableStrings()
- Returns:
- The string content of all the the tables in the document
getTables
public org.radeox.macro.table.Table[] getTables()
- Returns:
- All the radeox tables in the document
getTableString
public java.lang.String getTableString(int idx)
- Returns:
- The string content of the given table, or null, when no such table exists
getTable
public org.radeox.macro.table.Table getTable(int idx)
- Returns:
- The radeox table coresponding to the given index, or null, when no such table exists
getRenderedTable
public java.lang.String getRenderedTable(int idx)
- Returns:
- The HTML representation of the given table-content
buildTable
private org.radeox.macro.table.Table buildTable(java.lang.String content)
getTableColumnCount
public int getTableColumnCount(org.radeox.macro.table.Table t)
getTableRowCount
public int getTableRowCount(org.radeox.macro.table.Table t)
getCell
public java.lang.String getCell(org.radeox.macro.table.Table table,
int columnIndex,
int rowIndex)
buildMacro
public static java.lang.String buildMacro(java.lang.String name,
java.util.Map params)
getColumn
public char getColumn(int columnIndex)
Copyright 2003 Ludovic Dubost