forked from amazingfate/loongoffice
This is a RFC to implement comment#2 in tdf#89130: Add shortcuts to change layer attributes and make the current attribute values visible in the tab layer name. Already implemented is that pressing LeftMouse+Shift toggles layer visibility. When a layer is not visible its name is displayed in blue. This patch adds that pressing LeftMouse+Ctrl toggles layer locked/unlocked and LeftMouse+Ctrl+Shift toggles layer printable/not printable. The name of a locked layer is displayed italic. The name of a nonprintable layer is underlined. This also adds an Undo action for all changes to mirror the behavior of the layer attribute change dialog box. Change-Id: I5d8fa0585d4f088768716956583e324e66e29602 Reviewed-on: https://gerrit.libreoffice.org/41366 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Tools on top of VCL. Common dialogs, file and print dialogs, wizards, vcl filters, lots of helper code. == Image swapping == LO has two kind of swapout mechanisms: 1) Size based auto swapping: when the size of all graphic objects reaches a configurable limit (20 MB by default) then some of the graphics are saved to the local file system and freed in the memory. Configure: Tools -> Options -> Memory -> GraphicsCache -> Use for LibreOffice 2) Time based auto swapping: after an image is swapped in / loaded a timer starts and when the timer (1 min by default) has a time out this image is swapped out ( sometimes this time out is ignored when the image is in use ). Configure: Tools -> Options -> Memory -> GraphicsCache -> Remove from memory after Both swapping are done by GraphicObject and GraphicManager.