22.03.2015 Views

DLI Implementation and Reference Guide - Datalogics

DLI Implementation and Reference Guide - Datalogics

DLI Implementation and Reference Guide - Datalogics

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

14.6 <strong>DLI</strong> <strong>Implementation</strong> <strong>and</strong> <strong>Reference</strong> <strong>Guide</strong><br />

Opening the Document with Annotations Showing<br />

The default action on opening a document is to show only the document window <strong>and</strong><br />

Concepts <strong>and</strong> Facilities: <strong>Guide</strong> to the DL Pager Composition System<br />

hide the navigation pane. To define a document that should be opened with the<br />

navigation pane showing, you need to add the key PageMode with the value<br />

UseOutlines to the document catalog structure. This is done at the Cos level as:<br />

"C" Example: Setting the Page Mode to Display Navigation Pane<br />

CosDoc cosDoc;<br />

CosObj Catalog;<br />

cosDoc = dlpdfdoccosdoc (Doc);<br />

Catalog = CosDocGetRoot (cosDoc);<br />

CosDictPut (Catalog, ASAtomFromString ("PageMode"),<br />

CosNewName (cosDoc, FALSE,<br />

ASAtomFromString ("UseOutlines")));

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!