Re: [api-dev] Start participating in project
On Wed, Feb 9, 2011 at 6:38 AM, Виталий Киселев kiselew.vita...@gmail.comwrote: Hello! I want to start participating in OO projects. Would like to write own code to help OO and to get necessary experience in programming. I am a student so don't have much experience. Can you tell me how i can start developing. I saw about translating snippets to different languages. I can get java snippet and rewrite it on c++ for example? Am I correct? Why it is necessary? Is there other ways to start for beginners (i am interested only in programming)? Thank you! Vitaliy Kiselev. There is a getting started for developers and also a project that get developers to start programming under d...@education.openoffice.org Please check that project out and this wiki page: http://wiki.services.openoffice.org/wiki/Development - To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org For additional commands, e-mail: dev-h...@api.openoffice.org -- *Alexandro Colorado* *OpenOffice.org* Español http://es.openoffice.org
Re: [api-dev] UNO Accessibility API and Windows screen readers (for the blind)
On Tue, 30 Nov 2010 10:40:02 -0600, Gareth Collins gareth.coll...@dolphinusa.com wrote: Hi, I work for Dolphin Computer Access, a company that makes screen readers to enable blind computer users to access Windows-based PCs. Our screen reader, Supernova, has a scripting engine based on the Lua programming language to enable us to customize our screen reader to work with a wide variety of Windows-based applications. Therefore I'm wondering if the OpenOffice.org Software Development Kit comes with any Windows DLLs that will provide our scripting engine with an interface/bridge to Open Office's UNO Accessibility API? (As our scripting engine can call and retrieve the results from any function in any third-party Windows DLL). You can use many languages to interoperate with OOo through COM service. http://www.oooforum.org/forum/viewtopic.phtml?t=9815 Thanks. Kind regards, Gareth Collins Product Support Group Dolphin logo Dolphin Computer Access Inc., 231 Clarksville Road, Suite 3, Princeton Junction NJ 08850 Phone: 888 519 4694 Fax: 609 799 0475 Web: http://www.yourdolphin.com/ www.YourDolphin.com Email: mailto:gareth.coll...@dolphinusa.com gareth.coll...@dolphinusa.com http://www.yourdolphin.com/news.xml Subscribe to the Dolphin news RSS http://www.twitter.com/yourdolphin Follow Dolphin on Twitter IMPORTANT INFORMATION This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please delete it from your system, do not use or disclose the information in any way and notify mailto:postmas...@dolphinusa.com postmas...@dolphinusa.com. Any views or opinions expressed in this e-mail are those of the sender and do not necessarily coincide with those of Dolphin Computer Access Inc. -- Alexandro Colorado - To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org For additional commands, e-mail: dev-h...@api.openoffice.org
Re: [api-dev] UNO Accessibility API and Windows screen readers (for the blind)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 30 Nov 2010 10:40:02 -0600, Gareth Collins gareth.coll...@dolphinusa.com wrote: Hi, I work for Dolphin Computer Access, a company that makes screen readers to enable blind computer users to access Windows-based PCs. Our screen reader, Supernova, has a scripting engine based on the Lua programming language to enable us to customize our screen reader to work with a wide variety of Windows-based applications. Therefore I'm wondering if the OpenOffice.org Software Development Kit comes with any Windows DLLs that will provide our scripting engine with an interface/bridge to Open Office's UNO Accessibility API? (As our scripting engine can call and retrieve the results from any function in any third-party Windows DLL). You can use many languages to interoperate with OOo through COM service. http://www.oooforum.org/forum/viewtopic.phtml?t=9815 Thanks. Kind regards, Gareth Collins Product Support Group Dolphin logo Dolphin Computer Access Inc., 231 Clarksville Road, Suite 3, Princeton Junction NJ 08850 Phone: 888 519 4694 Fax: 609 799 0475 Web: http://www.yourdolphin.com/ www.YourDolphin.com Email: mailto:gareth.coll...@dolphinusa.com gareth.coll...@dolphinusa.com http://www.yourdolphin.com/news.xml Subscribe to the Dolphin news RSS http://www.twitter.com/yourdolphin Follow Dolphin on Twitter IMPORTANT INFORMATION This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please delete it from your system, do not use or disclose the information in any way and notify mailto:postmas...@dolphinusa.com postmas...@dolphinusa.com. Any views or opinions expressed in this e-mail are those of the sender and do not necessarily coincide with those of Dolphin Computer Access Inc. - -- Alexandro Colorado -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAkz2NWwACgkQPeaoSmjQcua0HQCglGeUNJTkB9/y8lpicis3eY96 5OYAn0FWK13TbHGbq8jFInmznPyXWAp2 =g6ma -END PGP SIGNATURE- - To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org For additional commands, e-mail: dev-h...@api.openoffice.org
Re: [api-dev] API documentation and improving interactivity
2010/9/6 Jürgen Schmidt juergen.schm...@oracle.com Hi Alexandro, thanks for picking up this topic immediately. Whatever we think will be an appropriate solution to provide an easier way how users can give feedback. I would suggest that we create a tool that use the input from the IDLs (the generated type library) as input and produce based on this info whatever is necessary. Do we have this tool already? How does the current documentation gets form? AFAIK the UNO interface is atomic and this will provide far too many items. Follow up please only on one list - dev@api.openoffice.org Juergen On 9/5/10 10:37 AM, Alexandro Colorado wrote: Hi during OOoCon a conversation started about the lack of examples on the API documentation as far as contributions goes. Basically there are several places where to go to: - API Documentation - CodeSnippets - Developer Guide - OOo Wiki The main issue is that users and readers have low accessibility to introduce examples or comments on the documentation. There have been some possible solutions discussed: - Move the API Docs to the Wiki - Version the API Docs depending on the OOo version - Close codeSnippets or move it to a technology that allow users to just paste snippets directly on the site As always the issue becomes lack of resources, time and information. My feeling is that if we air this topic with possible solutions would help us find better solutions. I do have a small script that allow me to clean off the documentation from the collabnet HTML and just isolate the HTML snippet. My next step could be to find a converter from HTML to a wikilang that allow us to easy publish it on the wiki and publish it on the wiki as a service (batch upload). Help is welcomed. - To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org For additional commands, e-mail: dev-h...@api.openoffice.org -- *Alexandro Colorado* *OpenOffice.org* Español http://es.openoffice.org
Re: [api-dev] API documentation and improving interactivity
On Fri, Sep 10, 2010 at 9:48 AM, Rony G. Flatscher rony.flatsc...@wu-wien.ac.at wrote: Alexandro, you may want to look into http://www.ooocon.org/index.php/ooocon/2010/paper/view/196, once the slides are made available online by Peter (he has been doing a lot of work and needs probably more time to process all of the slides of the numerous presentations at this year's OOoCon, all in all, an incredible time-consuming task). UNO API Info is a tool that allows to gain documentation on the fly from any OOo programming language by either supplying the name of an IDL type (the fully qualified name e.g. of a service, an interface, a constant group, etc.) or by supplying any UNO object which then gets documented using reflection (which programmatically can be very challenging as you write yourself). The result is a writer/pdf document that has all the information So how can we make this documentation Read/Write instead of just Read Only. By that I mean that users can share examples and not just the documentation of the service. What many users have been asking for is a way that we can edit and put example uses of the services. And to be able to manage those commentaries and notifications within the same documentaion. An example of that is the information on the PHP documentation, althought many FLOSS projects have that property. A simple idea is to report to a wikilang instead of an odt/pdf and be automated the publication on the wiki. Also keep a version of the documentation so that the commentaries don't become obsolete although the problem with that is that many services still good might get lost. (Something to solve moving forward). formatted in a nice manner (members sorted by name, members sorted by type and name, constants sorted by name, depicting their values, properties sorted by name giving their type and attributes like maybevoid and the like, etc.) and also linked directly to the OOo documentation on the web. This way one can get an overview of all the functionality that is available, and for further documentation you just follow the links of those types/members that you are interested in. Finally, one can also have not only a single IDL service, interface or single UNO object documented, but also the members they contain (layer: 2). If you point your browser to http://wi.wu.ac.at/rgf/rexx/misc/OOoCon/2010_Budapest/, then you'll get to see example PDFs that got generated on the fly by supplying the UNO object representing a writer object (which interestingly implements more than one service). This is a somewhat extreme example, which also demonstrates how much functionality is at the hands of a programmer of the writer component. However, it also demonstrates how documentation can be devised that lets one see the forest (instead of the many trees making up the forest) too. At this OOoCon I also presented this live, demonstrating how to use this facility among other languages from JavaScript and Python. There is a readme/documentation of the tool at http://wi.wu.ac.at/rgf/rexx/misc/OOoCon/2010_Budapest/read-me-UNO_API_info.html.pdf, which documents this utility (including code to demonstrate how to use it from Basic, Java, ooRexx as well). The tool is not meant as a replacement for XRay and relatives, but as an additional means of on-the-fly-documentation generation with overview character to help the programmers mastering their challenging work. If you (or anyone else) have (has) any questions/comments regarding this tool, then please just post them via this list. HTH, ---rony On 10.09.2010 16:19, Alexandro Colorado wrote: 2010/9/6 Jürgen Schmidt juergen.schm...@oracle.com Hi Alexandro, thanks for picking up this topic immediately. Whatever we think will be an appropriate solution to provide an easier way how users can give feedback. I would suggest that we create a tool that use the input from the IDLs (the generated type library) as input and produce based on this info whatever is necessary. Do we have this tool already? How does the current documentation gets form? AFAIK the UNO interface is atomic and this will provide far too many items. Follow up please only on one list - dev@api.openoffice.org Juergen On 9/5/10 10:37 AM, Alexandro Colorado wrote: Hi during OOoCon a conversation started about the lack of examples on the API documentation as far as contributions goes. Basically there are several places where to go to: - API Documentation - CodeSnippets - Developer Guide - OOo Wiki The main issue is that users and readers have low accessibility to introduce examples or comments on the documentation. There have been some possible solutions discussed: - Move the API Docs to the Wiki - Version the API Docs depending on the OOo version - Close codeSnippets or move it to a technology that allow users to just paste snippets directly on the site As always the issue becomes lack of resources
[api-dev] API documentation and improving interactivity
Hi during OOoCon a conversation started about the lack of examples on the API documentation as far as contributions goes. Basically there are several places where to go to: - API Documentation - CodeSnippets - Developer Guide - OOo Wiki The main issue is that users and readers have low accessibility to introduce examples or comments on the documentation. There have been some possible solutions discussed: - Move the API Docs to the Wiki - Version the API Docs depending on the OOo version - Close codeSnippets or move it to a technology that allow users to just paste snippets directly on the site As always the issue becomes lack of resources, time and information. My feeling is that if we air this topic with possible solutions would help us find better solutions. I do have a small script that allow me to clean off the documentation from the collabnet HTML and just isolate the HTML snippet. My next step could be to find a converter from HTML to a wikilang that allow us to easy publish it on the wiki and publish it on the wiki as a service (batch upload). Help is welcomed. -- *Alexandro Colorado* *OpenOffice.org* Español http://es.openoffice.org
Re: [api-dev] Sending email to multiple recipients
There are ways to send email from python, not sure if is a complete solution for you but maybe it willl help if its like something of personal use: #!/usr/bin/python import smtplib from email.MIMEMultipart import MIMEMultipart from email.MIMEBase import MIMEBase from email.MIMEText import MIMEText from email import Encoders import os import sys import urllib gmail_user = y...@gmail.com gmail_pwd = ** def mail(to, subject, text): msg = MIMEMultipart() msg['From'] = ottoc...@openoffice.org msg['To'] = to msg['Subject'] = subject mailServer = smtplib.SMTP(smtp.gmail.com, 587) mailServer.ehlo() mailServer.starttls() mailServer.ehlo() mailServer.login(gmail_user, gmail_pwd) mailServer.sendmail(y...@email.com, to, msg.as_string()) # Should be mailServer.quit(), but that crashes... mailServer.close() if len(sys.argv) == 3: url = 'http://tinyurl.com/api-create.php?url=' + sys.argv[2] abre = urllib.urlopen(url) tiny = . + abre.read() mail(s...@email.com, sys.argv[1] + tiny, insert message) elif len(sys.argv) == 2: mail(s...@email.com, sys.argv[1], insert message) else: print Te falto comandos This is a modified code to send email to a specific email account and shorten links through tinyurl. If you dont need this you can ignore the second part of the script. Also if you want to On Wed, Apr 21, 2010 at 1:58 AM, Mathias Bauer nospamfor...@gmx.de wrote: Hi, Fernand Vanrie wrote: Paolo , Andrew, all Can i have hope to set also the body of a email message ? This is not possible by intent, as (at least to my knowledge) the mailto:; protocol we are using for the implementation of this service on most platforms (at the end, it's a simple mail service) does not allow to pass a body text to the mail client. It could work with the MAPI based implementation on Windows, but if you write platform specific code, you don't need a platform independent API for that. Regards, Mathias -- Mathias Bauer (mba) - Project Lead OpenOffice.org Writer OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS Please don't reply to nospamfor...@gmx.de. I use it for the OOo lists and only rarely read other mails sent to it. - To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org For additional commands, e-mail: dev-h...@api.openoffice.org -- Alexandro Colorado OpenOffice.org Español http://es.openoffice.org - To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org For additional commands, e-mail: dev-h...@api.openoffice.org
Re: [api-dev] [Fwd: BasicAddOnBuilder question]
On Thu, Jan 14, 2010 at 3:46 AM, Alan Yaniger a...@tkos.co.il wrote: Hi Paolo, I use your BasicAddOnBuilder with no problems. However, as user had reported that when she gets to the Add License window, all the options are inactive, and she can't enter a license. Can you guess what the problem is? Please also contact Paolo Mantovani p_ma...@libero.it Thanks, Alan Yaniger - To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org For additional commands, e-mail: dev-h...@api.openoffice.org -- Alexandro Colorado OpenOffice.org Espantilde;ol IM: j...@jabber.org signature.asc Description: OpenPGP digital signature
Re: [api-dev] Sharing macros with people…
On Tue, Jan 12, 2010 at 11:43 AM, Johnny Rosenberg gurus.knu...@gmail.com wrote: 2010/1/12 Alexandro Colorado j...@openoffice.org: On Mon, Dec 21, 2009 at 11:42 AM, Johnny Rosenberg gurus.knu...@gmail.com wrote: 2009/12/20 Ariel Constenla-Haile ariel.constenla.ha...@googlemail.com: Hello Johnny, On Sunday 20 December 2009, 14:19, Johnny Rosenberg wrote: Anyone who can point me to somewhere where I can learn to create an add-on or extension? My thought is that the person to whom I send it should easily install it by the extension manager, so I guess I need to create an OXT somehow. How is all that done properly? if you just want to share macros with people, I'd recommend Paolo's BasicAddonBuilder http://extensions.services.openoffice.org/project/BasicAddonBuilder Anyway, if you want to study how extensions are packages, read the Dev's Guide http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/Extensions/Extensions and http://wiki.services.openoffice.org/wiki/Non-code_extensions Regards -- Ariel Constenla-Haile La Plata, Argentina Thank you, Ariel and also thank you, Jan. Currently I only write Basic macros (and create dialogs) and most of them are for Calc. Try the BasicAddonBuilder, this will build the OXT for you. http://extensions.services.openoffice.org/project/BasicAddonBuilder BasicAddonBuilder is an OpenOffice.org extension that allows you to export a StarBasic library in the OpenOffice.org Extension format, ready for deployment. BasicAddonBuilder does not require special skills or a deep knowledge of extensions specifications. A wizard-style dialog will guide you through the process, allowing you to define in a graphical way all menu and toolbars that will be added to the OpenOffice.org user interface in order to launch macros from your StarBasic library. Thank you all for hints and suggestions. I will certainly take a closer look at some of them. The BasicAddonBuilder seems like a quick way to get things done until I learn more about the concept of OXT. The concept of OXT is basically very simples, there are three elements: - Zip File - XML file - Code file Zip file is the same used for ODT, ODS etc. XML files, it maps to the executable code, images icons, and the overal interface of OpenOffice.org Code file, basically has also a standarized services of the API to execute the code Regards Johnny Rosenberg - To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org For additional commands, e-mail: dev-h...@api.openoffice.org -- Alexandro Colorado OpenOffice.org Espantilde;ol IM: j...@jabber.org signature.asc Description: OpenPGP digital signature
Re: [api-dev] Sharing macros with people…
On Mon, Dec 21, 2009 at 11:42 AM, Johnny Rosenberg gurus.knu...@gmail.com wrote: 2009/12/20 Ariel Constenla-Haile ariel.constenla.ha...@googlemail.com: Hello Johnny, On Sunday 20 December 2009, 14:19, Johnny Rosenberg wrote: Anyone who can point me to somewhere where I can learn to create an add-on or extension? My thought is that the person to whom I send it should easily install it by the extension manager, so I guess I need to create an OXT somehow. How is all that done properly? if you just want to share macros with people, I'd recommend Paolo's BasicAddonBuilder http://extensions.services.openoffice.org/project/BasicAddonBuilder Anyway, if you want to study how extensions are packages, read the Dev's Guide http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/Extensions/Extensions and http://wiki.services.openoffice.org/wiki/Non-code_extensions Regards -- Ariel Constenla-Haile La Plata, Argentina Thank you, Ariel and also thank you, Jan. Currently I only write Basic macros (and create dialogs) and most of them are for Calc. Try the BasicAddonBuilder, this will build the OXT for you. http://extensions.services.openoffice.org/project/BasicAddonBuilder BasicAddonBuilder is an OpenOffice.org extension that allows you to export a StarBasic library in the OpenOffice.org Extension format, ready for deployment. BasicAddonBuilder does not require special skills or a deep knowledge of extensions specifications. A wizard-style dialog will guide you through the process, allowing you to define in a graphical way all menu and toolbars that will be added to the OpenOffice.org user interface in order to launch macros from your StarBasic library. Johnny Rosenberg - To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org For additional commands, e-mail: dev-h...@api.openoffice.org -- Alexandro Colorado OpenOffice.org Espantilde;ol IM: j...@jabber.org signature.asc Description: OpenPGP digital signature
[api-dev] Presenting Instant Bird
This is an interesting test case of the future of the toolkits such as libpurple and XUL. http://instantbird.com/ This is a great way to see if OOo can grow into new modules maybe by encapsulating the libraries such as the project management project. For example something like the Planner app (project management in Gnome) and the OOo toolkit. Althought I am not sure if XULRunner and UNO represent the same stack. Also a side project could be a better collaboration environment using libpurple which also works on all 3 OS. -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ - To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org For additional commands, e-mail: dev-h...@api.openoffice.org
[api-dev] Budget: Create extra recognition by OpenOffice.org for GHOP
GHOP would be launched soon and I am looking for a funding source so that OOo contribute to the prices from Google by adding extra recognition by the OpenOffice.org for participating in these contests. The goal is to have a well covered initiative from our end and also to give the participats the extra motivation to participate with us. The goal is to have a special handcraft trophy from the OpenOffice.org and a Diploma signed by the OOo Leads and Mentors and have it shipped to their homes. -- Alexandro Colorado OpenOffice.org Espantilde;ol IM: j...@jabber.org
Re: [api-dev] Python support in Netbeans plugin
Cedric Bosonat told me he was working on a Python bridge to Eclipse but I havent heard of him lately. On Mon, Aug 10, 2009 at 12:33 AM, Juergen Schmidtjuergen.schm...@sun.com wrote: Hi Finn, Finn Gruwier Larsen wrote: Are there any plans for supporting Python the Netbeans Plugin for OOo? no plans but it is on my personal wish list (which of course says nothing ;-)) If not, I would like to propose such a feature. developers who want to work on this feature are also welcome Juergen Finn Gruwier Larsen - 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 -- Alexandro Colorado OpenOffice.org Espantilde;ol IM: j...@jabber.org - To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org For additional commands, e-mail: dev-h...@api.openoffice.org
[api-dev] OpenOffice.org port to Qt
Hi just want to throw this out since I got approached by the KDE people at the Gran Canarias Desktop summit (guadec + akademy http://www.grancanariadesktopsummit.org/) about the factuality of migrating OOo to the Qt toolkit. Although the chances were slim I did feel obligated to upstream the question ad look at this as both a challenge and a request. Technically speaking is this possible at all, and how many effort would it take. I know that OOo has been doing some refactoring of some components to enhance the performance and also make the code easier to interact with. However is the visual layer abstracted from the application logic enough to consider replacing the toolkit? They ideas they presented is that avoiding the maintenance of our own toolkit we can open the door to free some resources to take care of more important things. Also that the Qt toolkit is a more modern and with better performance toolkit than what they have seen in OOo. Qt is also very portable as it has been ported to several architectures even mobile devices. So before knocking this idea, I would like to maybe learn more about how OOo native toolkit works within OOo. -- Alexandro Colorado OpenOffice.org Espantilde;ol IM: j...@jabber.org - To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org For additional commands, e-mail: dev-h...@api.openoffice.org
Re: [api-dev] UNO Package
There re some samples on the wiki on how to create a UNOpackage in Python. I would recomend checking out the wavelet sample. http://wiki.services.openoffice.org/wiki/UNO_component_packaging On 4/20/09, Aditya Zutshi aditya.zut...@tcs.com wrote: Hi, I need to install UNO Package which would be imported in python script and run on linux platform. Where can I get that? Thanks Regards, Aditya Zutshi Tata Consultancy Services Mailto: aditya.zut...@tcs.com Website: http://www.tcs.com Experience certainty. IT Services Business Solutions Outsourcing =-=-= Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you - To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org For additional commands, e-mail: dev-h...@api.openoffice.org -- Alexandro Colorado OpenOffice.org Espantilde;ol IM: j...@jabber.org - To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org For additional commands, e-mail: dev-h...@api.openoffice.org
Re: [api-dev] Deploying an OOo Python extension that requires ctypes.
On Thu, 09 Apr 2009 10:55:18 -0500, Jan Holst Jensen j...@biochemfusion.com wrote: Alexandro Colorado wrote: On Wed, 08 Apr 2009 16:31:52 -0500, Jan Holst Jensen j...@biochemfusion.com wrote: I have the final python code working on the command line on Linux, where I interface to the shared library via ctypes in Python 2.5. But my OpenOffice 3.0.1 on Windows runs a Python 2.3.4 that does not have ctypes built-in :-/. for a while we been trying to migrate OOo to Python 2.6, hopefully we can count on your help to make sure that everything compiles including ctypes. Given that I will end up with a commercial add-in that will require ctypes I would definitely welcome the Python upgrade as it would simplify my deployment :-). I don't have any experience compiling OpenOffice but I can help a little by testing pre-release builds and check whether I see any issues in the little corner of the OOo API that I rummage around in. Has the Python 2.6 support reached a stage where I can test a build ? Is it likely to be in 3.1 ? Kind regards -- Jan Joerg Budischewski is currently working on the build as well as Eric Bachard, they would be able to help you out getting the compiles in shape. There is a tutorial on how to build OOo that would be helpful. http://wiki.services.openoffice.org/wiki/Ooo-build also helping us debug some of the Python misscompiles would be a good idea. We also have a student working on this task under the Education mailing list (d...@education.openoffice.org). You are also welcome to join and share notes. -- Alexandro Colorado CoLeader of OpenOffice.org ES http://es.openoffice.org - To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org For additional commands, e-mail: dev-h...@api.openoffice.org
Re: [api-dev] Deploying an OOo Python extension that requires ctypes.
On Wed, 08 Apr 2009 16:31:52 -0500, Jan Holst Jensen j...@biochemfusion.com wrote: Dear list. I have a working Python UNO component wrapped up as an .OXT extension. However, it needs to interface to a C++ shared library in its final version. I have the final python code working on the command line on Linux, where I interface to the shared library via ctypes in Python 2.5. But my OpenOffice 3.0.1 on Windows runs a Python 2.3.4 that does not have ctypes built-in :-/. What are best practices for deploying ctypes along with an extension ? Can it be made to play nice with older OpenOffice versions as well - depending on their Python versions of course ? Kind regards -- Jan Holst Jensen for a while we been trying to migrate OOo to Python 2.6, hopefully we can count on your help to make sure that everything compiles including ctypes. -- Alexandro Colorado CoLeader of OpenOffice.org ES http://es.openoffice.org - To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org For additional commands, e-mail: dev-h...@api.openoffice.org
Re: [api-dev] Could not save document as PDF (java, openoffice 3)
There are some snippets of code at the user forum http://www.forum.org http://user.services.openoffice.org/en/forum/ On Sat, 07 Feb 2009 11:00:06 -0600, Михаил Кечинов kechin...@gmail.com wrote: Hello. I trying to open document and export it to PDF. [ JAVA, OPENOFFICE 3 ] In samples i seen, that I need to use method storeAsUrl with property FilterName = writer_pdf_Export I using this code: --- ... XStorable xStorable = (XStorable) UnoRuntime.queryInterface(XStorable.class, xComponent); PropertyValue storeProperties[] = new PropertyValue[1]; storeProperties[0] = new PropertyValue(); storeProperties[0].Name = FilterName; storeProperties[0].Value = writer_pdf_Export; try { xStorable.storeAsURL(file:///D:/test2.pdf, storeProperties); } catch( Exception e) { e.printStackTrace(System.err); } ... --- And I have this error: --- at $Proxy6.storeAsURL(Unknown Source) --- When I try to use filtername like Text or MS Word 95, it works. But with PDF its fail. What I need to convert document to PDF? -- Alexandro Colorado CoLeader of OpenOffice.org ES http://es.openoffice.org - To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org For additional commands, e-mail: dev-h...@api.openoffice.org
[api-dev] Maximum selection in Writer
What is the maximum selection a macro can hold in Writer. i wonder if the limit is according to writer, the python macro or the temporary memory. Right now even a 64k seems to go beyond the limit. def trigger( self, args ): # get the actual context deskDict = self.getDesktopDict(self.ctx) viewCursor=deskDict['viewcursor'] # Go to start of document without select viewCursor.gotoStart(False) #go to endo of document selecting range from start viewCursor.gotoEnd(True) #Translate Selection ap=self.smgr.createInstanceWithContext(es.ua.apertium.transel, self.ctx) ap.trigger(execute); -- Alexandro Colorado CoLeader of OpenOffice.org ES http://es.openoffice.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[api-dev] OpenDesktop and social applications on OOo
This email was sent by Frank I think this is an awesome oportunity to jump in. Frank is the creator of the very popular sites gnome-looks, kde-looks, and the latest opentemplates.org This is a really awesome post and I hope we do take him on this goal. Hi Alexandro, how are you? The idea of collaboration services are moving forward fast. In my keynote at the KDE Akademy I talked about integrating advanced collaboration and social networking functionality into desktop applications like KDE or openoffice.org I launched an open specification for server to client communication and implemented the functionality into all the openDesktop.org websites like for example opentemplate.org. You find the current draft for the specification here: http://www.freedesktop.org/wiki/Specifications/open-collaboration-services My keynote presentation is here: http://www.open-collaboration-services.org/socialdesktop.pdf I´m working at the moment with guys from KDE and Novell to integrate this into applications. A first implementation for people and friends management document searching and downloading and other stuff is already working. In the next step i plan to do document sharing between users. I really would love to work with you guys from openoffice.org on this vision. I think we have a huge potential to build something really new and exiting. And this functionality could be a real USP for free software to get a bigger part of the marketshare. Have you a idea how we could push this forward? What do you think? Cheers Frank On 06.08.2008, at 17:44, Alexandro Colorado wrote: Hi Frank, how are you. Well I am really interested on the functionality earlier this year I tried to assemble a developer team that will take on this task however the team really never got assemble. The few developers (2) drop the ball and became pretty hard to go through. I don't think is that hard to do still, since the OOo API has good XML parsing, and a GUI designer and there is 3rd party software to package the extensions quite easily. Problem is basically finding the right people to do it. My guess is that if you can get that team or at least have some time to dedicate this yourself I can show u what is needed to be done from OOo API part. On Wed, Aug 6, 2008 at 8:41 AM, Frank Karlitschek [EMAIL PROTECTED] wrote: Hi Alexandro, how are you? Are you still working on the OpenOffice.org integration for openTemplate.org? I´m giving the keynote on this years KDE Akademy conference in Belgium. I will talk about a new cross platform and cross application collaboration standard I´m working on at the moment. openTemplate.org and the other openDesktop.org websites will support the first draft of the new standard open collaboration services of course. The new and improved api will launch this weekend. The interesting point is that the new api standard is completely website and application independent. So other websites will act as provider too. Are you still interested in integrating a share point like functionality into openoffice.org? If not, could you name me a contact person of OpenOffice.org who is responsible for this functionality? Thank you in advance. Best Regards Frank On 06.08.2008, at 09:50, Alexandro Colorado wrote: Alexandro Colorado wrote: What's your thought of Confessions of an Economic Hitman? COAEH is a book about the build and sustainability of the American empire by hiring economist to seduce developing countries to change their economic policy to adopt huge economic loans from the World Bank and burry themselves in debth. For an interview with the author you can check it here: http://www.youtube.com/watch?v=yTbdnNgqfs8 View question - Answer question - Reply privately LinkedIn Answers • View question • Answer question • Reply privately This question was sent to you by Alexandro Colorado through LinkedIn. If you wish to change how you receive future question notifications, please click here. If you have any questions, please contact [EMAIL PROTECTED] . (c) 2008, LinkedIn Corporation -- Frank Karlitschek [EMAIL PROTECTED] --Alexandro Colorado OpenOffice.org Espantilde;ol IM: [EMAIL PROTECTED] -- Frank Karlitschek [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: [api-dev] Basic Dialogues doesn't look like when I created them.
On Sat, 13 Sep 2008 19:27:53 -0500, Johnny Rosenberg [EMAIL PROTECTED] wrote: In this case I created the dialogue with OpenOffice.org 2.0.4, Operating system=Xandros for Eee PC (using an Eee PC 900, Swedish). After loading the document into my Ubuntu 8.04 laptop (not the Eee) with OpenOffice.org 2.4.1 it looks wrong. If I change it, it will immediately change back. I had this problem with another dialogue once, a few weeks ago, and then I reinstalled OpenOffice.org from the Ubuntu repositories, and the problem disappeared, until now, as it seems. I hope my screen shots makes it to the list, because I couldn't really explain what it looks like in English… Wrong.jpg shows what it looks like on my Ubuntu system. Right.jpg shows what it should look like. When I change it to look like this, then save the document and close the dialogue window, and then open it again, it's changed back to what Wrong.jpg displays. How big are the chances that someone actually knows what's going on here? I would be very happy and extremely surprised if someone can help me with this. J.R. please upload your screnshot to a picture holding site and URL to the image u want us to watch. Also take in mind that there could be a themeing diference, some styles are stripped off the toolkit format in favor of the application theme. -- Alexandro Colorado CoLeader of OpenOffice.org ES http://es.openoffice.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[api-dev] Scriptable Formula framework.
Before I create a feautre request I really want to verify that this is not possible currently or can be solved with an easier workaround. Basically can the formulas call on the scripting java backend to generate calculations in java/basic/python. The idea basically is to write the formula in java/python/basic and load it as a Calc function. This basically turn the function classes programable and develoeprs can come up with their own calc functions to perform non-existent formulas. Example: RealState(propertyvalue, morgage rate, period) -- 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: [api-dev] Scriptable Formula framework.
ok good to know. can you forward me the wikipage url? On Thu, 17 Jul 2008 13:52:26 -0500, Marcin Miłkowski [EMAIL PROTECTED] wrote: Look for AddOns in the Wiki. It's possible to define your own Calc functions in Java, Basic (to an extent)... There are some extensions that insert numbers as natural language words as a special Calc function and they are basically AddOns. Regards, Marcin Alexandro Colorado pisze: Before I create a feautre request I really want to verify that this is not possible currently or can be solved with an easier workaround. Basically can the formulas call on the scripting java backend to generate calculations in java/basic/python. The idea basically is to write the formula in java/python/basic and load it as a Calc function. This basically turn the function classes programable and develoeprs can come up with their own calc functions to perform non-existent formulas. Example: RealState(propertyvalue, morgage rate, period) - 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: [api-dev] Hyperlink within a shape
On Tue, 15 Jul 2008 14:16:41 -0500, Nicole Scholz [EMAIL PROTECTED] wrote: Hi! I tried to add a hyperlink to a text within a rectangle. Usually a hyperlink is set on the textproperties with setpropertyvalue and then the hyperlink for example: xTextProps~setPropertyValue(HyperLinkURL, “www.google.at”) Now I would like to add the hyperlink to a shape. I tried it the same way with the xText within the shape. i would really like this feature being implemented since this could be a great mindmapping feature to generate child documents of a master. xShapeText = Shape~xText xShapeTextCursor = xShapeText~createTextCursor props = xShapeTextCursor~xPropertySet props~setPropertyValue(HyperLinkURL, “www.google.at”) But this does not work. I get the exception that the method is not found. Can someone give me a hint why I get this error and how I can get the hyperlink into the shape? Thanks Nicole -- Alexandro Colorado CoLeader of OpenOffice.org ES http://es.openoffice.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[api-dev] Announcement: Call for papers Online Conference Sessions
To the OpenOffice.org Community: The Marketing project is proud to announce our second Virtual Talks sessions. We are excited to announce this call for papers for the whole community that want to participate. The talks will be handled in July 5th of 2008. The talks will be handle on a virtual space and you are welcome to join and participate with your approved proposal. The talks should fit into one of the following categories: - Development - Best practices - NLC - Marketing - OpenDocument Please submit your proposal before the end of next week including your name, nick and project you are currently working at. Please submit your proposal before the 30th of June here: http://creator.zoho.com/jza/form/3/ More information about the talk will be publish here: http://wiki.services.openoffice.org/wiki/Marketing/OnlineConferenceSessions -- 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: [api-dev] Newbie questions: Use Java instead of Basic for event handling?
On Fri, 09 May 2008 08:36:06 -0500, Agnisys [EMAIL PROTECTED] wrote: Hi, Is it possible to have Java Listeners and respond to events in Writer? I suspect the answer is Yes. If so, can someone please point me to an example. I do not want to use Basic mainly because the IDE dose not give word completion advice. Appreciate the help. If this is not the correct forum for such questions please let me know. Thanks, Anupam There are many snippets of code about Java programming on OOo at the OOoForum.org site. http://www.oooforum.org/forum/viewforum.phtml?f=11 - 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: [api-dev] SystemShellExecute.execute(document) opens always Firefox in Linux
MIME type handling in Gnome 2.8 Related Files: This section will give you a small introduction which files need to be modified in order to change the system for your needs. Each of the shown files needs to be changed with root access. - /usr/share/applications/defaults.list This file contains the applications which cause a double-click success. All Mime types will point to a desktop file. - /usr/share/applications/[application_name].desktop This is the file where defaults.list will point to. One of the most important things inside this file is the entry MimeType=. - /usr/share/applications/mimeinfo.cache Contains information in similar form shown for file defaults.list in same directory. This file contains ALL associations given to a mime type. There is no need for a specified order of desktop files (see XMMS example lateron) - /usr/share/mime (Directory) This directory contains several information. The sub-directories - excluding packages - contain information about given mime types. You'll see that many mime types already exist. The packages directory contains the DATABASE calles freedesktop.org.xml! - /usr/share/mime/globs This file contains the file extensions, associated to the mime-types. Example: MPlayer should start WMV by Double-Click I've uninstalled Xine and Totem, cause i only use MPlayer. After uninstalling them, i've seen the desaster: previously, Totem was the default player. And now there was ... nothing! After two days of internet research, this essay was created ... so you havn't waste time as i have to do ;) Creating the desktop file If it is not already existing, create the file /usr/share/applications/mplayer.desktop like this: [Desktop Entry] Name=Movie Player Comment=Play multimedia files and media Icon=mplayer.xpm Exec=gmplayer %f Terminal=false MimeType=video/mpeg;video/x-msvideo;video/quicktime;video/x-ms-asf;video/x-ms-wmv Type=Application Categories=Application;AudioVideo; Encoding=UTF-8 http://forums.fedoraforum.org/archive/index.php/t-26875.html On Fri, 07 Mar 2008 02:43:38 -0600, Tobias Krais [EMAIL PROTECTED] wrote: Hi Alexandro, Check your enviromental variables or your gnome variables. Usually there is a default app that will open for whatever format it doesnt have register. mine is mplayer. Changing that value or registering odf on ur system might change the behavior. I checked it and the applications are registered correctly. But OOo still opens all documents with firefox. Where exactly should I correct the gnome variables? Can someone tell me, where OOo looks up the application for opening the document? Greetings, Tobias - 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: [api-dev] SystemShellExecute.execute(document) opens always Firefox in Linux
Check your enviromental variables or your gnome variables. Usually there is a default app that will open for whatever format it doesnt have register. mine is mplayer. Changing that value or registering odf on ur system might change the behavior. On Fri, 29 Feb 2008 12:23:48 -0600, Tobias Krais [EMAIL PROTECTED] wrote: Hi Matthias, thanks for your reply. I want to use the SystemShellExecute.execute method to open Documents that OOo can not open. Giving the file location as the parameter aCommand opens the document with the default application in Windows. In Linux my Firefox is opened, which again opens the default application. Is there a way to tell the execute method to open the document directly? Why is it implemented to use the default browser? Can someone tell me the backgrounds? Please have a look at issue 84718 - it could be the same problem. I don't think it's the same problem. I don't use parameters. Greetings, Tobias - 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: [api-dev] How to deploy Python macros as Addon
On Fri, 07 Dec 2007 18:37:35 -0600, Noelson Duarte [EMAIL PROTECTED] wrote: Hello, I've a py script with only two functions (no class) . From PyUNO docs I know that is possible to deploy scripting framework py files as UNO packages. All right. I want to know if is it possible to deploy it as an Addon and, if yes, what is the URL used within addons.xcu to call func1 ? Sorry my english and thanks. -- Noelson You can generate your own Addon.xcu (is an XML), you will define the menu, options and other parameters. In the end you will need to send the execute to the function a good explanation of the addon is on the wiki. then just zip it and rename to an oxd so you can install as a package manager. http://wiki.services.openoffice.org/wiki/UNO_component_packaging#Addons.xcu http://wiki.services.openoffice.org/wiki/Extension_Deployement -- 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]
[api-dev] How to get OOo on OLPC
I wonder what would be the best way to get OOo running on the OLPC. Having OOo be able to run on the OLPC is very important more than 30 million potential users could become OOo users however there are many challenges and I wonder what could be the best way to get it running. - Network install is one. - Running from a USB keychain. The OLPC specs are the following: 1GB of storage and 256 onboard memory. The OS is only 200mb of space so is really a small environment. Processor clockspeed is only 433mhz. For more information please check this URL: http://wiki.laptop.org/go/Hardware_specification -- 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]
Re: [api-dev] Help with Assistive Technology
On Mon, 19 Nov 2007 09:58:29 -0600, Paul Blenkhorn [EMAIL PROTECTED] wrote: Hi I am trying to make some Assistive Technolgy that I have for OOo work better but need some help. Does anyone know how I can position of the Caret in Writer using VBScript or Visual Basic (connected to Uno with COM). Sample code would be great :) Cheers. Paul There are some good snippets to connect to UNO through COM: http://www.oooforum.org/forum/viewtopic.phtml?t=9815 You can see how to connect to UNO on all these languages: A1: Visual Basic A2: C (verified both with Visual Studio and gcc) A3: C++ (only short version given, see SDK for full example) A4: C# (.NET Framework needed) A5: Python (win32 package by Mark Hammond required) A6: ActiveState Perl A7: Ruby A8: TCL A9: Delphi A10: PHP -- 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]
Re: [api-dev] How to open the Web Module
On Sat, 17 Nov 2007 01:57:37 -0600, Christian Lohmaier [EMAIL PROTECTED] wrote: Hi Alexandro, On Nov 17, 2007 7:36 AM, Alexandro Colorado [EMAIL PROTECTED] wrote: I would like to know how can I get a web document: private:factory/swriter will open a document on writer using the StarDesktop.LoadComponentfromanURL(private:factory/swriter, _blank, 0, a()) What if I want to open a webpage: private:factory/sweb? didn't work. Because that's not the correct identifier. Use private:factory/swriter/web ciao Christian Cool thanks. -- 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]
[api-dev] Re: [Marketing] Developer oriented Flyer
Quoting John McCreesh [EMAIL PROTECTED]: On Fri, 2007-11-16 at 15:09 +0100, sophie wrote: Hi all, Would it be possible to design a developer oriented Flyer or does it already exist? Here is a draft, developers, feel free to comment/contribute: http://jza.homelinux.net/DevFlyer.odg http://jza.homelinux.net/DevFlyer.pdf I don't think it exists I'm thinking of something highlighting the extension project, the ODF Toolkit project, scripting languages and may be some dev tools too ? Do developers read flyers? Happy to get involved... John -- John McCreesh Marketing Project Lead OpenOffice.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Alexandro Colorado OpenOffice.org Español http://es.openoffice.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[api-dev] How to open the Web Module
I would like to know how can I get a web document: private:factory/swriter will open a document on writer using the StarDesktop.LoadComponentfromanURL(private:factory/swriter, _blank, 0, a()) What if I want to open a webpage: private:factory/sweb? didn't work. The WebDocument Service is here: http://api.openoffice.org/docs/common/ref/com/sun/star/text/WebDocument.html Unfortunately I havent been able to open it. -- 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]
[api-dev] Infinite loop on presentation
Hi is there any way that there could be an infinite presentation loop. I tried to do a forward on the last slide but I had no luck. I used the following code: Sub SwitchSlide Dim oDoc Dim oController oDoc = ThisComponent oController = oDoc.getCurrentcontroller() oController.CurrentPage = oDoc.drawPages(1) End Sub Is there a method that will tell me the total amount of pages and then get a jump to the first. Also I would need to know how to manage a timer. Regards. -- 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: [api-dev] Styling cells in a spreadsheet in Basic
thanks oliver however I dont see how to get the borders and width since is not color based is nowhere to be found near that IDL. The only border I found was for table which I am not sure is the same as the spreadsheet borders. On Tue, 23 Oct 2007 11:14:45 -0500, Oliver Brinzing [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Alexandro REM * BASIC * OPTION EXPLICIT Sub Main Dim oDoc as Object Dim oCell as Object Dim oRange as Object Dim oStyles as Object oDoc = ThisComponent 'direct (hard) cell formating ... oCell = oDoc.getSheets().getByIndex(0).getCellByPosition(0,0) oCell.CellBackColor = 256 'direct range formating ... oRange = oDoc.getSheets().getByIndex(0).getCellRangeByPosition(2,2,4,4) oRange.CellBackColor = 128 ' soft format via a cell style oStyles = oDoc.StyleFamilies.getByName(CellStyles) ' change color of build in cell style Result oStyles.getByName(Result).CellBackColor = 192 ' apply to a range ... oRange = oDoc.getSheets().getByIndex(0).getCellRangeByPosition(2,6,4,8) oRange.CellStyle = Result End Sub Oliver Am 23.10.2007 17:50 schrieb Alexandro Colorado: Hi I want to know how to style cells in a spreadsheet, things like background color, border and width. I am not sure if this is the best list to ask OOoBasic questions but there it goes. If there is a better list for this, please let me know. - -- GnuPG key 0xCFD04A45: 8822 057F 4956 46D3 352C 1A06 4E2C AB40 CFD0 4A45 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHHh31TiyrQM/QSkURArOdAJ0bgbsdZGNh3MBpJwRowAVDQSkGKQCfXg8b vyhxJyPIP2TOUSP4nX3cyvA= =dYkK -END PGP SIGNATURE- - 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: [api-dev] SimpleSystemMail
On Mon, 15 Oct 2007 10:20:20 -0500, Mathias Bauer [EMAIL PROTECTED] wrote: But why is Simple(System|Command)Mail not enough for you? Using it will create much less overhead and much less chances to stumble over bugs and errors. Ciao, Mathias Hi Mathias, Please correct me if I am wrong, but from my point of view all that SimpleSystemMail do is call the system mail client and send whatever information like to/from/ etc. I am not sure about SimpleSystemCommandMail really do different. What I did with my python smtplib was sending an email without an email client interaction which is what I need. This means that the email will get there regardless if the user doesn't have a Pop3/IMAP account and uses a Webmail account. -- 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: [api-dev] SimpleSystemMail
On Fri, 12 Oct 2007 12:55:51 -0500, Mathias Bauer [EMAIL PROTECTED] wrote: Hi Alexandro, Alexandro Colorado schrieb: However I want to know if I would need a transport on my system so the API is able to send the email. This is a similar dilema that I face with python's libsmtpd module which is capable of working as an smtpd server but there is really not much reference about how to run it. The SimpleSystemMail service uses the system mail client to send mails. If you don't get one on your system you could try the com.sun.star.system.SimpleCommandMail service. At least that's the strategy the Send document as mail code in OOo uses. Ciao, Mathias Thanks mathias, I wonder if this is actually generated from OOo or you mean the $mail command in Unix. In other words is this SimpleComandMail cross platform at all? -- Alexandro Colorado CoLeader of OpenOffice.org ES http://es.openoffice.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[api-dev] SimpleSystemMail
Hi Paolo, In Barcelona I asked you about the possibility of using SimpleSystemMail uno service to be able to send email from OpenOffice.org. The only reference I got to how it works is through the snippet on Andrew Pitonyak's Macro Book. Sub SendSimpleMail() Dim vMailSystem, vMail, vMessage vMailSystem=createUnoService(com.sun.star.system.SimpleSystemMail) vMail=vMailSystem.querySimpleMailClient() 'You want to know what else you can do with this, see 'http://api.openoffice.org/docs/common/ref/com/sun/star/system/XSimpleMailMessage.html vMessage=vMail.createsimplemailmessage() vMessage.setrecipient([EMAIL PROTECTED]) vMessage.setsubject(This is my test subject) 'Attachements are set by a sequence which in basic means an array 'I could use ConvertToURL() to build the URL! Dim vAttach(0) vAttach(0) = file:///c|/macro.txt vMessage.setAttachement(vAttach()) 'DEFAULTS Launch the currently configured system mail client. 'NO_USER_INTERFACE Do not show the interface, just do it! 'NO_LOGON_DIALOG No logon dialog but will throw an exception if one is required. vMail.sendSimpleMailMessage(vMessage, com.sun.star.system.SimpleMailClientFlags.NO_USER_INTERFACE) End Sub However I want to know if I would need a transport on my system so the API is able to send the email. This is a similar dilema that I face with python's libsmtpd module which is capable of working as an smtpd server but there is really not much reference about how to run it. What I am trying to achieve is the user be able to send a registration email to the Mailing list from within openoffice.org. Maybe this could help. -- Alexandro Colorado CoLeader of OpenOffice.org ES http://es.openoffice.org21 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [api-dev] SimpleSystemMail
On Thu, 11 Oct 2007 02:36:14 -0500, Alexandro Colorado [EMAIL PROTECTED] wrote: Hi Paolo, In Barcelona I asked you about the possibility of using SimpleSystemMail uno service to be able to send email from OpenOffice.org. The only reference I got to how it works is through the snippet on Andrew Pitonyak's Macro Book. Sub SendSimpleMail() Dim vMailSystem, vMail, vMessage vMailSystem=createUnoService(com.sun.star.system.SimpleSystemMail) vMail=vMailSystem.querySimpleMailClient() I might add that this script fails when I reach this line with an error message telling me that the object variable not set. Which leads me to believe that querySimpleMailClient is not returning anything to define vMail. 'You want to know what else you can do with this, see 'http://api.openoffice.org/docs/common/ref/com/sun/star/system/XSimpleMailMessage.html vMessage=vMail.createsimplemailmessage() vMessage.setrecipient([EMAIL PROTECTED]) vMessage.setsubject(This is my test subject) 'Attachements are set by a sequence which in basic means an array 'I could use ConvertToURL() to build the URL! Dim vAttach(0) vAttach(0) = file:///c|/macro.txt vMessage.setAttachement(vAttach()) 'DEFAULTS Launch the currently configured system mail client. 'NO_USER_INTERFACE Do not show the interface, just do it! 'NO_LOGON_DIALOG No logon dialog but will throw an exception if one is required. vMail.sendSimpleMailMessage(vMessage, com.sun.star.system.SimpleMailClientFlags.NO_USER_INTERFACE) End Sub However I want to know if I would need a transport on my system so the API is able to send the email. This is a similar dilema that I face with python's libsmtpd module which is capable of working as an smtpd server but there is really not much reference about how to run it. What I am trying to achieve is the user be able to send a registration email to the Mailing list from within openoffice.org. Maybe this could help. -- 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: [api-dev] protecting drawpages
On Tue, 17 Apr 2007 00:35:22 -0500, Christian Andersson [EMAIL PROTECTED] wrote: anyone? Christian Andersson skrev: In Calc I can protect sheets In Writer I can protect sections but is it possible to protect pages/slides in draw or impress? I have not found anything regarding this in the gui, but do something exist in the api for this? You can protect layers. Not sure how to do thatprograming wise. To protect go to Insert Layer Protect -- 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]
[api-dev] Launching an application from Shell
I am following the tutorail on Linux.com by Dimitri Propov on having an interface to execute a query on firefox. The script seem to work except that it doesn't launch firefox itself. I wonder if the Shell should have a special treatment on Linux as opposed to Linux. The faulty line is: Shell(/usr/bin/firefox,1, URLArray(CurrentItemPos) LookupWord.String) Here is the code: REM * BASIC * REM This tutorial comes from Linux.com REM The Macro is supposed to make a call of Query Sub LookupWithGUI() Dim Dialog As Object, Library As Object Dim TheDialog As Object, DialogField As Object Dim exitOK As String, CurrentItemPos As Integer URLArray=Array(http://en.wikipedia.org/wiki/,_ http://dictionary.cambridge.org/results.asp?searchword=,_ http://www.google.com/search?q=define%3A;) ThisDoc=ThisComponent LookupWord=ThisDoc.CurrentController.getViewCursor exitOK=com.sun.star.ui.dialogs.ExecutableDialogResults.OK Library=DialogLibraries.GetByName(GUI) TheDialog=Library.GetByName(Dialog1) Dialog=CreateUnoDialog(TheDialog) DialogField=Dialog.GetControl(ListBox1) DialogField.SelectItemPos(1, True) If Dialog.Execute=exitOK Then CurrentItemPos=DialogField.SelectedItemPos Shell(/usr/bin/firefox,1, URLArray(CurrentItemPos) LookupWord.String) End If Dialog.Dispose End Sub - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[api-dev] Part of the source that handles the Store.xcu
I would like to know which project handles the branch that generates the Store.xcu file. Regards. -- 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: [api-dev] how to use open office api
On Mon, 02 Apr 2007 06:43:26 -0500, Juergen Schmidt [EMAIL PROTECTED] wrote: I want to use the api's in a java code to do a conversion of MS Excel file to PDF format. This must be done on a IBM AS400 server. Can samebody help me out? You can use the URE (UNO Runtime Environment). http://download.openoffice.org/680/ure.html the URE alone won't help here. The URE provides UNO functionality only, to use office functionality you need an office installation. This will change in the future with the ODF toolkit. I see you are right. Now can they put a remote call to the openoffice.org sockets to use a remote convertion. Similar to what Laurent Gogard put when he did OOoConv. He did it in PHP, but I guess it can be ported with Java with no major issue. http://oooconv.free.fr Juergen -- Alexandro Colorado OpenOffice.org Community Contact // Mexico http://www.openoffice.org My Website: http://www.alexandrocolorado.com MyBlog: http://www.alexandrocolorado.com/blog Jabber: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [api-dev] Export selected sheets from Calc to PDF
Hi this was asked some time ago, there are some parameters to specify a range. Please read the IDL Reference. DeCouto, Douglas wrote: Dear All, Is there a way to programmatically tell the calc_pdf_Export filter to only export a particular sheet in a spreadsheet document? I see that using the GUI, I can choose `selected' in the PDF export dialog box, which will only print the frontmost sheet, which is a good start. Where can I find documentation on options for cald_pdf_Export? Thanks, Doug -- Douglas S. J. De Couto *** This e-mail, including attachments, may contain information that is privileged, proprietary, non-public, confidential or exempt from disclosure and is intended to be conveyed only to the designated recipient(s). If you are not an intended recipient, please delete this e-mail, including attachments, and do not disseminate, distribute or copy this communication, by e-mail or otherwise. The unauthorized use, dissemination, distribution or reproduction of this e-mail, including attachments, is prohibited and may be unlawful. We reserve the right to monitor and review the content of all messages sent to or from this e-mail address. We use digital certificates on email where appropriate to protect sensitive information and to identify our employees. To validate our digital signatures, please use this quick update from security authority Quovadis(http://www.quovadis.bm/root.asp). - 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]
Re: [api-dev] UnknownPropertyException when trying to set HyperLinkURL
On Thu, 27 Apr 2006 17:10:13 -0400, Ann Van [EMAIL PROTECTED] wrote: Stephan, Thanks for all the pointers. I am no longer getting any errors in running the code. However, I am not seeing any links in the resulting document. Could it be because I am using OpenOffice.org 1.1, or that I am trying also to output it as a PowerPoint file? Here is a code snippet: // xPresentation is an impress presentation XDrawPage xDrawPage = PageHelper.getDrawPageByIndex(xPresentation, 0); XMultiServiceFactory xFactory = (XMultiServiceFactory)UnoRuntime.queryInterface(XMultiServiceFactory.class, xPresentation); Object xObj = xFactory.createInstance(com.sun.star.drawing.TextShape); XShape xShape = (XShape)UnoRuntime.queryInterface(XShape.class, xObj); xShape.setPosition(aPos); xShape.setSize(aSize); XText xText = (XText)UnoRuntime.queryInterface(XText.class, xShape); XTextCursor xTextCursor = xText.createTextCursor(); Object o = xFactory.createInstance(com.sun.star.text.TextField.URL); XTextContent xTC = (XTextContent) UnoRuntime.queryInterface(XTextContent.class, o); XPropertySet xPS = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, xTC); xPS.setPropertyValue(URL,http://www.openoffice.org;); xText.insertTextContent(xTextCursor, xTC, true); xDrawPage.add(xShape); As you can see, I have a presentation document where I am trying to add a URL to a TextShape. However, the resulting document doesn't show the URL at all, either as a link or even as text. If I add text to the end of the TextShape that is not a URL (using ShapeHelper.addPortion), then I can see the text fine. Any ideas I so I can get the URL to show and link correctly? Or so that I can debug further? Thanks, Ann Andrew's Document point a snippet on how to insert URL to text, he does mention that this is for writer which stores the URL as a porperty of the text, I am not sure if there is a difference on impress. Also this snippet is for 2.0 and yes there could be lots of difference starting with the dispatcher and also the way to call the services. 1.1. Inserting a URL into a Write document Although a Calc document stores URLs in a URL text field, as shown elsewhere in this document, Write documents identify contained URLs based on character properties. A link becomes a link, when the HyperLinkURL property is set. Sub InsertURLAtTextCursor Dim oText'Text object for the current object Dim oVCursor 'Current view cursor oVCursor = ThisComponent.getCurrentController().getViewCursor() oText = oVCursor.getText() oText.insertString(oVCursor, [EMAIL PROTECTED], True) oVCursor.HyperLinkTarget = mailto:[EMAIL PROTECTED] oVCursor.HyperLinkURL = [EMAIL PROTECTED] End Sub -- 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: [api-dev] Converting only some pages to pdf
On Tue, 25 Apr 2006 07:35:48 -0400, Tobias Krais [EMAIL PROTECTED] wrote: Hi ML, can you help me with this issue: I wan't to convert only some pages of a file to a pdf document. I successfully convert the whole document and as far as I can see is there no PropertyValue that sets the pages. Am I right? Are there other ways to convert only one page? Well, I can solve it with printing on a PDF writer, but that not the best solution... Greetings, Tobias Read the converttopdf methods as opposed to ConvertDirecttoPDF. -- Alexandro Colorado CoLeader of OpenOffice.org ES http://es.openoffice.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[api-dev] Making Live Spreadsheets: Can OOo connect to an XML feed
Is it possible to make a live spreadsheet, meaning that the content of the cells are provided by a live XML feed from an APi. The idea is to have stock charts/currency exchange/ and/or pricing of products directly inserted into a Calc spreadsheet and users can add calculation to this live objects such as graph a yield or update their price to their local currency automatically. Internet -- XML Feed --- OOoMacro -- Live Spread Sheet My first question will be if the XML can be register as a DataSource, which protocol to use so OOo can identify it as a datasource, second will be how to use the XML parser that OOo includes (SAX?) from the Macro API and finally can this connection be mantain as permanent or should it be required every x seconds. First idea is that hdbsql is close to this question because of its native XML method of storage. OOo should at some point parse the information to be included into the widgetery. The parser should be available somewher around the com.sun.star.xml and the registry could be on a fetch array function within the scripting framework to finally be inserted into a cell. Am I ignoring something I should also be aware? Any answer to the previous doubts about best way to connect and parse? -- Alexandro Colorado CoLeader of OpenOffice.org ES http://es.openoffice.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[api-dev] How to set print to file
I got a macro which prints a document: dispatcher.executeDispatch(document, .uno:PrintDefault, , 0, Array()) However I was unable to find an interface for printing to a document, doing some research on the reference I found the FileName which is used in case of printing to a file but I couldnt find any other option to set it as a PrinttoFile. -- Alexandro Colorado CoLeader of OpenOffice.org ES http://es.openoffice.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[api-dev] Python and XML Podcast
Interesting podcast episode from Python411 which talks about Python and XML. He gives an overview of Python advantages of XML as well as giving a narrow description of XML. http://libsyn.com/media/awaretek/Python411_051204_XML.mp3 Not really if you are a hardcore user (very basic level). -- 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: [api-dev] OOo as a Linux service
On Thu, 17 Nov 2005 18:51:50 -, André Limaverde [EMAIL PROTECTED] wrote: I want to run soffice.bin as a Linux service so I can use the API. For now I run soffice.bin -invisible in a terminal, but I want to run this during the boot. I've tried to put this in /etc/inittab, rc.local etc. but nothing seems to work. I've received soffice.bin: Fatal IO error: client killed. The closest to what I want is putting the command in /etc/profile. But this forces me to logon on Linux to the command run. I'm using Fedora Core 2. A. Limaverde Have you tried running it as a service under listening mode? soffice -accept=socket,host=0,port=2002;urp; -- 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: [api-dev] OOo as a Linux service
Can you run it as the Xsession starts? You can configure your startup to run it everytime you login. On Thu, 17 Nov 2005 19:06:53 -, Christoph Neumann [EMAIL PROTECTED] wrote: Hi Andre, the office needs an X. That is the problem. You can use Xfvb as X-Server. Hope that helps, Christoph André Limaverde schrieb: I want to run soffice.bin as a Linux service so I can use the API. For now I run soffice.bin -invisible in a terminal, but I want to run this during the boot. I've tried to put this in /etc/inittab, rc.local etc. but nothing seems to work. I've received soffice.bin: Fatal IO error: client killed. The closest to what I want is putting the command in /etc/profile. But this forces me to logon on Linux to the command run. I'm using Fedora Core 2. A. Limaverde - 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: [api-dev] Info about Mail modules
On Sat, 12 Nov 2005 08:09:51 -, Marc Santhoff [EMAIL PROTECTED] wrote: Am Samstag, den 12.11.2005, 08:46 +0100 schrieb Mathias Bauer: Alexandro Colorado wrote: [...] XSmtpService(http://api.openoffice.org/docs/common/ref/com/sun/star/mail/XSmtpService.html) Represents a SMTP service abstraction. At least for the Send document as mail we don't use this API. I don't know about the emailmerging. Look for mail merging there: http://api.openoffice.org/docs/common/ref/com/sun/star/text/MailMerge.html There should be a snippet (at least in Java) there: http://codesnippets.services.openoffice.org/ Ah, yes, a massive one: http://codesnippets.services.openoffice.org/Writer/Writer.MailMerge.snip HTH, Marc Hi Marc, thank you for your input, but your answer now gave me more doubts since it seems that the mail module has anything to do with the text/mailmerge submodule. After reading the snippet I couldn't see any dependencies or relationship from mail module. Since my original question is related to the mail module I can now see that it doesnt related with mailmerge as originally answered. -- Alexandro Colorado CoLeader of OpenOffice.org ES http://es.openoffice.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[api-dev] Info about Mail modules
I want to learn more about the mail interface for openoffice.org, I found some information bit is a bit narrow, where can I find more information like developers working on it, dependencies and how can I call them from a programming enviroment. The current info is here: http://api.openoffice.org/docs/common/ref/com/sun/star/mail/module-ix.html -- 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: [api-dev] Info about Mail modules
On Fri, 11 Nov 2005 16:44:48 -, Mathias Bauer [EMAIL PROTECTED] wrote: Alexandro Colorado wrote: I want to learn more about the mail interface for openoffice.org, I found some information bit is a bit narrow, where can I find more information like developers working on it, dependencies and how can I call them from a programming enviroment. The current info is here: http://api.openoffice.org/docs/common/ref/com/sun/star/mail/module-ix.html Today mail functionality in OOo is used for creating and sending a mail using the mail related interfaces in the package com/sun/star/system and for e-mail merging that AFAIR uses some of the interfaces in the mail package. (You should consider that e-mail merging currently doesn't work in OOo but is possibly deliverd by the CWS oooemailmerge that will be integrated into the m140 milestone.) So if no developer knowing the email merging stuff shows up here you could ask on [EMAIL PROTECTED] Best regards, Mathias Thanks mathias I will have a look on that list. Within the mail module there is an STMP service, does that means that OOo can send emails or by the abstraction it means that the stmp should be provided by an external application. XSmtpService(http://api.openoffice.org/docs/common/ref/com/sun/star/mail/XSmtpService.html) Represents a SMTP service abstraction. -- 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: [api-dev] undoing things in a document using python
On Mon, 24 Oct 2005 09:51:35 +0100, Clément Varaldi (ML) [EMAIL PROTECTED] wrote: Hi, I'm working on scripts that may help me preparing a mailing using a MySQL database. It's actually already working, except that I'm doing this: 1 open a document 2 storeinto 3 replace all 4 make a pdf / html 5 close 6 goto 1 Opening/closing takes a lot of time. I'd prefer this scheme: 1 open a document 2 replace all 3 make a pdf/html 4 undo all 5 goto 2 I found some macros that does it, especially in Andrew's Macro document. But I couldn't find how to translate them into python. Any hint? URL of the macro? Have you seen DannyBs Python libraries to wrap the UNO API? http://www.oooforum.org/forum/viewtopic.phtml?t=14409 I tried to import the classes used in the macros I found, but they doesn't exist. if anyone has a solution/idea... Thanks -- Alexandro Colorado CoLeader of OpenOffice.org ES http://es.openoffice.org - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]