office-gobmx/unotools
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
..
inc
qa
source tdf#126700 allow replacing the default documents 2020-02-12 00:27:51 +01:00
util
CppunitTest_unotools_fontdefs.mk
IwyuFilter_unotools.yaml
JunitTest_unotools_complex.mk
Library_utl.mk fix unotools/source/i18n/resmgr.cxx build with PCH on Mac 2020-01-18 16:56:25 +01:00
Makefile
Module_unotools.mk
README

Helpers for C++ use of UNO.