
I thought it was timely and may be helpful to others since I stumbled across a question on the Oracle BIP forums yesterday regarding a need for this same information.
#Bi publisher rtf template functions pdf#
Instead you have to first convert the RTF template to XSL-FO, then combine the XSL-FO with the XML to create the PDF output.

The functions make use of Columns A, B, and C in the XDOMETADATA sheet as follows: Use Column A to declare the function or to specify the defined name of the object to which to map the results of a calculation or XSL evaluation. You define these functions in the Data Constraints region of the XDOMETADATA sheet. Rtf.setOutput(tmpFile.getAbsolutePath()) įo.setTemplate(tmpFile.getAbsolutePath()) įo.setOutputFormat(FOProcessor.FORMAT_PDF) Īs you can see there is no direct way to go from RTF template to PDF output. BI Publisher provides a set of functions to achieve additional reporting functionality. RTFProcessor rtf = new RTFProcessor(args) // RTF template Input Input Parameter 3 = Name of PDF output fileįile tmpFile = File.createTempFile("biptest",".tmp") So I fired up the BIP documentation and found the APIs for the RTF Processor and FO Processor Engines and put together a quick and dirty Java function to test out my theory. However, during the process of troubleshooting I wanted to see what would happen if I took bursting completely out of the equation and just used the BIP APIs to create a PDF from input XML and a RTF template (without any bursting).

Turns out the issue was with the bursting control file which was easily resolved. Specifically, data was not showing up in the output PDF. I was working on a customer issue last week where we were getting some odd results when using the BI Publisher API’s to burst data to create PDFs.
