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


On 04.03.20 09:38, Miklos Vajna wrote:
Hi Olivier,

On Tue, Mar 03, 2020 at 06:42:44PM -0300, Olivier Hallot <olivier.hallot@libreoffice.org> wrote:
Is there a widget in the user interface or API to assign the xml:id [1]
attribute to an object?

for example, I'd like to add xml:id to every <txt:p> element in a file.

I think not; xml:id is maintained by e.g. sfx2::Metadatable and is not
visible to the user.

that's right, the plan was that extensions would implicitly set xml:ids by creating RDF metadata that references the objects.

if wiki maintenance weren't rocket surgery you could read about it on:

https://wiki.openoffice.org/wiki/Documentation/DevGuide/OfficeDev/RDF_metadata

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.