Short take: Banding works fine, borders poorly.

*Banding problems (minor)*
1) Tables without headings start with a shaded row. That should be easy to allow for. 2) Tables that page-break may start the second page with two shaded rows (the header and the data row) if the break came at an odd number of rows. Possible resolutions are (a) just ignore it; (b) maybe use the View component to try to learn if a page break has occurred; (c) add new macro to start at given row (which would be the first data row on the new page); (d) push the offending table down a row.

*Mysterious border problems*
1) Some tables work fine. Some, only the rows after a page break work. Some, only the last row works. Some show no borders at all. Investigation of the rows that work shows the cell properties have been set to the table-border properties (how? I didn't do that!). This may be somehow related to the AutoFormat facility, which does this kind of thing. I have not yet investigated the object "User defined properties" in the tables. So far, I am unable to account for any of this behavior.

*Testing*
I have been testing with the published v3.2 "0219WG3 - Keyboard shortcuts" which has lots of tables, but frequently loads badly. The Math Guide, 0800MG3, is a lot easier to work with. The "Attributes" table shows the no-border problem; all other tables work fine. It also has tables without headers, and a table that page-breaks on an odd row.

For anyone who wants the code, I will email it privately; it's only about a 4 KB text file, of type ".bas", and loads with the "Insert Basic Source" icon in the IDE.
--
/tj/


---------------------------------------------------------------------
To unsubscribe, e-mail: authors-unsubscr...@documentation.openoffice.org
For additional commands, e-mail: authors-h...@documentation.openoffice.org

Reply via email to