[Libreoffice-ux-advise] [Bug 103391] Show dialog when no local help is installed

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Jan 10 11:48:30 UTC 2017


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

--- Comment #11 from Katarina Behrens (CIB) <Katarina.Behrens at cib.de> ---
So 1st patch is here: https://gerrit.libreoffice.org/#/c/31385/ and it works

Next steps: 

* Tweak helpmanual.ui to include checkbox (see eg.
sfx2/uiconfig/ui/alienwarndialog.ui as for how)

* Introduce a new boolean configuration variable: for example
org.openoffice.Office.Common.Misc.AskOpenOnlineHelp (it'll then come to
officecfg/registry/data/org/openoffice/Office/Common.xcu) 

* Write a class deriving from MessageDialog (see eg.
sfx2/source/dialog/alienwarn.cxx as for how) that'll include code setting check
box on/off 

* Read configuration and set checkbox state, like for example here:
http://opengrok.libreoffice.org/xref/core/sfx2/source/dialog/templdlg.cxx#686 

* On disposing the dialog, write the configuration depending on the state of
checkbox, like for example here:
http://opengrok.libreoffice.org/xref/core/sfx2/source/dialog/templdlg.cxx#2029

That's it

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Libreoffice-ux-advise mailing list