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


On Wed, 2011-08-24 at 00:30 +0200, Miklos Vajna wrote:
On Tue, Aug 23, 2011 at 04:41:59PM +0100, Caolán McNamara <caolanm@redhat.com> wrote:
d) I'm not sure there's any good reason to set the DocStat in the
(current) rtf filter.

You mean something like this? Given that the idl says these properties
are readonly (I did not notice that so far), I don't think there is a
reason to set them.

I was thinking more of the "old" rtf filter which const casts away
constness to set these on import. Need better names than old/new.

re: readonly-ness in the uno api, the AdvancedTextDocument
CharacterCount etc properties are read-only alright, but no mention is
made of readonly-ness for DocumentStatistics from XDocumentProperties

I suppose there's a counter-argument that says setting what the
producing app thinks was the stats allows the expected results from
fields etc up to as far as the first update when the user edits that
document.

six of one, half a dozen of the other I guess.

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.