Unfortunately for our project we need to parse the writer doc via the the OO C++ SDK. The problem is that accessing the properties of complex tables (with merged/split cells) via the API is not straightforward.
I need to obtain the height, width, column span and row span of each split/merged cells. I can find the tablecolumnseparators for each row and iterate over each cell. >From the dev guide (p529) "cells can contain text or rows." How to I access/enumerate a "row" within a cell? ianmcr wrote: > > Thanks for the link. > > However, I need to parse the XTextTable directly via the API (ie.without > saving an odt file etc). As I understand it Writer2Latex converts the > contents of the odt. Is this correct? > > > Fernand Vanrie wrote: >> >> ianmcr wrote: >>> I'm continuing to work on an export module for generating accessible >>> html. We >>> currently generate the correct html for simple tables - (ignoring cell >>> properties such as width/height etc). So each input table must have a >>> regular structure without merged/split cells. >>> >>> We now need to handle complex tables containing cells which may have >>> been >>> merged and/or split in the horizontal/vertical directions. I understand >>> from >>> the dev guide and a little experimentation that XTableColumns and >>> XtableColumnSeperators are empty for a complex table. Is there any other >>> method for determining the width of each cell? >>> >>> Any advice or suggestions are much appreciated. >>> >> have a look at the work Henrik Just had done with his Writer2Latex >> <http://www.hj-gym.dk/%7Ehj/writer2latex/> who is the best HTML exporter >> there is , and !he has solved already your problems :-) >> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> > > -- View this message in context: http://www.nabble.com/height-width-of-table-cells-in-a-complex-XTextTable-tf4607821.html#a13213827 Sent from the openoffice - api dev mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
