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


On Thu, 2011-07-21 at 11:13 +0100, Michael Meeks wrote:
Hi there,

On Thu, 2011-07-21 at 09:15 +0530, swagat sharma wrote:
Thanks for your valuable time. I'll explain the problem in more
details.

      Great - that is most helpful :-)

I create a new Document (.odt file). I add some custom properties, Say
a text and a number, by going into File->Properties->Custom
Properties.
I save the file (as .odt) and close it. When I open the file, I go to
custom properties and they are there.

      Right - so the custom properties are saved in a separate stream either:
\05SummaryInformation and/or \05DocumentSummaryInformation - and are in
some magic MS/OLE file format.

See SaveOlePropertySet and LoadOlePropertySet in
sfx2/source/doc/docinf.cxx, we have the infrastructure in theory to save
and load the custom properties to the DocumentSummaryInformation stream.
So it may be simply a matter of seeing why the custom properties aren't
being sent to disk or why they're not in the propertyset (or excluded
from it by some rule) or why that method isn't called.

C.


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.