Print Page | Close Window

outlines Bookmark problem

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=216
Printed Date: 28 Apr 24 at 11:45PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: outlines Bookmark problem
Posted By: rogerad
Subject: outlines Bookmark problem
Date Posted: 20 Dec 05 at 7:47PM

The following routine works correctly on Adobe reader help file. But when i try it on the ISEDQUICK PDF help file i receive rubbish. The isedquicxkpdf help file produces only 1 outline title that contains illegible characters. But the Adobe reader help file contains ALL LEVEL 0 headings

 


  id := QPbook.GetFirstOutline;
     begin
     while id > 0 do

  begin
    if StopRunningSwitch = True then
      break;
    Application.ProcessMessages;
   
    gblbookid := QPbook.OutlineID(id);
    gblbooktitle := QPbook.OutlineTitle(id);

    gblbookpage := QPbook.GetOutlinePage(id);
    GBLBookid := id;
    StatusBar1.Panels[2].Text := 'bookmark no  =  ' + IntToStr(i);
    StatusBar1.Repaint;
         AddBookmark;

       id := QPbook.GetNextOutline(id)  ;
       GBLBookid := id;
   
  end;

 

 

 

 



-------------
roger adams



Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk