> Have you read chapter 14.7 of ISO 32000-1?
Which Adobe offers for free: ISO PDF Spec (32000)
<http://www.adobe.com/content/dam/Adobe/en/devnet/pdf/pdfs/PDF32000_2008
.pdf>
--Mark Storer
Senior Software Engineer
Cardiff.com
import legalese.Disclaimer;
Disclaimer<Cardiff> DisCard = null;
________________________________
From: Leonard Rosenthol [mailto:[email protected]]
Sent: Tuesday, February 15, 2011 9:00 AM
To: Post all your questions about iText here
Subject: Re: [iText-questions] Viewing table attributes
You start with the root which then has either an array or a
dict. Each element then has kids of various types. Are you traversing
this accordingly?
Same issue the "keys" - the spec clearly says they can be
various types.
Have you read chapter 14.7 of ISO 32000-1?
Leonard
From: Lychee W [mailto:[email protected]]
Sent: Tuesday, February 15, 2011 8:47 AM
To: Post all your questions about iText here
Subject: Re: [iText-questions] Viewing table attributes
Yes, and it shows up when I convert to XML as well. Perhaps I am
missing something when I traverse. Currently, I only check to see if the
structure tree node contains a PdfArray or another PdfDictionary. Is
there another case that I am missing?
Also, just to repeat my previous question, how do you retrieve
the keys "Scope", "RowSpan", "ColSpan", etc. from the table?
Unfortunately, they are not a PdfName type and therefore I am left a bit
confused.
Thank you for your help!
2011/2/15 Leonard Rosenthol <[email protected]>
Are you sure the PDF has a structured table? Does one show up
in the Tags panel in Adobe Acrobat?
From: Lychee W [mailto:[email protected]]
Sent: Tuesday, February 15, 2011 7:03 AM
To: Post all your questions about iText here
Subject: Re: [iText-questions] Viewing table attributes
I suppose I was ambiguous in my previous post.
I have the structure tree root and am traversing through it,
checking to see if each child contains a PdfName.Table. However, this
always returns false, even though it is correctly traversing through the
tree. Does anyone know where the table is located?
Also, how do you retrieve the keys "Scope", "RowSpan",
"ColSpan", etc. from the table? Unfortunately, they are not a PdfName
type and therefore I am left a bit confused.
Thank you again.
2011/2/14 Lychee W <[email protected]>
Thank you Leonard for your response.
I've been able to extract the structure tree as a PdfDictionary,
but I've been stuck trying to locate the table / table attributes from
it. How do you go about parsing the structure tree?
Thank you again.
2011/2/9 Leonard Rosenthol <[email protected]>
You need to locate the Structure Tree in the PDF, parse it and
analyze it as you wish. All the details are in that document...
From: Lychee W [mailto:[email protected]]
Sent: Tuesday, February 08, 2011 9:47 PM
To: [email protected]
Subject: [iText-questions] Viewing table attributes
Hi all,
I'm looking for some pointers on how to view attributes of a
table using iText. These include: scope, id, summary, rowspan, colspan,
as outlined by section 14.8.5.7 of the PDF ISO 32000 documentation
located here:
http://www.adobe.com/content/dam/Adobe/en/devnet/pdf/pdfs/PDF32000_2008.
pdf
Does anyone know how this information is embedded in the file? I
am not aiming to edit the PDF using this information, I simply plan on
running evaluative tests on them.
Could anyone help me? Thank you very much.
------------------------------------------------------------------------
------
The ultimate all-in-one performance toolkit: Intel(R) Parallel
Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development
cycle.
Locate bottlenecks in serial and parallel code that limit
performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Many questions posted to this list can (and will) be answered
with a reference to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples:
http://itextpdf.com/themes/keywords.php
------------------------------------------------------------------------
------
The ultimate all-in-one performance toolkit: Intel(R) Parallel
Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development
cycle.
Locate bottlenecks in serial and parallel code that limit
performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Many questions posted to this list can (and will) be answered
with a reference to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples:
http://itextpdf.com/themes/keywords.php
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Many questions posted to this list can (and will) be answered with a reference
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples:
http://itextpdf.com/themes/keywords.php