JDE Converter
(As of 3.3.009.01)
../DocOrigin/DO/Bin/Java/JDEConverter.jar
The Base Command
java -jar JDEConverter.jar
Run without options to see usage text.
To see what version of the converter is running, add -v
Production
This converter supports JDE PDF and OSA XML as input data types. The output is a "Data XML"; an XML file compatible with DocOrigin's Merge engine.
JDE PDF to Data XML
-jdePdfToDataXml -in inputPdf -out outputXml [-docDefiningNode/-splitDocsByNode "Invoice Number"] [-docDefiningNodeID "8|135"] [-osaXmlInputFixup] [-includeRC]
Use the appropriate data node specification to determine document splitting. The -docDefiningNode[ID] options can be used in conjunction and repeated to list multiple split nodes.
-docDefiningNode uses Name or Alias (if the Name is missing).
-docDefiningNodeID uses "sectionID|controlID" for when there are possible conflicts or uncertainties with using Name.
-splitDocsByNode starts a new document when the specified data node is encountered, regardless of its value. Overrides the -docDefiningNode[ID] options.
-splitDocsByPage starts a new document when the page variable appears in the first header. Use this option to define a new document when the OSA variable Type="PG" (page number) starts at 1.
Use -osaXmlInputFixup to apply corrections to the interim OSA XML, such as fixing whitespace issues in attribute names.
Use -includeRC to include all report constants in the data XML. The report constants are defined in the OSA XML as Type="RC", and are used for static constant values such as captions and headings.
OSA XML to Data XML
The options for OSA XML input are identical to the JDE PDF input options. The OSA to Data conversion is a step of PDF to Data conversion, as PDF is temporarily converted to OSA and then to Data.
-osaXmlToDataXml -in inputXml -out outputXml [-docDefiningNode/-splitDocsByNode "Invoice Number"] [-docDefiningNodeID "8|135"] [-osaXmlInputFixup]
Development
JDE PDF to OSA XML
For development, the OSA XML must be explicitly generated to use the OSA XML to DocOrigin XATW option.
-jdePdfToOsaXml -in inputPdf -out outputXml [-fontScale 15]
Increase the default -fontScale value (15) if objects appear too narrow in the next step's resulting XATW.
OSA XML to XATW
The -osaXmlToXatw option creates an XATW template that matches the BI Publisher design.
-osaXmlToXatw -in inputXml -out outputXatw
Use -includeRC to include all report constants as fields in place of static text label objects. This option should always be applied in conjunction with the osaXmlToDataXml option. As a result, the report constants are passed as fields and populated into the field in the design template.
JDE PDF to Blueprint XML
For developers, a full data "Blueprint" of potential fields, regardless of those present in the specific data file.
-jdePdfToBlueprintXml -in inputPdf -out outputXml [-osaXmlInputFixup]
OSA XML to Blueprint XML
-osaXmlToBlueprintXml -in inputXml -out outputXml [-osaXmlInputFixup]