I am having difficulty understanding the rationale for the way that
cells are named in Writer tables.

I do understand the way that cells are named but I don't understand the
rationale.

In a similar way I don't understand why the next cell selected is
dependent on the way that the cells were created rather than on the way
the table looks.

Lastly, to me, the concept of having rows consist of sub rows makes it
difficult to merge cells across OOo's concept of a row.

I am currently trying to write a macro that takes the current document
and convert it into MediaWiki format. In MediaWiki a merged cell is
represented by having rowspan=y and colspan=x for the cell in the top
left corner of the spanned range. From the OOo API the only way that I
can see to work out row spans is via the name of the cell and I am
finding this difficult. 

Consider the following table:

| A1.1.1 | B1.1.1.1.1 | B1.2.1 |
| A1.1.2 | B1.1.1.1.2 |        |
|        | B1.1.2     | B1.2.2 |
|        | B1.1.3     | B1.2.3 |

I can work out that B1.2.1 spans two rows and starts in the 'top row',
but how can I tell that A1.1.2 spans 3 rows and starts on the 'second
row' the same as B1.1.1.1.2 and that A1.1.1 doesn't span any rows?

The purpose of this email is 3 fold:
1. Generate discussion about cell naming in Writer tables
2. Any suggestions about working out "row spanning" would be welcome
3. As this is my first post to this list a brief intro.

Intro:
I'm Ian and have OOo username Iannz. I wrote the first draft of the
Migration Guide (now unfortunately part of OOoAuthors). While writing
that document I identified and wrote a number of small macros to make it
easier for users changing to OOo
(http://homepages.paradise.net.nz/hillview/OOo/). While writing those
macros I felt that there was a lack of documentation on writing macros
so put together a wiki (
http://ext.openoffice.org.nz). Now that there is an official OOo wiki I
would like to transfer that work to the OOo wiki which is in MediWiki
format. Which is why I would like to write a macro for converting from
Writer to MediaWiki.
-- 
Ian Laurenson <[EMAIL PROTECTED]>
Hillview


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to