[Libreoffice-bugs] [Bug 142448] Add custom color shading to RDF metadata fields
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Sun May 23 16:57:09 UTC 2021
https://bugs.documentfoundation.org/show_bug.cgi?id=142448
László Németh <nemeth at numbertext.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #4 from László Németh <nemeth at numbertext.org> ---
tdf#142448 sw offapi: add custom color metadata field shading
using the new com::sun::star::rdf::URIs::LO_EXT_SHADING
URI (modelled after odf:prefix and odf:suffix).
Custom color field shading of text:meta annotated text
ranges and text:meta-field metadata fields allows
quick visual check of metadata categories.
For example, RDF triple
content.xml#id1753384014
urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0odf#shading
FF0000
sets red (FF0000) shading color for the text span
with xml:id="id1753384014".
Pressing Ctrl-F8 or View->Field Shadings can disable
custom color metadata field shading on the UI.
Note: neither LO_EXT_SHADING, nor odf:prefix and
odf:suffix changes invalidate the View (MetaPortion),
but run-time update of shading color can be triggered
without save and reload of the document e.g. by using
(temporary) bookmarks on the annotated text spans.
To run unit test with enabled visibility, use
(cd sw && make UITest_sw_styleInspector
UITEST_TEST_NAME="styleInspector.styleNavigator.test_metadata_shading_color"
SAL_USE_VCLPLUGIN=gen)
in Linux command line.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210523/ee3fafc4/attachment-0001.htm>
More information about the Libreoffice-bugs
mailing list