@Deprecated
public class FopOutput
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
internalPath
Deprecated.
|
protected org.w3c.dom.Document |
mPageSetInstance
Deprecated.
The page set instance to generate FOP output from.
|
protected java.lang.String |
tempPath
Deprecated.
|
Constructor and Description |
---|
FopOutput(org.w3c.dom.Document psi,
java.lang.String internalPath,
java.lang.String tempPath)
Deprecated.
Creates a new FopOutputProcessor.
|
Modifier and Type | Method and Description |
---|---|
protected java.io.File |
applyOverlays(java.io.File pdfFile,
java.lang.String session)
Deprecated.
|
java.io.File |
createPDF()
Deprecated.
Runs this output processor which performs save and cleanup functionality
for the page set instance (PSI), generates an XSL-FO output document from
the PSI, and then attaches the output as a rendition to the PSI.
|
protected java.io.File |
doPostRenderPdf(java.io.File pdfFile,
java.lang.String pageSetName)
Deprecated.
Executed after the PDF is finished rendering.
|
protected java.io.File |
getFOStylesheet()
Deprecated.
Returns the XSL-FO stylesheet to use for the XML/XSL conversion.
|
protected java.util.Map<java.lang.String,java.lang.String> |
getOverlayParameters(java.lang.String session,
org.w3c.dom.Document psi)
Deprecated.
Hot spot method to construct a map of parameters to send to OpenOverlay
|
protected java.lang.String[] |
getXslParamNames()
Deprecated.
Sets up the param names that will be passed to the
XSL:FO stylesheet.
This core implementation does nothing (no params used). |
protected java.lang.Object[] |
getXslParamValues()
Deprecated.
Sets up the param values that will be passed to the
XSL:FO stylesheet.
This core implementation does nothing (no params used). |
protected org.w3c.dom.Document mPageSetInstance
protected java.lang.String internalPath
protected java.lang.String tempPath
public FopOutput(org.w3c.dom.Document psi, java.lang.String internalPath, java.lang.String tempPath)
psi
- java.lang.Exception
public java.io.File createPDF()
protected java.lang.String[] getXslParamNames() throws java.lang.Exception
java.lang.Exception
protected java.lang.Object[] getXslParamValues() throws java.lang.Exception
java.lang.Exception
- if an error occursprotected java.io.File getFOStylesheet() throws java.lang.Exception
com.tsgrp.dfi.ChangeRequest#getGroup()
Note: this method is updated in Active Wizard 3.8 to automatically look for an XSL file in the xsl directory that matches the page set name. For example, if the page set name is 'OneSource Change Request', a stylesheet found called 'onesource_change_request.xsl' will be used to create the PDF. If that file is not found, the default stylesheet (recommended) will be used.
Previuos client overrides of this method will still work, but customizating the stylesheet in the new way is preferred
props
- the properties objectjava.lang.Exception
- if an error occursprotected java.io.File doPostRenderPdf(java.io.File pdfFile, java.lang.String pageSetName) throws java.lang.Exception
pdfFile
- the wizard PDF filepageSetName
- the pageSet being renderedjava.lang.Exception
- if an error occursprotected java.util.Map<java.lang.String,java.lang.String> getOverlayParameters(java.lang.String session, org.w3c.dom.Document psi) throws java.lang.Exception
request
- doc
- DfiException
java.lang.Exception
protected java.io.File applyOverlays(java.io.File pdfFile, java.lang.String session) throws java.lang.Exception
java.lang.Exception