Issue 60471 - Add custom categories and commands to Tools/Customize../{Menus,Toolbars}/Add..
Summary: Add custom categories and commands to Tools/Customize../{Menus,Toolbars}/Add..
Status: ACCEPTED
Alias: None
Product: ui
Classification: Code
Component: ui (show other issues)
Version: OOo 2.0.1
Hardware: All All
: P3 Trivial with 4 votes (vote)
Target Milestone: 4.x
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-13 07:25 UTC by mux2005
Modified: 2013-02-07 22:03 UTC (History)
5 users (show)

See Also:
Issue Type: ENHANCEMENT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description mux2005 2006-01-13 07:25:36 UTC
Right now it is possible for add-ons to add their own menus and menu bars,
however that is sometimes not the right thing to do. Sometimes you want to offer
functionality in an add-on without forcing a certain UI on the user. This is
especially important when your add-on offers functionality that needs to be
available on every desktop but is not supposed to be visible by default (e.g. to
prevent untrained users from messing things up). 

This is currently an issue for our organization because we're developing
functions to help users create form templates. These functions need to be
available on every installation, because the creation of form templates is not
restricted (every user who knows how to do it may do it). However, as these
functions pop up dialogs that will confuse untrained users and may cause them to
break existing templates, the functions should not be visible by default.
Furthermore, those developer functions are too few and not used commonly enough
to justify adding new menu or even a new toolbar.

The proper way for an add-on to offer functions like this would be to add a
custom category in Tools/Customize../{Menus,Toolbars}/Add.. that contains the
different functions that the add-on can perform. The user can then decide
himself which functions he wants to access and into which menus or toolbars he
wishes to place them.

This RFE requests that a way be added for add-ons to offer

a) their own categories in Tools/Customize../{Menus,Toolbars}/Add..

b) their own functions in the custom categories

c) icons for the respective functions

A workaround until this feature is implemented is to add a macro library that
provides access to the functions in question. Unfortunately this has several
drawbacks, e.g. that the library is exposed to the user and that no default
icons can be provided.
Comment 1 carsten.driesner 2006-01-13 10:42:29 UTC
cd: Accepted. Must be discussed in detail how we can to support these kind of
add-ons.
Comment 2 carsten.driesner 2006-01-13 11:40:29 UTC
cd: Set jsc on cc.
Comment 3 carsten.driesner 2006-01-17 07:50:29 UTC
cd: Accepted.
Comment 4 carsten.driesner 2006-07-04 13:38:51 UTC
cd: Set to OOo 2.x.
Comment 5 jsc 2006-08-29 09:19:59 UTC
of course it's a good idea and it is the consequent next step of the add-on
feature. I would categorize it as feature.

With 2.0.4 we are able to bind UNO components directly to controls (enhanced
Basic dialog editor), the question would be how we can provide the relation
between menu/toolbar entries and components over the UI (tools/customize)
Comment 6 carsten.driesner 2007-11-23 07:43:38 UTC
cd: Due to restricted time we missed feature freeze for OOo 2.4. I have to shift
this enhancement to OOo 3.x.