Jörg Schmidt a écrit le 2015-06-21 12:56 :
Hello,

In toolbars of OpenOffice, there are buttons with long tooltips.

For example, has in the Format-toolbar the button "bold", the tooltip (in a 
german OO):
"Stellt den ausgewählten Text fett dar. Befindet sich der Cursor in einem Wort, so 
wird das gesamte Wort fett dargestellt. Wenn die Auswahl bzw. das Wort bereits fett ist, 
wird diese Formatierung aufgehoben."

But how I can for your own macros (in Extensions) realize such long tooltips? 
Is there for example a solution using the addon.xcu, see:
https://wiki.openoffice.org/wiki/Extensions/Extensions_and_Apache_OpenOffice_4.0#addons.xcu_changes


Hi Jörg,
This feature is called : Extended tip. You can enable or disable extended tips display in Tools > Options > OpenOffice > General dialog page. Or, by pressing Shift+F1, you can show extended tips for the objects under the mouse pointer.

Note that:
- few users know of the Shift-F1 trick, or use it
- most users disable the automatic display of extended tips
- texts of extended tips cannot have formatting
- information is more clear with help pages.

Extended tip is handled by the Application Help, using the help pages of the extension. Creating help pages is complex.

With my tool Extension Compiler you can create an extension with help pages. Extension Compiler provides a helper to write these files, and add Extended Tips for your commands.

<https://wiki.openoffice.org/wiki/Extensions_Packager#Extension_Compiler>
Be prepared to spend some time reading and understanding the document, and creating/testing your extension and its help.

Regards / Bernard

---------------------------------------------------------------------
To unsubscribe, e-mail: api-unsubscr...@openoffice.apache.org
For additional commands, e-mail: api-h...@openoffice.apache.org

Reply via email to