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!
![]() |
Table count |
Post Reply
|
| Author | |
darkv
Team Player
Joined: 17 Jan 11 Status: Offline Points: 38 |
Post Options
Thanks(0)
Quote Reply
Topic: Table countPosted: 12 Oct 11 at 3:31PM |
|
Hello,
May be a dumb question : Is there anyway to know if table(s) are present in a file thks in advance Rgds |
|
![]() |
|
Ingo
Moderator Group
Joined: 29 Oct 05 Status: Offline Points: 3530 |
Post Options
Thanks(0)
Quote Reply
Posted: 12 Oct 11 at 8:30PM |
|
Hi Darkv!
A dumb answer: Yes... simply open the pdf with a reader... then you can see it ;-) Questions like yours i have often, too. How can i check if a pdf contains...? QuickPDF doesn't offer functions for this issue. What you can do is: Take a few pdf-documents with tables in it and then open these documents directly with notepad or any other texteditor. Search for tags which could be used for table definition. If you are able to determine special tags for tables then you can write your own pdf-function: Read the pdf-content into a stream -> search for your determined table-tags -> return with 1 if there are your tags or 0 if there's nothing. Cheers, Ingo |
|
![]() |
|
darkv
Team Player
Joined: 17 Jan 11 Status: Offline Points: 38 |
Post Options
Thanks(0)
Quote Reply
Posted: 12 Oct 11 at 10:53PM |
|
Ingo,
Thanks for your reply which contains the right translation for my question ;-) I'm surprized than qpdf can create / add table but does not have the way to retrieve them; but that the way it is I will try your recipe Rgds Eric |
|
![]() |
|
AndrewC
Moderator Group
Joined: 08 Dec 10 Location: Geelong, Aust Status: Offline Points: 841 |
Post Options
Thanks(0)
Quote Reply
Posted: 13 Oct 11 at 2:32PM |
|
PDF is a graphical format and there are many ways to generate tables -You could lines, bitmaps, patterns, fonts and probably other methods ... It is possible to generate a table using any of these approaches. Visually the results from each method will be the same.
As Ingo hints, if your PDF's are all generated exactly the same way then you may be able search for tags to help identify if there are tables in your know PDF's. Andrew.
|
|
![]() |
|
darkv
Team Player
Joined: 17 Jan 11 Status: Offline Points: 38 |
Post Options
Thanks(0)
Quote Reply
Posted: 13 Oct 11 at 2:43PM |
|
Andrew,
Thks for your message. I would be pleased if pdf were generated the same way, but there are not ... Rgds Eric |
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. About — Contact — Blog — Support — Online Store