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 > General Discussion
  New Posts New Posts RSS Feed - Documentation: OnProgress
  FAQ FAQ  Forum Search   Register Register  Login Login

Documentation: OnProgress

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


Joined: 30 Nov 05
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote IanK Quote  Post ReplyReply Direct Link To This Post Topic: Documentation: OnProgress
    Posted: 01 Jun 10 at 11:45AM
I'm currently updating old iSEDQuickPDF code, and in the course of looking at the QuickPDF library's MergeFileList[Fast] code stumbled across lines that looked very like they were doing progress tracking and callbacks.

With a bit more tracing I found the TQuickPDF.OnProgress event handler property, and the associated TQuickPDFProgressEvent type.

From context this handler's called periodically as file merges (and other operations?) take place, passing an integer in the range 1-100 out so external code can update a progress bar or similar.

However, checking the Reference Guide that went out with the library (v7.19) there's no mention of OnProgress, or TQuickPDFProgressEvent, and short of checking library code (or maybe noticing it on a code completion dropdown) there's be no way of telling this facility existed.  It is very useful if you're doing a large merge, so it's probably worth adding it to the documentation in some future release.
Back to Top
Rowan View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 10 Jan 09
Status: Offline
Points: 398
Post Options Post Options   Thanks (0) Thanks(0)   Quote Rowan Quote  Post ReplyReply Direct Link To This Post Posted: 01 Jun 10 at 12:08PM
Hi Ian,

There are a few internal functions that are not exposed in the public API for Quick PDF Library and can only been seen in the source code version.

Generally the only reason that these internal functions are not exposed is that they are basic utility functions which are only useful behind the scenes or that they are functions which are too complex for most people to use, unless they have extensive knowledge of the PDF specification.

I'll chat with the development team about the functions you've mentioned and see if there's any reason why we can't expose these functions in the public API for the next release.

Cheers,
- Rowan.

P.S. We're also considering exposing more of the low-level functions that would allow users with a decent knowledge of the PDF specification to really get inside of PDF files at a very low level.
Back to Top
IanK View Drop Down
Beginner
Beginner


Joined: 30 Nov 05
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote IanK Quote  Post ReplyReply Direct Link To This Post Posted: 01 Jun 10 at 12:15PM
Thanks for the feedback Rowan.

It's probably worth mentioning that while the internal setup for the calling of OnProgress is (naturally) deep within the code, the OnProgress property itself is public, as is the TQuickPDFProgressEvent (in QuickPDFStructure.pas).

It looks very like it's there to be used, in as simple a way as any other Delphi event handler, just not documented.
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