org.apache.maven.doxia.module.itext
public class ITextUtil extends Object
iText framework
Version: $Id: ITextUtil.java 496703 2007-01-16 14:27:31Z vsiveton $
| Method Summary | |
|---|---|
| static Rectangle | getDefaultPageSize()
Set the default page size for the document depending the user's country.
|
| static String | getPageSize(Rectangle rect)
Return a page size as String.
|
| static boolean | isPageSizeSupported(String aPageSize)
Return true if the page size is supported by PageSize class, false otherwise
|
| static void | writeHtml(InputStream is, OutputStream os)
Parse an iText XML from the specified InputStream, writing an html document
specified OutputStream.
|
| static void | writePdf(InputStream is, OutputStream os)
Parse an iText XML from the specified InputStream, writing an Pdf document
specified OutputStream.
|
| static void | writeRtf(InputStream is, OutputStream os)
Parse an iText XML from the specified InputStream, writing an rtf document
specified OutputStream.
|
Returns: the page size
See Also: com.lowagie.text.PageSize
Parameters: rect a Rectangle
Returns: a page size as String
See Also: com.lowagie.text.PageSize
PageSize class, false otherwise
Parameters: aPageSize a page size
Returns: true if the page size is supported, false otherwise
See Also: com.lowagie.text.PageSize
InputStream, writing an html document
specified OutputStream.
Parameters: is the InputStream from which the XML is read. os the OutputStream to which the result as Html is written.
Throws: RuntimeException if any
See Also: com.lowagie.text.xml.XmlToHtml
InputStream, writing an Pdf document
specified OutputStream.
Parameters: is the InputStream from which the XML is read. os the OutputStream to which the result as Pdf is written.
Throws: RuntimeException if any
See Also: com.lowagie.text.xml.XmlToPdf
InputStream, writing an rtf document
specified OutputStream.
Parameters: is the InputStream from which the XML is read. os the OutputStream to which the result as RTF is written.
Throws: RuntimeException if any
See Also: com.lowagie.text.xml.XmlToRtf