I want to read a word document and want to create a tree structure of tables in
the word doc.  I am able to get to the first level tables by asking for   
para.isInTable() 
and then getting to the actual table by
range.getTable(para); //where range is HWPFDocument.getRange();
Now I am reading the table row and it's cells and looking for the existence of
any tables(the nested tables case). Here, once I have the TableCell , i am
getting the table cell paragraphs and checking to see range.getTable(para);
returns a table for these paragraph objects.
The problem is that this call always fails to return a table, even when the
paragraph actually is inside a table.
In summary, range.getTable(para) works fine when the para is in a top level
table but doesn't return the table if the para is part of a nested table.
Am I doing anything wrong here, or is this a bug?. Please advise.
Thanks,
-Archita.


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

Reply via email to