Yes, I understood that. My point was that it is possible to get the table
that starts with a particular paragraph from the paragraph object itself. A
long time ago, I wrote some test code that allowed me to get the tables from
a document in sequence so to speak and remember using this technique. The
trick was that you could only call either the isTable() or getTable()
methods - and I cannot remember which, sorry - for the first paragraph in
the table only. So, I was wondering if you could get the contents of the
table and test it in this manner to see if it was contained within another
table. The BIG logical flaw in the approach is that of course the paragraph
will always be in a table, the outer most one. Still, I do wonder if the
technique has some merit - get the table from the paragraph object and test
to see whether it is the containing table. If not, you may have a nested
table. Do not know if it will work as I have never tried it myself but the
code should be easy enough to put together.

Yours

Mark B

--
View this message in context: 
http://apache-poi.1045710.n5.nabble.com/hwpf-unabe-to-read-nested-tables-tp2304357p4270856.html
Sent from the POI - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to