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


On Wed, Jul 24, 2013 at 12:40:03PM +0200, Miklos Vajna <vmiklos@suse.cz> wrote:
On Thu, Jul 18, 2013 at 04:34:02PM +0100, Michael Meeks <michael.meeks@suse.com> wrote:
AI:  + write a trivial example for paragraph properties (Miklos)

Done:

As Michael Stahl mentioned on IRC, it turns out we already have
something similar for ODF: RES_UNKNOWNATR_CONTAINER in sw, its uno api
is xml::ParaUserDefinedAttributesSupplier.

Given that it serves a different purpose (we don't want to write back
those OOXML properties to ODF, nor the other way around), having
different UNO properties make sense, but it would be wise to check if
the underlying SfxPoolItem (SvXMLAttrContainerItem) could be reused,
instead of the newly introduced SfxGrabBagItem. SfxGrabBagItem is a
string-any map, while SvXMLAttrContainerItem is a string-string map
(with some additional namespace support, but you can ignore that).

If it's confirmed that such a grab bag container doesn't have to support
nesting, then reusing is possible, I think. But I'm not sure that's the
case, seeing that in case of normal UNO properties, both structures and
simple values are used as a property value. Opinions?

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.