[udk-dev] Re: [discuss] Re: Annonce : création de la Document Foundation
2010/9/28 Yannick VOYEAUD yann...@voyeaud.org Le 28/09/2010 09:52, Jean-Baptiste Faure a écrit : Bonjour, J'ai le grand plaisir de vous annoncer l'avènement de la fondation que nous sommes très nombreux à attendre depuis plusieurs années : /The Document Foundation/. Vous trouverez ci-dessous la traduction française de l'annonce officielle (http://www.openoffice.org/servlets/ReadMsg?list=announcemsgNo=429) Bonsoir, J'ai le droit d'être vache? -;) Open Office Documentation N'aurait pas été mal puisque qu'en abrégé on obtient ODF Nonn Pas sur la tête ce sera pire après! Amitiés -- Yannick VOYEAUD - To unsubscribe, e-mail: discuss-unsubscr...@openoffice.org For additional commands, e-mail: discuss-h...@openoffice.org English please -- *Alexandro Colorado* *OpenOffice.org* Español http://es.openoffice.org
Re: [udk-dev] create/modify writer docs without running OO
On Tue, 14 Apr 2009 10:58:22 -0500, Daniel Elliott danelliotts...@gmail.com wrote: Hello, Thank you to all for this very cool library! I am a bit new and need some guidance. Using the tutorials in the wiki, I now know how to load, modify, and save writer docs using the API. However, we are writing a desktop app that we will distribute and would like to avoid distributing the open office executables (just the api libraries, would be preferable). All I need to do is add a graphic or two and some values in pre-specified locations. Is it possible to do this without using the OO services of a hidden OO instance and just either parse the doc or build an app from scratch using API calls? Thank you. - dan It would be interesting to know what the URE (UNO Runtime Environment) for you. All I could find was this: http://udk.openoffice.org/common/man/draft/standalone_uno_1_0.html -- Alexandro Colorado CoLeader of OpenOffice.org ES http://es.openoffice.org - To unsubscribe, e-mail: dev-unsubscr...@udk.openoffice.org For additional commands, e-mail: dev-h...@udk.openoffice.org
Re: [udk-dev] Capitalized2.py integration --- what happened?
On Wed, Sep 24, 2008 at 3:04 AM, Kay Ramme - Sun Germany - Hamburg [EMAIL PROTECTED] wrote: Hi Alexandro, Alexandro Colorado wrote: There was a patch that was submited on october 22nd of 2007 on improving the state of the code on one the python samples. I see ... The patch was toyed around the developers but nothing got done in the end. I would like to know what happened and what was missing to get this patch properly integrated to the 3.0 CVS tree. It seems, that it is unclear who should own respectively decide on the patch ... From what I could tell Jorg didn't accept the issue and nothing got Do you mean JSK (Jorg Skottke) or JBU (Joerg Budischewski), the latter being the Py-Uno maintainer ? done. This was a bit frustrating and a huge waste of time. I would like to know what else needed to be available to get this done. http://www.openoffice.org/issues/show_bug.cgi?id=82861 As far as I understand, this issue has just been re-targeted to 3.1 . From the CVS log I see that likely JBU should be the owner and should take care of the patch etc. Otherwise if the patch is simply right, just create a CWS and get it integrated ;-) Best regards Kay Hi Kay, Thanks for your reply. I think I will do the CWS. Any URL on how to get started, this could be my actual source code commit :-) The patch has to do with scripting framework on the python language area. Regards. -- Alexandro Colorado OpenOffice.org Espantilde;ol IM: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [udk-dev] UNO python and openoffice. ManualHowto
On Tue, 26 Aug 2008 11:00:37 -0500, Lukasz Szybalski [EMAIL PROTECTED] wrote: 2. Is there a way to open openoffice in some kind of quite mode? openoffice -accept=socket,host=localhost,port=2002;urp; This opens up the actual program. I think if I was able to run it in a background that would speed things up. There is a python script that automate the startup using popen. Is kind of like a subshell. 3. How can I find things inside of textbox. I had to remove all textbox fields because find couldn't look into them. As far as I could look on inserting text in a textfield you first need to position yourself within to be able to do a search. I guess I will need to do more testing in this regard. -- Alexandro Colorado CoLeader of OpenOffice.org ES http://es.openoffice.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [udk-dev] UNO python and openoffice. ManualHowto
On Thu, 21 Aug 2008 08:26:53 -0500, Juergen Schmidt [EMAIL PROTECTED] wrote: Hello, I created a little manual on how to use openoffice, with python and uno. Maybe we could document the already existant code that we have out there. I dunno why but i didnt notice that there are some interesting scripts writen in python on the python uno page. http://udk.openoffice.org/python/python-bridge.html ooextract.py A command line tool, that extracts the text, html or pdf content from a StarWriter document and writes it to a different file or (optionally) prints it to stdout (grep your office documents). oomerge.py A command line tool, that creates a new document by appending multiple single documents swriter.py A command line program, that fills a writer document with some text and tables. swritercomp.py, swritercompclient.py Same as above, but implemented as a python UNO component, so that it runs within the office process. This shows the performance benefit of having scripts run within one process. You must add the swritercomp.py program with the pkgchk tool (see below) to the office installation and can then use the swritercomp_client.py program to execute it. biblioaccess.py A command line program, that displays the contents of the biblio sample database that comes with OpenOffice.org. python-tokencounter-calc-addin.oxt Adds a function named tokencount to calc, which counts the number of words within a calc cell. After adding the extension, the office must be restarted (including terminating the quickstarter) to make the function appear in the function list. Your example (Please send more examples, so that they can be added here). -- Alexandro Colorado CoLeader of OpenOffice.org ES http://es.openoffice.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [udk-dev] UNO python and openoffice. ManualHowto
This is awesome and so desperately needed. I will add it to the PyUNO wikipage http://wiki.services.openoffice.org/wiki/Python I wonder if it's CC/PDL we could import the manual in the wiki. On Wed, 20 Aug 2008 08:47:00 -0500, Lukasz Szybalski [EMAIL PROTECTED] wrote: Hello, I created a little manual on how to use openoffice, with python and uno. http://lucasmanual.com/mywiki/OpenOffice Contents 1. OpenOffice and Python 1. Start openoffice 2. Connect to OpenOffice 3. Modify Content 1. Load Services 2. Load Current Document 3. Load New Document 4. Load Existing Document 5. Modifying text 6. Create Table 4. Save 1. Save Changes 2. Save file as 3. Exit the file 5. Manipulate 1. Find and Replace 2. Save to PDF Now if I could only figure out how to read the whole odf to some python object, do some find and replace, and send it back to odf for writing. Is that possible, or do I have to use: createSearchDescriptor() Thanks Lucas -- Alexandro Colorado CoLeader of OpenOffice.org ES http://es.openoffice.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [udk-dev] Does URE has everything OOo has for a developer?
On Tue, 27 Nov 2007 03:08:37 -0600, Stephan Bergmann [EMAIL PROTECTED] wrote: Alexandro Colorado wrote: Hi people, Does URE contains all the components from the original OOo. Is it possible to do file conversions the same way you will do if you had the complete OOo application? My guess is that yes but I am particularly curious on things like dispatcher but I haven't write in Java so I am not sure if there is even a dispatcher for Java. No, URE contains just the UNO runtime system, none of the Office functionality parts of OOo. -Stephan So no interfaces at all? -- Alexandro Colorado Help the Tabasco Relief efforts: http://rootcoffee.blogspot.com/2007/11/race-to-save-mexico-flood-victims.html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[udk-dev] Fwd: Re: Issues on OOoES
--- Forwarded message --- From: Petr Dudacek [EMAIL PROTECTED] To: Alexandro Colorado [EMAIL PROTECTED] Cc: Subject: Re: Issues on OOoES Date: Mon, 08 Oct 2007 03:14:07 -0500 Hi Alexandro, yes, I'm aware of the issues, I only was quite busy in the past few weeks, so I didn't start to fix them yet. Regarding the way of reporting wrong strings, the best way is to extract them from the sdf file and paste them twice in the comment: once how they look now and once how they should look after the fix (your comment from Wed Sep 26 22:11:51 + 2007 in issue 81978 is exactly it). When there are more (let's say 20+) strings to be fixed, it makes sense to create a small sdf file containing only these strings, fix them directly in the file, check the file with gsicheck and attach it to the issue. Just let me know in case of questions or comments... Thanks, Petr Alexandro Colorado napsal(a): Hi Petr, I want to know if you are aware of the issues we have been submiting with the SDF strings. I wonder if this is a correct way of doing the reporting and presenting the string or if we are missing somehting. Regards. Alexandro -- Alexandro Colorado CoLeader of OpenOffice.org ES http://es.openoffice.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [udk-dev] RE:PyUNO and OpenOffice installaed with Ubuntu distro
Joerg can you please tell me the status of the pyuno bridge upgrade? On Tue, 25 Sep 2007 09:38:33 -0500, Joerg Budischewski [EMAIL PROTECTED] wrote: Hi, you can build ooo with --system-python switch, but the result will only run on this system. Some distros do so. Main problems are - incompatible gcc versions - incompatible python switches (with or without --enable-shared or --with-ucs-4 ). So this is no option for the official OOo built, which is aimed to run on any system. Bye, Joerg Alexandro Colorado wrote: yes ubuntu did a merge of the system python with the openoffice.org python. I would like to know if we can ask the ubuntu guys how they did it and maybe be able to have a pyuno.so without having to compile the whole python. This would be great because it would give us additional toolkits like Tkenter and get around the VCL and still use UNO services and components. On Fri, 21 Sep 2007 17:58:18 +0200, Joachim Dahl [EMAIL PROTECTED] wrote: It uses the default python2.5 installed install in /usr/lib/python2.5 On 9/21/07, ashok _ [EMAIL PROTECTED] wrote: On 9/21/07, Joachim Dahl [EMAIL PROTECTED] wrote: I've used it on Ubuntu 7.04 and 7.10 for a spreadsheet plugin: http://abel.ee.ucla.edu/cvxopt/applications/openoffice-org-spreadsheet-plugin/ and it has always worked perfectly for me. -joachim Which system python were you using 2.4 or 2.5 ? I noticed that packaged OOo in Ubuntu is stripped of the python intrepeter.and uses the system python... - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Alexandro Colorado CoLeader of OpenOffice.org ES http://es.openoffice.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [udk-dev] RE:PyUNO and OpenOffice installaed with Ubuntu distro
On Fri, 21 Sep 2007 16:47:02 +0200, ashok _ [EMAIL PROTECTED] wrote: The Ubuntu 7.04 distro provides a python UNO package that appears to be python 2.5 compatible (See the Provides: section below) : Is this supported... ? I thought the Python UNO python2.5 upgrade project was not released yet ? doing an import uno from a python 2.5 shell doesnt throw up errors.. FROM APT Package: python-uno Priority: optional Section: python Original-Maintainer: Debian OpenOffice Team [EMAIL PROTECTED] Architecture: i386 Source: openoffice.org Version: 2.2.0-1ubuntu4 Replaces: openoffice.org-common ( 1.9.82) Provides: python2.5-uno Depends: openoffice.org-core (= 2.2.0-1ubuntu4), python-central (= 0.5.8), python (= 2.5), python ( 2.6), libc6 (= 2.5-0ubuntu1), libgcc1 (= 1: 4.1.2), libstdc++6 (= 4.1.2), libstlport5.1 (= 5.1), python2.5 (= 2.5) Filename: pool/main/o/openoffice.org/python-uno_2.2.0-1ubuntu4_i386.deb /FROM APT - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] There was a developer working on this and submiting the update to the sour ce tree but there was no updates since then that I have notice: http://wiki.services.openoffice.org/wiki/Python -- Alexandro Colorado CoLeader of OpenOffice.org ES http://es.openoffice.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [udk-dev] Reference for .xcu files
On Tue, 04 Sep 2007 16:37:39 -0500, Tobias Neubert [EMAIL PROTECTED] wrote: Hi all, another newbie question: Is there any reference for the .xcu-files? Tobias I don't know one for sure, maybe on the developer guide. However there is a tutorial that touch a bit on the explanation of XCU for packaging external Addons. http://wiki.services.openoffice.org/wiki/UNO_component_packaging -- Alexandro Colorado CoLeader of OpenOffice.org ES http://es.openoffice.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [udk-dev] Re: returning multiple values (and range cells) from a Python calc add-in
The XCU most point to your script so it can be properly packaged, there is a site that is pretty good: http://udk.openoffice.org/python/scriptingframework/index.html it list on 3 stages, the application level, the document level and the add-in level. On Sat, 26 May 2007 04:24:49 -0500, Joachim Dahl [EMAIL PROTECTED] wrote: Hi Juergen, I haven't seen anything about xcu files. I just zip up the META-INF files, the python script, and the binary version of my IDL file. Do you have a pointer handy to the newest format? thanks joachim On 5/25/07, Juergen Schmidt [EMAIL PROTECTED] wrote: Hi Joachim, glad to hear that your add-in works now. Well not everything was possible but you are able to workaround the multiple returns. I would suggest that you take a look on new add-in with a configuration file to define the new add-in function 8with localization if you want). This new approach has several advantages and it would be nice if you can support this. I know it is not so important for you because your add-in works but i think it is worth to support the latest features at least for new implementations. Or did you already have an xcu file for your add-in? Juergen Joachim Dahl wrote: Hi Andreas, I think the Python UNO bridge works fine; I managed to return an array of values by using an array function. I needed to return multiple arrays of different lengths; to give a specific example I made a wrapper around a linear programming solver with input arguments 'c' (a vector), 'G' (a matrix) and 'h' (a vector). This routine outputs a status string, a vector 'x' and a vector 'z', and I used an IDL as string lp ([in] sequence sequence double c, [in] com::sun::star::table::XCellRange x, [in] sequence sequence double G, [in] sequence sequence double h, [in] com::sun::star::table::XCellRange z); i.e., I used the XCellRange as a way to return additional variables by writing back values in x and z. This approach works well for me in Python. The only problem I have left is that I have optional arguments, some of which are also output argument (albeit, in the sense of being XCellRanges), but that's not possible with a Calc add-in. So my work-around for this problem is to have a different function 'lp2' with more arguments (all mandatory). But in summary, the Python UNO bridge seems fine for writing add-ins. Joachim On 5/25/07, Andreas Saeger [EMAIL PROTECTED] wrote: Joachim Dahl wrote: me. So my problem is not so much of how to write a prototype of an addin, but rather how to implement something more advanced like methodFour. Joachim Hi Joachim, http://wiki.services.openoffice.org/wiki/CompleteAddIn has a chapter Transforming sequence of sequence into array. This describes the same problem as I tried to explain with my simple Basic function TWICE(array) in http://www.oooforum.org/forum/viewtopic.phtml?t=57196. Only array-functions, such as the built-in LINEST, can return more than one value. The resulting array has to be converted to a 2-dimensional matrix rather than a list of lists. So it is possible that python alone is not suitable for add-ins that deal with sheet functions in array context. Andreas - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Alexandro Colorado OpenOffice.org Community Contact // Mexico http://www.openoffice.org Twitter: http://www.twitter.com/jza Jabber: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [udk-dev] returning multiple values (and range cells) from a Python calc add-in
On Thu, 17 May 2007 14:30:36 -0500, Joachim Dahl [EMAIL PROTECTED] wrote: I am trying to write a Python calc add-in that returns multiple values including range-cells (or arrays of numbers). E.g., if I want the method to take two input long arguments 'inarg1' and 'inarg2' and return a status string and two arrays of numbers, how would I specify the IDL routine and python method? I've searched, but I can't find much information about this topic in the PyUNO documentation... You can check the Python page: http://wiki.services.openoffice.org/wiki/Python There are some add-ins on Calc. -- Alexandro Colorado OpenOffice.org Community Contact // Mexico http://www.openoffice.org Twitter: http://www.twitter.com/jza Jabber: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [udk-dev] python scripting dialog.
On Thu, 28 Dec 2006 23:30:49 -0600, Juergen Schmidt [EMAIL PROTECTED] wrote: Alexandro Colorado wrote: Hi is there a reason why the Python dialog of OOo doesn't let you create a new library while the Javascript and Beanshell does. I read the UDK i would assume because of the fact that nobody has integrated the support of Python in the dialog. The other languages are supported by us (Sun) and we made the integration. Python is somewhat unsupported and that is probably the main reason why the integration is not 100%. But feel free to contribute in this direction, you will get the necessary support form us. I am triying to figure ot what is the missing pieces to import a file, afaik importing files is somewhat trivial. There are basic code on importing images into a document, how different would it be to import a pytthon file to the necesary location. I guess I will know when I answer the doubts from how the macros dialog actually work. So I guess my first question is where is the source code or cws from the Basic/Beanshell import feature. thanks. Juergen Python framework (http://udk.openoffice.org/python/scriptingframework/index.html) arond the Script coding, however the instructions seem a bit confusing. If I want to get a macro within the document area and then editing with the Python syntaxis, how does the software recognized is a python module. So i went to the 'Run macro' dialog generate an empty file but I couldnt get how to get actual content in the files. I did an ediditn gon what it seemed like a defualt basic file, and put the code from a module however the definitions were not showed on their macro selection dialog. --Alexandro Colorado Grupo de Usuarios Linux Tabasco http://www.gultab.org OpenOffice.org Community Contact // Mexico http://www.openoffice.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Alexandro Colorado Grupo de Usuarios Linux Tabasco http://www.gultab.org OpenOffice.org Community Contact // Mexico http://www.openoffice.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [udk-dev] C++ help?
On Tue, 06 Jun 2006 11:21:06 -0500, Lewis Kapell [EMAIL PROTECTED] wrote: Hi all, Sorry if this question has been asked before - I tried to search the message archives but got a message saying text search is not implemented. I have a C++ .NET application which opens up Word documents and prints them. I would like to enhance this application to work with OpenOffice also. I have tried reading the API/SDK/UNO documentation but find it confusing and overwhelming, especially the portions relating to C++. Can anyone point me to some sample code to help me get started? Thanks. Maybe this helps, the UNO IDL shows you the interfaces (modules) where you can interact with the API and which modules you need to target in order to enable to print features. http://api.openoffice.org/docs/common/ref/com/sun/star/module-ix.html there you will find the XPrint component. There are also some snippets of code on this site with cpp samples that target the whole Office suite: http://codesnippets.services.openoffice.org/Office/cpp.xml -- Alexandro Colorado CoLeader of OpenOffice.org ES http://es.openoffice.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]