office-gobmx/offapi
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
..
com/sun/star tdf#126700 allow replacing the default documents 2020-02-12 00:27:51 +01:00
org/freedesktop/PackageKit [API CHANGE] migrate PackageKit usage to Modify2 2018-01-11 14:29:22 +01:00
type_reference Typos 2019-09-11 23:43:34 +02:00
util Fix typos 2018-03-29 07:47:38 +02:00
Makefile re-base on ALv2 code. Includes: 2012-09-27 11:35:06 +01:00
Module_offapi.mk Get rid of UnoApiMerge_types 2013-04-24 09:17:05 +02:00
README Fix Typo 2019-06-20 13:09:57 +02:00
UnoApi_offapi.mk tdf#108642 load accessibility children faster 2019-11-27 10:28:52 +01:00

Contains all of the IDL files except those in [[udkapi]]

i.e. the interfaces that are specific to the LibreOffice application.
An artificial (?) separation.

The reference offapi/type_reference/offapi.idl and
udkapi/type_reference/udkapi.idl (formerly combined into a single
offapi/type_reference/types.rdb) are used to detect inadvertent incompatible
changes.  They are plain-text .idl files (not strictly lexicographically sorted,
though, so they satisfy the .idl file requirements for no forward dependencies),
so in cases where we deliberately /do/ become incompatible they can be modified
manually.

Old such cases of deliberately becoming incompatible are listed in
offapi/type_reference/typelibrary_history.txt, newer such cases are recorded in
the git logs of (now superseded) offapi/type_reference/types.rdb,
offapi/type_reference/offapi.rdb, and udkapi/type_reference/udkapi.rdb, new such
cases are recorded in the git logs of offapi/type_reference/offapi.idl and
udkapi/type_reference/udkapi.idl.