8d3ac3968e
adds new expert option DisableActiveContent Right now only disables active embedded content / OLE. If OLE content is being imported via UNOEmbeddedObjectCreator::createInstanceInitFromEntry with the expert option DisableActiveContent set, the imported OLE object is now forced to be ODummyEmbeddedObject. ODummyEmbeddedObject doesn't implement any other state then embed::EmbedStates::LOADED (i.e. doesn't implement RUNNING, ACTIVE etc.) which makes it possible to prevent the imported OLE object becoming active. The functions that now throw lang::NoSuchElementException are usually called on new creation of embedded content via UI. But since the call sites expect the possibility of embedded content failing to initialize, that is handled by showing a popup stating some form of `unable to insert`. A follow-up improvement of disabling insertion of OLE content via dialogs could be implemented. Change-Id: Ib558a2a129b491798f5036a7bb269116545be75d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160402 Tested-by: Jenkins Reviewed-by: Sarper Akdemir <sarper.akdemir.extern@allotropia.de> |
||
---|---|---|
.. | ||
qa | ||
registry | ||
util | ||
Configuration_officecfg.mk | ||
CppunitTest_officecfg_cppheader_test.mk | ||
CustomTarget_registry.mk | ||
files.mk | ||
Makefile | ||
Module_officecfg.mk | ||
Package_misc.mk | ||
README.md |
Default Settings for LibreOffice
The schema and default settings for the LibreOffice configuration database.
If you change a file in this module, then a make postprocess is needed after make officecfg.
See also: configmgr
AcceleratorKeyChecker.fodt
in the util
folder is a tool written in Basic that check menus for
entries that use the same accelerator key. The tool goes through the menus using the accessibility
api and checks the accelerator keys. For information on how to use the tool open the fodt file
in LibreOffice.
For more details about the file format, see https://www.openoffice.org/projects/util/common/configuration/oor-document-format.html (also mirrored at https://web.archive.org/web/20101103025920/http://util.openoffice.org/common/configuration/oor-document-format.html).