Re: [api-dev] Gap analysis for OpenOffice.org awt toolkit API
Jérémy Bethmont schrieb: For me, one important control is missing : a list with multiple columns! In short a TableControl ;-)but I can only second you. Tom signature.asc Description: OpenPGP digital signature
Re: [api-dev] Gap analysis for OpenOffice.org awt toolkit API
Hi carsten What do you desperately miss (controls, classes, functions)? Which areas need the most work? How do you feel about the naming of interfaces and functions? thanks a lot for your proposal - one control missing is a TREEVIEW control with icons on nodes possibilities and (if possible) binding to datasource (a request) - windows that could be dockable like the stylist or the navigator - some auto-positioning (align to grid ?) of controls more if i think to something btw, i'll relay your call on french lists thanks again Laurent -- Laurent Godard [EMAIL PROTECTED] - Ingénierie OpenOffice.org Indesko http://www.indesko.com Nuxeo CPS http://www.nuxeo.com - http://www.cps-project.org Livre Programmation OpenOffice.org, Eyrolles 2004 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[api-dev] OOo 2.0.3 (Linux Windows), OOoBean, printing does not work when doc loaded with loadFromByteArray()
Hi all, I still can't print with OOo 2.0.3 using the OOoBean, when documents are loaded via loadFromByteArray(). There is no error message, printing silently fails. A workaround for that is calling storeAsURL(url,null) on the document (which is a com.sun.star.comp.beans.OfficeDocument) before calling print. Is there any way to avoid saving temporary files to be able to print in my scenario? Cheers Harald - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[api-dev] [Announce] Snippet Collection holds more then 100 Snippets
Hi folks, since we started our snippet collection we/you constantly added new snippets and now its time to announce the integration of the ***100ths*** Snippet. Today I've added 31 Snippets provided by students form the University of Vienna with a total amount of 120 Snippets. I want to say a great thank you to all how contributed. Next major target is to translate the snippets into other languages. Tom signature.asc Description: OpenPGP digital signature
Re: [api-dev] [Announce] Snippet Collection holds more then 100 Snippets
Thanks goes to you Tom, for mantaining and providing thise code snippet base. 2006/7/14, Tom Schindl [EMAIL PROTECTED]: Hi folks, since we started our snippet collection we/you constantly added new snippets and now its time to announce the integration of the ***100ths*** Snippet. Today I've added 31 Snippets provided by students form the University of Vienna with a total amount of 120 Snippets. I want to say a great thank you to all how contributed. Next major target is to translate the snippets into other languages. Tom -- Best Regards Christian Junker - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [api-dev] [Announce] Snippet Collection holds more then 100 Snippets
Tom Schindl wrote: Hi folks, since we started our snippet collection we/you constantly added new snippets and now its time to announce the integration of the ***100ths*** Snippet. Wow, congratulations! Today I've added 31 Snippets provided by students form the University of Vienna with a total amount of 120 Snippets. Well the students are from the Wirtschaftsuniversität Wien (WU) (more than 20,000 students, cf. http://www.wu.edu). [There exists also a University of Vienna (appr. 70,000 students, cf. http://www.univie.ac.at/en/). Vienna, the capital of Austria, Europe, is a city hosting quite a few great Universities making it also a huge and great student's place, cf. http://www.wien.gv.at/english/.] I want to say a great thank you to all how contributed. Next major target is to translate the snippets into other languages. Also, these new snippets exploit Tom's great linking-to-the-OOo-IDL-snippet-serving-feature, which should allow for jump-starting anyone who wants to transcribe them to other languages, but also wishes to research the OOo corners the snippets demonstrate: in the ooRexx snippets just click on message names (right of the tilde character ~) that start with an X (this is how one is able to request an interface object in ooRexx) or on any fully qualified OOo class name in strings (enclosed in quotes) to get to to the respective IDL definitions. Just in case you have not bookmarked the OOo snippet homepage yet, here is its URL: http://codesnippets.services.openoffice.org/. ---rony - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [api-dev] [Announce] Snippet Collection holds more then 100 Snippets
Tom Schindl wrote: Hi folks, since we started our snippet collection we/you constantly added new snippets and now its time to announce the integration of the ***100ths*** Snippet. great, really good news. It seems that the snippet page will be more and more accepted and that makes me proud to see that this good idea find it's way and shows how the community can work. Thank you Tom for maintaining and hosting the page and thank you Paolo for the SnippetCreator. Let me say some words on the snippets and what i have in mind with at least the Basic snippets. I would like to see a lot of small snippets which can be categorized and sorted easily. The idea is to have some kind of snippet browser in the Basic IDE some time in the future. The browse should make it possible to simply browse over a huge snippet collection and using drag and drop to insert a snippet in an existing macro. Ideally the important variables/points which needs adaption can be accessed easily by navigation with the tab key. How it should look like in detail i have no idea yet but i assume that it can help beginners to get started with macros and of course it can speed up the work of power macros coders. I think that this can be implemented as a component (maybe we have to support some special interfaces) and maybe their is one more volunteers in the community who are interested in such a project. It is a good way to get started without deep knowledge of the code base. Don't hesitate to come back on the list with your own ideas or when you are simply interested to help. Juergen Today I've added 31 Snippets provided by students form the University of Vienna with a total amount of 120 Snippets. I want to say a great thank you to all how contributed. Next major target is to translate the snippets into other languages. Tom - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [api-dev] [Announce] Snippet Collection holds more then 100 Snippets
Hi Jürgen, Alle 14:55, venerdì 14 luglio 2006, Jürgen Schmidt ha scritto: [...] Let me say some words on the snippets and what i have in mind with at least the Basic snippets. I would like to see a lot of small snippets which can be categorized and sorted easily. About this I would suggest that, at least for Calc, anyone can use my DispatchToApiRecorder to automatically generate valid code to submit as CodeSnippet Currently about 80 Calc dispatches are mapped to the corresponding API (starbasic) code, so I think that in this way we can obtain about 20-30 small snippets or even more. If you want a try, download and install the following two UNO packages: http://www.paolo-mantovani.org/downloads/DispatchToApiRecorder/DispatchToApiRecorder-20060707.uno.pkg http://www.paolo-mantovani.org/downloads/DispatchToApiRecorder/transformers/Calc/CalcDispatchToApiTransformer-20060707.uno.pkg Just to give the idea, at the end of this post you can find an example of the automatically generated code that you can obtain. The idea is to have some kind of snippet browser in the Basic IDE some time in the future. The browse should make it possible to simply browse over a huge snippet collection and using drag and drop to insert a snippet in an existing macro. Ideally the important variables/points which needs adaption can be accessed easily by navigation with the tab key. How it should look like in detail i have no idea yet but i assume that it can help beginners to get started with macros and of course it can speed up the work of power macros coders. Great!! I think that this can be implemented as a component (maybe we have to support some special interfaces) and maybe their is one more volunteers in the community who are interested in such a project. It is a good way to get started without deep knowledge of the code base. Don't hesitate to come back on the list with your own ideas or when you are simply interested to help. regards Paolo Mantovani REM * BASIC * Sub Main ' Recorded by Paolo Mantovani ' Date: Fri Jul 14 15:17:18 2006 ' get access to the document oDocumentModel = ThisComponent oDocumentView = oDocumentModel.getCurrentController() oCellRange = oDocumentView.ActiveSheet.getCellRangeByName(A1:A15) oDocumentView.select(oCellRange) ' Retrieve the standard number format for currency aLocale = CreateUnoStruct(com.sun.star.lang.Locale) With aLocale .Language = it .Country = IT End With nFormatType = com.sun.star.util.NumberFormat.CURRENCY nFormatKey = oDocumentModel.NumberFormats.getStandardFormat(nFormatType, aLocale) ' Apply the number format to the current selection oDocumentView.Selection.NumberFormat = nFormatKey End Sub - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[api-dev] Problem with idlc
Hi i am getting this error from idlc. C:\ProtoToolbar\Code\com\sun\star\demoidlc -C -I(C:\ani\OpenOffice.org2.0_SDK\idl\com\sun\star\uno)/idl XTestFunction1.idl idlc: compile 'XTestFunction1.idl'... cpp:C:\DOCUME~1\bharathy\LOCALS~1\Temp\idli_a00476:1 Could not find include file com/sun/star/uno/XInterface.idl idlc:preprocessing file C:\ProtoToolbar\Code\com\sun\star\demo\XTestFunction1.idl failed Can anyone tell me why is it giving this error? Could not find include file com/sun/star/uno/XInterface.idl I have included the following files in the Classpath variable C:\ani\OpenOffice.org2.0_SDK\idl; C:\ani\OpenOffice.org2.0_SDK\idl\jurt.jar; C:\ani\OpenOffice.org2.0_SDK\idl\unoil.jar; C:\ani\OpenOffice.org2.0_SDK\idl\ridl.jar; C:\ani\OpenOffice.org2.0_SDK\idl\juh.jar; C:\ani\OpenOffice.org2.0_SDK\idl\sandbox.jar C:\Program Files\OpenOffice.org 2.0\program\classes;.; Also in the Path variable i have included path .;C:\Program Files\Java\jre1.5.0_07\bin;C:\oracle\ORAOLE\ora92\bin;C:\oracle\ORAOLEDB\ora92\bin;C:\oracle\ORASQL\ora92\bin;C:\Program Files\Oracle\jre\1.3.1\bin;C:\Program Files\Oracle\jre\1.1.8\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322;C:\Program Files\Java\jdk1.5.0_07\bin;C:\Program Files\Java\jdk1.5.0_07\bin;C:\ani\OpenOffice.org2.0_SDK\windows\bin;C:\ani\OpenOffice.org2.0_SDK\idl\com\sun\star\uno\XInterface.idl;C:\Program Files\OpenOffice.org 2.0\program\classes;C:\Program Files\OpenOffice.org 2.0\program; The C:\ani\OpenOffice.org2.0_SDK\windows\bin has been included in the Path environment variable. Is there anything that i have missed out? This is the XTestFunction1.idl in C:\ProtoToolbar\Code\com\sun\star\demo #include com/sun/star/uno/XInterface.idl module com { module sun { module star { module demo { interface XTestFunction1 : com::sun::star::uno::XInterface { string translate([in]string source); }; };};};}; Please Help With Regards, Bharathy B - Yahoo! Music Unlimited - Access over 1 million songs.Try it free.
Re: [api-dev] Problem with idlc
try simply idlc -C -IC:\ani\OpenOffice.org2.0_SDK\idl XTestFunction1.idl the module part com/sun/star/uno is already used in the include statement Juergen bharathy b wrote: Hi i am getting this error from idlc. C:\ProtoToolbar\Code\com\sun\star\demoidlc -C -I(C:\ani\OpenOffice.org2.0_SDK\idl\com\sun\star\uno)/idl XTestFunction1.idl idlc: compile 'XTestFunction1.idl'... cpp:C:\DOCUME~1\bharathy\LOCALS~1\Temp\idli_a00476:1 Could not find include file com/sun/star/uno/XInterface.idl idlc:preprocessing file C:\ProtoToolbar\Code\com\sun\star\demo\XTestFunction1.idl failed Can anyone tell me why is it giving this error? Could not find include file com/sun/star/uno/XInterface.idl I have included the following files in the Classpath variable C:\ani\OpenOffice.org2.0_SDK\idl; C:\ani\OpenOffice.org2.0_SDK\idl\jurt.jar; C:\ani\OpenOffice.org2.0_SDK\idl\unoil.jar; C:\ani\OpenOffice.org2.0_SDK\idl\ridl.jar; C:\ani\OpenOffice.org2.0_SDK\idl\juh.jar; C:\ani\OpenOffice.org2.0_SDK\idl\sandbox.jar C:\Program Files\OpenOffice.org 2.0\program\classes;.; Also in the Path variable i have included path .;C:\Program Files\Java\jre1.5.0_07\bin;C:\oracle\ORAOLE\ora92\bin;C:\oracle\ORAOLEDB\ora92\bin;C:\oracle\ORASQL\ora92\bin;C:\Program Files\Oracle\jre\1.3.1\bin;C:\Program Files\Oracle\jre\1.1.8\bin;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322;C:\Program Files\Java\jdk1.5.0_07\bin;C:\Program Files\Java\jdk1.5.0_07\bin;C:\ani\OpenOffice.org2.0_SDK\windows\bin;C:\ani\OpenOffice.org2.0_SDK\idl\com\sun\star\uno\XInterface.idl;C:\Program Files\OpenOffice.org 2.0\program\classes;C:\Program Files\OpenOffice.org 2.0\program; The C:\ani\OpenOffice.org2.0_SDK\windows\bin has been included in the Path environment variable. Is there anything that i have missed out? This is the XTestFunction1.idl in C:\ProtoToolbar\Code\com\sun\star\demo #include com/sun/star/uno/XInterface.idl module com { module sun { module star { module demo { interface XTestFunction1 : com::sun::star::uno::XInterface { string translate([in]string source); }; };};};}; Please Help With Regards, Bharathy B - Yahoo! Music Unlimited - Access over 1 million songs.Try it free. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]