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

László Németh <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|REOPENED                    |RESOLVED

--- Comment #6 from László Németh <[email protected]> ---
@Takenori Yashuda: bookmark coloring works only with RDF metadata. More
details:

– add an arbitrary RDF file to the document using the experimental "shading".
For example, the attached test file contains the following custom.rdf (added by
META-INF/manifest.xml entry
 <manifest:file-entry manifest:full-path="custom.rdf"
manifest:media-type="application/rdf+xml"/>):

<?xml version="1.0" encoding="utf-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#";>
  <rdf:Description
rdf:about="content.xml#ID-24478193-9630-4d03-8976-9e097c843a0b">
    <ns0:shading
xmlns:ns0="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0odf#">97e1e9</ns0:shading>
  </rdf:Description>
  <rdf:Description
rdf:about="content.xml#ID-f1a8a096-7a43-4bda-a462-d73c2800dd9a">
    <ns0:shading
xmlns:ns0="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0odf#">FFB7E9</ns0:shading>
  </rdf:Description>
</rdf:RDF>

And in content.xml, using the IDs of custom.rdf:

  <office:body>
    <office:text>
      <text:p text:style-name="Standard">Lorem <text:bookmark-start
text:name="Bookmark1" xml:id="ID-f1a8a096-7a43-4bda-a462-d73c2800dd9a"/>ipsum
dolor et <text:bookmark-start text:name="Bookmark2"
xml:id="ID-24478193-9630-4d03-8976-9e097c843a0b"/>ames<text:bookmark-end
text:name="Bookmark2"/><text:bookmark-end text:name="Bookmark1"/>.</text:p>
    </office:text>
  </office:body>

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

Reply via email to