https://bugs.documentfoundation.org/show_bug.cgi?id=158631

            Bug ID: 158631
           Summary: Simplify storing of the "Print mode" setting in
                    Impress/Draw settings
           Product: LibreOffice
           Version: Inherited From OOo
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Impress
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: kelem...@ubuntu.com

This is a followup to bug 158240 / bug 158245 (this affects both Impress/Draw)

It was noticed that there is under Page Options three mutually exclusive
settings: Fit to page, Tile page and Brocure, plus the Default indicating that
none of these is set (by default, they are all false).

All three settings are implemented as separate config keys[1], but it would be
more straightforward to have one config key here and 4 possible values.

Code pointers:

[1]
https://opengrok.libreoffice.org/xref/core/officecfg/registry/schema/org/openoffice/Office/Impress.xcs?r=83cc8ef8#973
PageSize PageTile Booklet keys
https://opengrok.libreoffice.org/xref/core/officecfg/registry/schema/org/openoffice/Office/Draw.xcs?r=83cc8ef8#712
same PageSize PageTile Booklet keys

https://opengrok.libreoffice.org/xref/core/sd/source/ui/dlg/prntopts.cxx?r=05f60be4#302
- SdPrintOptions ClickBookletHdl - ui bits 

https://opengrok.libreoffice.org/xref/core/sd/source/ui/app/optsitem.cxx?r=83cc8ef8
SdOptionsMisc::GetPropNameArray and relevant methods in SdOptionsMisc

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to