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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Bookmark Creation 14.5<br />

dlpdfdocoutlinefirst<br />

This method accepts an outline h<strong>and</strong>le, <strong>and</strong> returns the h<strong>and</strong>le of the first child of this<br />

outline. If there are no outlines, it will return a NULL pointer.<br />

dlpdfdocoutlinelast<br />

This method accepts an outline h<strong>and</strong>le, <strong>and</strong> returns the last child of that outline. If<br />

there are no children in the outline, it returns a NULL pointer.<br />

dlpdfdocoutlineprev<br />

This method accepts an outline pointer, <strong>and</strong> returns the h<strong>and</strong>le of the previous child of<br />

this outline entry’s parent. If there is no previous child, it returns a NULL pointer.<br />

dlpdfdocoutlinenext<br />

This method accepts an outline pointer, <strong>and</strong> returns the pointer of the next child of<br />

this outline entry’s parent. If there is no next child, it returns a NULL pointer.<br />

dlpdfdocoutlineparent<br />

This method accepts a pointer to an outline entry, <strong>and</strong> returns a pointer to that entry’s<br />

parent. If the entry is the root entry, it returns a NULL pointer.<br />

The DLPDFOUTLINE structure contains three fields which may be accessed, but not<br />

changed, by an application:<br />

• DLPDFOUTLINE->Open is a flag which will be TRUE if the outline entry was<br />

created open, FALSE if it was not.<br />

• DLPDFOUTLINE->Count is a count of the children of this entry.<br />

• DLPDFOUTLINE->Obj is a Cos Obj which is the actual entry in the outline. This<br />

entry is a dictionary, as described in the PDF Specification, section 6.7. It will<br />

always have a Dest key, never an A key. You may replace this key to obtain actions<br />

other than “GoTo”.

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

Saved successfully!

Ooh no, something went wrong!