public class TableFormPdfExporter extends Object
Constructor and Description |
---|
TableFormPdfExporter(TableForm form,
Source xsltSource) |
Modifier and Type | Method and Description |
---|---|
protected Reader |
composeXml()
Composes an XML document representing the current search results.
|
void |
export(OutputStream outputStream) |
TableForm |
getForm() |
String |
getTitle() |
Source |
getXsltSource() |
void |
setTitle(String title) |
protected double[] |
setupColumnSizes()
Returns an array of column sizes (in characters) for the search export.
|
public static final String copyright
public void export(OutputStream outputStream) throws org.apache.fop.apps.FOPException, IOException, TransformerException
org.apache.fop.apps.FOPException
IOException
TransformerException
protected Reader composeXml() throws IOException
IOException
protected double[] setupColumnSizes()
Returns an array of column sizes (in characters) for the search export.
By default, sizes are computed comparing the relative sizes of each column,
consisting of the header and the values produced by the search.
Users can override this method to compute the sizes using a different algorithm, or hard-coding them for a particular CRUD instance.
public TableForm getForm()
public Source getXsltSource()
public String getTitle()
public void setTitle(String title)