| java.lang.Object embedding.intermediate.ExampleStamp
ExampleStamp | public class ExampleStamp (Code) | | Example for the intermediate format that demonstrates the stamping of a document with some
kind of watermark. The resulting document is then rendered to a PDF file.
|
Method Summary | |
public static void | main(String[] args) Main method. | public void | stampToPDF(File atfile, File stampSheet, File pdffile) Stamps an intermediate file and renders it to a PDF file. |
main | public static void main(String[] args)(Code) | | Main method.
Parameters: args - command-line arguments |
stampToPDF | public void stampToPDF(File atfile, File stampSheet, File pdffile) throws IOException, TransformerException, SAXException(Code) | | Stamps an intermediate file and renders it to a PDF file.
Parameters: atfile - the intermediate file (area tree XML) Parameters: stampSheet - the stylesheet that does the stamping Parameters: pdffile - the target PDF file throws: IOException - In case of an I/O problem throws: TransformerException - In case of a XSL transformation problem throws: SAXException - In case of an XML-related problem |
|
|