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

On Tue, Mar 03, 2020 at 06:42:44PM -0300, Olivier Hallot 
<olivier.hal...@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
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to