Hello Jan, all,

Following https://bugs.freedesktop.org/show_bug.cgi?id=42924,
this is an unfinished patch to check whether <tablecell> is empty.
Hope I was on the right way :)

Anyway, as commented in the code, how can I detect whether that row is
"tablehead" or not? Currently I just set role = tablecontent.
See 
http://cgit.freedesktop.org/libreoffice/help/tree/helpcontent2/source/text/scalc/01/04060107.xhp#n219
as an example.
The first tablecell (line 221-222) is empty.
Next 3 are with <paragraph role="tablehead" ...>
If I take an approach like in the patch, the first one won't be
"tablehead", and formatting will be a bit incorrect.
But IMHO the xml parser can't get back to parsed element, right?
So, suggestions are appreciated.

Or, will we take another approach by fixing the help file instead?
(bugzilla comment 2 by Andras)

Thanks :)
Best Regards,
-- 
Korrawit Pruegsanusak

Attachment: fdo42924-unfinished.patch
Description: Binary data

_______________________________________________
LibreOffice mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to