This discussion is archived
0 Replies Latest reply: Aug 14, 2013 1:36 PM by user13703618 RSS

<link> not working in control file of PDFBinder

user13703618 Newbie
Currently Being Moderated

Hello,

 

I am using java API of BI Publisher and need a bound PDF that may have the same document included in two places of the binder.

In such a case the document shall be merged only once and the both the entries of the document in Table of Contents shall point to the starting page of the document that was merged.

I planned to use a link in the control file to achieve this but am not able to find the link. Does anybody know if the link needs to be referred in a page template?

Below is my control file -

 

<?xml version="1.0" encoding="utf-8"?>

<outline xmlns="http://xmlns.oracle.com/oxp/book/">

 

<title>Table of Contents</title>

  <!--

   The 'title-page' element should point to a PDF title page inserted

   at the beginning of the book. (OPTIONAL)

  -->

  <!-- So here is the title page reference, in this case it is going to use an RTF template -->

  <!-- <title-page type="rtf">C:/tmp/toc_rtf.rtf</title-page> -->

  <toc-template>C:/tmp/toc_rtf.rtf</toc-template>

    <start-page-number>1</start-page-number>

  <!-- next follow the three documents we want to combine -->

 

 

  <item id="1">

<title>Chapter 1</title>

<children>

<item id="odb">

<title>Customer Retrieval Entitlement</title>

<cover-page type="rtf">C:/tmp/chapter_cover.rtf</cover-page>

<pagenum-template type="rtf">C:/tmp/pagenum.rtf</pagenum-template>

<content-container>

    <content>I:/My Documents/P_New/Daily Jobs/Cm/PMD_FindBugs/15_May_Meeting/Customer_Retrieval_Entitlement.pdf</content>

</content-container>

<footer xmlns="">Chapter 1 - Customer Retrieval Entitlement</footer>

</item>

 

 

<item id="1_2">

<title>MoM CmCodeQualityMetrics 15 May</title>

<cover-page type="rtf">C:/tmp/chapter_cover.rtf</cover-page>

<pagenum-template type="rtf">C:/tmp/pagenum.rtf</pagenum-template>

<content-container>

    <content>I:/My Documents/P_New/Daily Jobs/Cm/PMD_FindBugs/15_May_Meeting/MoM_CmCodeQualityMetrics_15_May.pdf</content>

</content-container>

<footer xmlns="">Chapter 1 - MoM CmCodeQualityMetrics 15 May</footer>

  </item>

</children>

</item>

 

  <item id="2">

<title>Fc Installation Instructions</title>

<cover-page type="rtf">C:/tmp/chapter_cover.rtf</cover-page>

<pagenum-template type="rtf">C:/tmp/pagenum.rtf</pagenum-template>

<content-container>

    <content>I:/My Documents/P_New/Daily Jobs/Cm/PMD_FindBugs/15_May_Meeting/Fc Installation Instructions.pdf</content>

</content-container>

<footer xmlns="">Fc Installation Instructions</footer>

 

  </item>

 

<item id="3">

<title>Link to Book 1</title>

 

 

 

    <link>

<text>Oracle Database Overview</text>

<destination>odb</destination>

</link>

 

 

 

  </item>

 

<item id="4">

<title>Fc Installation Instructions 2</title>

<cover-page type="rtf">C:/tmp/chapter_cover.rtf</cover-page>

<pagenum-template type="rtf">C:/tmp/pagenum.rtf</pagenum-template>

<content-container>

    <content>I:/My Documents/P_New/Daily Jobs/Cm/PMD_FindBugs/15_May_Meeting/Fc Installation Instructions.pdf</content>

</content-container>

<footer xmlns="">Fc Installation Instructions 2</footer>

 

  </item>

</outline>

 

 

Please advice at the earliest.

 

Many thanks.

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points