|
List Info
Thread: height/width of table cells in a complex XTextTable
|
|
| height/width of table cells in a
complex XTextTable |

|
2007-10-11 10:04:52 |
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.
--
View this message in context: http://www.nab
ble.com/height-width-of-table-cells-in-a-complex-XTextTable-
tf4607821.html#a13157782
Sent from the openoffice - api dev mailing list archive at
Nabble.com.
------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribe api.openoffice.org
For additional commands, e-mail: dev-help api.openoffice.org
|
|
| Re: height/width of table cells in a
complex XTextTable |

|
2007-10-11 13:56:11 |
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://w
ww.hj-gym.dk/%7Ehj/writer2latex/> who is the best
HTML exporter
there is , and !he has solved already your problems
------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribe api.openoffice.org
For additional commands, e-mail: dev-help api.openoffice.org
|
|
| Re: height/width of table cells in a
complex XTextTable |

|
2007-10-12 03:19:49 |
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://w
ww.hj-gym.dk/%7Ehj/writer2latex/> who is the best
HTML exporter
> there is , and !he has solved already your problems
>
>
>
>
------------------------------------------------------------
---------
> To unsubscribe, e-mail: dev-unsubscribe api.openoffice.org
> For additional commands, e-mail: dev-help api.openoffice.org
>
>
>
--
View this message in context: http://www.nab
ble.com/height-width-of-table-cells-in-a-complex-XTextTable-
tf4607821.html#a13171086
Sent from the openoffice - api dev mailing list archive at
Nabble.com.
------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribe api.openoffice.org
For additional commands, e-mail: dev-help api.openoffice.org
|
|
| Re: height/width of table cells in a
complex XTextTable |

|
2007-10-12 10:05:35 |
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?
>
no when used as exportfilter it works from within a
writerdoc
>
> 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://w
ww.hj-gym.dk/%7Ehj/writer2latex/> who is the best
HTML exporter
>> there is , and !he has solved already your problems
>>
>>
>>
>>
------------------------------------------------------------
---------
>> To unsubscribe, e-mail: dev-unsubscribe api.openoffice.org
>> For additional commands, e-mail: dev-help api.openoffice.org
>>
>>
>>
>>
>
>
------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribe api.openoffice.org
For additional commands, e-mail: dev-help api.openoffice.org
|
|
| Re: height/width of table cells in a
complex XTextTable |

|
2007-10-15 09:24:16 |
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://w
ww.hj-gym.dk/%7Ehj/writer2latex/> who is the best
HTML exporter
>> there is , and !he has solved already your problems
>>
>>
>>
>>
------------------------------------------------------------
---------
>> To unsubscribe, e-mail: dev-unsubscribe api.openoffice.org
>> For additional commands, e-mail: dev-help api.openoffice.org
>>
>>
>>
>
>
--
View this message in context: http://www.nab
ble.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: dev-unsubscribe api.openoffice.org
For additional commands, e-mail: dev-help api.openoffice.org
|
|
[1-5]
|
|
|
about | contact Other archives ( Real Estate discussion Medical topics )
|