public abstract class ProcessGraphics2D extends ProcessReport
ProcessReport.CleanDatasource, ProcessReport.DrillDownTemplate, ProcessReport.PhoneHomeStats
TEMPLATE_TYPE_DOCM, TEMPLATE_TYPE_DOCX, TEMPLATE_TYPE_HTML, TEMPLATE_TYPE_PPTM, TEMPLATE_TYPE_PPTX, TEMPLATE_TYPE_UNKNOWN, TEMPLATE_TYPE_XLSM, TEMPLATE_TYPE_XLSX
CHARSET_DEFAULT, CHARSET_RTF, CHARSET_UNICODE, COPY_METADATA_ALWAYS, COPY_METADATA_IF_NO_DATASOURCE, COPY_METADATA_NEVER, DATA_MODE_ALL_ATTRIBUTES, DATA_MODE_DATA, DATA_MODE_EMBED, DATA_MODE_INCLUDE_BITMAPS, DATA_MODE_SELECT, ERROR_HANDLING_ALL, ERROR_HANDLING_NONE, ERROR_HANDLING_TRACK_ERRORS, ERROR_HANDLING_VERIFY, HIDDEN_IGNORE_PRINT_RANGE, HIDDEN_SHOW_ALL_ROWS_COLUMNS, HIDDEN_SHOW_HIDDEN_SHEETS, HIDDEN_SHOW_NO_PRINT, HYPHENATE_OFF, HYPHENATE_ON, HYPHENATE_TEMPLATE, LOCALE_DEFAULT, LOCALE_SYSTEM, RENDER_EXTENT_ALL, RENDER_EXTENT_CROP_CONTENT, RENDER_EXTENT_CROP_MARGINS, TAG_STYLE_CONTROL_2007, TAG_STYLE_FIELD, TAG_STYLE_FIELD_2007, TAG_STYLE_TEXT, TYP_CSV, TYP_DOCX, TYP_HTML, TYP_IMAGE, TYP_PDF, TYP_PPTX, TYP_PRINTER, TYP_PS, TYP_RTF, TYP_TXT, TYP_XLSX
Constructor and Description |
---|
ProcessGraphics2D() |
ProcessGraphics2D(DataSourceProvider data,
java.io.InputStream template,
java.io.OutputStream report)
Create a ProcessReport object with the passed in template & data streams, writing it to
the passed in report stream.
|
ProcessGraphics2D(Document document) |
ProcessGraphics2D(java.io.InputStream templateStream)
Create a ProcessReport object with the passed in template.
|
ProcessGraphics2D(java.io.InputStream xmlData,
java.io.InputStream templateStream,
java.io.OutputStream report)
Create a ProcessReport object with the passed in template & data streams, writing it to
the passed in report stream.
|
ProcessGraphics2D(java.io.InputStream templateStream,
java.io.OutputStream report)
Create a ProcessReport object with the passed in template, writing it to the passed in report stream.
|
ProcessGraphics2D(ProcessReport src)
Do not use!!! Not part of the public API.
|
ProcessGraphics2D(ProcessReport src,
java.io.OutputStream out)
Creates and returns a copy of this object.
|
Modifier and Type | Method and Description |
---|---|
int |
getRenderExtent()
How the generated report will be cropped.
|
java.lang.String |
getRenderPages()
The pages that will be generated.
|
void |
setRenderExtent(int extent)
How the generated report will be cropped.
|
void |
setRenderPages(java.lang.String pages)
The pages that will be generated.
|
abort, addImportInfo, adjustFontName, adjustFontSize, batchNext, batchSetup, buildSchema, checkTimeout, clean, clean, cleanSelects, cleanSelects, close, findPodsUsed, getBaseDirectory, getCharset, getChartProvider, getChartRenderType, getCompany, getCopyMetadata, getDataMode, getDataStream, getDataWriter, getDebugHandler, getDescription, getDrillDownInfo, getErrorInfo, getEventHandler, getHiddenMode, getHyphenate, getImportInfo, getKeywords, getLocale, getMaxReportPages, getNumPages, getOutputBuilderData, getParameters, getReport, getSubject, getTemplateMetrics, getTemplateMetrics, getTemplateMetrics, getTemplateTypeString, getTemplateVersion, getTimeout, getTitle, getVersion, getVersionMajor, getVersionMinor, getVersionRelease, getWriteTags, hasDatasourcesApplied, init, isCopyEmbeddedObjects, isDebugMode, isIgnoreTags, isLayoutDocument, isPageBasedReport, isPreservePodFraming, isRemoveUnusedFormats, isReportTypeDocx, isReportTypeExcel, isReportTypeOpenXml, isReportTypePpt, isReportTypeWord, isSameOpenXml, isTemplateTypeDOCX, isTemplateTypeOpenXml, isTemplateTypePPTX, isTemplateTypeXLSX, isTrackImports, isUseExternalOutputBuilder, loadTemplate, mergePodItemStyles, performLayout, process, processComplete, processData, processData, processSetup, processSetup, setBaseDirectory, setCharset, setCopyEmbeddedObjects, setCopyMetadata, setDataMode, setDataStream, setDebugHandler, setDebugMode, setDescription, setDrillDownInfo, setEventHandler, setHiddenMode, setHyphenate, setIgnoreTags, setKeywords, setLayoutDocument, setLocale, setOutputBuilder, setOutputBuilderData, setParameters, setPreservePodFraming, setRemoveUnusedFormats, setSubject, setTemplateVersion, setTimeout, setTitle, setTrackErrors, setTrackImports, setUseExternalOutputBuilder, setWriteTags, shutdown, statLine, updatePods
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
duplicate, getReportType, getReportTypeString
public ProcessGraphics2D()
public ProcessGraphics2D(java.io.InputStream templateStream) throws LicenseException, SetupException
Do not pass in buffered streams if you have the option. ProcessReport wraps all streams in buffers, generally BufferedReader and BufferedWriter.
templateStream
- The report template.LicenseException
- thrown if the license licenseKey check fails. The message will list the license check that failed.SetupException
public ProcessGraphics2D(java.io.InputStream templateStream, java.io.OutputStream report) throws LicenseException, SetupException
Do not pass in buffered streams if you have the option. ProcessReport wraps all streams in buffers, generally BufferedReader and BufferedWriter.
templateStream
- The report template.report
- The stream to write the report to.LicenseException
- thrown if the license licenseKey check fails. The message will list the license check that failed.SetupException
public ProcessGraphics2D(java.io.InputStream xmlData, java.io.InputStream templateStream, java.io.OutputStream report) throws DataConnectionException, LicenseException, SetupException
Do not pass in buffered streams if you have the option. ProcessReport wraps all streams in buffers, generally BufferedReader and BufferedWriter.
xmlData
- The xml data that will be placed into the report where there are xml elements.templateStream
- The report template.report
- The stream to write the report to.DataConnectionException
- thrown if there is a problem with the datasource.LicenseException
- thrown if the license licenseKey check fails. The message will list the license check that failed.SetupException
public ProcessGraphics2D(DataSourceProvider data, java.io.InputStream template, java.io.OutputStream report) throws LicenseException, SetupException
Do not pass in buffered streams if you have the option. ProcessReport wraps all streams in buffers, generally BufferedReader and BufferedWriter.
data
- The data that will be placed into the report where there are tags.template
- The report template.report
- The stream to write the report to.LicenseException
- thrown if the license licenseKey check fails. The message will list the license check that failed.SetupException
public ProcessGraphics2D(ProcessReport src, java.io.OutputStream out) throws AlreadyProcessedException, LicenseException, SetupException
src
- The ProcessReport object to copy.out
- The stream to write the report to. If null will create a ByteArrayOutputStream.AlreadyProcessedException
- thrown if call the process steps out of order or call ones other than data twice.LicenseException
- thrown if the license licenseKey check fails. The message will list the license check that failed.SetupException
public ProcessGraphics2D(ProcessReport src) throws AlreadyProcessedException, LicenseException, SetupException
src
- The ProcessReport object to copy.AlreadyProcessedException
- thrown if call the process steps out of order or call ones other than data twice.LicenseException
- thrown if the license licenseKey check fails. The message will list the license check that failed.SetupException
public ProcessGraphics2D(Document document) throws SetupException
SetupException
public int getRenderExtent()
ProcessReportAPIBase
getRenderExtent
in interface ProcessReportAPIBase
getRenderExtent
in class ProcessReport
public void setRenderExtent(int extent)
ProcessReportAPIBase
setRenderExtent
in interface ProcessReportAPIBase
setRenderExtent
in class ProcessReport
extent
- a ProcessReportAPI.RENDER_EXTENT_* value.public java.lang.String getRenderPages()
ProcessReportAPIBase
getRenderPages
in interface ProcessReportAPIBase
getRenderPages
in class ProcessReport
public void setRenderPages(java.lang.String pages)
ProcessReportAPIBase
setRenderPages
in interface ProcessReportAPIBase
setRenderPages
in class ProcessReport
pages
- The pages that will be generated in the form "0, 4, 6-11, 15". Set to null for all pages. Pages
are 0-based.Copyright © 2017 Windward Reports - All Rights Reserved. We are java reporting software