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


Hi,

On Thu, Oct 31, 2013 at 02:37:21PM +0100, arkarell <arnaud.malguy@arkarell.com> wrote:
I would like to extend support for "RDF metadata" in LibreOffice
Writer in order to be able to set metadata
on a lot of elements unsupported today like tables.
Is there anybody that could help me to find what source code are involved ?
For information, I use the API of LibreOffice/OpenOffice for many
years now but it would be my first contribution at the LO code.

There are two SfxPoolItems you can use to set metadata on items like
paragraphs or tables:

- SvXMLAttrContainerItem is used to store unknown XML attributes from
  ODF (so they survive a roundtrip)
- SfxGrabBagItem is a string-any map, so can store nested structures,
  etc. -- but explicitly runtime-only, so ODF filter intentionally
  ignores it.

See here for more info:

https://wiki.documentfoundation.org/Development/Writer#InteropGrabBag

Miklos

Attachment: signature.asc
Description: Digital signature


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.