Zolnai, *
Did not realize there were actually two OOXML/MSO attributes that had to be
manipulated to handle highlighting in MS Office formats. And that we'd been
fudging it with just one--your patch with just one
attribute--RES_CHRATR_HIGHLIGHT manipulated as background fill in LO.
This recently came up in a new twist, over how we've been handled it--since
your work 2013-09--needing to turn highlighting on or off by selection and
removing direct formatting background fill. (tdf#88990). That has been a
bit cumbersome but works to clear the direct formatting in an imported
docx/doc document that either shading or highlighting receives as an ODF
document.
Should we care about this from an ODF 1.2 standards perspective? Since we
apply direct formatting to give background fill "highlighting" to ODF
documents--is there any way in ODF to differentiate formatting that is
"highlighting" vs. what is "background fill"? I don't know... anyone?
If there is a specification for it in ODF , then certainly creating an .uno
action and GUI button to apply a "highlighting" style, or direct formatting
of text, would be correct. But if we are just pursuing this for
"interoperability" seems like we are chasing our tails over it.
If there is not, then why should we care that OOXML/MSO and ODF diverge on
this handling? Seems like in that case, we should continue to make do with
only background fill mapping of DOCX/MSO highlighting on import. And on
export we don't differentiate--it all remains background fill in the
DOCX/MSO formats.
Key is what ODF 1.2 supports, or maybe what is proposed in 1.3 that might
also be implemented.
=-refs-=
https://bugs.documentfoundation.org/show_bug.cgi?id=64490#c14
http://cgit.freedesktop.org/libreoffice/core/commit/?id=8b949134441056a1455d67ddfdd7e0bc5f2ee682
http://cgit.freedesktop.org/libreoffice/core/commit/?id=b5e60724ac73bb0e62b249145a8931fd6166bb69
https://bugs.documentfoundation.org/show_bug.cgi?id=88990
--
View this message in context:
http://nabble.documentfoundation.org/Discussion-about-highlighting-MS-compatibility-issue-tp4139399p4139552.html
Sent from the Dev mailing list archive at Nabble.com.
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.