[Libreoffice-bugs] [Bug 107347] Unable to comment on an image, frame, OLE or shape

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sun Apr 23 13:04:33 UTC 2017


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

--- Comment #8 from Regina Henschel <rb.henschel at t-online.de> ---
A comment in ODF is an <office:annotation> element. It is a valid child of a
<text:p> element. Have a look at the large list, where <text:p> is allowed
http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part1.html#__RefHeading__1415138_253892949

So it would be possible to implement annotations in the way, that it is an
annotation to the paragraph, which belongs to an object. In that way it is
already possible to comment on a text inside a Writer-frame.

An image may have a <text:p> element as child. But such child is only
implemented for Draw-images not for Writer-images. And annotation inside that
<text:p> are not implemented for the Draw-images.

An OLE is stored as <draw:object-ole> element. This has no <text:p> child
itself. But a <draw:object-ole> is always contained inside a <draw:frame>
element and that in turn allows a <draw:text-box> with <text:p>. An annotation
would be possible not in the <draw:object-ole> but at its container element.

Annotation in Draw are implemented as enhanced element <officeooo:annotation>
as child of <draw:page>. Such elements are specific for LibreOffice and will be
ignored by other applications. I consider this a wrong way to go and think,
that LibreOffice should implement annotations of the single Draw-objects.

In Calc annotations are implemented as child of <table:table-cell>, which is
the other valid parent of an <office:annotation> element.

So in summary, missing annotations are no restriction from file format, but
missing implementation in LibreOffice.

-- 
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/20170423/f122f32a/attachment-0001.html>


More information about the Libreoffice-bugs mailing list