public abstract class ProcessOpenXml extends ProcessReport implements ProcessOpenXmlAPI
ProcessReport.CleanDatasource, ProcessReport.DrillDownTemplate, ProcessReport.PhoneHomeStatsNUM_HOURS_BETWEEN_LICENSE_CHECK_INS, NUM_HOURS_BETWEEN_LICENSE_CHECK_INS_PREV_FAILED, TEMPLATE_TYPE_DOCM, TEMPLATE_TYPE_DOCX, TEMPLATE_TYPE_HTML, TEMPLATE_TYPE_PPTM, TEMPLATE_TYPE_PPTX, TEMPLATE_TYPE_UNKNOWN, TEMPLATE_TYPE_XLSM, TEMPLATE_TYPE_XLSXCHARSET_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_ONLY, 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, MODE_PROCESS_EMBEDDED_ALWAYS, MODE_PROCESS_EMBEDDED_COPY, MODE_PROCESS_EMBEDDED_DROP, MODE_PROCESS_EMBEDDED_IF_DATA_APPLIED, MODE_PROCESS_EMBEDDED_KEEP_ORIGINAL_SCREENSHOT, RENDER_EXTENT_ALL, RENDER_EXTENT_CROP_EVERYTHING, RENDER_EXTENT_CROP_HEADER_AND_FOOTER, RENDER_EXTENT_CROP_MARGINS, RENDER_EXTENT_CROP_TO_CONTENT, 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 |
|---|
ProcessOpenXml(java.io.InputStream template)
Create a ProcessDocx object with the passed in template.
|
ProcessOpenXml(java.io.InputStream xmlData,
java.io.InputStream template,
java.io.OutputStream report)
Create a ProcessDocx object with the passed in template & data streams, writing it to
the passed in report stream.
|
ProcessOpenXml(java.io.InputStream template,
java.io.OutputStream report)
Create a ProcessDocx object with the passed in template, writing it to the passed in report stream.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCopyMetadata()
Get if the Windward metadata will be copied to the generated report.
|
boolean |
isChartsAsCharts()
Deprecated.
Charts should always be written as charts
|
boolean |
isCopyDrawings()
True if drawings are to be copied to output.
|
boolean |
isCopyShapes()
True if shapes are to be copied to output.
|
boolean |
isRecalculateOnOpen()
true if the document is to perform recalculation when first opened.
|
void |
setChartsAsCharts(boolean writeAsChart)
Deprecated.
Charts should always be written as charts
|
void |
setCopyDrawings(boolean copyDrawings)
True if drawings are to be copied to output.
|
void |
setCopyMetadata(int copy)
Set if the Windward metadata will be copied to the generated report.
|
void |
setCopyShapes(boolean copyShapes)
True if shapes are to be copied to output.
|
void |
setRecalculateOnOpen(boolean recalc)
true if the document is to perform recalculation when first opened.
|
abort, addImportInfo, adjustFontName, adjustFontSize, applyLicenseKey, batchNext, batchSetup, buildSchema, checkTimeout, clean, clean, clean, cleanSelects, cleanSelects, close, findPodsUsed, getBaseDirectory, getCharset, getChartProvider, getChartRenderType, getCompany, getDataMode, getDataStream, getDataWriter, getDebugHandler, getDescription, getDrillDownInfo, getErrorInfo, getEventHandler, getHiddenMode, getHyphenate, getImportInfo, getKeywords, getLocale, getMaxReportPages, getModeProcessEmbedded, getNumPages, getOutputBuilder, getOutputBuilderData, getParameters, getProperties, getRenderExtent, getRenderPages, getReport, getSubject, getTagTree, getTemplateMetrics, getTemplateMetrics, getTemplateMetrics, getTemplateMetrics, getTemplateTypeString, getTemplateVersion, getTimeout, getTitle, getVersion, getVersionMajor, getVersionMinor, getVersionRelease, getWriteTags, hasDatasourcesApplied, hasProcessedTags, init, isDebugMode, isIgnoreTags, isLayoutDocument, isPageBasedReport, isPreservePodFraming, isRemoveUnusedFormats, isReportTypeDocx, isReportTypeExcel, isReportTypeOpenXml, isReportTypePpt, isReportTypeWord, isSameOpenXml, isTemplateTypeDOCX, isTemplateTypeEqualsReportType, isTemplateTypeOpenXml, isTemplateTypePPTX, isTemplateTypeXLSX, isTrackImports, isUseExternalOutputBuilder, loadTemplate, mergePodItemStyles, performLayout, process, processComplete, processComplete, processData, processData, processSetup, processSetup, setBaseDirectory, setCharset, setDataMode, setDataStream, setDebugHandler, setDebugMode, setDescription, setDrillDownInfo, setEventHandler, setHiddenMode, setHyphenate, setIgnoreTags, setKeywords, setLayoutDocument, setLicense, setLocale, setModeProcessEmbedded, setOutputBuilder, setOutputBuilderData, setParameters, setPreservePodFraming, setRemoveUnusedFormats, setRenderExtent, setRenderPages, setSubject, setTemplateVersion, setTimeout, setTitle, setTrackErrors, setTrackImports, setUseExternalOutputBuilder, setWriteTags, shutdown, statBanner, statLineequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbatchNext, batchSetup, buildSchema, close, duplicate, findPodsUsed, getBaseDirectory, getCharset, getDataMode, getDataStream, getDescription, getDrillDownInfo, getErrorInfo, getEventHandler, getHiddenMode, getHyphenate, getImportInfo, getKeywords, getLocale, getModeProcessEmbedded, getNumPages, getOutputBuilder, getOutputBuilderData, getParameters, getProperties, getRenderExtent, getRenderPages, getReport, getReportType, getReportTypeString, getSubject, getTemplateVersion, getTimeout, getTitle, getWriteTags, hasProcessedTags, isDebugMode, isLayoutDocument, isPageBasedReport, isPreservePodFraming, isRemoveUnusedFormats, isReportTypeExcel, isReportTypeWord, isTrackImports, isUseExternalOutputBuilder, process, processComplete, processData, processData, processSetup, processSetup, setBaseDirectory, setCharset, setDataMode, setDataStream, setDebugMode, setDescription, setDrillDownInfo, setEventHandler, setHiddenMode, setHyphenate, setKeywords, setLayoutDocument, setLicense, setLocale, setModeProcessEmbedded, setOutputBuilder, setOutputBuilderData, setParameters, setPreservePodFraming, setRemoveUnusedFormats, setRenderExtent, setRenderPages, setSubject, setTemplateVersion, setTimeout, setTitle, setTrackErrors, setTrackImports, setUseExternalOutputBuilder, setWriteTagspublic ProcessOpenXml(java.io.InputStream template)
throws LicenseException,
SetupException
template - The report template.LicenseException - thrown if the license licenseKey check fails. The message will list the license check that failed.SetupExceptionpublic ProcessOpenXml(java.io.InputStream template,
java.io.OutputStream report)
throws LicenseException,
SetupException
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.SetupExceptionpublic ProcessOpenXml(java.io.InputStream xmlData,
java.io.InputStream template,
java.io.OutputStream report)
throws DataConnectionException,
LicenseException,
SetupException
xmlData - The xml data that will be placed into the report where there are xml elements.template - The report template.report - The stream to write the report to.DataSourceException - 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.DataConnectionExceptionSetupExceptionpublic int getCopyMetadata()
getCopyMetadata in interface ProcessReportAPIBasegetCopyMetadata in class ProcessReportpublic void setCopyMetadata(int copy)
setCopyMetadata in interface ProcessReportAPIBasesetCopyMetadata in class ProcessReportcopy - one of the COPY_* static ints.public boolean isCopyDrawings()
isCopyDrawings in interface ProcessOpenXmlAPIpublic void setCopyDrawings(boolean copyDrawings)
setCopyDrawings in interface ProcessOpenXmlAPIcopyDrawings - true if drawings are to be copied to output.public boolean isCopyShapes()
isCopyShapes in interface ProcessOpenXmlAPIpublic void setCopyShapes(boolean copyShapes)
setCopyShapes in interface ProcessOpenXmlAPIcopyShapes - true if shapes are to be copied to output.public boolean isChartsAsCharts()
isChartsAsCharts in interface ProcessOpenXmlAPIpublic void setChartsAsCharts(boolean writeAsChart)
setChartsAsCharts in interface ProcessOpenXmlAPIwriteAsChart - true if chart tags will be rendered as charts, false otherwise.public boolean isRecalculateOnOpen()
isRecalculateOnOpen in interface ProcessOpenXmlAPIpublic void setRecalculateOnOpen(boolean recalc)
setRecalculateOnOpen in interface ProcessOpenXmlAPIrecalc - true if the document is to perform recalculation when first opened.Copyright © 2002-2021 Windward Studios, LLC. - All Rights Reserved. We are Java document generation software