[api-dev] Extension: to save the code
To save out the code (of modified and installed extension) it was very comfortable. It rendered easyr the development and the improvement of Extension (The extension are not gadget blocked and frozen... ) The absence of this possibility introduces an ulterior element of difficulty. Like workaround I use some scripts.sh (tks to Paolo Mantovani), but in one year I have accumulated many errors and consequently lost several days of job. For my way to work the simple clik and save as Temp_021.oxt in OOo GUI it worked too well... and I am very disappointed for its elimination. Sorry for the vent e for my bad english. regards Bart - To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org For additional commands, e-mail: dev-h...@api.openoffice.org
[api-dev] Extension with python files in .pyc
I try to substitute my python file.py with compiled file.pyc in my extension, but it doesn't work. Is there something other to do? Sergio - To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org For additional commands, e-mail: dev-h...@api.openoffice.org
Re: [api-dev] Extension - Addon.xcu
Hello Carsten, Carsten Driesner wrote: This sounds like an issue to me. I have to look into the code and try to understand what's wrong in your scenario. Please write me an issue and I will try to have a look after Christmas vacation. Currently I am loaded with show stoppers. OK, i have open issue #107655. I hope that framework is the right Component for the issue. Regards, Jörg - To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org For additional commands, e-mail: dev-h...@api.openoffice.org
Re: [api-dev] Extension - Addon.xcu
Hello Jörg, On Wednesday 09 December 2009, 12:05, Jörg Schmidt wrote: How can i create a addon.xcu in a extension for a new independent toolbar which i can dock (which is visible) in the area of the DataSource-browser? ... but thats work not correctly, i dont see a new toolbar after installation the extension. (I try restart OOo after installation, but i get the same result.) What i need is a solution to create/install a new toolbar which is visible in the DataSource-browser-Window after install the extension (which 'contains' the toolbar). Its no matter whether the new toolbar (in DataSource-browser) is docked but it must be visible. ... notices on the side: I don't know whether it is a general problem, but when i create a new toolbar in the DataSource-browser-Window manually (by using the normal GUI) the toolbar is first visible, but when i close the DataSource-browser-Window and reopen, then the new toolbar is suddenly invisible. (OOo 3.1.0) yes, this seems to be an issue. I'm not sure which one is the issue: * a custom toolbar you have configured is first visible in the DSB, but the next time you open it, the toolbar is not visible anymore (though still present in the user ui-config. layer, and so in the Customize Toolbar... tab page) * if the DSB toolbar settings are not configurable in the sense of adding new toolbars, then you should not be allowed to configure a new one; instead be warned about this fact. Regards -- Ariel Constenla-Haile La Plata, Argentina - To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org For additional commands, e-mail: dev-h...@api.openoffice.org
Re: [api-dev] Extension - Addon.xcu
Jörg Schmidt wrote: Hello Carsten, *, thank you for your answer Carsten Driesner schrieb: It's not possible to drag any toolbar from one frame into the DataSource browser. The DataSource browser is a separate frame instance with its own set of toolbars. Toolbars cannot be moved between frames as they are frame specific! Yes, thats clear. (my writing was only the try to simplify the discussion) it remains the question: How can i create a addon.xcu in a extension for a new independent toolbar which i can dock (which is visible) in the area of the DataSource-browser? for a 'normal' toolbar i need in a extension the file addon.xcu and a file xxxWindowstate.xcu (in the *.oxt in the path: office/ui/). For example works for a new toolbar in Calc: '--addon.xcu- ?xml version='1.0' encoding='UTF-8'? oor:component-data xmlns:oor=http://openoffice.org/2001/registry; xmlns:xs=http://www.w3.org/2001/XMLSchema; oor:name=Addons oor:package=org.openoffice.Office node oor:name=AddonUI node oor:name=OfficeToolBar node oor:name=MAK.OfficeToolBar oor:op=replace node oor:name=m1 oor:op=replace prop oor:name=Context oor:type=xs:string valuecom.sun.star.sheet.SpreadsheetDocument/value /prop prop oor:name=URL oor:type=xs:string valuevnd.sun.star.script:MAK.MAKg.StartHauptdialog?language=Basicamp; location=application/value /prop prop oor:name=Title oor:type=xs:string valuetesteintrag/value /prop prop oor:name=Target oor:type=xs:string value_self/value /prop /node /node /node /node /oor:component-data '-- and: '--CalcWindowState.xcu-- ?xml version=1.0 encoding=UTF-8? oor:component-data xmlns:oor=http://openoffice.org/2001/registry; xmlns:xs=http://www.w3.org/2001/XMLSchema; oor:name=CalcWindowState oor:package=org.openoffice.Office.UI node oor:name=UIElements node oor:name=States node oor:name=private:resource/toolbar/addon_MAK.OfficeToolBar oor:op=replace prop oor:name=UIName oor:type=xs:string valueMAK_test/value /prop prop oor:name=Docked oor:type=xs:boolean valuefalse/value /prop prop oor:name=Visible oor:type=xs:boolean valuetrue/value /prop /node /node /node /oor:component-data '-- For a toolbar in the DataSource-browser-Window now i know (thanks Ariel ;-)) i think i must write: in addon.xcu: .. prop oor:name=Context oor:type=xs:string valuecom.sun.star.sdb.DataSourceBrowser/value /prop .. and in DbBrowserWindowState.xcu: .. oor:name=DbBrowserWindowState .. but thats work not correctly, i dont see a new toolbar after installation the extension. (I try restart OOo after installation, but i get the same result.) What i need is a solution to create/install a new toolbar which is visible in the DataSource-browser-Window after install the extension (which 'contains' the toolbar). Its no matter whether the new toolbar (in DataSource-browser) is docked but it must be visible. Any hints? notices on the side: I don't know whether it is a general problem, but when i create a new toolbar in the DataSource-browser-Window manually (by using the normal GUI) the toolbar is first visible, but when i close the DataSource-browser-Window and reopen, then the new toolbar is suddenly invisible. (OOo 3.1.0) Hi Jörg, This sounds like an issue to me. I have to look into the code and try to understand what's wrong in your scenario. Please write me an issue and I will try to have a look after Christmas vacation. Currently I am loaded with show stoppers. Regards, Carsten - To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org For additional commands, e-mail: dev-h...@api.openoffice.org
Re: [api-dev] Extension - Addon.xcu
Jörg Schmidt wrote: Hello Carsten, Hello Ariel, Thanks for the help, but: Carsten Driesner wrote: http://wiki.services.openoffice.org/wiki/Framework/Article/Add on_Menu_Toolbar_Merging yes, i know this the name part is also the name of the xml file without extension, file which should be located, on Linux, in /opt/openoffice.org/basis3.2/share/config/soffice.cfg/modules/module/t oolbar/name_part.xml in my opinion, there is a problem. In OOo 2.4.0 is the xml-file (in Windows): C:\Programme\OpenOffice.org 2.4\share\config\soffice.cfg\modules\dbbrowser\toolbar\browserobjectbar. xml but in OOo 3.1.0 the file for the functional same toolbar is: C:\Programme\OpenOffice.org 3\Basis\share\config\soffice.cfg\modules\dbbrowser\toolbar\toolbar.xml and i think the file-name toolbar.xml is not a clear (unambiguous) name. For example i find the same name in: C:\Programme\OpenOffice.org 3\Basis\share\config\soffice.cfg\modules\scalc\toolbar\toolbar.xml C:\Programme\OpenOffice.org 3\Basis\share\config\soffice.cfg\modules\swriter\toolbar\toolbar.xml .. And now? What can i do? What must i write for: '... prop oor:name=MergeToolBar valuebrowserobjectbar/value /prop '... when i will merge in this toolbar: C:\Programme\OpenOffice.org 3\Basis\share\config\soffice.cfg\modules\dbbrowser\toolbar\toolbar.xml There is no way for the merging code to use any other toolbar if the referenced one is not available. OK, thats clear for me. As OOo 2.4 and OOo 3.1 are two different major versions toolbars can be removed/added. the functional same toolbar exists in OOo 2.4 and 3.1, only the name is not the same, in OOo 2.4 the (file-)name is browserobjectbar.xml and in OOo 3.1 toolbar.xml. Or another question: How can i create a addon.xcu in a extension for a new independent toolbar which i can dock _in the area of the DataSource-browser_? (DataSource-Browser is the 'Window' i get with: View-DataSources in the menu, or shortcut F4) Note: it is (in my opinion) not possible to drag a 'normal' toolbar in the area of the DataSource-browser. Hi Jörg, It's not possible to drag any toolbar from one frame into the DataSource browser. The DataSource browser is a separate frame instance with its own set of toolbars. Toolbars cannot be moved between frames as they are frame specific! I don't know why the base team decided to rename the toolbar. You have to ask on the base mailing list for their reasons. Regards, Carsten - To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org For additional commands, e-mail: dev-h...@api.openoffice.org
Re: [api-dev] Extension - Addon.xcu
Hello again, this works for me: - Addons.xcu snippet - prop oor:name=MergeToolBar valuetoolbar/value /prop prop oor:name=MergePoint value.uno:Refresh/value /prop prop oor:name=MergeCommand valueAddAfter/value /prop prop oor:name=MergeFallback valueAddLast/value /prop prop oor:name=MergeContext valuecom.sun.star.sdb.DataSourceBrowser/value /prop This lets the button appear whenever the data source browser is opened. The merge context prevents the additional button being shown when a different toolbar is activated. (I did double check with Calc where the toolbar.xml is named Tools in the UI) Hope that helps, Steffen Jörg Schmidt wrote: Hello Steffen, steffen.gr...@sun.com wrote: when I change browserobjectbar to standardbar, your Addons.xcu works. It seems that browserobjectbar is not valid anymore, but I am not familiar with it, so I am at a loss there. Where in the UI can you activate that toolbar? i mean the toolbar you can see if you click View-Data Sources in the OOo-menu - the shortcut is F4 Regards, Jörg - To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org For additional commands, e-mail: dev-h...@api.openoffice.org -- Steffen Grund steffen.gr...@sun.com Sun Microsystems Software Engineer - StarOffice Nagelsweg 55 Phone: +49 40 23646 647D-20097 Hamburg Fax:+49 40 23646 550 http://www.sun.com/staroffice --- Sitz der Gesellschaft: Sun Microsystems GmbH, Sonnenallee 1, D-85551 Kirchheim-Heimstetten Amtsgericht Muenchen: HRB 161028 Geschaeftsfuehrer: Thomas Schroeder, Wolfgang Engels, Wolf Frenkel Vorsitzender des Aufsichtsrates: Martin Haering - To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org For additional commands, e-mail: dev-h...@api.openoffice.org
Re: [api-dev] Extension - Addon.xcu
Hello Ariel, Ariel Constenla-Haile wrote: you must specify the module the toolbar belongs to: MergeContext Defines in which application module context the merge instruction should be active. Contexts must be separated by a comma. An empty context means that the instruction is always active. The context string is identical with the module identifier accessible from the com.sun.star.frame.ModuleManager service. The following module identifiers are defined (for a complete list refer to Office modules since OpenOffice.org 2.3) http://wiki.services.openoffice.org/wiki/Office_modules_since_ OpenOffice.org_2.3 (should be updated, in OOo 3.2 the macro in that page counts 22 modules) /opt/openoffice.org/basis3.2/share/config/soffice.cfg/modules/module/t oolbar/name_part.xml In your case module is dbbrowser, so use com.sun.star.sdb.DataSourceBrowser for the DataSourceBrowser. Thank you, that works. if it is possible, then please have a look on my other mail to Carsten Regards, Jörg - To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org For additional commands, e-mail: dev-h...@api.openoffice.org
Re: [api-dev] Extension - Addon.xcu
Hello Carsten, *, thank you for your answer Carsten Driesner schrieb: It's not possible to drag any toolbar from one frame into the DataSource browser. The DataSource browser is a separate frame instance with its own set of toolbars. Toolbars cannot be moved between frames as they are frame specific! Yes, thats clear. (my writing was only the try to simplify the discussion) it remains the question: How can i create a addon.xcu in a extension for a new independent toolbar which i can dock (which is visible) in the area of the DataSource-browser? for a 'normal' toolbar i need in a extension the file addon.xcu and a file xxxWindowstate.xcu (in the *.oxt in the path: office/ui/). For example works for a new toolbar in Calc: '--addon.xcu- ?xml version='1.0' encoding='UTF-8'? oor:component-data xmlns:oor=http://openoffice.org/2001/registry; xmlns:xs=http://www.w3.org/2001/XMLSchema; oor:name=Addons oor:package=org.openoffice.Office node oor:name=AddonUI node oor:name=OfficeToolBar node oor:name=MAK.OfficeToolBar oor:op=replace node oor:name=m1 oor:op=replace prop oor:name=Context oor:type=xs:string valuecom.sun.star.sheet.SpreadsheetDocument/value /prop prop oor:name=URL oor:type=xs:string valuevnd.sun.star.script:MAK.MAKg.StartHauptdialog?language=Basicamp; location=application/value /prop prop oor:name=Title oor:type=xs:string valuetesteintrag/value /prop prop oor:name=Target oor:type=xs:string value_self/value /prop /node /node /node /node /oor:component-data '-- and: '--CalcWindowState.xcu-- ?xml version=1.0 encoding=UTF-8? oor:component-data xmlns:oor=http://openoffice.org/2001/registry; xmlns:xs=http://www.w3.org/2001/XMLSchema; oor:name=CalcWindowState oor:package=org.openoffice.Office.UI node oor:name=UIElements node oor:name=States node oor:name=private:resource/toolbar/addon_MAK.OfficeToolBar oor:op=replace prop oor:name=UIName oor:type=xs:string valueMAK_test/value /prop prop oor:name=Docked oor:type=xs:boolean valuefalse/value /prop prop oor:name=Visible oor:type=xs:boolean valuetrue/value /prop /node /node /node /oor:component-data '-- For a toolbar in the DataSource-browser-Window now i know (thanks Ariel ;-)) i think i must write: in addon.xcu: ... prop oor:name=Context oor:type=xs:string valuecom.sun.star.sdb.DataSourceBrowser/value /prop ... and in DbBrowserWindowState.xcu: ... oor:name=DbBrowserWindowState ... but thats work not correctly, i dont see a new toolbar after installation the extension. (I try restart OOo after installation, but i get the same result.) What i need is a solution to create/install a new toolbar which is visible in the DataSource-browser-Window after install the extension (which 'contains' the toolbar). Its no matter whether the new toolbar (in DataSource-browser) is docked but it must be visible. Any hints? notices on the side: I don't know whether it is a general problem, but when i create a new toolbar in the DataSource-browser-Window manually (by using the normal GUI) the toolbar is first visible, but when i close the DataSource-browser-Window and reopen, then the new toolbar is suddenly invisible. (OOo 3.1.0) Regards, Jörg - To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org For additional commands, e-mail: dev-h...@api.openoffice.org
[api-dev] Extension - Addon.xcu
Hello, in an extension (*.oxt) i use the following Addon.xcu to create an button in the browserobject-toolbar - works correct in OOo 2.4.0 but not in OOo 3.1. (in OOo 3.1 i dont get a button in the browserobject-toolbar after installation of the extension) What can i do? Regards, Jörg '-- ?xml version='1.0' encoding='UTF-8'? oor:component-data xmlns:oor=http://openoffice.org/2001/registry; xmlns:xs=http://www.w3.org/2001/XMLSchema; oor:name=Addons oor:package=org.openoffice.Office node oor:name=AddonUI node oor:name=OfficeToolbarMerging node oor:name=org.openoffice.test.testcomponent oor:op=replace node oor:name=T1 oor:op=replace prop oor:name=MergeToolBar valuebrowserobjectbar/value /prop prop oor:name=MergePoint value.uno:Refresh/value /prop prop oor:name=MergeCommand valueAddAfter/value /prop prop oor:name=MergeFallback valueAddLast/value /prop prop oor:name=MergeContext value/ /prop node oor:name=ToolBarItems node oor:name=B1 oor:op=replace prop oor:name=URL oor:type=xs:string valuevnd.sun.star.script:Serien.HDCode.start_hd?language=Basicamp;loc ation=application/value /prop prop oor:name=Title oor:type=xs:string valueTestaufruf/value /prop /node /node /node /node /node /node /oor:component-data '-- - To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org For additional commands, e-mail: dev-h...@api.openoffice.org
Re: [api-dev] Extension - Addon.xcu
Hello Jörg, when I change browserobjectbar to standardbar, your Addons.xcu works. It seems that browserobjectbar is not valid anymore, but I am not familiar with it, so I am at a loss there. Where in the UI can you activate that toolbar? HTH, Steffen Jörg Schmidt wrote: Hello, in an extension (*.oxt) i use the following Addon.xcu to create an button in the browserobject-toolbar - works correct in OOo 2.4.0 but not in OOo 3.1. (in OOo 3.1 i dont get a button in the browserobject-toolbar after installation of the extension) What can i do? Regards, Jörg '-- ?xml version='1.0' encoding='UTF-8'? oor:component-data xmlns:oor=http://openoffice.org/2001/registry; xmlns:xs=http://www.w3.org/2001/XMLSchema; oor:name=Addons oor:package=org.openoffice.Office node oor:name=AddonUI node oor:name=OfficeToolbarMerging node oor:name=org.openoffice.test.testcomponent oor:op=replace node oor:name=T1 oor:op=replace prop oor:name=MergeToolBar valuebrowserobjectbar/value /prop prop oor:name=MergePoint value.uno:Refresh/value /prop prop oor:name=MergeCommand valueAddAfter/value /prop prop oor:name=MergeFallback valueAddLast/value /prop prop oor:name=MergeContext value/ /prop node oor:name=ToolBarItems node oor:name=B1 oor:op=replace prop oor:name=URL oor:type=xs:string valuevnd.sun.star.script:Serien.HDCode.start_hd?language=Basicamp;loc ation=application/value /prop prop oor:name=Title oor:type=xs:string valueTestaufruf/value /prop /node /node /node /node /node /node /oor:component-data '-- - To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org For additional commands, e-mail: dev-h...@api.openoffice.org - To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org For additional commands, e-mail: dev-h...@api.openoffice.org
Re: [api-dev] Extension - Addon.xcu
Hello Jörg, Steffen, On Tuesday 08 December 2009, 07:43, Steffen Grund wrote: Hello Jörg, when I change browserobjectbar to standardbar, your Addons.xcu works. It seems that browserobjectbar is not valid anymore, but I am not familiar with it, so I am at a loss there. no, you're right. MergeToolBar specifies the target toolbar. You have to use the name part of the toolbar resource URL. E.g. private:resource/toolbar/standardbar quoting http://wiki.services.openoffice.org/wiki/Framework/Article/Addon_Menu_Toolbar_Merging the name part is also the name of the xml file without extension, file which should be located, on Linux, in /opt/openoffice.org/basis3.2/share/config/soffice.cfg/modules/module/toolbar/name_part.xml and there is no browserobjectbar.xml in any folder. in an extension (*.oxt) i use the following Addon.xcu to create an button in the browserobject-toolbar - works correct in OOo 2.4.0 but not in OOo 3.1. (in OOo 3.1 i dont get a button in the browserobject-toolbar after installation of the extension) What can i do? there is o such toolbar in OOo 3.1. Browse /opt/openoffice.org/basis3.2/share/config/soffice.cfg/modules/module/toolbar to find out if it was renamed or merged. Regards -- Ariel Constenla-Haile La Plata, Argentina - To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org For additional commands, e-mail: dev-h...@api.openoffice.org
Re: [api-dev] Extension - Addon.xcu
Ariel Constenla-Haile wrote: Hello Jörg, Steffen, On Tuesday 08 December 2009, 07:43, Steffen Grund wrote: Hello Jörg, when I change browserobjectbar to standardbar, your Addons.xcu works. It seems that browserobjectbar is not valid anymore, but I am not familiar with it, so I am at a loss there. no, you're right. MergeToolBar specifies the target toolbar. You have to use the name part of the toolbar resource URL. E.g. private:resource/toolbar/standardbar quoting http://wiki.services.openoffice.org/wiki/Framework/Article/Addon_Menu_Toolbar_Merging the name part is also the name of the xml file without extension, file which should be located, on Linux, in /opt/openoffice.org/basis3.2/share/config/soffice.cfg/modules/module/toolbar/name_part.xml and there is no browserobjectbar.xml in any folder. Hi Ariel, Thanks for your help. Your explanation is correct and that's why Jörg doesn't see the button. There is no way for the merging code to use any other toolbar if the referenced one is not available. As OOo 2.4 and OOo 3.1 are two different major versions toolbars can be removed/added. Regards, Carsten - To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org For additional commands, e-mail: dev-h...@api.openoffice.org
Re: [api-dev] Extension - Addon.xcu
Hello Carsten, Hello Ariel, Thanks for the help, but: Carsten Driesner wrote: http://wiki.services.openoffice.org/wiki/Framework/Article/Add on_Menu_Toolbar_Merging yes, i know this the name part is also the name of the xml file without extension, file which should be located, on Linux, in /opt/openoffice.org/basis3.2/share/config/soffice.cfg/modules/module/t oolbar/name_part.xml in my opinion, there is a problem. In OOo 2.4.0 is the xml-file (in Windows): C:\Programme\OpenOffice.org 2.4\share\config\soffice.cfg\modules\dbbrowser\toolbar\browserobjectbar. xml but in OOo 3.1.0 the file for the functional same toolbar is: C:\Programme\OpenOffice.org 3\Basis\share\config\soffice.cfg\modules\dbbrowser\toolbar\toolbar.xml and i think the file-name toolbar.xml is not a clear (unambiguous) name. For example i find the same name in: C:\Programme\OpenOffice.org 3\Basis\share\config\soffice.cfg\modules\scalc\toolbar\toolbar.xml C:\Programme\OpenOffice.org 3\Basis\share\config\soffice.cfg\modules\swriter\toolbar\toolbar.xml ... And now? What can i do? What must i write for: '... prop oor:name=MergeToolBar valuebrowserobjectbar/value /prop '... when i will merge in this toolbar: C:\Programme\OpenOffice.org 3\Basis\share\config\soffice.cfg\modules\dbbrowser\toolbar\toolbar.xml There is no way for the merging code to use any other toolbar if the referenced one is not available. OK, thats clear for me. As OOo 2.4 and OOo 3.1 are two different major versions toolbars can be removed/added. the functional same toolbar exists in OOo 2.4 and 3.1, only the name is not the same, in OOo 2.4 the (file-)name is browserobjectbar.xml and in OOo 3.1 toolbar.xml. Or another question: How can i create a addon.xcu in a extension for a new independent toolbar which i can dock _in the area of the DataSource-browser_? (DataSource-Browser is the 'Window' i get with: View-DataSources in the menu, or shortcut F4) Note: it is (in my opinion) not possible to drag a 'normal' toolbar in the area of the DataSource-browser. Regards, Jörg - To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org For additional commands, e-mail: dev-h...@api.openoffice.org
Re: [api-dev] Extension - Addon.xcu
Hello Steffen, steffen.gr...@sun.com wrote: when I change browserobjectbar to standardbar, your Addons.xcu works. It seems that browserobjectbar is not valid anymore, but I am not familiar with it, so I am at a loss there. Where in the UI can you activate that toolbar? i mean the toolbar you can see if you click View-Data Sources in the OOo-menu - the shortcut is F4 Regards, Jörg - To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org For additional commands, e-mail: dev-h...@api.openoffice.org
Re: [api-dev] Extension - Addon.xcu
Hello Jörg, On Tuesday 08 December 2009, 15:33, Jörg Schmidt wrote: in my opinion, there is a problem. In OOo 2.4.0 is the xml-file (in Windows): C:\Programme\OpenOffice.org 2.4\share\config\soffice.cfg\modules\dbbrowser\toolbar\browserobjectbar. xml but in OOo 3.1.0 the file for the functional same toolbar is: C:\Programme\OpenOffice.org 3\Basis\share\config\soffice.cfg\modules\dbbrowser\toolbar\toolbar.xml and i think the file-name toolbar.xml is not a clear (unambiguous) name. For example i find the same name in: C:\Programme\OpenOffice.org 3\Basis\share\config\soffice.cfg\modules\scalc\toolbar\toolbar.xml C:\Programme\OpenOffice.org 3\Basis\share\config\soffice.cfg\modules\swriter\toolbar\toolbar.xml ... And now? What can i do? What must i write for: '... prop oor:name=MergeToolBar valuebrowserobjectbar/value /prop '... when i will merge in this toolbar: C:\Programme\OpenOffice.org 3\Basis\share\config\soffice.cfg\modules\dbbrowser\toolbar\toolbar.xml you must specify the module the toolbar belongs to: MergeContext Defines in which application module context the merge instruction should be active. Contexts must be separated by a comma. An empty context means that the instruction is always active. The context string is identical with the module identifier accessible from the com.sun.star.frame.ModuleManager service. The following module identifiers are defined (for a complete list refer to Office modules since OpenOffice.org 2.3) http://wiki.services.openoffice.org/wiki/Office_modules_since_OpenOffice.org_2.3 (should be updated, in OOo 3.2 the macro in that page counts 22 modules) /opt/openoffice.org/basis3.2/share/config/soffice.cfg/modules/module/toolbar/name_part.xml In your case module is dbbrowser, so use com.sun.star.sdb.DataSourceBrowser for the DataSourceBrowser. Regards -- Ariel Constenla-Haile La Plata, Argentina - To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org For additional commands, e-mail: dev-h...@api.openoffice.org
Re: [api-dev] Extension can't be removed (barcode 1.2)
Hi Jonathan, you can remove the ~/.openoffice.org/3/user/uno_packages folder completely. The will lose all installed extensions but everyhting else should be fine. Juergen Jonathan Kaye wrote: Hi all, I posted this a while ago on the Openoffice.questions NG. No solution was offered but I was told it is a known problem. Maybe somebody here has some ideas on how to solve it. I'd like to avoid removing my entire ~/.openoffice.org/3/ folder if possible. -- I am stuck between a rock and a hard place. I'm running OO3.1 on Debian Testing. At some point curiosity got the better of me and I installed the barcode extension. It resides in this folder: ~/.openoffice.org/3/user/uno_packages/cache/uno_packages/4WZ4rR_/Barcode.oxt/ I keep getting notifications about an update being available but any attempt to update it produces an error. Using the Extensions Manager I highlighted it and clicked the Remove button. This produces another error of this type: (com.sun.staar.uno.RuntimeException){ {Message= type 'exceptions.AttributeError': 'module' object has no attribute 'writeRegistryInfo', traceback follows ... And the barcode extension refuses to die. I tried simply renaming the above mention folder ending in Barcode.oxt to bad.Barcode.oxt.bad but while that did remove barcode from my list of extensions I could not update any other extensions and the a message whinging about not finding Barcode.oxt appeared. Can some one tell me how I can surgically remove this stupid extension. Thanks, Jonathan - To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org For additional commands, e-mail: dev-h...@api.openoffice.org
[api-dev] Extension can't be removed (barcode 1.2)
Hi all, I posted this a while ago on the Openoffice.questions NG. No solution was offered but I was told it is a known problem. Maybe somebody here has some ideas on how to solve it. I'd like to avoid removing my entire ~/.openoffice.org/3/ folder if possible. -- I am stuck between a rock and a hard place. I'm running OO3.1 on Debian Testing. At some point curiosity got the better of me and I installed the barcode extension. It resides in this folder: ~/.openoffice.org/3/user/uno_packages/cache/uno_packages/4WZ4rR_/Barcode.oxt/ I keep getting notifications about an update being available but any attempt to update it produces an error. Using the Extensions Manager I highlighted it and clicked the Remove button. This produces another error of this type: (com.sun.staar.uno.RuntimeException){ {Message= type 'exceptions.AttributeError': 'module' object has no attribute 'writeRegistryInfo', traceback follows ... And the barcode extension refuses to die. I tried simply renaming the above mention folder ending in Barcode.oxt to bad.Barcode.oxt.bad but while that did remove barcode from my list of extensions I could not update any other extensions and the a message whinging about not finding Barcode.oxt appeared. Can some one tell me how I can surgically remove this stupid extension. Thanks, Jonathan -- Registerd Linux user #445917 at http://counter.li.org/ Please do not send me copies of list mail. I read the lists. Thanks! - To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org For additional commands, e-mail: dev-h...@api.openoffice.org
[api-dev] Extension?
Hi , I have a problem about developing an OpenOffice.org opendocument text extension. is there a tutorial an example on eclipse or netbeans. Please tell me the steps. _ Windows Live™ Photos ile fotoğraflarınızı kolayca paylaşımı. http://www.microsoft.com/windows/windowslive/photos.aspx
[api-dev] Extension?
Hi , I have a problem about developing an OpenOffice.org opendocument text extension. is there a tutorial an example on eclipse or netbeans. Please tell me the steps. _ Windows Live Messenger'ın için Ücretsiz 30 İfadeyi yükle http://www.livemessenger-emoticons.com/funfamily/tr-tr/
[api-dev] extension classpath [was: A recapitulation attempt ...]
Jim White wrote: Something I just learned that I do regard as a bug (or at least critically needed enhancement) is that although the OOo 2.3 classpath change did move the OOo implementation classes out of the extensions' classpath, all extensions are in the same classpath (same URLClassLoader actually). That is even worse that having OOo classes visible since it is totally unpredicatable and uncontrollable what extensions users might install. But as I say, that is probably unrelated to your issue. That should not be the case. Only old extensions that include jars that miss a UNO-Type-Path (see http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/WritingUNO/Possible_Structures_for_Java_Components#Additional_UNO_Types) are (and have to be) loaded by the basic UNO class loader (which has to know about all classes that represent UNO types). -Stephan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]