View comments | RSS feed
Take a survey

Section A - DDX User Guide > Setting Other Document Properties > Setting the initial view

Setting the initial view
You can specify how a result document should be viewed when it is opened in a viewer application such as Adobe Reader. This information is equivalent to the document’s Initial View properties that can be set in Acrobat. It includes magnification level and other page properties. (See InitialViewProfile.)
You specify the initial view for a document by means of an InitialViewProfile element, which must be a child of the root DDX element. The InitialViewProfile element has a name attribute that allows it to be referenced from the initialView attribute of a PDF result element, as in the following example:
Example: Setting the initial view
<PDF result="doc3.pdf" initialView="demo">
	<PDF source="doc1.pdf" />
	<PDF source="doc2.pdf" />
</PDF> 
<InitialViewProfile name="demo" show="BookmarksPanel"
	magnification="FitPage" openToPage="2"/>
You can specify any number of InitialViewProfile elements and refer to them from different PDF result elements.

Section A - DDX User Guide > Setting Other Document Properties > Setting the initial view

Document Description XML (DDX) Help
LiveCycle ES Update 1

Comments


leesutton said on Nov 6, 2009 at 7:32 AM :
Ensure that your ddx is properly wrapped in the DDX element:

<?xml version="1.0" encoding="UTF-8"?>
<DDX xmlns="http://ns.adobe.com/DDX/1.0/">
<PDF result="doc3.pdf" initialView="demo">
<PDF source="doc1.pdf"/>
<PDF source="doc2.pdf"/>
</PDF>
<InitialViewProfile name="demo" show="BookmarksPanel" magnification="FitPage" openToPage="2"/>
</DDX>

 

RSS feed | Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/livecycle/8.2/ddxRef/000673.html