https://bugs.documentfoundation.org/show_bug.cgi?id=146264

--- Comment #17 from Svante Schubert <[email protected]> ---
I have an update on this issue as Michael and I have worked on the XSLT filter
for the ODF spec (being the same as the one for LO) but using some JavaScript
for MathML by default.

We just finished a pull-request:
https://github.com/oasis-tcs/odf-tc/pull/47

Same fix I did for https://bugs.documentfoundation.org/show_bug.cgi?id=154989

There, was a erroneous recursion in the XSLT, which I removed, making the fix
(earlier mentioned 'ugly hack' obsolete - so I removed it again).
Now I added some test files to the ODF TC git repo and will collect further,
that Michael will add for the LO regression test as well.


The major enhancement is that the alignment of images/frames is done by CSS
position. 
It all depends on the ODF attribute @text:anchor-type
1) if the anchor is at tha character 'as-char' CSS position:static (the
default) is used
2) if the anchor exist, but not 'as-char' CSS position:relative with float:left
is used
3) if the achor does not exist, CSS position:absolute will position relative to
its parent (mostly the body/page). The latter case fixed
https://bugs.documentfoundation.org/show_bug.cgi?id=154989

In addition, I added a pageHeight, background color for ODF graphics
@draw:fill-color), fixed obvious typos/bugs in XSLT flow:
https://github.com/oasis-tcs/odf-tc/pull/47/commits/f93dd81a5c6ba8f06a67e98f9f3dc4fd79ccab0c
(note here I have not omitted the 'ugly hack' but renamed it, removed later to
see it makes no difference).

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to