[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
Mon Oct 31 10:08:35 UTC 2016


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

Katarina Behrens (CIB) <Katarina.Behrens at cib.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|needsDevEval                |difficultyBeginner,
                   |                            |easyHack, skillCpp

--- Comment #4 from Katarina Behrens (CIB) <Katarina.Behrens at cib.de> ---
A good easy hack candidate

The code opening either help window or online help is in
sfx2/source/appl/sfxhelp.cxx, in particular SfxHelp::Start_Impl function. 

Use imp_hasHelpInstalled function to check if help is installed, or simply plug
your code in where this function is already called.

For the question dialog implementation, you may want to use MessageBox class
(vcl/source/windows/layout.cxx), or inherit from it to create your own dialog
class

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


More information about the Libreoffice-ux-advise mailing list