Files
odfstudio/include
Jan-Marek Glogowski 61e1e04132 tdf#126700 allow replacing the default documents
Per default, a document opened by a user action will always open
in a new frame. For tdf#83722, this behaviour was extended to
documents created from templates.

But this currently also affects the default factory templates, if
these are replaced by a config setting with a real template, which
was not intentional.

So this patch introduces a new MediaDescriptor property, which
allows to mark a document as replaceable and automatically sets
it for factory default documents. If this property is set to true,
a document just acts as a placeholder while it's unmodified. I.e.
the next opened document from its frame will close and replace it.

Change-Id: I45ffa8709f7cdda949fac78f3b363f120f0c4a03
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88257
Tested-by: Jenkins
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2020-02-12 00:27:51 +01:00
..
2020-02-01 16:47:25 +01:00
2020-02-08 13:21:31 +01:00
2019-12-06 19:20:29 +01:00
2020-02-08 08:49:02 +01:00
2020-02-02 19:38:58 +01:00
…
2019-10-29 09:49:45 +01:00
2019-12-18 17:40:48 +01:00
2020-01-11 21:24:51 +01:00
2019-11-20 09:59:17 +01:00
2019-11-19 07:52:24 +01:00
2019-12-12 13:11:16 +01:00
2020-01-28 07:42:15 +01:00
2020-02-05 11:22:47 +01:00
2019-12-19 19:17:57 +01:00
2019-11-05 12:18:29 +01:00
2020-01-25 13:04:17 +01:00
2019-12-23 07:40:24 +01:00
…
2019-10-31 07:02:54 +01:00
2020-02-02 19:38:58 +01:00
2019-12-24 11:03:58 +01:00
…
…
…
…