Oracle BI Publisher Sample Code


Unless explicitly identified as such, the sample code here is not certified or supported by Oracle; it is intended for educational or testing purposes only.

 

You must accept the License Agreement to download this sample code.
Accept License Agreement | Decline License Agreement
Name
Created/Updated
Description
Download
Oracle BI Publisher Bookbinding Demo
2011-10-19
The demonstration application is a simple HTML page that allows a user to select documents and features to be applied to the final merged document.The HTML page allows the user to select multiple sample documents and features. Once the Create Budget Book button is clicked a servlet is called to do the binding. The servlet is passed the documents and features via a parameter set. It then creates an XML based control file. This contains the documents, their order and features that are to be applied to the final output document. Once created the main bookbinder class is called:

   public boolean bindIt(String cDir)
        {
          
              PDFBookBinder pdfBind = new PDFBookBinder();
            try {
                pdfBind.setXMLInput(cDir+"ctrl.xml");
                pdfBind.setOutputDir(cDir);
                pdfBind.setPDFOutput("nc_budget.pdf");
                pdfBind.process();

            } catch (Exception e) {
                e.printStackTrace();
                return (false);
            }
            
            return (true);
        }


Once the document has been created it is then streamed back to the client browser.
Oracle BI Publisher Bookbinding Examples
2010-11-01
This code sample provides a series of bookbinding examples that lead the user through a series of examples showing more and more features in the bound book. The samples use batch files to run the binding process. Each batch file refers to a control file that defines what documents should be bound and the document features that need to be included.
BI Publisher Enterprise 10g Bursting to Excel Example
2010-11-01
Working Example of a BI Publisher Enterprise Report that Bursts Excel output.Once uploaded, edit report, replace the email addresses in the bursting query "kevin.mcdermott@oracle.com" with your own.