org.foray.demo.embed
Class DemoObj2PDF
java.lang.Object
org.foray.demo.embed.EmbedDemo
org.foray.demo.embed.DemoObj2PDF
public class DemoObj2PDF
- extends EmbedDemo
This class demonstrates the conversion of an arbitrary object file to a
PDF using JAXP (XSLT) and FOray (XSL:FO).
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DemoObj2PDF
public DemoObj2PDF()
convertProjectTeam2PDF
public void convertProjectTeam2PDF(ProjectTeam team,
File xslt,
File pdf)
throws FOrayException
- Demonstration converting the Project Team data to a PDF.
- Parameters:
team
- The team instance whos data will be output.xslt
- The stylesheet to be used in transformation.pdf
- The output file.
- Throws:
FOrayException
- For errors during FOray processing.
main
public static void main(String[] args)
- The command-line interface to this class.
- Parameters:
args
- The command-line arguments. None are currently supported.
Copyright © 2017. All rights reserved.