Quantcast
Channel: Adobe Community : Popular Discussions - LiveCycle Assembler
Viewing all articles
Browse latest Browse all 10743

How to set Bookmark element to expand

$
0
0

Hi All,

 

First I'll explain the solution so that you understand what I'm trying to accomplish.

 

The solution involves several PDF files and each one is linked by the bookmark using the following DDX:

 

<Bookmark>    
    <Action>    
          <Launch NewWindow="true">     
               <File Name="MyFile.pdf"/>    
          </Launch>   
     </Action>   
     <Title>Contents</Title>  
</Bookmark>

 

Each PDF file will contains the same bookmark hierarchy data which consist of several levels, therefore they contain the links to the other PDF files.  Each time one of the bookmark element is clicked the bookmark resets back to it's orginal state of collapsed since it is opening a new pdf file.

 

I'm trying to dynamically assemble a bookmark.xml file with a pdf document.  There are two things I want to accomplish through the bookmark.xml:

 

1.  Set one specific bookmark element to expanded when it's rendered

2.  Set the focus (or highlight) a specific bookmark element when it's rendered.

 

Basically each time a bookmark item is clicked I want to maintain the user's last selected bookmark item to be expanded when the new pdf file is displayed.

 

I've attached a sample pdf file in which I can manipulate the expanding and collapsing of the bookmark via javascript, I need to figure out how to do this via the xml file that defines the bookmark hierarchy and functions, since the bookmark is merged with the PDF via the Assembler DSC service.

 

Is this possible?  If yes what xml tag would accomplish this?  Please provide any suggestion or alternative solution.  Currently I have two alternative solution (html or flex UI) but this involves additional depencies outside of LiveCycle, I'd like to create a solution that is completely Adobe LiveCycle.

 

Thanks,

s_stuff


Viewing all articles
Browse latest Browse all 10743

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>