| 
 | Oracle Fusion Middleware Java API Reference for Oracle Business Intelligence Publisher 11g Release 1 (11.1.1) E22256-02 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
   org.xml.sax.HandlerBase
org.xml.sax.HandlerBase
       oracle.xdo.template.pdf.book.OutlineProcessor
oracle.xdo.template.pdf.book.OutlineProcessor
public class OutlineProcessor
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)Deprecated. since 11.1.1.8.0 | |
| 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)Deprecated. since 11.1.1.8.0 | 
|  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 | 
|---|
public static final java.lang.String RCS_ID
| Constructor Detail | 
|---|
public OutlineProcessor()
public OutlineProcessor(java.io.InputStream xmlInput,
                        java.io.InputStream pdfInput,
                        java.io.OutputStream pdfOutput)
public OutlineProcessor(PDFParser pdfParser,
                        java.io.InputStream xmlInput)
pdfParser -xmlInput -| Method Detail | 
|---|
public void setXMLInput(java.io.InputStream xmlInput)
public void setPDFInput(java.io.InputStream pdfInput)
public void setPDFOutput(java.io.OutputStream pdfOutput)
public void setPDFParser(PDFParser pdfParser)
pdfParser -public void setMergeBookmarks(boolean flag)
public void process()
             throws java.lang.Exception
java.lang.Exception
public void startElement(java.lang.String name,
                         org.xml.sax.AttributeList attributes)
                  throws org.xml.sax.SAXException
startElement in interface org.xml.sax.DocumentHandlerstartElement in class org.xml.sax.HandlerBasename -attributes -org.xml.sax.SAXException
public void endElement(java.lang.String name)
                throws org.xml.sax.SAXException
endElement in interface org.xml.sax.DocumentHandlerendElement in class org.xml.sax.HandlerBasename -org.xml.sax.SAXException
public void characters(char[] ch,
                       int start,
                       int length)
                throws org.xml.sax.SAXException
characters in interface org.xml.sax.DocumentHandlercharacters in class org.xml.sax.HandlerBasech -start -length -org.xml.sax.SAXExceptionpublic void setConfig(java.util.Properties props)
public static void main(java.lang.String[] args)
| 
 | Oracle Fusion Middleware Java API Reference for Oracle Business Intelligence Publisher 11g Release 1 (11.1.1) E22256-02 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||