Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - Bookmarks and outlines help
  FAQ FAQ  Forum Search   Register Register  Login Login

Bookmarks and outlines help

 Post Reply Post Reply
Author
Message
rogerad View Drop Down
Beginner
Beginner


Joined: 08 Dec 05
Location: Australia
Status: Offline
Points: 14
Post Options Post Options   Thanks (0) Thanks(0)   Quote rogerad Quote  Post ReplyReply Direct Link To This Post Topic: Bookmarks and outlines help
    Posted: 08 Dec 05 at 9:44PM

can someone please give me an example which lists all the SUB bookmarks in the pdf file

 i can list all the main topic bookmarks but am having problems with exapanding bookmark lists

 

eg i use delphi

my current code is


          OutlineCount := qp.OutlineCount ;
          StatusBar1.Panels[1].Text := 'bookmark Total  =  ' + inttostr(OutlineCount );

//'-- Loop through Outline


id := QP.GetFirstOutline;


         qp.OpenOutline(id);
begin


  while id > 0 do
    begin
       title := QP.OutlineTitle(id) ;
   // If title=term Then
        page := QP.GetOutlinePage(id) ;
        id := QP.GetNextOutline(id)  ;

             globals.bookmarksLine := globals.TbookmarksLine.Create(Page, title,id);

           formmainnew.BookmarksList.Add(bookmarksLine);

          end;

end;

    

 

 

thank you

roger adams
Back to Top
chicks View Drop Down
Debenu Quick PDF Library Expert
Debenu Quick PDF Library Expert


Joined: 29 Oct 05
Location: United States
Status: Offline
Points: 251
Post Options Post Options   Thanks (0) Thanks(0)   Quote chicks Quote  Post ReplyReply Direct Link To This Post Posted: 09 Dec 05 at 1:13AM
Here's a little commandline util that searches recursively through all bookmarks and their children to match a term. You pretty much need to do this recursively to descend through all children.

http://www.geocities.com/sea_sbs/files/pdfsrch.zip

Written in PowerBasic ('cause it's easy and fast)

Requires the DLL version of QuickPDF, and Adobe Reader.

Edited by chicks
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store