Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Business Intelligence Publisher
11g Release 1 (11.1.1)

E22256-01


oracle.xdo.template.pdf.book
Class OutlineProcessor

java.lang.Object
  extended by org.xml.sax.HandlerBase
      extended by oracle.xdo.template.pdf.book.OutlineProcessor

All Implemented Interfaces:
org.xml.sax.DocumentHandler, org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler

public class OutlineProcessor
extends org.xml.sax.HandlerBase

OutlineProcessor is a tool used to create PDF style bookmarks (outlines) to a PDF document.

Usage:
java oracle.apps.template.pdf.book.OutlineProcessor <input xml> <input pdf> <output pdf>

<input xml>: Filename of input xml file containing outline XML structure
<input pdf>: Filename of input pdf file
<output pdf>: Filename of output pdf file


Field Summary
static java.lang.String RCS_ID
           

 

Constructor Summary
OutlineProcessor()
           
OutlineProcessor(java.io.InputStream xmlInput, java.io.InputStream pdfInput, java.io.OutputStream pdfOutput)
           
OutlineProcessor(PDFParser pdfParser, java.io.InputStream xmlInput)
           

 

Method Summary
 void characters(char[] ch, int start, int length)
          Do not call this method!
 void endElement(java.lang.String name)
          Do not call this method!
static void main(java.lang.String[] args)
           
 void process()
           
 void setConfig(java.util.Properties props)
           
 void setMergeBookmarks(boolean flag)
           
 void setPDFInput(java.io.InputStream pdfInput)
           
 void setPDFOutput(java.io.OutputStream pdfOutput)
           
 void setPDFParser(PDFParser pdfParser)
           
 void setXMLInput(java.io.InputStream xmlInput)
           
 void startElement(java.lang.String name, org.xml.sax.AttributeList attributes)
          Do not call this method!

 

Methods inherited from class org.xml.sax.HandlerBase
endDocument, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, startDocument, unparsedEntityDecl, warning

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

RCS_ID

public static final java.lang.String RCS_ID
See Also:
Constant Field Values

Constructor Detail

OutlineProcessor

public OutlineProcessor()

OutlineProcessor

public OutlineProcessor(java.io.InputStream xmlInput,
                        java.io.InputStream pdfInput,
                        java.io.OutputStream pdfOutput)

OutlineProcessor

public OutlineProcessor(PDFParser pdfParser,
                        java.io.InputStream xmlInput)

Method Detail

setXMLInput

public void setXMLInput(java.io.InputStream xmlInput)

setPDFInput

public void setPDFInput(java.io.InputStream pdfInput)

setPDFOutput

public void setPDFOutput(java.io.OutputStream pdfOutput)

setPDFParser

public void setPDFParser(PDFParser pdfParser)

setMergeBookmarks

public void setMergeBookmarks(boolean flag)

process

public void process()
             throws java.lang.Exception
Throws:
java.lang.Exception

startElement

public void startElement(java.lang.String name,
                         org.xml.sax.AttributeList attributes)
                  throws org.xml.sax.SAXException
Do not call this method!
Specified by:
startElement in interface org.xml.sax.DocumentHandler
Overrides:
startElement in class org.xml.sax.HandlerBase
Parameters:
name -
attributes -
Throws:
org.xml.sax.SAXException

endElement

public void endElement(java.lang.String name)
                throws org.xml.sax.SAXException
Do not call this method!
Specified by:
endElement in interface org.xml.sax.DocumentHandler
Overrides:
endElement in class org.xml.sax.HandlerBase
Parameters:
name -
Throws:
org.xml.sax.SAXException

characters

public void characters(char[] ch,
                       int start,
                       int length)
                throws org.xml.sax.SAXException
Do not call this method!
Specified by:
characters in interface org.xml.sax.DocumentHandler
Overrides:
characters in class org.xml.sax.HandlerBase
Parameters:
ch -
start -
length -
Throws:
org.xml.sax.SAXException

setConfig

public void setConfig(java.util.Properties props)

main

public static void main(java.lang.String[] args)

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Business Intelligence Publisher
11g Release 1 (11.1.1)

E22256-01


Copyright © 2010, 2011, Oracle. All rights reserved.