public class JoinReports
extends java.lang.Object
Constructor and Description |
---|
JoinReports() |
Modifier and Type | Method and Description |
---|---|
static int |
joinPdf(ProcessReport[] documents,
java.io.OutputStream report)
Join multiple reports into a single generated PDF.
|
static void |
main(java.lang.String[] args)
Join multiple files into a single PDF.
|
public static int joinPdf(ProcessReport[] documents, java.io.OutputStream report) throws AlreadyProcessedException, SetupException, java.io.IOException, OutputLimitationException, TinyException, TemplateParseException
documents
- The reports to combine. These reports must have had processComplete() called on them. All must
be of the type ProcessPdf. All must not set the output stream (Windward then creates a ByteArrayOutputStream).report
- The stream to write the compined reports to. This will be a PDF file.AlreadyProcessedException
SetupException
java.io.IOException
OutputLimitationException
TinyException
TemplateParseException
public static void main(java.lang.String[] args) throws java.io.IOException, SetupException, TemplateParseException, DataSourceException, TagException, AlreadyProcessedException, OutputLimitationException, TinyException
args
- usage: -pdf template.pdf [template.pdf ...] report.pdfjava.io.IOException
SetupException
TemplateParseException
DataSourceException
TagException
AlreadyProcessedException
OutputLimitationException
TinyException
Copyright © 2017 Windward Reports - All Rights Reserved. We are java reporting software