Re: [api-dev] Mergepoints for Extension

2008-11-19 Thread Thomas Krumbein
Hey Carsten,

Carsten Driesner schrieb:
[..]
> Hi Thomas,
> 
> It's fairly simple to find the correct merge point. You first have to 
> look into the corresponding XML file which defines the whole menu bar. 
> For your use case it's the calc menu bar. You can find the file here:
> \OpenOffice.org\Basis 
> 3.0\share\config\soffice.cfg\modules\scalc\menubar. The menubar.xml file 
> provides you all necessary commands. The merge point must contain the 
> whole path, separating each command entry with '\'. In your case the 
> merge point must be:
> MergePoint = ".uno:DataMenu\.uno:DataPilotMenu\.uno:DeletePivotTable"
> MergeCommand = AddBehind

Thank you very much for your hint and your advise :-)

Thomas


-- 
## Marketing deutschsprachiges Projekt
## http://de.openoffice.org  - www.openoffice.org
## Vorstand OpenOffice.org Deutschland e.V.
## Mitglieder willkommen: www.OOoDeV.org

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [api-dev] Mergepoints for Extension

2008-11-17 Thread Carsten Driesner

Thomas Krumbein wrote:

Hey,

I want to add with an extension an own menu-item to a existing submenu
in calc.

I know the technic, but I do not now the correct mergepoints. Maybe
someone can help?

OK, my proposal is to add an item in the data-menu, submenu datapilot,
after the item "delete".

I only have a german version, so the correct names are:  "Daten -
Datenpilot - löschen"

Now I am looking for the three mergingpoints:

1:   uno:dataMenu  
2.   ???
3.   ???


Hi Thomas,

It's fairly simple to find the correct merge point. You first have to 
look into the corresponding XML file which defines the whole menu bar. 
For your use case it's the calc menu bar. You can find the file here:
\OpenOffice.org\Basis 
3.0\share\config\soffice.cfg\modules\scalc\menubar. The menubar.xml file 
provides you all necessary commands. The merge point must contain the 
whole path, separating each command entry with '\'. In your case the 
merge point must be:

MergePoint = ".uno:DataMenu\.uno:DataPilotMenu\.uno:DeletePivotTable"
MergeCommand = AddBehind

Regards,
Carsten

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[api-dev] Mergepoints for Extension

2008-11-17 Thread Thomas Krumbein
Hey,

I want to add with an extension an own menu-item to a existing submenu
in calc.

I know the technic, but I do not now the correct mergepoints. Maybe
someone can help?

OK, my proposal is to add an item in the data-menu, submenu datapilot,
after the item "delete".

I only have a german version, so the correct names are:  "Daten -
Datenpilot - löschen"

Now I am looking for the three mergingpoints:

1:   uno:dataMenu  
2.   ???
3.   ???

Thnaks for your help

Thomas

-- 
## Marketing deutschsprachiges Projekt
## http://de.openoffice.org  - www.openoffice.org
## Vorstand OpenOffice.org Deutschland e.V.
## Mitglieder willkommen: www.OOoDeV.org

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]