Date: prev next · Thread: first prev next last
2017 Archives by date, by thread · List index


Hi all,

Currently there is muddle in the UI and in code.

Insert a chart or Math object or an OLE to a foreign application, then click on it so that is gets green handles, then press F2 and enter text. That is the same behavior as for normal shapes, where you can add text to the shape that way. But when you save and reload the document, the text on the OLE is gone. (I think, there is no bug report yet.)

With AOO #i118485# the feature "text on Draw OLE shape" was introduced. But that has problems in file format, because it puts the text as <text:p> inside the <draw:object> element, which is not valid. That was changed by moving the <text:p> one level up to the <draw:frame> object. But there it neither valid. So with fdo#58571 the element was put into loext namespace, which results in a <loext:p> child element of the <draw:frame> element. But in ODF1.2 strict, you now get a <p> element without any namespace, so still not valid.

In the meantime it has been introduced, that the attribute draw:notify-on-update-of-ranges of the <draw:object> element is used. But currently it does not go to the <draw:object> element, but it goes to the <loext:p> element. The same happens with the draw:class-id attribute of the <draw:object-ole> element. That is tdf#112005. https://gerrit.libreoffice.org/#/c/42401/ has a fix for that. But it does not solve the problem, that you can enter text, which is gone after reload.

I wonder, whether it is good to allow at all text (via F2) on OLE objects. And in consequence, whether it would be better to remove this feature than to get all aspects fixed?

Kind regards
Regina

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.