diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2022-10-18 11:15:46 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2022-10-18 12:26:19 +0200 |
commit | d4512d391bc7f96af9b66a8ee44f3f2be38dc5ec (patch) | |
tree | 1f6a725d4c153239646f3c97b3bc400537c6acfa /include/sal/log-areas.dox | |
parent | 8ad39b6f2aff3ca37aeaaaaff5373991e853c329 (diff) |
tdf#105609: Support DateModified for updated tdoc stream contents
...so that the Python script provider, based on those DateModified values, will
reload a script embedded in a document after that script has (programmatically)
been modified.
As long as a stream content in a tdoc document has not been modified, it will
report a default-initialized (all zero) DateModified. Only when the stream has
been modified will that be changed to the current date. While that might not be
the most beautiful implementation, it at least gets the job done of fixing
tdf#105609 "Python script provider does not reload modified embedded scripts".
(The DateModified values cannot be stored directly in the tdoc_ucp::Content
instances, as those are thrown away and recreated on demand. So they needed to
be stored more persistently at the tdoc_ucp::OfficeDocumentsManager.)
Change-Id: Iee809960e1a1bc40961f0df2b3729e58b75e6028
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141491
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'include/sal/log-areas.dox')
-rw-r--r-- | include/sal/log-areas.dox | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sal/log-areas.dox b/include/sal/log-areas.dox index e1c89b1f7df2..bf3a269f2f66 100644 --- a/include/sal/log-areas.dox +++ b/include/sal/log-areas.dox @@ -433,6 +433,7 @@ certain functionality. @li @c ucb.ucp.file @li @c ucb.ucp.ftp @li @c ucb.ucp.gio +@li @c ucb.ucp.tdoc @li @c ucb.ucp.webdav @li @c ucb.ucp.webdav.curl |