Re: [api-dev] adding action event to sub menus

2006-08-03 Thread Carsten Driesner
Madhan Ponnusamy wrote: hai, I had added menus and submenus in openoffice impress now i want to add action event to those submenus i.e) if the user click the submenu a java class file should be called. How to do this? Hi Madhan, You need to implement a protcol handler for your commands which

Re: [api-dev] idlc cannot handle spaces in pathnames?

2006-08-03 Thread Jürgen Schmidt
eric wrote: hello on XP i find that idlc fails if i pass to the -I option a path containing spaces: idlc -IC:\Program Files\OpenOffice.org_2.0_SDK\idl my_proj.idl Illegal argument: 'Files\OpenOffice.org_2.0_SDK\idl' is not a valid input file, only '*.idl' files will be accepted would never

Re: [api-dev] adding action event to sub menus

2006-08-03 Thread Madhan Ponnusamy
Hi Carsten, Thank u...i had already searched in the code snippetbase but i cannot find the solution. any way now i got a doubt in macros. I had created menus programtically and i tried to link the menus to macros by the code PropertyValue[] oMenuItem = CreateMenuItem(

Re: [api-dev] idlc cannot handle spaces in pathnames?

2006-08-03 Thread cedric . bosdonnat . ooo
Hi Juergen, Eric, Selon Jürgen Schmidt [EMAIL PROTECTED]: idlc -IC:\Program Files\OpenOffice.org_2.0_SDK\idl my_proj.idl C:/Program Files/OpenOffice.org_2.0_SDK/windows/bin/idlc.exe: compile 'my_proj.idl' ... cpp: Can't open input file Files\OpenOffice.org_2.0_SDK\idl C:/Program

Re: [api-dev] idlc cannot handle spaces in pathnames?

2006-08-03 Thread Jürgen Schmidt
[EMAIL PROTECTED] wrote: Hi Juergen, Eric, Selon Jürgen Schmidt [EMAIL PROTECTED]: idlc -IC:\Program Files\OpenOffice.org_2.0_SDK\idl my_proj.idl C:/Program Files/OpenOffice.org_2.0_SDK/windows/bin/idlc.exe: compile 'my_proj.idl' ... cpp: Can't open input file