ODF 1.2, xml:id attribute

Miklos Vajna vmiklos at collabora.com
Wed Mar 4 08:38:02 UTC 2020

Hi Olivier,

On Tue, Mar 03, 2020 at 06:42:44PM -0300, Olivier Hallot <olivier.hallot at 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.

The closest to that with a UI is probably bookmarks.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: Digital signature
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20200304/76cf53e0/attachment.sig>

More information about the LibreOffice mailing list