[dev] Re: Please note: dev@openoffice.org list to be retired on March 15th
On Thu, Mar 1, 2012 at 10:01 AM, michael mikea...@openoffice.org wrote: Rob Weir schrieb: Please note: The time has come for this list to be retired. It will be shutdown on or soon after March 15th. All of the legacy OpenOffice.org email lists will be shutdown at that time. The good news is that we have an equivalent list for Apache OpenOffice and you are welcome to subscribe to that list. To join the new list, send an email to ooo-dev-subscr...@incubator.apache.org. This should be done from the email account where you want to receive the list messages. This will generate a confirmation email which will be sent to your email address. You will need to reply to the confirmation email in order to complete your subscription to the new list. To send posts to the new list, you will mail them to the following address: ooo-...@incubator.apache.org And if you ever want to unsubscribe to the new list, you can do so by sending an email to: ooo-dev-unsubscr...@incubator.apache.org And what's about a germanophone mailinglist? (Und was ist mit einer deutschsprachigen Mailingliste?) The ooo-...@incubator.apache.org list is the official project list for the Apache OpenOffice project. Although it has dev in the name, you can think of it as the general project list for Apache OpenOffice. We're trying to avoid the fragmentation that can occur when you have 300 different mailing lists. On ooo-dev we are very tolerant of non-native English speakers. In fact, the majority of project members speak something other than English as their native tongue. But it is important, for working together, that we have a common list and mode of communication and are able to achieve a critical mass of activity. That said, we are open to creating other lists where need is demonstrated, and where there are volunteers to help moderate the lists. Proposals should be made to the ooo-...@incubator.apache.org mailing list. Regards, -Rob Kind regards Michael -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: XTextContent problem
Hi, I don't succeed reproduce your problem nor with OOo 3.3.0, neither with LibreOffice 3.4.5. Are you able to reproduce the problem on request ? Are you doing something special when you delete the formula ? Which version of OOo are you using ? Regards Thibault. - Mail original - De: Jan jrheinlaen...@gmx.de À: dev dev@openoffice.org Envoyé: Vendredi 24 Février 2012 12:24:52 Objet: [dev] XTextContent problem Hello, I execute the following basic macro on a text document: xFormula = ThisComponent.createInstance(com.sun.star.text.TextEmbeddedObject) xFormula.setPropertyValue(CLSID, 078B7ABA-54FC-457F-8551-6147e776a997) xFormula.setPropertyValue(AnchorType, 1) xTextViewCursor = ThisComponent.getCurrentController().getViewCursor() xDocumentText = xTextViewCursor.getText() xModelCursor = xDocumentText.createTextCursorByRange(xTextViewCursor.getEnd()) xDocumentText.insertTextContent(xModelCursor, xFormula, true) This successfully inserts an empty smath formula in the document. Now I do this: 1. Delete the formula 2. Undo the deletion 3. Copy the formula 4. Paste the formula and I get a little box saying Object1 in red type, but not formula!!! What am I doing wrong? Needless to say, this behaviour does not occur when I create the formula through the UI. And I thought I was following the devguide with my macro code. Thanks for any ideas! Jan Rheinländer -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: Digest for list dev@openoffice.org
Hello Thibault, I don't succeed reproduce your problem nor with OOo 3.3.0, neither with LibreOffice 3.4.5. you are right, it only occurs when the extension I am working on is loaded... So at least that gives me some sort of an idea. I suppose I will have to throw out parts of the extension until the problem disappears. Thanks anyway! Jan -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: Dependencies required to create an executable
Hi, Trying again with a different sending address. --/tj/ Original Message Subject: Re: [dev] Dependencies required to create an executable Date: Thu, 19 Jan 2012 12:40:06 -0500 From: TJ Frazier tjfraz...@openoffice.org Reply-To: ooo-...@incubator.apache.org To: dev@openoffice.org CC: ooo-...@incubator.apache.org On 1/19/2012 09:27, HICHEM ZARROUKI wrote: Hello, I developed a C + + application based on Open Office SDK version 3.3. The application works perfectly in conjunction with Open Office 3, and it is time for me to create the installer which will be delivered to users. To do so, I need to know the necessary dependencies (DLLs, executables, ...) to bewith my application, and if it is possible to run the application without the need to install Open Office, because if it is not installed I receive an error when running my program ? Thank you in advance for your answers. Hi, Because this list is going away soon, I have taken the liberty of forwarding your message to the new list at Open Office's new home, the Apache Software Foundation. You will need to subscribe to that list to see any replies. (Please be aware that it is a very busy list.) Send an email to: ooo-dev-subscr...@incubator.apache.org You will get a confirmation message, and you need to reply to that as it instructs. You may want to post a follow-up message there, telling us what o/s you plan to install on. Installation details are very system-dependent. -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: Now available: Apache OpenOffice Announcement List
On Tue, Dec 27, 2011 at 4:09 AM, Clemens Eisserer linuxhi...@gmail.com wrote: Why doesn't apache simply contribute to LibreOffice? I don't see the reasioning behind spliting the scarce resources any further. The code from Apache projects is available for all to use, including LibreOffice. The license allows this and the FSF says that the Apache license is compatible with GPLv3: http://www.gnu.org/licenses/license-list.html#apache2 Also, LibreOffice developers are already looking at areas where they can take improvements we've made in Apache OpenOffice, such as our new native SVG support: http://lists.freedesktop.org/archives/libreoffice/2011-December/021884.html So we are contributing to LibreOffice, and IMHO this is wonderful! Of course, I think we'd all prefer for this to be a two-way collaboration, but I think that will come over time. -Rob - Clemens 2011/12/27 Rob Weir robw...@apache.org: The Apache OpenOffice Project Management Committee is pleased to announce the availability of our new Announcement mailing list. This is a low-volume list which will be used to announce the availability of OpenOffice betas and releases, to issue security bulletins, and to report similar relevant information. This is not a discussion list. It will be used only for authoritative announcements regarding Apache OpenOffice. We encourage all OpenOffice users and other interested parties to subscribe to this list by following these steps: 1) Send an email to: ooo-announce-subscr...@incubator.apache.org 2) Wait a few minutes and then check your inbox for a confirmation email. 3) Respond to the confirmation email (If you ever want to unsubscribe, send an email to: ooo-announce-unsubscr...@incubator.apache.org and respond to the confirmation email.) More information on this list, and other Apache OpenOffice project lists can be found here: http://incubator.apache.org/openofficeorg/mailing-lists.html Regards, -Rob -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: Now available: Apache OpenOffice Announcement List
Il 27/12/2011 10.09, Clemens Eisserer ha scritto: Why doesn't apache simply contribute to LibreOffice? I don't see the reasioning behind spliting the scarce resources any further. I can simply invert the question: why doesn't TDF simply contribute to Apache OpenOffice.org? There is not a simple answer: it's a long story of copyleft. In the future, I'm sure Apache, and TDF will find a way to collaborate actively. Davide -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: [OT] Re: Re: Now available: Apache OpenOffice Announcement List
Hi, do you understand why there isn't a simple answer? The same concepts are expressed in similar way inside TDF's mailing lists. With the same good reasons. Sure, guess my first email was kind of naive. But I'm sure at the end the reason and the common good will prevail on egocentric positions. Hopefully :) In the meantime thanks for working on a free office suite. - Clemens -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: Now available: Apache OpenOffice Announcement List
Why doesn't apache simply contribute to LibreOffice? I don't see the reasioning behind spliting the scarce resources any further. - Clemens 2011/12/27 Rob Weir robw...@apache.org: The Apache OpenOffice Project Management Committee is pleased to announce the availability of our new Announcement mailing list. This is a low-volume list which will be used to announce the availability of OpenOffice betas and releases, to issue security bulletins, and to report similar relevant information. This is not a discussion list. It will be used only for authoritative announcements regarding Apache OpenOffice. We encourage all OpenOffice users and other interested parties to subscribe to this list by following these steps: 1) Send an email to: ooo-announce-subscr...@incubator.apache.org 2) Wait a few minutes and then check your inbox for a confirmation email. 3) Respond to the confirmation email (If you ever want to unsubscribe, send an email to: ooo-announce-unsubscr...@incubator.apache.org and respond to the confirmation email.) More information on this list, and other Apache OpenOffice project lists can be found here: http://incubator.apache.org/openofficeorg/mailing-lists.html Regards, -Rob -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: [OT] Re: Re: Now available: Apache OpenOffice Announcement List
Il 27/12/2011 12.13, eric b ha scritto: Hi, Le 27 déc. 11 à 10:33, Davide Dozza a écrit : Il 27/12/2011 10.09, Clemens Eisserer ha scritto: Why doesn't apache simply contribute to LibreOffice? I don't see the reasioning behind spliting the scarce resources any further. I can simply invert the question: why doesn't TDF simply contribute to Apache OpenOffice.org? There is not a simple answer: it's a long story of copyleft. In the future, I'm sure Apache, and TDF will find a way to collaborate actively. Be sure EducOOo never will (or will be without me), and the day Apache project will do that, I'll have no reason to continue to contribute. Just a reminder: TDF and LibreOffice have been decided in the background, without public discussion, without even inform the OpenOffice.org project leads, by people who autoproclamed themselves as founding members. Clemens, do you understand why there isn't a simple answer? The same concepts are expressed in similar way inside TDF's mailing lists. With the same good reasons. But I'm sure at the end the reason and the common good will prevail on egocentric positions. Davide -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: Seeding faults in the Writer GUI
Am 28.10.2011 19:40, schrieb Wikum Dinalankara: Hi, I am working on testing the OpenOffice Writer GUI for a class project, and I need to seed some faults in the source code (I built OO330_m20 successfully on Ubuntu 10.04 running on VMWare), that could possibly generate some errors related to the Writer GUI. I've been looking through the wiki pages and the source files, but I'm having trouble figuring out which modules in the source code I should be focusing on. Can anyone point me to which files/folders in the source code I should be looking at? Thanks, Wikum Your description is not detailed enough to answer your question exactly. In general most UI classes can be found in the modules vcl, svtools, svx, framework, sfx2, cui and of course in the module of the application you are looking into, that would be sw in your case. Regards, Mathias -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: Problems downloading source through Mercurial
Hi Seth, I'm not sure what you are trying to achieve. OOo should have PyUno and - if it is a build provided by Oracle - its own version of Python and both should fit to each other. Admittedly I'm not completely sure about that, if you have bad luck, even the Oracle builds didn't contain an own Python. But if you build OOo by yourself, you should be able to make sure that OOo's own copy of Python is used in the build (and thus put into the installation set) and not the version of the system. See what configure offers you with regard to Python. Regards, Mathias Am 10.10.2011 05:41, schrieb Seth Shich: HI Mathias, Thanks for the information. Perhaps, I should tell you why I want to build OOo, and, then, maybe you could suggest what course I should take. I am trying to get PyUno working so that I can read and interface with .doc and .docx files (e.g. highlight certain words in documents, such as proper names) while they are being viewed by users in MsWord. The problem is that PyUno links against Python2.3 and, therefore, I cannot run it on Mac OS X 10.7.1: 10.7.1 does not have Python2.3 in its complete form, and, at any rate, I wouldn't want to use that Python version because it would prevent imports of other modules requiring later Python versions. PyUno, then, must be made to link against either Python 2.6.7 or Python 2.7, the Python versions I have on my system. But, how to do this? I read here, at http://www.mail-archive.com/mac@porting.openoffice.org/msg03582.html, that: Those who build OOo by themselves will be able to just use --with[out]-system-python, but only very, very few Mac users will build their own copy of OOo. Thus it is important to decide on the default, what the installsets offered from www.openoffice.org will include (or not include) At this stage, I have downloaded the entire repository for OOo. Is there a way to selectively build just the PyUno Module? Also, do you have any suggestions as to where I can begin? I am a newbie and am becoming somewhat overwhelmed at what has become quite a daunting task. Thanks, in advance, for any help you can provide. Sincerely, Seth BTW: building OOo on Mac OS X 10.7 is not easy. It doesn't work out of the box. You have at least to back to the 10.4 SDK and XCode 3.2.6. Please see the discussion here: http://mail-archives.apache.org/mod_mbox/incubator-ooo-dev/201109.mbox/%3ce0296709-0cf0-4494-a518-e11f32e74...@herrmannsdorfer.de%3e Regards, Mathias -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: Problems downloading source through Mercurial
What I can't figure out from the use case is why isn't Seth developing a plug-in for Microsoft Word if it is about Word documents and Microsoft Word is being used to view the document already? So, what else is there to the use case that would make it clear why code from OO.o is needed? - Dennis E. Hamilton tools for document interoperability, http://nfoWorks.org/ dennis.hamil...@acm.org gsm: +1-206-779-9430 @orcmid -Original Message- From: Mathias Bauer [mailto:nospamfor...@gmx.de] Sent: Monday, October 10, 2011 14:27 To: dev@openoffice.org Subject: [dev] Re: Problems downloading source through Mercurial Hi Seth, I'm not sure what you are trying to achieve. OOo should have PyUno and - if it is a build provided by Oracle - its own version of Python and both should fit to each other. Admittedly I'm not completely sure about that, if you have bad luck, even the Oracle builds didn't contain an own Python. But if you build OOo by yourself, you should be able to make sure that OOo's own copy of Python is used in the build (and thus put into the installation set) and not the version of the system. See what configure offers you with regard to Python. Regards, Mathias Am 10.10.2011 05:41, schrieb Seth Shich: HI Mathias, Thanks for the information. Perhaps, I should tell you why I want to build OOo, and, then, maybe you could suggest what course I should take. I am trying to get PyUno working so that I can read and interface with .doc and .docx files (e.g. highlight certain words in documents, such as proper names) while they are being viewed by users in MsWord. The problem is that PyUno links against Python2.3 and, therefore, I cannot run it on Mac OS X 10.7.1: 10.7.1 does not have Python2.3 in its complete form, and, at any rate, I wouldn't want to use that Python version because it would prevent imports of other modules requiring later Python versions. PyUno, then, must be made to link against either Python 2.6.7 or Python 2.7, the Python versions I have on my system. But, how to do this? I read here, at http://www.mail-archive.com/mac@porting.openoffice.org/msg03582.html, that: Those who build OOo by themselves will be able to just use --with[out]-system-python, but only very, very few Mac users will build their own copy of OOo. Thus it is important to decide on the default, what the installsets offered from www.openoffice.org will include (or not include) At this stage, I have downloaded the entire repository for OOo. Is there a way to selectively build just the PyUno Module? Also, do you have any suggestions as to where I can begin? I am a newbie and am becoming somewhat overwhelmed at what has become quite a daunting task. Thanks, in advance, for any help you can provide. Sincerely, Seth BTW: building OOo on Mac OS X 10.7 is not easy. It doesn't work out of the box. You have at least to back to the 10.4 SDK and XCode 3.2.6. Please see the discussion here: http://mail-archives.apache.org/mod_mbox/incubator-ooo-dev/201109.mbox/%3ce0296709-0cf0-4494-a518-e11f32e74...@herrmannsdorfer.de%3e Regards, Mathias -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: Problems downloading source through Mercurial
I was under the impression that I could use OOo's PyUno to read and manipulate .doc and .docx files from Python and even to interact with those files while they are opened. Is this not correct? If it is, I would prefer to use Python because of its natural language processing capabilities (e.g. NLTK). Also, if I can avoid having to spend between $600 and $1,000 to read .doc and .docx through Microsoft Visual Studio, I would certainly prefer to do so. From: dennis.hamil...@acm.org To: dev@openoffice.org CC: sethsh...@hotmail.com Date: Mon, 10 Oct 2011 15:08:18 -0700 Subject: [dev] Re: Problems downloading source through Mercurial What I can't figure out from the use case is why isn't Seth developing a plug-in for Microsoft Word if it is about Word documents and Microsoft Word is being used to view the document already? So, what else is there to the use case that would make it clear why code from OO.o is needed? - Dennis E. Hamilton tools for document interoperability, http://nfoWorks.org/ dennis.hamil...@acm.org gsm: +1-206-779-9430 @orcmid -Original Message- From: Mathias Bauer [mailto:nospamfor...@gmx.de] Sent: Monday, October 10, 2011 14:27 To: dev@openoffice.org Subject: [dev] Re: Problems downloading source through Mercurial Hi Seth, I'm not sure what you are trying to achieve. OOo should have PyUno and - if it is a build provided by Oracle - its own version of Python and both should fit to each other. Admittedly I'm not completely sure about that, if you have bad luck, even the Oracle builds didn't contain an own Python. But if you build OOo by yourself, you should be able to make sure that OOo's own copy of Python is used in the build (and thus put into the installation set) and not the version of the system. See what configure offers you with regard to Python. Regards, Mathias Am 10.10.2011 05:41, schrieb Seth Shich: HI Mathias, Thanks for the information. Perhaps, I should tell you why I want to build OOo, and, then, maybe you could suggest what course I should take. I am trying to get PyUno working so that I can read and interface with .doc and .docx files (e.g. highlight certain words in documents, such as proper names) while they are being viewed by users in MsWord. The problem is that PyUno links against Python2.3 and, therefore, I cannot run it on Mac OS X 10.7.1: 10.7.1 does not have Python2.3 in its complete form, and, at any rate, I wouldn't want to use that Python version because it would prevent imports of other modules requiring later Python versions. PyUno, then, must be made to link against either Python 2.6.7 or Python 2.7, the Python versions I have on my system. But, how to do this? I read here, at http://www.mail-archive.com/mac@porting.openoffice.org/msg03582.html, that: Those who build OOo by themselves will be able to just use --with[out]-system-python, but only very, very few Mac users will build their own copy of OOo. Thus it is important to decide on the default, what the installsets offered from www.openoffice.org will include (or not include) At this stage, I have downloaded the entire repository for OOo. Is there a way to selectively build just the PyUno Module? Also, do you have any suggestions as to where I can begin? I am a newbie and am becoming somewhat overwhelmed at what has become quite a daunting task. Thanks, in advance, for any help you can provide. Sincerely, Seth BTW: building OOo on Mac OS X 10.7 is not easy. It doesn't work out of the box. You have at least to back to the 10.4 SDK and XCode 3.2.6. Please see the discussion here: http://mail-archives.apache.org/mod_mbox/incubator-ooo-dev/201109.mbox/%3ce0296709-0cf0-4494-a518-e11f32e74...@herrmannsdorfer.de%3e Regards, Mathias -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: Problems downloading source through Mercurial
On 2011-10-09 09:21, Seth Shich wrote: Hi, I am trying to download the source for building Open Office. I am new to all of this but have used SVN before (never Mercurial though). I have Mac OS X 10.7.1. My problem is that when I type, hg clone http://hg.services.openoffice.org/DEV300 ooo_source, nothing happens. Finally, I get the following: error: abort: error: Operation timed out However, when I type, say, hg clone https://code.google.com/p/core-plot/, it works. OpenOffice source code has been moved to apache.org and I guess repositories too. I don't remember the exact links but I think you have a fair chance of getting started at: http://incubator.apache.org/openofficeorg/ Cheers -- Jan -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: Problems downloading source through Mercurial
Am 09.10.2011 09:35, schrieb Jan Holst Jensen: On 2011-10-09 09:21, Seth Shich wrote: Hi, I am trying to download the source for building Open Office. I am new to all of this but have used SVN before (never Mercurial though). I have Mac OS X 10.7.1. My problem is that when I type, hg clone http://hg.services.openoffice.org/DEV300 ooo_source, nothing happens. Finally, I get the following: error: abort: error: Operation timed out However, when I type, say, hg clone https://code.google.com/p/core-plot/, it works. OpenOffice source code has been moved to apache.org and I guess repositories too. I don't remember the exact links but I think you have a fair chance of getting started at: http://incubator.apache.org/openofficeorg/ This is an svn repository that carries the code for the next OOo release that will be the first from an Apache tipi. If you want to work on the current code base, there's a copy of the old Mercurial OOo repository at bitbucket: https://bitbucket.org/mst/ooo340 I'm surprised to see that the hg.services.openoffice.org server is down. There was no announcement for that, so probably it's just a temporary problem. Nevertheless, you can use bitbucket as a replacement. BTW: building OOo on Mac OS X 10.7 is not easy. It doesn't work out of the box. You have at least to back to the 10.4 SDK and XCode 3.2.6. Please see the discussion here: http://mail-archives.apache.org/mod_mbox/incubator-ooo-dev/201109.mbox/%3ce0296709-0cf0-4494-a518-e11f32e74...@herrmannsdorfer.de%3e Regards, Mathias -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: Problems downloading source through Mercurial
HI Mathias, Thanks for the information. Perhaps, I should tell you why I want to build OOo, and, then, maybe you could suggest what course I should take. I am trying to get PyUno working so that I can read and interface with .doc and .docx files (e.g. highlight certain words in documents, such as proper names) while they are being viewed by users in MsWord. The problem is that PyUno links against Python2.3 and, therefore, I cannot run it on Mac OS X 10.7.1: 10.7.1 does not have Python2.3 in its complete form, and, at any rate, I wouldn't want to use that Python version because it would prevent imports of other modules requiring later Python versions. PyUno, then, must be made to link against either Python 2.6.7 or Python 2.7, the Python versions I have on my system. But, how to do this? I read here, at http://www.mail-archive.com/mac@porting.openoffice.org/msg03582.html, that: Those who build OOo by themselves will be able to just use --with[out]-system-python, but only very, very few Mac users will build their own copy of OOo. Thus it is important to decide on the default, what the installsets offered from www.openoffice.org will include (or not include)At this stage, I have downloaded the entire repository for OOo. Is there a way to selectively build just the PyUno Module? Also, do you have any suggestions as to where I can begin? I am a newbie and am becoming somewhat overwhelmed at what has become quite a daunting task. Thanks, in advance, for any help you can provide. Sincerely, Seth BTW: building OOo on Mac OS X 10.7 is not easy. It doesn't work out of the box. You have at least to back to the 10.4 SDK and XCode 3.2.6. Please see the discussion here: http://mail-archives.apache.org/mod_mbox/incubator-ooo-dev/201109.mbox/%3ce0296709-0cf0-4494-a518-e11f32e74...@herrmannsdorfer.de%3e Regards, Mathias -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: Farewell
Dear Niklas, it is sad to learn that you will not be able to keep up your great and constructive help! Whatever you are up to: all the best and good luck! However: should you have some spare time, then please keep up your great help, even it is only possible once a month! :) All the best, ---rony On 04.09.2011 18:56, Niklas Nebel wrote: In case anyone is still reading these lists: I have left Oracle and started a new job, not related to OpenOffice.org. Because of this, I won't have enough time for any meaningful participation in the new OpenOffice.org at Apache. So it's time for me to say goodbye. OpenOffice.org has always been great fun for me, so I'm happy to see some familiar names in the Apache project, which makes me confident they will be able to continue the success of OpenOffice.org. Thanks everybody for a great time! Niklas -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: [sc-dev] Farewell
Hi Niklas, On Sunday, 2011-09-04 18:56:17 +0200, Niklas Nebel wrote: In case anyone is still reading these lists: Occasionally.. Thanks everybody for a great time! It was a pleasure working with you. All the best! Eike -- PGP/OpenPGP/GnuPG encrypted mail preferred in all private communication. Key ID: 0x293C05FD - 997A 4C60 CE41 0149 0DB3 9E96 2F1A D073 293C 05FD signature.asc Description: Digital signature
[dev] Re: Farewell
Hi Niklas, I remember talking with you in Beijing, between some lectures, to get some guidance for a Calc extension. I had to try my best to keep understanding your deep technical explanation... Thanks for all the good work you did at OpenOffice.org. Wishing you all the best in your new job, CU, Cor Niklas Nebel wrote (04-09-11 18:56) In case anyone is still reading these lists: I have left Oracle and started a new job, not related to OpenOffice.org. Because of this, I won't have enough time for any meaningful participation in the new OpenOffice.org at Apache. So it's time for me to say goodbye. OpenOffice.org has always been great fun for me, so I'm happy to see some familiar names in the Apache project, which makes me confident they will be able to continue the success of OpenOffice.org. Thanks everybody for a great time! Niklas -- - Cor - http://nl.libreoffice.org -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: [PATCH] Bug 34431 - More symbols (crosses, circles) needed for data points in charts
Uups, wrong list. Please excuse. Kind regards Regina -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: uninstall instructions needed
Do you remember when and where you download OpenOffice 3.3. Until recently there was a website downloads of a hacked version of OpenOffice. They loaded it up with all sorts of bloatware and put it on OpenOffice.com. The legitimate website is OpenOffice.org. The fake website has now been shut down. -Rob On Fri, Aug 19, 2011 at 9:35 PM, JS jsully7...@gmail.com wrote: I don't understand why I can't uninstall the openoffice 3.3 which has an 'unidentified' publisher. It says some files are open and to close first to finish uninstalling. But no files nor programs are open except the Uninstall on my windows computer. pleas adivise because since downloading your program I have bizillion sites open up automatically for all kinds of products I don't want--even tho I uninstalled . I suspect an illegitimate activity that needs be reported. JS -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: uninstall instructions needed
Hi, may be die Quickstarter is still running. Please have a look at http://wiki.services.openoffice.org/wiki/Documentation/OOoAuthors_User_Manual/Getting_Started/Using_the_Quickstarter_under_Windows Best regards, Oliver. On 20.08.2011 03:35, JS wrote: I don't understand why I can't uninstall the openoffice 3.3 which has an 'unidentified' publisher. It says some files are open and to close first to finish uninstalling. But no files nor programs are open except the Uninstall on my windows computer. pleas adivise because since downloading your program I have bizillion sites open up automatically for all kinds of products I don't want--even tho I uninstalled . I suspect an illegitimate activity that needs be reported. JS -- ORACLE http://www.oracle.com Oliver-Rainer Wittmann | Oracle Open Office and ODF Standardization Phone: +49 40 23646 500 Oracle Office GBU ORACLE Deutschland B.V. Co. KG | Nagelsweg 55 | 20097 Hamburg ORACLE Deutschland B.V. Co. KG Hauptverwaltung: Riesstr. 25, D-80992 München Registergericht: Amtsgericht München, HRA 95603 Komplementärin: ORACLE Deutschland Verwaltung B.V. Hertogswetering 163/167, 3543 AS Utrecht, Niederlande Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697 Geschäftsführer: Jürgen Kunz, Marcel van de Molen, Alexander van der Ven http://www.oracle.com/commitment Oracle is committed to developing practices and products that help protect the environment -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: Please accept my volunteering
balajidileepkumar wrote: Hello sir, I am Balaji Dileep Kumar, I am a programmer, I would like to contribute my work to Open office, I am good in java and C++, Please guide me how to get started with tasks. Thank you. Hi, Thanks your interest in OpenOffice.org and helping develop it into a better product. I am not sure that your aware that Oracle has transfered the ownership of OpenOffice.org to the Apache Software Foundation. Apache is the new owner of the Open Office Source code and is now working very hard at porting it into their system. The source code is in process of moving to their incubator. Every thing you should need to know about helping to participate with the project is located at: http://incubator.apache.org/projects/openofficeorg.html Looking forward to seeing you there. Andy Brown, Apache OpenOffice Project -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: Please accept my volunteering
I keep getting Emails from dev@openoffice.org this one from Andy Brown another from Oliver-Rainer Wittman still another from Rob Weir. My name is Graeme Borthwick, I live in Alicante in Spain and I am retired. Can someone tell me what is going on? Date: Sat, 20 Aug 2011 12:16:24 -0700 From: a...@the-martin-byrd.net To: dev@openoffice.org CC: balajidileepku...@gmail.com Subject: [dev] Re: Please accept my volunteering balajidileepkumar wrote: Hello sir, I am Balaji Dileep Kumar, I am a programmer, I would like to contribute my work to Open office, I am good in java and C++, Please guide me how to get started with tasks. Thank you. Hi, Thanks your interest in OpenOffice.org and helping develop it into a better product. I am not sure that your aware that Oracle has transfered the ownership of OpenOffice.org to the Apache Software Foundation. Apache is the new owner of the Open Office Source code and is now working very hard at porting it into their system. The source code is in process of moving to their incubator. Every thing you should need to know about helping to participate with the project is located at: http://incubator.apache.org/projects/openofficeorg.html Looking forward to seeing you there. Andy Brown, Apache OpenOffice Project -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: Please accept my volunteering
Graeme Borthwick wrote: I keep getting Emails from dev@openoffice.org this one from Andy Brown another from Oliver-Rainer Wittman still another from Rob Weir. My name is Graeme Borthwick, I live in Alicante in Spain and I am retired. Can someone tell me what is going on? Hi Graeme, The reason your receiving these messages is because your email address is listed as subscribed to a mailing list for OpenOffice.org. The only one that can remove the address is you. Send an email to dev-unsubscr...@openoffice.org . You do not have to enter a subject or a message as they are ignored. You will receive a message back that you need to reply to. Then you will receive a Good by message and the process is complete. Andy -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: How to rebuild types.rdb ?
Hi Mathias, Apologies for the mail posted twice : I didn't see it arrive on the dev@ooo, so I supposed the list was no longer active ... Le 18 août 11 à 07:13, Mathias Bauer a écrit : On 16.08.2011 00:17, eric b wrote: Can someone explain me : - why a binary blob is directly provided in OpenOffice.org sources ? ( OOO320_m1x for instance) This is just a reference file for the API compatibility check. I see now. - how to create a new types.rdb (and what are the mandatory tools) ? It is a delivery of each build. The reference file was updated at times by Jürgen Schmidt, using the current types.rdb of the latest release. Thanks for your answer, I got all the informatio :-) Regards, Eric -- qɔᴉɹə Education Project: http://wiki.services.openoffice.org/wiki/Education_Project Projet OOo4Kids : http://wiki.ooo4kids.org/index.php/Main_Page L'association EducOOo : http://www.educoo.org Blog : http://eric.bachard.org/news -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: wanna start coding
I would suggest checking out the latest iteration/branch to get an idea of the code structure the OO project is trying to keep in place to keep the project easy to understand :) Sent from my iPhone On Aug 17, 2011, at 1:42 PM, Aidan Fitzpatrick fitzpatrickai...@gmail.com wrote: Hello I'd like to contribute to the open office project but there is so much documentation I'm more than a little lost. All I'm really looking for is the source code, a class diagram or dataflow diagram and a bug list or requested updates of some nature. I'd like to dive right in and start coding as soon as possible. Any advice? Thanks Kind regards Aidan Fitzpatrick -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: How to rebuild types.rdb ?
On 16.08.2011 00:17, eric b wrote: Hi, Doing some performance tests, I just figured out the types.rdb file is a binary file, just provided in the sources. Can someone explain me : - why a binary blob is directly provided in OpenOffice.org sources ? ( OOO320_m1x for instance) This is just a reference file for the API compatibility check. - how to create a new types.rdb (and what are the mandatory tools) ? It is a delivery of each build. The reference file was updated at times by Jürgen Schmidt, using the current types.rdb of the latest release. Regards, Mathias -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: Want to participate in development of Open office
On 07/27/11 06:37 PM, Thathyuraj Devanesan wrote: Hi folks, My name is Raj, I am an executive director at Barclays capital, developing order management and low latency systems, my job does not give me the pleasure of coding, so I am now trying to get participation from some interesting open source project, Open Office has always been one of my favorite, I am very keen to be part of this privileged group , appreciate if someone can guide me to get started. My CV is attached for your reference ( I am not seeing job just kidding ) Thanks, Raj. Hi Thathyuraj, I think your best bet to help participate in Open Office is now at the Apache Development. Apache should be the new owner of the Open Office Source code and is now working very hard at porting it into their system. The source in now in their incubator. This is usually a temporary 6 month stay until officially accepted. Every thing you should need to know about helping to participate with the project is located at: http://incubator.apache.org/projects/openofficeorg.html Paul -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: opne et dokument med passord
On 2011-07-23 01:03, Kim Sørlie wrote: hei jeg har skrivi et openoffice.orgwriter dukument. og låst det med passord ca 23.30 fredags kveld (22.07.2011) men jeg får ikke åpna det igjen det vil ikke godta passordet jeg skrev finnes det noen mulighet å få opna det igjen hilsen kim sørlie ( sorlie@gmail.com mailto:sorlie@gmail.com ) [Rough translation: I wrote an OpenOffice writer document friday night, but I can't open it again. It won't accept the password I wrote. Is there any way of opening it again ?] Hi Kim, If you have forgot the password I am afraid you're lost, since OOo uses quite good encryption. See e.g. http://www.oooforum.org/forum/viewtopic.phtml?t=74190 Kind regards -- Jan Holst Jensen -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: fixing postgresql sdbc connector
On Thu, Jul 21, 2011 at 02:40:30PM +0430, Jan wrote: The build instructions on http://dba.openoffice.org/drivers/postgresql/index.html seem totally outdated since they use cvs, not hg. Yeah, because that driver *is* in cvs, not in hg. Separate project etc, never merged into the official code. You need to get that stuff and add it to your hg tree. http://cgit.freedesktop.org/libreoffice/build/tree/patches/postgresql contains patches you can add on top of your hg and do stuff(tm). (Icreated those patches and used them until discovering that bug after which it was disabled - see http://bugs.debian.org/620100) Grüße/Regards, René -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: Question on accessing hyphenation dictionaries and related metadata
Hi Leo, On 16.07.2011 14:02, Dr.Leo wrote: Hello, I am the author of PyHyphen, a hyphenation package for the Python programming language (http://pypi.python.org/pypi/PyHyphen/). PyHyphen is essentially a wrapper around 'libhyphen', the C library that oo uses for hyphenation. PyHyphen contains some handy tools to download hyphenation dictionaries and related metadata from the deprecated lingual components site for OO 2.x. See the metadata file at http://ftp.osuosl.org/pub/openoffice/contrib/dictionaries/hyphavail.lst I would like to upgrade PyHyphen to use the new extensions format introduced with OO 3.x.But I haven't found any docs explaining where to find the equivalent of hyphavail.lst. somewhere on the site there should be an xml file listing all available hyphenation dictionaries with some metadate on each. This meta data is needed to write code to access the new dictionaries. Any help would be very much appreciated. As I am not subscribed to the list, please put fhaxbo...@googlemail.com on cc. Leo perhaps http://wiki.services.openoffice.org/wiki/Non-code_extensions http://wiki.services.openoffice.org/wiki/Extension_Dictionaries is what your are looking for. Regards, Mathias -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: Question on accessing hyphenation dictionaries and related metadata
Hi Leo, On 16.07.2011 14:02, Dr.Leo wrote: Hello, I am the author of PyHyphen, a hyphenation package for the Python programming language (http://pypi.python.org/pypi/PyHyphen/). PyHyphen is essentially a wrapper around 'libhyphen', the C library that oo uses for hyphenation. PyHyphen contains some handy tools to download hyphenation dictionaries and related metadata from the deprecated lingual components site for OO 2.x. See the metadata file at http://ftp.osuosl.org/pub/openoffice/contrib/dictionaries/hyphavail.lst I would like to upgrade PyHyphen to use the new extensions format introduced with OO 3.x.But I haven't found any docs explaining where to find the equivalent of hyphavail.lst. somewhere on the site there should be an xml file listing all available hyphenation dictionaries with some metadate on each. This meta data is needed to write code to access the new dictionaries. Any help would be very much appreciated. As I am not subscribed to the list, please put fhaxbo...@googlemail.com on cc. Leo perhaps http://wiki.services.openoffice.org/wiki/Non-code_extensions http://wiki.services.openoffice.org/wiki/Extension_Dictionaries is what your are looking for. Regards, Mathias -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: clarify
Hi Igor, On 15.07.2011 02:38, Igor Belogorodsky wrote: There are some question I'd like to ask 1. It's been announced that OpenOffice project was donated to Apache Software Foundation as incubator project. what does it exactly mean? will there be a new website and they said that they'll be moving the source code somewhere on the Apache side. does this mean there will be a new way of accessing the openoffice.org? Two questions, two answers: Yes. Yes. 2. I'm a seasonal programmer and I'd like to contribute. The documentation for getting the source and start programming is too much confusing. There are multiple applications with little documentation or too much written and nothing to the point. First of all, I have Windows system and don't have any other choice. Second, the documentation is written in genetic format, of variety of platforms at the same time and is very confusing. Are you referring to http://wiki.services.openoffice.org/wiki/Documentation/Building_Guide I don't think that this documentation is too much or not to the point. But I would be interested to see where it is can be improved. What I would like to see is something straight to the point: a. this is Windows, this is how you do it. b. this is Linix, this is how you do it etc. http://wiki.services.openoffice.org/wiki/Documentation/Building_Guide IMHO is exactly this. 3. I've installed the free software necessary to access the code and compile, debug etc. I is very difficult to configure. A lot of different pices working together. I downloaded MinGW, Mercurial, some other things. I don't know what to do with it. I spend hours just to figure something out. I don't think it's efficient enough. You don't need mingw, you should use Visual Studio. There is a free version (free as in free beer). The mingw build indeed is very slow and complicated. 4. anyway, what's happening to the project (question 1 again) I'd like to see better wiki and clearer documentation and better organized. Somebody has to do it. If you want to get better documentation, you are welcome to help. Please send suggestions for improvement. IMHO using the mailing list ooo-...@incubator.apache.org for this would be better, but we can do it here also if you prefer that. Best regards, Mathias -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re:
junk mail On 15 July 2011 16:08, Kevin Perez dragon32...@yahoo.com wrote: http://www.gransmoneystore.com/blog/wp-content/themes/camy.htm -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: Drawing Porblem about the OLE-Object (line, fill, shadow, ...)
thank u for your patient answer . It is helpful. BTW ,Li is my surname.Best regards,Merlin To: dev@openoffice.org From: armin.le.gr...@me.com Date: Wed, 13 Jul 2011 12:14:27 +0200 Subject: [dev] Re: Drawing Porblem about the OLE-Object (line, fill, shadow, ...) Hi Merlin (and limerlin, same person?), thanks for the bugdoc, I just confounded the state of the task (so many different ones :-)). Task http://openoffice.org/bugzilla/show_bug.cgi?id=67705 is the correct one to look at. bBehaveCompatibleToPaintVersion is there since I prepared the task's solution. It's currently true since after some discussion with ODF guys there was no way to detect if older ODF files were saved (as explained) with wrong attributes for fill and line attributes. So the current state is that everything is prepared in the code, but suppressed currently to stay compatible with old behaviour. As described in the task this will have to wait until ODF1.2 and a safe possibility to detect at load times if attributes for OLE SdrObjects need to be corrected. Thus, currently it is by purpose and line and fill style for OLEs is not supported. The bool is there to activate the enhancement easily when that distinction will be possible, so it's true to 'be compatible with the paint version' intentional. It's a static bool to be able to switch it for test purposes in debug code, this often comes handy when working on the code. When You would switch it to false it will work for your case, but all ODF files which were created (or will be as people use older OOo versions, too) will show OLEs filled with Blue7 and with black hairlines (what was the default), so this is no option. In your case it's a PPT import and it would be nice to switch on that feature early since the problem is not there in that case (no old ODF loaded). This would require to detect that the document in memory was a PPT import and no loaded ODF. This may be possible, but I would suggest to wait until the feature is completely finished with ODF1.2 at some time. Currently,fill and line style for OLEs is simply not supported, but prepared. Sorry, no solution currently. Ah, and the OLE content is shown in both cases, with true and false. I initially thought we might have a problem with missing OLE content, but this works for me. Am 13.07.2011 04:27, schrieb limerlin: hi ALG Thanks for your help. The bugdoc is in the annex. Best regards, Merlin To: dev@openoffice.org From: armin.le.gr...@me.com Date: Tue, 12 Jul 2011 16:52:33 +0200 Subject: [dev] Re: Drawing Porblem about the OLE-Object (line, fill, shadow, ...) Am 12.07.2011 08:23, schrieb limerlin: Hi When i opened a MS PowerPoint file with OpenOffice,the fillings and lines of OLE-Object's area does not display. Following is what I found after error checking: http://openoffice.org/bugzilla/show_bug.cgi?id=67705 then i read the source code and made following changes to see if it works. http://svn.services.openof fice.org/opengrok/xref/Current%20(trunk)/svx/source/sdr/primitive2d/sdrole2primitive2d.cxx http://svn.services.openoffice.org/opengrok/xref/Current%20(trunk)/svx/source/sdr/primitive2d/sdrole2primitive2d.cxx at line 86 86 //*static* *bool* bB ehaveCompatibleToPaintVersion http://svn.services.openoffice.org/opengrok/s?defs=bBehaveCompatibleToPaintVersionproject=/Current%20(trunk)(*true*);//delete bool bBehaveCompatibleToPaintVersion http://svn.services.openoffice.org/opengrok/s?defs=bBehaveCompatibleToPaintVersionproject=/Current%20(trunk) = false //add It work well! Hi limerli n, the static bool bBehaveCompatibleToPaintVersion is there to enable/disable adding graphical fill/line attributes if wanted. The background is that OLE SdrObjects in the old paint version (before changing to primitives) ignored the line and fill attributes which are commonly defined for all SdrObjects. Sice these were ignored at paint time but set in the ItemSet of the SdrObject (and saved in ODF over the UNO API) switching this on was critical for a period of time, especially for files saved before these attributes were corectly initialized for OLE SdrObjects. I'm not sure anymore when this was done, but you should not set it to false, this will ruin functionality. When e.g. you define a new OLE and use the fill/line attributes (also shadow), this will be ignored when switching the bool to false. As can be seen some lines after this: br // add graphic content appendPrimitive2DSequenceToPrimitive2DSequence(aRetval, getOLEContent()); the OLE graphic content is added after the line and fill primtives, so it should be painted above line and fill anyways. So: I cannot
[dev] Re: Drawing Porblem about the OLE-Object (line, fill, shadow, ...)
Hi Merlin (and limerlin, same person?), thanks for the bugdoc, I just confounded the state of the task (so many different ones :-)). Task http://openoffice.org/bugzilla/show_bug.cgi?id=67705 is the correct one to look at. bBehaveCompatibleToPaintVersion is there since I prepared the task's solution. It's currently true since after some discussion with ODF guys there was no way to detect if older ODF files were saved (as explained) with wrong attributes for fill and line attributes. So the current state is that everything is prepared in the code, but suppressed currently to stay compatible with old behaviour. As described in the task this will have to wait until ODF1.2 and a safe possibility to detect at load times if attributes for OLE SdrObjects need to be corrected. Thus, currently it is by purpose and line and fill style for OLEs is not supported. The bool is there to activate the enhancement easily when that distinction will be possible, so it's true to 'be compatible with the paint version' intentional. It's a static bool to be able to switch it for test purposes in debug code, this often comes handy when working on the code. When You would switch it to false it will work for your case, but all ODF files which were created (or will be as people use older OOo versions, too) will show OLEs filled with Blue7 and with black hairlines (what was the default), so this is no option. In your case it's a PPT import and it would be nice to switch on that feature early since the problem is not there in that case (no old ODF loaded). This would require to detect that the document in memory was a PPT import and no loaded ODF. This may be possible, but I would suggest to wait until the feature is completely finished with ODF1.2 at some time. Currently,fill and line style for OLEs is simply not supported, but prepared. Sorry, no solution currently. Ah, and the OLE content is shown in both cases, with true and false. I initially thought we might have a problem with missing OLE content, but this works for me. Am 13.07.2011 04:27, schrieb limerlin: hi ALG Thanks for your help. The bugdoc is in the annex. Best regards, Merlin To: dev@openoffice.org From: armin.le.gr...@me.com Date: Tue, 12 Jul 2011 16:52:33 +0200 Subject: [dev] Re: Drawing Porblem about the OLE-Object (line, fill, shadow, ...) Am 12.07.2011 08:23, schrieb limerlin: Hi When i opened a MS PowerPoint file with OpenOffice,the fillings and lines of OLE-Object's area does not display. Following is what I found after error checking: http://openoffice.org/bugzilla/show_bug.cgi?id=67705 then i read the source code and made following changes to see if it works. http://svn.services.openof fice.org/opengrok/xref/Current%20(trunk)/svx/source/sdr/primitive2d/sdrole2primitive2d.cxx http://svn.services.openoffice.org/opengrok/xref/Current%20(trunk)/svx/source/sdr/primitive2d/sdrole2primitive2d.cxx at line 86 86 //*static* *bool* bB ehaveCompatibleToPaintVersion http://svn.services.openoffice.org/opengrok/s?defs=bBehaveCompatibleToPaintVersionproject=/Current%20(trunk)(*true*);//delete bool bBehaveCompatibleToPaintVersion http://svn.services.openoffice.org/opengrok/s?defs=bBehaveCompatibleToPaintVersionproject=/Current%20(trunk) = false //add It work well! Hi limerli n, the static bool bBehaveCompatibleToPaintVersion is there to enable/disable adding graphical fill/line attributes if wanted. The background is that OLE SdrObjects in the old paint version (before changing to primitives) ignored the line and fill attributes which are commonly defined for all SdrObjects. Sice these were ignored at paint time but set in the ItemSet of the SdrObject (and saved in ODF over the UNO API) switching this on was critical for a period of time, especially for files saved before these attributes were corectly initialized for OLE SdrObjects. I'm not sure anymore when this was done, but you should not set it to false, this will ruin functionality. When e.g. you define a new OLE and use the fill/line attributes (also shadow), this will be ignored when switching the bool to false. As can be seen some lines after this: br // add graphic content appendPrimitive2DSequenceToPrimitive2DSequence(aRetval, getOLEContent()); the OLE graphic content is added after the line and fill primtives, so it should be painted above line and fill anyways. So: I cannot explain why the content is missing when you switch the bool, but it is wrong to do so. It will ruin used functionality. I would try to go in the direction to find out if getOLEContent() is empty in your case and why. Is the bugdoc available somewhere? I would like to take a look... Regards, Armin How ever the limited knowledge of openoffice confused me
[dev] Re: Drawing Porblem about the OLE-Object (line, fill, shadow, ...)
Am 12.07.2011 08:23, schrieb limerlin: Hi When i opened a MS PowerPoint file with OpenOffice,the fillings and lines of OLE-Object's area does not display. Following is what I found after error checking: http://openoffice.org/bugzilla/show_bug.cgi?id=67705 then i read the source code and made following changes to see if it works. http://svn.services.openof fice.org/opengrok/xref/Current%20(trunk)/svx/source/sdr/primitive2d/sdrole2primitive2d.cxx http://svn.services.openoffice.org/opengrok/xref/Current%20(trunk)/svx/source/sdr/primitive2d/sdrole2primitive2d.cxx at line 86 86 //*static* *bool* bB ehaveCompatibleToPaintVersion http://svn.services.openoffice.org/opengrok/s?defs=bBehaveCompatibleToPaintVersionproject=/Current%20(trunk)(*true*);//delete bool bBehaveCompatibleToPaintVersion http://svn.services.openoffice.org/opengrok/s?defs=bBehaveCompatibleToPaintVersionproject=/Current%20(trunk) = false //add It work well! Hi limerlin, the static bool bBehaveCompatibleToPaintVersion is there to enable/disable adding graphical fill/line attributes if wanted. The background is that OLE SdrObjects in the old paint version (before changing to primitives) ignored the line and fill attributes which are commonly defined for all SdrObjects. Sice these were ignored at paint time but set in the ItemSet of the SdrObject (and saved in ODF over the UNO API) switching this on was critical for a period of time, especially for files saved before these attributes were corectly initialized for OLE SdrObjects. I'm not sure anymore when this was done, but you should not set it to false, this will ruin functionality. When e.g. you define a new OLE and use the fill/line attributes (also shadow), this will be ignored when switching the bool to false. As can be seen some lines after this: // add graphic content appendPrimitive2DSequenceToPrimitive2DSequence(aRetval, getOLEContent()); the OLE graphic content is added after the line and fill primtives, so it should be painted above line and fill anyways. So: I cannot explain why the content is missing when you switch the bool, but it is wrong to do so. It will ruin used functionality. I would try to go in the direction to find out if getOLEContent() is empty in your case and why. Is the bugdoc available somewhere? I would like to take a look... Regards, Armin How ever the limited knowledge of openoffice confused me that i dont know is it approiate to make those changes. Anyone can help me ? -- Best regards, Merlin -- ALG -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: Delete table in cursor position
On 07/09/2011 01:52 AM, Shameera Rathnayaka wrote: hi dev, This is my problem i could delete all table in doc , but how can i delete table in cursor position which i dont know the name and index of that table. I believe that the view cursor has a text table property that you can check to see if the cursor is in a text table. This is how I do it in Basic Dim oVC : oVC = ThisComponent.getCurrentController().getViewCursor() If Not IsNull(oVC.TextTable) Then Print In TextTable oVC.TextTable.Name End If here my code to delete all table in textRange but it delete all table in my doc, if you know please give me a help or point out some helpful links XTextTable table=null; XText text = xTextDocument.getText(); XTextRange textRange= text.getStart(); XEnumerationAccess xParaAccess = (XEnumerationAccess) UnoRuntime.queryInterface(XEnumerationAccess.class, textRange.getText()); XEnumeration xParaEnum = xParaAccess.createEnumeration(); while (xParaEnum.hasMoreElements()) { try { Object objElement = xParaEnum.nextElement(); XServiceInfo xInfo = (XServiceInfo) UnoRuntime.queryInterface(XServiceInfo.class, objElement); if (xInfo.supportsService(com.sun.star.text.TextTable)) { table = (XTextTable) UnoRuntime.queryInterface( XTextTable.class,objElement); table.dispose(); } } catch (com.sun.star.container.NoSuchElementException ex) { java.util.logging.Logger.getLogger(TableOparater.class.getName()).log(Level.SEVERE, null, ex); } catch (WrappedTargetException ex) { java.util.logging.Logger.getLogger(TableOparater.class.getName()).log(Level.SEVERE, null, ex); } } *thanks * -- Shameera Rathnayaka Undergraduate Department of Computer Science and Engineering University of Moratuwa. Sri Lanka. T.P. 0719221454 -- Andrew Pitonyak My Macro Document: http://www.pitonyak.org/AndrewMacro.odt Info: http://www.pitonyak.org/oo.php -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: Delete table in cursor position
You should reply to the list, not to me directly. I did look at this, and there are problems with any solution that I tried. For example, first, I tried walking the text table anchor, but I repeatedly crashed LO when I tried that. I also found that performing a few sneaky things (such as looking at the anchor's text object and then creating a cursor at that text object failed when I had a cell that contained ONLY a text table (because creating a cursor in that cell did not leave any place for that cursor to be except for in the containing text table). Next, I tried another sneaky thing such as simply disposing the text table and then checking to see if the view cursor was still in a text table. it looks like that approach may work, but I did not pursue it past a few very basic tests. sub MainTable Dim oTable Dim oVC Dim sName$ ovc = ThisComponent.getCurrentController().getViewCursor() Do While NOT IsNull (ovc.TextTable) AND NOT IsEmpty(ovc.TextTable) oTable = ovc.TextTable sName = oTable.Name oTable.dispose() 'Print removed sName Loop End Sub On 07/10/2011 11:25 AM, Shameera Rathnayaka wrote: thanks Andrew, this is the code in java its worked // get text view cursor from the text document XController xController = xTextDocument.getCurrentController(); XTextViewCursorSupplier xCursorSup = (XTextViewCursorSupplier) UnoRuntime.queryInterface(XTextViewCursorSupplier.class, xController); XTextViewCursor xViewCursor = xCursorSup.getViewCursor(); XPropertySet xCursorPropertySet = (XPropertySet) UnoRuntime.queryInterface(XPropertySet.class, xViewCursor); Object tab = xCursorPropertySet.getPropertyValue(TextTable); XTextTable table = (XTextTable) UnoRuntime.queryInterface(XTextTable.class, tab); table.dispose(); // delete the table and now i want to duplicate the complex table, complex table mean it has several tables inside it, even if the cursor inside the one of it's child table, i want to duplicate the full complex table. for this i want to select most outer table. can anybody help me with this *Thanks* On Sun, Jul 10, 2011 at 7:28 PM, Andrew Douglas Pitonyak and...@pitonyak.org mailto:and...@pitonyak.org wrote: On 07/09/2011 01:52 AM, Shameera Rathnayaka wrote: hi dev, This is my problem i could delete all table in doc , but how can i delete table in cursor position which i dont know the name and index of that table. I believe that the view cursor has a text table property that you can check to see if the cursor is in a text table. This is how I do it in Basic Dim oVC : oVC = ThisComponent.getCurrentController().getViewCursor() If Not IsNull(oVC.TextTable) Then Print In TextTable oVC.TextTable.Name http://oVC.TextTable.Name End If here my code to delete all table in textRange but it delete all table in my doc, if you know please give me a help or point out some helpful links XTextTable table=null; XText text = xTextDocument.getText(); XTextRange textRange= text.getStart(); XEnumerationAccess xParaAccess = (XEnumerationAccess) UnoRuntime.queryInterface(XEnumerationAccess.class, textRange.getText()); XEnumeration xParaEnum = xParaAccess.createEnumeration(); while (xParaEnum.hasMoreElements()) { try { Object objElement = xParaEnum.nextElement(); XServiceInfo xInfo = (XServiceInfo) UnoRuntime.queryInterface(XServiceInfo.class, objElement); if (xInfo.supportsService(com.sun.star.text.TextTable)) { table = (XTextTable) UnoRuntime.queryInterface( XTextTable.class,objElement); table.dispose(); } } catch (com.sun.star.container.NoSuchElementException ex) { java.util.logging.Logger.getLogger(TableOparater.class.getName()).log(Level.SEVERE, null, ex); } catch (WrappedTargetException ex) { java.util.logging.Logger.getLogger(TableOparater.class.getName()).log(Level.SEVERE, null, ex); } } *thanks * -- Shameera Rathnayaka Undergraduate Department of Computer Science and Engineering University of Moratuwa. Sri Lanka. T.P. 0719221454 -- Andrew Pitonyak My Macro Document:http://www.pitonyak.org/AndrewMacro.odt Info:http://www.pitonyak.org/oo.php -- Shameera Rathnayaka Undergraduate Department of Computer Science and Engineering University of Moratuwa. Sri Lanka. T.P. 0719221454 -- Andrew Pitonyak My Macro Document: http://www.pitonyak.org/AndrewMacro.odt Info: http://www.pitonyak.org/oo.php -- - To
[dev] Re: Dictionaries
Thank you, Mathias! But I use PKG_FORMAT=installed now. If I install dict_ru.oxt from Extensions Manager then Russian spell checking is not available. OO Writer don't underline wrong russian words. On 07.07.2011 09:49, Dmitry A. Ashkadov wrote: Hello! I added option --with-dict=ENUS,RURU, but the OpenOffice was built with all english, french, spanish dictionaries, but without russian dictionary. I don't understand how I can build OOo with only english and russian languages. Do You know? I never heard of that --with-dict option and I doubt that it ever worked as you expected. The list of dictionaries that is put into an installation set is hard coded and only depends on the locale of the installation set. By default you are creating an en-US version, and this contains the dictionaries you have named. Nevertheless we always buid all dictionary extensions for all languages, so you could just grab the dict_ru.oxt from the solver and install it. If you want to create your own build with a russion dictionary, you can change the list of dictionaries associated to a certain locale. The file is setup_native/source/packinfo/spellchecker_selection.txt Regards, Mathias -- Best regards, Dmitry -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help attachment: dmitry_ashkadov.vcf
[dev] Re: OpenOffice.org for Mac on our covermount cd-rom?
Hi Dana, you are free to distribute as long as you comply with the current license which is LGPL. This list is more target for development topics. We do have a project for general distribution at http://distribution.openoffice.org with more information of different type of third party distribution of the suite. Regards. On Wed, Jul 6, 2011 at 8:48 AM, Dana Molenberghs dana.molenber...@minoc.com wrote: Hello, I'm Dana Molenberghs, Marketing Assistant of Belgium's leading computer consumer magazines Clickx and PC Magazine. We are including a free covermount cd with our Clickx n° 241 (August 30th 2011), and we would like to include *OpenOffice.org for Mac** ** *on that cd. Can you please tell us asap if we can have your permission to do so? Please visit our website www.clickx.behttp://../%23%20179%20+%20cd%20n%C2%B0%2054/www.clickxmagazine.be for information on our magazine. The download link to our mediakit is http://newsletter.minoc.com/sales/2011/Minoc_Mediakit_2011_Magazines_UK.pdf - it will give you an idea of our company and portfolio. Hope to hear from you soon, Please forward my e-mail to the correct person, if this request is misplaced at this e-mail address. Thank you Kind regards Dana Molenberghs Marketing Assistant d...@minoc.com Minoc Business Press NV | Parklaan 22 bus 10 | 2300 Turnhout *Leveringen:* Hertenstraat 56 poort 10 | 2300 Turnhout Clickx | FWD Magazine | Shoot | PC Magazine | Smart Business Strategies | Business Meets IT | Target Media | ZDNet | ITProfessional.be | ITReseller.be | [image: logobalk] -- *Alexandro Colorado* *OpenOffice.org* Español http://es.openoffice.org -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: OpenOffice 3.2.1 - How to disable the file locking?
Maybe this will help http://openoffice.org/bugzilla/show_bug.cgi?id=100123 On 20 May 2011 07:44, Ilhan Türe itu...@plate.de wrote: Dear Sirs We are using a filecluster and the cluster managing suite is controls the locking mechanism of all content files. So, is it possible to disable the file locking in openoffice 3.2.1? The following snippets in the starting-script soffice does not works. ... no) SAL_ENABLE_FILE_LOCKING=0 - export SAL_ENABLE_FILE_LOCKING + unset SAL_ENABLE_FILE_LOCKING + #export SAL_ENABLE_FILE_LOCKING esac fi Best regards, Ilhan Türe - Head of IT- Mit freundlichen Grüßen Ilhan Türe IT-Leiter PLATE Büromaterial Vertriebs GmbH Telefon: +49 (0)4298 / 401-240 Telefax: +49 (0)4298 / 401-320 PLATE Büromaterial Vertriebs GmbH Hilligenwarf 5 28865 Lilienthal Geschäftsführer: Dieter Schmidt, Ingo Schmidt, Iris Müller Gerichtsstand Osterholz-Scharmbeck Handelsregister Walsrode HRB 121896 USt-IdNr.: DE 116259137 - Steuer-Nr. 36/201/06470 -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help -- Knut Olav Bøhmer -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: help with filters in format convertion
very sorry to bother you, i just get no other ways. hope you have a good day. 2011-06-27 王磊 / Lei Wang完美世界(北京)网络技术有限公司 Beijing Perfect World Network Technology Co., Ltd. 地址:北京市朝阳区北苑路86号院 306号楼(100101) Addr:Building 306, #86 Beiyuan Road, Chaoyang District, Beijing 100101, China 信息部 / 邮件开发工程师 电话:(8610)58858555-1000 手机:15810028663 传真:(8610)58858555 邮箱:wanglei100...@wanmei.com www.wanmei.comCopyright@ 2004-2009 Perfect World Co.,Ltd.All rights reserved. 发件人: Eike Rathke 发送时间: 2011-06-27 18:13:50 收件人: dev 抄送: wanglei 主题: Re: [dev] help with filters in format convertion Hi wanglei, On Monday, 2011-06-27 15:48:33 +0800, wanglei wrote: i work for a mailing service provider, and right now i'm making a format converting tool, which can convert pdf doc[x] ppt[x] xls[x] to html Have a look at the JODConverter http://www.artofsolving.com/opensource/jodconverter I think that does already what you want to achieve. Eike P.S.: As you're not subscribed to the mailing list you were posting to, you will miss replies that are directed to the list only. When answering, please reply only to the list (Reply-To header is set), not to my personal account. Thanks. -- PGP/OpenPGP/GnuPG encrypted mail preferred in all private communication. Key ID: 0x293C05FD - 997A 4C60 CE41 0149 0DB3 9E96 2F1A D073 293C 05FD -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAk4IV94ACgkQFbLmO4lpmVqPpwCfXw17tBOaM3gOJV13w1oH5u74 TyUAn1pxRfIwuyAdrqw2s2YXs9+0veQM =wRgP -END PGP SIGNATURE- -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: help with filters in format convertion
Hi Wanglei, On 24.06.2011 04:04, wanglei wrote: hi, all. i found your email addresses on the wiki of openoffice documentation project, and now trying to get some help from you guys. i work for a mailing service provider, and right now i'm making a format converting tool, which can convert pdf doc[x] ppt[x] xls[x] to html, so that attachments in those formats could be viewed online, regardless of the user's envirenment. i can convert doc[x] and xls[x] to html now, but found some trouble with the ppt[x] and pdf. my code is like the following(based on the code found on the wiki and sdk examples). when converting ppt and pdf, there is always an error, but get no message information. the output would be like: [root@M5 CppBinding]# make clean; make ; make office_connect.run cd /root/unoout/openoffice.org3.1_sdk/LINUXexample.out/bin office_connect Connected sucessfully to the office XComponentloader successfully instanciated xcomponent load ok XStorable successfully instanciated start to save file readonly:0 haslocation:1 found a error An error occurred: make: *** [office_connect.run] Error 1 questions: 1.is this caused by chosing the wrong export filter type? 2.what filter type should i use to export html from ppt[x] and pdf? For ppt(x) the recommended filter name is impress_html_Export. For pdf the it should be draw_html_Export, as AFAIK pdf are imported into Draw. 3.no import filter type is specified, but it worked with doc[x] and xls[x], is this ok? should i specify one anyway? If it works, it's OK. :-) 4.and how can i make sure the file is of doc format? eg i change whatever a file's name into *.doc on purpose and use this tool to convert it to html, this surely will cause some problem, right? can i determine whether the file to be imported is of the specified format or what format is the file to be imported is of? how could i do this? *i know i asked a lot of questions, this might take you some time to answer, i'm very sorry to bother you guys, but i can not find another way to solve this problem. best wishes for you all, looking forward to your replies or please forward this mail to someone who can help. You can check the document type after import. The component you receive supports XServiceInfo with the method supportsService. The service names of the documents (like com.sun.star.text.TextDocument etc.) are documented in the Developers Guide. So you can choose the HTML export filter name depending on the type of the imported document. Regards, Mathias -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: help with filters in format convertion
Hi wanglei, On Monday, 2011-06-27 15:48:33 +0800, wanglei wrote: i work for a mailing service provider, and right now i'm making a format converting tool, which can convert pdf doc[x] ppt[x] xls[x] to html Have a look at the JODConverter http://www.artofsolving.com/opensource/jodconverter I think that does already what you want to achieve. Eike P.S.: As you're not subscribed to the mailing list you were posting to, you will miss replies that are directed to the list only. When answering, please reply only to the list (Reply-To header is set), not to my personal account. Thanks. -- PGP/OpenPGP/GnuPG encrypted mail preferred in all private communication. Key ID: 0x293C05FD - 997A 4C60 CE41 0149 0DB3 9E96 2F1A D073 293C 05FD pgpMkpUryPj5y.pgp Description: PGP signature
[dev] Re: help with filters in format convertion
On Mon, Jun 27, 2011 at 5:13 AM, Eike Rathke o...@erack.de wrote: Hi wanglei, On Monday, 2011-06-27 15:48:33 +0800, wanglei wrote: i work for a mailing service provider, and right now i'm making a format converting tool, which can convert pdf doc[x] ppt[x] xls[x] to html Have a look at the JODConverter http://www.artofsolving.com/opensource/jodconverter I think that does already what you want to achieve. Eike P.S.: As you're not subscribed to the mailing list you were posting to, you will miss replies that are directed to the list only. When answering, please reply only to the list (Reply-To header is set), not to my personal account. Thanks. -- PGP/OpenPGP/GnuPG encrypted mail preferred in all private communication. Key ID: 0x293C05FD - 997A 4C60 CE41 0149 0DB3 9E96 2F1A D073 293C 05FD There is also oooconv a development by Laurent which runs on a server and uses PHP and custom macros in OOo to do exactly that. The code is published on the site: http://oooconv.free.fr/oooconv/oooconv_en.html -- *Alexandro Colorado* *OpenOffice.org* Español http://es.openoffice.org -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: OpenOffice sourse code
On Sat, Jun 25, 2011 at 10:00 AM, Mohammad Khaleel Abed AlHameed AlHareedi 200820...@aust.ae wrote: Hi I'm a computer Engineering student, I would like to build a cloud computing OpenOffice version and connect some mail box with it and a cloud hard disk. so it can help employees to edit,save and share there document in the cloud. can you help me please. I need some information on how to start and how to make a cloud OpenOffice version on the web. Thank you very much Not a trvial job since OOo has more than 9 million of lines of codehttp://www.openoffice.org/FAQs/build_faq.html#source. But you will find most of the information here: http://wiki.services.openoffice.org/wiki/Development#Getting_started_with_OOo_development -- *Alexandro Colorado* *OpenOffice.org* Español http://es.openoffice.org -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: OpenOffice sourse code
Hi, It could be easy to implement your desire as you might guess, I think. The key module would be vcl in the source code of OpenOffice.org. outdev.hxx defines the OS independent interface of virtual devices such as OS dependent real display devices, printer, PDF exporter, and so on. The upper applications such as Writer, Calc, and Impress work with the virtual devices through the interface. http://hg.services.openoffice.org/OOO330/file/OOO330_m20/vcl/inc/vcl/outdev.hxx http://hg.services.openoffice.org/OOO330/file/OOO330_m20/vcl/source/gdi outdev?.cxx To build your own cloud version of OpenOffice.org, you could add a new virtual device that serves your remote users. E.g. the virtual device could be a hand-made web server that translates GET and PUT requests from the client side into key/mouse events and drawing actions for the upper applications. IMHO, if I were you, I would not use any web protocol to realize it. Because it might require thousands of lines of JavaScript as AJAX in the client side. Despite the efforts, its quality might be poorer than a real OpenOffice.org. So, how? The virtual device would draw texts and shapes on the internal bitmap virtual display first and then send the changes of bitmap via well-known VNC server protocol or video streaming protocol to the client side. The idea comes from my situation where a VNC server is located in my SOHO in Japan and I travel to the US, Germany, Italy, China, ... Wherever I were, the view of OpenOffice.org running on a virtual machine can be projected on my laptop through VNC viewer. Before leaving the US I leave a document of OpenOffice.org open and close the VNC connection. After arriving at a hotel in Germany I can work with the document without any interruption. For me, that is the cloud. Anyway, I believe you can do it! :-) Serving several users concurrently for a single document might be much more challenging and attractive. Source files of OpenOffice.org 3.3.0 http://download.services.openoffice.org/files/stable/3.3.0/ Get files OOo_3.3.0_src_xxx.tar.bz2 and extract them. And then follow Alexandro's suggestion: On 2011/06/26 2:31, Alexandro Colorado wrote: Not a trvial job since OOo has more than 9 million of lines of code http://www.openoffice.org/FAQs/build_faq.html#source. But you will find most of the information here: http://wiki.services.openoffice.org/wiki/Development#Getting_started_with_OOo_development There might be much more cool, pragmatic ways. Anyone, any suggestions? Best regards, Tora -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: Implementation of Row Exchange Button in Calc
Am 17.06.2011 17:38, tora - Takamichi Akiyama wrote: On 2011/06/17 16:38, Martin Hediger wrote: Its true, i havent thought of the implications of what it means to switch rows. Should references pointing to cell A1 remain pointing to A1, when the content of A1 is traded for the content of B1? What should the references follow? But apart from that, the way to exchange two rows is I believe indeed achieved most easily by a combination of the insert_row(), move_row(), delete_row() methods. If you want to swap the contents of two rows or columns but you do not want to change their references, it might be a set of 1. insert_row as a temporal space, 2. COPY_row 1 to the temporal space, 3. COPY_row from 2 to 1, 4. COPY_row from the temporal row to 2, 5. and delete_row the temporal space. Select the cell range, row or column. Drag the cell selection (not the column/row header). Hold the Alt key before you drop. -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: Implementation of Row Exchange Button in Calc
Its true, i havent thought of the implications of what it means to switch rows. Should references pointing to cell A1 remain pointing to A1, when the content of A1 is traded for the content of B1? What should the references follow? But apart from that, the way to exchange two rows is I believe indeed achieved most easily by a combination of the insert_row(), move_row(), delete_row() methods. Doing this in Python would be a nice exercise. Thanks again for the feedback. On 16.06.11 14:16, tora - Takamichi Akiyama wrote: Here is what I wrote a few years ago to move column C to the location of A, as Niklas suggests. :-) Sub Main oSheet = ThisComponent.getCurrentController().getActiveSheet() Move_Column(oSheet, C, A) End Sub Sub Move_Column(oSheet, sFrom, sTo) cFrom = oSheet.getColumns().getByName(sFrom) cTo = oSheet.getColumns().getByName(sTo) oSheet.getColumns.insertByIndex(cTo.getRangeAddress().StartColumn, 1) iToBeRemoved = cFrom.getRangeAddress().StartColumn cTo = oSheet.getColumns().getByName(sTo) oSheet.moveRange(cTo.getCellByPosition(0, 0).getCellAddress(), cFrom.getRangeAddress()) oSheet.getColumns.removeByIndex(iToBeRemoved, 1) End Sub That is for a single column, but could be enhanced to deal with multiple columns and rows. Anyone who are interested in writing code for the following behavior? 1. choose a certain cell or cells. 2. Ctrl-Alt-Arrow Key (up, down, left, or right) 3. the the column(s) or row(s) that accommodates the selected cells goes around as directed by the arrow key. That could be similar behavior as Writer does with Ctrl-Alt-Up or Down arrow key to move the paragraph up or down as if the paragraph is freely swimming on the document. Thanks in advance, Tora On 2011/06/16 17:55, Martin Hediger wrote: Thanks for the feedback, indeed it makes intuitively sense to check out that part of the API. The simplest way of defining the rows to exchange (that I can think of right now) would be to just to select two rows in the spreadsheet. If more or less than two rows are selected, this would cause an exception. Martin On 16.06.11 10:42, Niklas Nebel wrote: On 15.06.2011 23:19, Martin Hediger wrote: I was thinking, would it be possible to implement some kind of row-row exchange button in Calc? Of course, the same could apply to column-column exchange. It depends on the desired behavior of that button. Probably it can be a combination of insert rows, move cells and delete rows. These are all available via API, so it can be implemented as an extension. How do you want to select the rows to exchange? Anyway, would be cool if someone could point me out to some part of the code where one might start looking at this. See http://wiki.services.openoffice.org/wiki/Extensions_development for general information about extension development. Niklas -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: Implementation of Row Exchange Button in Calc
Hi Oliver, On 2011/06/17 1:12, Oliver Brinzing wrote: Quickly move Rows and columns like in Writer http://openoffice.org/bugzilla/show_bug.cgi?id=40285 have a look at the attached example ;-) Thanks! That is what I thought. And now, I also have written a similar one. ;-) https://bitbucket.org/tora/calc-move-selected-cells/src/tip/src/calc-move-selected-cells.bas.txt Best regards, Tora -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: Implementation of Row Exchange Button in Calc
Oops, there was a typo bug. Now fixed: https://bitbucket.org/tora/calc-move-selected-cells Best, Tora On 2011/06/17 23:40, tora - Takamichi Akiyama wrote: Hi Oliver, On 2011/06/17 1:12, Oliver Brinzing wrote: Quickly move Rows and columns like in Writer http://openoffice.org/bugzilla/show_bug.cgi?id=40285 have a look at the attached example ;-) Thanks! That is what I thought. And now, I also have written a similar one. ;-) https://bitbucket.org/tora/calc-move-selected-cells/src/tip/src/calc-move-selected-cells.bas.txt Best regards, Tora -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: Implementation of Row Exchange Button in Calc
On 2011/06/17 16:38, Martin Hediger wrote: Its true, i havent thought of the implications of what it means to switch rows. Should references pointing to cell A1 remain pointing to A1, when the content of A1 is traded for the content of B1? What should the references follow? But apart from that, the way to exchange two rows is I believe indeed achieved most easily by a combination of the insert_row(), move_row(), delete_row() methods. If you want to swap the contents of two rows or columns but you do not want to change their references, it might be a set of 1. insert_row as a temporal space, 2. COPY_row 1 to the temporal space, 3. COPY_row from 2 to 1, 4. COPY_row from the temporal row to 2, 5. and delete_row the temporal space. It might look like: int a = 1; int b = 2; int t; t = a; a = b; b = t; Best regards, Tora -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: Implementation of Row Exchange Button in Calc
On 15.06.2011 23:19, Martin Hediger wrote: I was thinking, would it be possible to implement some kind of row-row exchange button in Calc? Of course, the same could apply to column-column exchange. It depends on the desired behavior of that button. Probably it can be a combination of insert rows, move cells and delete rows. These are all available via API, so it can be implemented as an extension. How do you want to select the rows to exchange? Anyway, would be cool if someone could point me out to some part of the code where one might start looking at this. See http://wiki.services.openoffice.org/wiki/Extensions_development for general information about extension development. Niklas -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: Implementation of Row Exchange Button in Calc
Thanks for the feedback, indeed it makes intuitively sense to check out that part of the API. The simplest way of defining the rows to exchange (that I can think of right now) would be to just to select two rows in the spreadsheet. If more or less than two rows are selected, this would cause an exception. Martin On 16.06.11 10:42, Niklas Nebel wrote: On 15.06.2011 23:19, Martin Hediger wrote: I was thinking, would it be possible to implement some kind of row-row exchange button in Calc? Of course, the same could apply to column-column exchange. It depends on the desired behavior of that button. Probably it can be a combination of insert rows, move cells and delete rows. These are all available via API, so it can be implemented as an extension. How do you want to select the rows to exchange? Anyway, would be cool if someone could point me out to some part of the code where one might start looking at this. See http://wiki.services.openoffice.org/wiki/Extensions_development for general information about extension development. Niklas -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: Implementation of Row Exchange Button in Calc
Hi, maybe this can help: Quickly move Rows and columns like in Writer http://openoffice.org/bugzilla/show_bug.cgi?id=40285 have a look at the attached example ;-) Regards Oliver -- GnuPG key 0xCFD04A45: 8822 057F 4956 46D3 352C 1A06 4E2C AB40 CFD0 4A45 signature.asc Description: OpenPGP digital signature
[dev] Re: delvolper help?
Hi Oliver, since nobody els has answered, I'd like to offer some advice. If you're serious about learning to program, I suggest you start with something smaller than OpenOffice.org. OOo consists of millions of lines of C++ code, which is daunting even for a seasoned developer. If you want to learn C++, a good way is to google for C++ tutorials on the web or - if you have the money - to buy a beginner's book. Microsoft is offering the free Visual C++ Express Edition, which I consider a good choice for a beginner. You could also ask your school, if they have computer courses. Last but not least there are also a lot of computer programming summer camps. I hope this helps a little. If you have more questions, don't hesitate to ask. Greetings eymux On Sun, Jun 12, 2011 at 6:40 PM, grooby...@gmail.com wrote: Dear Sir/Madam I was hoping to be able to develop for OpenOffice, however I’m only 13 and my programing is experience is little, I can make a web browser in visual basic and that's about it. I was wondering if it would be possible to get my ideas through to you or if you could make a program to help me program for you. I hope you can help me. I look forward to your reply, Yours Faithfully Oliver Grooby -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: Replacing LGPL libraries: Use of lp_solve for Calc's linear solver
On 11.06.2011 17:55, Niklas Nebel wrote: On 11.06.2011 17:43, rony wrote: On 11.06.2011 17:36, Niklas Nebel wrote: Dependencies on LGPL libraries may soon become a problem. What would be the problem here? [Just curious why it was o.k. in the past, but may be a problem soon ?] http://www.apache.org/legal/3party.html Ah, I see! Thanks. ---rony -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: Replacing LGPL libraries: Use of lp_solve for Calc's linear solver
Hi Ariel, On 11.06.2011 20:26, Ariel Constenla-Haile wrote: Hello rony, On Saturday 11 June 2011, 12:43, rony wrote: Hi Niklas, On 11.06.2011 17:36, Niklas Nebel wrote: Dependencies on LGPL libraries may soon become a problem. What would be the problem here? Oh, haven't you been following the OOo Apache Incubator Proposal? http://wiki.apache.org/incubator/OpenOfficeProposal http://mail-archives.apache.org/mod_mbox/incubator-general/201106.mbox/thread (almost 1000 mails) The thing is that Apache only releases code under the AL. thank you very much, especially for the links ! [Just curious why it was o.k. in the past, but may be a problem soon ?] One such library is lp_solve, which is the basis of the OpenOffice.org Linear Solver in Calc. It would certainly be a nice twist of irony if the evil-grasping-Sun-solver Again, not sure what you mean with evil-grasping here? http://osdir.com/ml/gnome.ximian.openoffice/2008-04/msg00073.html Ah, I see! :) Again, thank you *very* much for the link! ---rony -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: Replacing LGPL libraries: Use of lp_solve for Calc's linear solver
Am 11.06.2011 20:26, schrieb Ariel Constenla-Haile: Hello rony, On Saturday 11 June 2011, 12:43, rony wrote: [...] [Just curious why it was o.k. in the past, but may be a problem soon ?] One such library is lp_solve, which is the basis of the OpenOffice.org Linear Solver in Calc. It would certainly be a nice twist of irony if the evil-grasping-Sun-solver Again, not sure what you mean with evil-grasping here? http://osdir.com/ml/gnome.ximian.openoffice/2008-04/msg00073.html It is called slapping the cow while drinking her milk :) -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: Replacing LGPL libraries: Use of lp_solve for Calc's linear solver
Hi Niklas, On 11.06.2011 17:36, Niklas Nebel wrote: Dependencies on LGPL libraries may soon become a problem. What would be the problem here? [Just curious why it was o.k. in the past, but may be a problem soon ?] One such library is lp_solve, which is the basis of the OpenOffice.org Linear Solver in Calc. It would certainly be a nice twist of irony if the evil-grasping-Sun-solver Again, not sure what you mean with evil-grasping here? Doesn't Oracle (Sun) hold the copyright and can issue a version with any license of their choice? became exclusive to LibreOffice, but I'll go ahead and spoil the fun: COIN-OR (www.coin-or.org) has a lot of OR code under the less-evil EPL or CPL licenses. Among it: Clp for linear programming, Cbc for integer conditions, and CoinMP, which wraps these in a single shared object with a C interface. I created issue 118160 and attached a simple proof-of-concept patch to use CoinMP instead of lp_solve. From some limited testing, this seems to work very well. Some changes will still be needed for building and packaging, and perhaps some tweaking of solver settings. But the patch shows that replacing lp_solve is clearly a (pardon the pun) solvable problem. Sounds promising, nevertheless. :) ---rony -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: Replacing LGPL libraries: Use of lp_solve for Calc's linear solver
On 11.06.2011 17:43, rony wrote: On 11.06.2011 17:36, Niklas Nebel wrote: Dependencies on LGPL libraries may soon become a problem. What would be the problem here? [Just curious why it was o.k. in the past, but may be a problem soon ?] http://www.apache.org/legal/3party.html It would certainly be a nice twist of irony if the evil-grasping-Sun-solver Again, not sure what you mean with evil-grasping here? Doesn't Oracle (Sun) hold the copyright and can issue a version with any license of their choice? It was called such by someone else, which is part of the irony of it. Niklas -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: Replacing LGPL libraries: Use of lp_solve for Calc's linear solver
Hello rony, On Saturday 11 June 2011, 12:43, rony wrote: Hi Niklas, On 11.06.2011 17:36, Niklas Nebel wrote: Dependencies on LGPL libraries may soon become a problem. What would be the problem here? Oh, haven't you been following the OOo Apache Incubator Proposal? http://wiki.apache.org/incubator/OpenOfficeProposal http://mail-archives.apache.org/mod_mbox/incubator-general/201106.mbox/thread (almost 1000 mails) The thing is that Apache only releases code under the AL. [Just curious why it was o.k. in the past, but may be a problem soon ?] One such library is lp_solve, which is the basis of the OpenOffice.org Linear Solver in Calc. It would certainly be a nice twist of irony if the evil-grasping-Sun-solver Again, not sure what you mean with evil-grasping here? http://osdir.com/ml/gnome.ximian.openoffice/2008-04/msg00073.html Regards -- Ariel Constenla-Haile La Plata, Argentina signature.asc Description: This is a digitally signed message part.
[dev] Re: Running OOo on Win7
Hi Dmitry, yes, path length is critical. In general it is recommended not to use e.g. the cygwin home folder (neither for building nor for running). Regards, Mathias On 09.06.2011 15:43, Dmitry A. Ashkadov wrote: I tried extract archive to home folder to reduce length of path, and the start office. It doesn't crash at startup now. So, the problem is a long paths. 09.06.2011 17:35, Mathias Bauer пишет: Hi Dmitry, yes, I successfully built on both code lines and the application worked fine. Admittedly builds on OOO340 and the latest milestones of DEV300 needed some patches, but not to run the built office, without the patched the build itself broke. Regards, Mathias On 09.06.2011 12:07, Dmitry A. Ashkadov wrote: Does the office start successful? My OOo build crashes at startup (DEV300 and OOO340) without any information about problem. Cygwin console is empty. 09.06.2011 13:44, Mathias Bauer пишет: On 09.06.2011 11:29, Dmitry A. Ashkadov wrote: Hello! Is here somebody who builds OOo on Windows 7? Yes, using Windows 7 and cygwin 1.7.7 Regards, Mathias -- Mathias Bauer (mba) - Project Lead OpenOffice.org Writer OpenOffice.org Engineering at Oracle: 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 send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: refactoring OUString
On Fri, Jun 10, 2011 at 6:51 AM, tora - Takamichi Akiyama t...@openoffice.org wrote: Sorry, this mail is too long... No problem, I'll briefly go through your five items one by one: 1. Delegation of the responsibility to choose a type of memory allocator To achieve both stability and performance at the same time, I would like to propose Don't do all of it in the SAL, rather Delegate certain responsibility to its users, i.e. programmers. Who knows the type of life time of data? SAL does? No. The programmers do. Do they? Theoretically, they do have the information available that is necessary to choose the most efficient approach that is still correct (depending on how early data can be destroyed again, whether it needs to be multi-thread safe or async safe, etc.). However, in practice, the necessary information is often so big that programmers will make mistakes, choosing approaches that are incorrect. If these are not caught at compile time, and lead to program failure, I think this is a problem (and history shows it to be a rather severe one). 2. Potential dead lock A code for crash reporter has a potential, dead lock problem. http://hg.services.openoffice.org/DEV300/file/tip/sal/osl/unx/backtrace.c Asynchronous-unsafe functions such as fprintf() are used in the context of signal handler. Consider this situation: 1. A Segment violation, aka SEGV occurs in malloc() or free() due to memory corruption. Such a function holds the global mutex lock. 2. The first call of fprintf(), it internally calls malloc() to obtain a memory area as a text buffer. Then a dead lock occurs. For that topic, I would be posing a question later. Yes, OOo's signal handler code is horribly broken. I do not know whether its original authors were unaware of the gross violations of correct programming that are taking place here, but general consensus appears to be that the code happens to work (by accident, I would say) most of the time, and sometimes just locks up even worse than the crash that caused the signal handler to be called in the first place. Anyway, this should be cleaned up one day (and is indeed a topic for a thread of its own). Please have a look at an additional code fragment in the destructor above: if ( Applicatoin::IsMemoryCheckRequested() ) for ( iterator m_vector ) // Turn them to be a trap alter_page_attribute( *it, NO_READ_ACCESS|NO_WRITE_ACCESS|NO_EXEC ); 1. soffice.bin is invoked with a new command line option such as -memorycheck 2. Applicatoin::IsMemoryCheckRequested() returns TRUE. 3. The memory pages being freed turns to be a trap. 4. A problematic code mistakenly attempts to read or write data in the already-freed-memory-area. 5. The trap sets off the alarm and an interruption is sent by the OS. 6. A signal handler in the SAL catches the interruption. 7. A crash report that reveals the exact location of the code is made. We have been cultivating thousands of test scenarios for more than a decade. Just leave the qatesttool running for a day and night with the option -memorycheck. 4. Utilizing the cutting-edge technology invented in the 21th century. solaris$ cat attempt-of-accessing-the-already-freed-memory-area.c #include stdlib.h int main() { char *p = (char *) malloc(10); free(p); *p = 1; return 0; } $ cc -g attempt-of-accessing-the-already-freed-memory-area.c $ LD_PRELOAD=watchmalloc.so.1 MALLOC_DEBUG=WATCH,RW ./a.out Trace/Breakpoint Trap (core dumped) $ dbx ./a.out core ... program terminated by signal TRAP (write access watchpoint trap) Current function is main 7 *p = 1; Is it easy enough? Both approaches above (Applicatoin::IsMemoryCheckRequested and watchmalloc) are good for debugging buggy software, but I do not think they are very good answers to the question: When designing classes like OUString etc., how should efficiency be balanced against safety and maintainability? I understand that you argue that efficiency should be a priority, and safety can be guaranteed (more or less thoroughly) by testing the code with the mechanisms outlined above. I rather argue that the abstractions available to the programmers should be as safe as possible (even if that costs some efficiency), as programmers will invariably make mistakes, so the potential for mistakes should be minimized. Testing code is all well and important (very much so!), but the tests cannot find all problems (let alone the fact that test coverage for OOo is still rather small). This is probably just another facet of the everlasting dispute between the dynamic and static typing camps. I confess I am sold on the benefits of type theory. 5. 99.9% use cases could be the default. [...] In the case above, i.e. in the typical, 99.9% code of OpenOffice.org, I don't think multithread awareness is required. Therefore, the current implementation taking care of multithread-safe, multicore-processor-awareness
[dev] Re: Running OOo on Win7
yes, path length is critical. In general it is recommended not to use e.g. the cygwin home folder (neither for building nor for running). Building Office from cygwin home folder fails now. I build office outside cygwin home directory but the path is too long to run office. I simply unzip Office to directory («C:\OOo») and it runs successful. -- Best regards, Dmitry -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: refactoring OUString
On 2011/06/08 0:22, Niklas Nebel wrote: Of course we should try to make more use of multiple threads. This isn't a new idea either, see http://wiki.services.openoffice.org/wiki/Calc/Performance/misc. Christian did some experiments with parallel loading a while ago (http://blogs.oracle.com/GullFOSS/entry/xml_performance_and_now_for). The results for Impress weren't spectacular, but Calc or Writer may be different. Yep! I am a multithread, data-driven programming lover, too. :-) On 07.06.2011 13:15, tora - Takamichi Akiyama wrote: 2) Slicing cheese and throwing them out at once For the internal tasks such as Save as and Export to we might get a big advantage. Such a task starts from the framework, calls thousands of methods, and finally leaves the only single value meaning a SUCCESS or FAILURE. No String instance involved during the task is needed to be persistent. On 2011/06/08 0:22, Niklas Nebel wrote: Right now, that isn't entirely true. For example, saving might need to calculate a formula, and the calculated result is then kept in the cell, in a string that continues to be referenced after saving. There might be similar cases elsewhere. These would probably have to be moved into a separate step before saving. Sounds a bit fragile, but then it could actually save a significant amount of time. That is why I would like to encourage programmers to take care of the life time of data. For instance, in the user scenario below, there might be (1) data lasting until the soffice.bin quits. (2) data lasting until a document is closed. (3) data lasting until a current thread ends. (4) data lasting until a certain task finishes. (5) data lasting until a current function call returns. 1. File - New - Spreadsheet 2. work on it and save it. 3. File - Close. In the step 1, construct an instance of memory allocator for (2). In the step 2, use it to allocate memory chunks lasting as long as the document is open. In the step 3, destroy the allocator to completely free the allocated memory. Lessons we might have learned: We can implement and utilize some purpose oriented memory allocators as well as the general, expensive one: malloc() and free(). Programmers may wisely choose what memory allocator is appropriate for questioned data. On the other hand, now might be a perfect time to discuss crazy ideas, without mundane details getting in the way. Aha! here is another crazy ideas :-) https://bitbucket.org/tora/ooo-idea-zstring/src memory_allocator_for_zstring.cxx shows an idea of reusable, cache, memory allocation mechanism for new String class. The key concept here is not to actually free the memory being freed, but to cache it for a later use. Reuse the most recently freed memory first so that the Translation Lookaside Buffer (TLB) achieves higher hit ratio. In contrast, if the oldest freed memory is used first, the entire system performance might suffer because the relevant entry is surely absent from the TLB and, moreover, the relevant memory page might have been swapped out to a disk device. vec.hxx implements a c++ template for cheaply expandable vector. test_vec.cxx demonstrates usage of vec.hxx Best regards, Tora -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: [l10n-dev] How to build OOo with additional localizations
Cross-posting to dev@openoffice.org and d...@l10n.openoffice.org Please follow up to d...@l10n.openoffice.org On 2011/06/09 16:25, Dmitry A. Ashkadov wrote: I have cloned repository DEV300. It doesn't contain localizations. For localizations there is another repository. How can I build OOo with localizations? Should I clone l18n repository to subdirectory l20n inside DEV300 repository? I would like to know about it, too! :-) Here is what I currently have: |-- DEV300_m106 -- http://hg.services.openoffice.org/DEV300 |-- ext_sources `-- l10n -- http://hg.services.openoffice.org/master_l10n/DEV300 |-- Repository.mk |-- RepositoryFixes.mk `-- l10n |-- localization_present.mk |-- prj |-- source |-- unxsoli4 `-- util symbolic link: DEV300_m106/l10n - ../l10n/l10n Best regards, Tora -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: refactoring OUString
On Thu, Jun 9, 2011 at 9:20 AM, tora - Takamichi Akiyama t...@openoffice.org wrote: That is why I would like to encourage programmers to take care of the life time of data. First of, I am doubtful that encouraging manual memory management is a good idea. Errors in manual memory management probably are the cause for the vast majority of severe failures in C/C++ programs. Hence, I would always try to abstract from actual memory as much as possible. (Performance considerations are of course valid, but they must be balanced against safety and maintainability considerations.) What you describe with Slicing cheese and throwing them out at once can be done, but I would not want to do it manually. There are systems more clever than C++, building on effect types and region-based memory management, that exploit such optimizations. But there, it is the language implementation---and not the programmer writing a program in that language---that carries out the proof that keeping data in a region of memory that is discarded wholesale at a certain point in time is sound. That said, it might work to map your various levels of data---from data lasting until the soffice.bin quits to data lasting until a current function call returns---to different C++ types with appropriate conversion functions that potentially need to copy data, to statically ensure sound memory access while on the one hand allowing to exploit optimized memory management strategies and on the other hand still being safe if data does escape from its anticipated level. Would be a nice experiment. -Stephan -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: [l10n-dev] How to build OOo with additional localizations
Hello tora, On Thursday 09 June 2011, 05:31:51, tora - Takamichi Akiyama wrote: Cross-posting to dev@openoffice.org and d...@l10n.openoffice.org Please follow up to d...@l10n.openoffice.org On 2011/06/09 16:25, Dmitry A. Ashkadov wrote: I have cloned repository DEV300. It doesn't contain localizations. For localizations there is another repository. How can I build OOo with localizations? Should I clone l18n repository to subdirectory l20n inside DEV300 repository? I would like to know about it, too! :-) Here is what I currently have: |-- DEV300_m106 -- http://hg.services.openoffice.org/DEV300 |-- ext_sources `-- l10n -- http://hg.services.openoffice.org/master_l10n/DEV300 |-- Repository.mk |-- RepositoryFixes.mk `-- l10n |-- localization_present.mk |-- prj |-- source |-- unxsoli4 `-- util symbolic link: DEV300_m106/l10n - ../l10n/l10n Best regards, Tora I used the following mail to build with localization: http://openoffice.org/projects/www/lists/dev/archive/2011-03/message/4 [I guess this should be copied somewhere in the building guide on the wiki] See also: http://wiki.services.openoffice.org/wiki/Source_config Regards -- Ariel Constenla-Haile La Plata, Argentina signature.asc Description: This is a digitally signed message part.
[dev] Re: [l10n-dev] How to build OOo with additional localizations
Hi Ariel, On 2011/06/09 16:25, Dmitry A. Ashkadov wrote: I have cloned repository DEV300. It doesn't contain localizations. For localizations there is another repository. How can I build OOo with localizations? Should I clone l18n repository to subdirectory l20n inside DEV300 repository? On 2011/06/09 18:13, Ariel Constenla-Haile wrote: I used the following mail to build with localization: http://openoffice.org/projects/www/lists/dev/archive/2011-03/message/4 [I guess this should be copied somewhere in the building guide on the wiki] See also: http://wiki.services.openoffice.org/wiki/Source_config Informative!!! Thanks a lot. Tora smime.p7s Description: S/MIME Cryptographic Signature
[dev] Re: Build DEV300_m106 on Linux breaks in module vcl
On Tue, May 31, 2011 at 2:26 PM, Simon Wilper p9w.vu.31122...@gmx.dewrote: syschild.cxx makes use of jvmaccess::VirtualMachine and ImplTestJavaException in GetParentWindowHandle. But actually it should work --without-java since the code passages in question are surrounded by #ifdef SOLAR_JAVA. Maybe I have a look at this when I find the time for it. Turns out this is caused by changing vcl from the old (solenv/inc based) build system to the new (solenv/gbuild based) one in one of the most recent DEV300_m10X versions. While solenv/inc/*.mk take care to pass -DSOLAR_JAVA to C/C++ compilers only when appropriate, solenv/gbuild/gbuild.mk bluntly always includes it in its gb_GLOBALDEFS. diff --git a/solenv/gbuild/gbuild.mk b/solenv/gbuild/gbuild.mk --- a/solenv/gbuild/gbuild.mk +++ b/solenv/gbuild/gbuild.mk @@ -147,7 +147,6 @@ -DENABLE_LAYOUT_EXPERIMENTAL=0 \ -DENABLE_LAYOUT=0 \ -DOSL_DEBUG_LEVEL=$(gb_DEBUGLEVEL) \ - -DSOLAR_JAVA \ -DSTLPORT_VERSION=$(STLPORT_VER) \ -DSUPD=$(UPD) \ -DVCL \ @@ -179,6 +178,10 @@ endif +ifeq ($(SOLAR_JAVA),TRUE) +gb_GLOBALDEFS += -DSOLAR_JAVA +endif + ifneq ($(strip $(ENABLE_GTK)),) gb_GLOBALDEFS += -DENABLE_GTK endif should fix that. -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: Running OOo on Win7
On 09.06.2011 11:29, Dmitry A. Ashkadov wrote: Hello! Is here somebody who builds OOo on Windows 7? Yes, using Windows 7 and cygwin 1.7.7 Regards, Mathias -- Mathias Bauer (mba) - Project Lead OpenOffice.org Writer OpenOffice.org Engineering at Oracle: 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 send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: Running OOo on Win7
Hi Dmitry, yes, I successfully built on both code lines and the application worked fine. Admittedly builds on OOO340 and the latest milestones of DEV300 needed some patches, but not to run the built office, without the patched the build itself broke. Regards, Mathias On 09.06.2011 12:07, Dmitry A. Ashkadov wrote: Does the office start successful? My OOo build crashes at startup (DEV300 and OOO340) without any information about problem. Cygwin console is empty. 09.06.2011 13:44, Mathias Bauer пишет: On 09.06.2011 11:29, Dmitry A. Ashkadov wrote: Hello! Is here somebody who builds OOo on Windows 7? Yes, using Windows 7 and cygwin 1.7.7 Regards, Mathias -- Mathias Bauer (mba) - Project Lead OpenOffice.org Writer OpenOffice.org Engineering at Oracle: 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 send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: Running OOo on Win7
I tried extract archive to home folder to reduce length of path, and the start office. It doesn't crash at startup now. So, the problem is a long paths. 09.06.2011 17:35, Mathias Bauer пишет: Hi Dmitry, yes, I successfully built on both code lines and the application worked fine. Admittedly builds on OOO340 and the latest milestones of DEV300 needed some patches, but not to run the built office, without the patched the build itself broke. Regards, Mathias On 09.06.2011 12:07, Dmitry A. Ashkadov wrote: Does the office start successful? My OOo build crashes at startup (DEV300 and OOO340) without any information about problem. Cygwin console is empty. 09.06.2011 13:44, Mathias Bauer пишет: On 09.06.2011 11:29, Dmitry A. Ashkadov wrote: Hello! Is here somebody who builds OOo on Windows 7? Yes, using Windows 7 and cygwin 1.7.7 Regards, Mathias -- Best regards, Dmitry -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: refactoring OUString
Sorry, this mail is too long... On Thu, Jun 9, 2011 at 9:20 AM, tora - Takamichi Akiyama t...@openoffice.org mailto:t...@openoffice.org wrote: That is why I would like to encourage programmers to take care of the life time of data. I know that that statement is controversial. On 2011/06/09 18:02, Stephan Bergmann wrote: First of, I am doubtful that encouraging manual memory management is a good idea. Errors in manual memory management probably are the cause for the vast majority of severe failures in C/C++ programs. Please be noticed that I don't say programmers should need to explicitly call memory management related functions such as malloc() or free(). Rather, I would like to suggest thinking of the characteristics of the questioned data. 1. Delegation of the responsibility to choose a type of memory allocator To achieve both stability and performance at the same time, I would like to propose Don't do all of it in the SAL, rather Delegate certain responsibility to its users, i.e. programmers. Who knows the type of life time of data? SAL does? No. The programmers do. Life time of data (1) data lasting until the soffice.bin quits. (2) data lasting until a document is closed. (3) data lasting until a current thread ends. (4) data lasting until a certain task finishes. (5) data lasting until a current function call returns. (6) data lasting until a current block ends. Multithread awareness (a) data that is shared with more than one threads. (b) data that is used in the only this thread. Asynchronous awareness (i) data that is used in a asynchronously called function such as a signal handler. (ii) data that is used in a normal function. 2. Potential dead lock A code for crash reporter has a potential, dead lock problem. http://hg.services.openoffice.org/DEV300/file/tip/sal/osl/unx/backtrace.c Asynchronous-unsafe functions such as fprintf() are used in the context of signal handler. Consider this situation: 1. A Segment violation, aka SEGV occurs in malloc() or free() due to memory corruption. Such a function holds the global mutex lock. 2. The first call of fprintf(), it internally calls malloc() to obtain a memory area as a text buffer. Then a dead lock occurs. For that topic, I would be posing a question later. Hence, I would always try to abstract from actual memory as much as possible. (Performance considerations are of course valid, but they must be balanced against safety and maintainability considerations.) 3. Come up with the exciting measures There in no need to keep relying on the traditional approaches invented in the 20th century. With my experiences from 8 bit processor, I certainly believe the programmers' awareness of how memory area is treated is the crucial factor to achieve performance, safety, and maintainability at the same time. I do not have an objection against your idea abstraction, though. = // Slicing cheese and throwing them out at once #define ALLOCATION_SIZE ( 1024 * 1024 ) // 1MB #define ALIGNMENT 4 void* SCATTOAO::xmalloc( size_t nSize ) { nSize = ( ( nSize - 1 ) / ALIGNMENT + 1 ) * ALIGNMENT; if ( m_nRest nSize ) { nAllocationSize = ( ( nSize - 1 ) / ALLOCATION_SIZE + 1 ) * ALLOCATION_SIZE; p = memory_page_allocation( nAllocationSize, PRIVATE|ANONIMOUS ); m_vector.append( Entry( p, nAllocationSize ) ); m_pNose = p; n_nRest = nAllocationSize; } ret = m_pNose; m_pNose += nSize; // Slice a block of cheese m_nRest -= nSize; return (void *) ret; } void SCATTOAO::xfree( void* ) { // do nothing at all } SCATTOAO::~SCATTOAO() { if ( Applicatoin::IsMemoryCheckRequested() ) for ( iterator m_vector ) // Turn them to be a trap alter_page_attribute( *it, NO_READ_ACCESS|NO_WRITE_ACCESS|NO_EXEC ); else for ( iterator m_vector ) // Throw them at once memory_page_deallocation( it-m_pAddress, it-m_nSize ); } = Please have a look at an additional code fragment in the destructor above: if ( Applicatoin::IsMemoryCheckRequested() ) for ( iterator m_vector ) // Turn them to be a trap alter_page_attribute( *it, NO_READ_ACCESS|NO_WRITE_ACCESS|NO_EXEC ); 1. soffice.bin is invoked with a new command line option such as -memorycheck 2. Applicatoin::IsMemoryCheckRequested() returns TRUE. 3. The memory pages being freed turns to be a trap. 4. A problematic code mistakenly attempts to read or write data in the already-freed-memory-area. 5. The trap sets off the alarm and an interruption is sent by the OS. 6. A signal handler in the SAL catches the interruption. 7. A crash report that reveals the exact location of the code is made. We have been cultivating thousands of test scenarios for more than a decade. Just leave the qatesttool running for a day and night with the option -memorycheck. 4. Utilizing the cutting-edge technology invented in the 21th century. solaris$ cat
[dev] Re: Off the records (Ubuntu's LO) ... (Re: Re: Genuine OOo in distributions ? (Re: OOo installation packages for Linux, a few (easy) questions
Hi, On Tue, Jun 07, 2011 at 09:56:35AM +0200, Rene Engelhard wrote: rene@frodo:~$ find /usr/lib/libreoffice/ -name unoinfo* /usr/lib/libreoffice/program/unoinfo rene@frodo:~$ less /usr/lib/libreoffice/program/unoinfo in Debian, is that what you mean? Good that this script isn't documented at all and has no help and you need to read the code, but it even works: $ /usr/lib/libreoffice/program/unoinfo c++ /usr/lib/libreoffice/program/../basis-link/ure-link/librene@frodo:~$ (Note that it doesn't have a linebreak...) $ /usr/lib/libreoffice/program/unoinfo java 0/usr/lib/libreoffice/program/../basis-link/ure-link/share/java/ridl.jar/usr/lib/libreoffice/program/../basis-link/ure-link/share/java/jurt.jar/usr/lib/libreoffice/program/../basis-link/ure-link/share/java/juh.jar/usr/lib/libreoffice/program/../basis-link/program/classes/unoil.jar/usr/lib/libreoffice/programrene@frodo:~$ (No linebreak here either.) Grüße/Regards, René -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: Off the records (Ubuntu's LO) ... (Re: Re: Genuine OOo in distributions ? (Re: OOo installation packages for Linux, a few (easy) questions
Hi René, On 07.06.2011 09:56, Rene Engelhard wrote: ... cut ... rene@frodo:~$ find /usr/lib/libreoffice/ -name unoinfo* /usr/lib/libreoffice/program/unoinfo rene@frodo:~$ less /usr/lib/libreoffice/program/unoinfo in Debian, is that what you mean? If yes, then it's interesting why Ubuntu doesn't package it, yes. If not, there's nothing either Debian or Ubuntu broke. Well, Bjoern Michaelsen said so. As it just happens (an Ubuntu machine got X11 troubles after an update to a system which has gnome and kde desktops installed, which was so bad, that I had to reinstall Ubuntu from scratch :( ), this very moment I got a baby-fresh installation of Ubuntu 11.04. unoinfo is there, so what Bjoern said is not true. Having the chance to look at a plain vanilla Ubuntu installation, I checked for the existence of all the necessary jars that get listed by unoinfo java and interestingly unoil.jar is missing! Did a locate unoil.jar after an updatedb, but it is not installed. So this is probably the culprit on Ubuntu (assuming that your Debian installation package has it), breaking the office. BTW, René, where could one download your version of the deb package to test it? ---rony -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: Off the records (Ubuntu's LO) ... (Re: Re: Genuine OOo in distributions ? (Re: OOo installation packages for Linux, a few (easy) questions
On Tue, Jun 07, 2011 at 11:03:00AM +0200, rony wrote: unoinfo java and interestingly unoil.jar is missing! Did a locate unoil.jar after an updatedb, but it is not installed. So this is Obviously totally untrue. I don't think Ubuntu removed unoil.jar, that would break everything Java-ish. Did you install libreoffice-java-common? (Reading helps.) That one contains the common Java atuff (except the URE Java components, which are in URE) (a apt-file search or a search on packages.debian.org/.ubuntu.com would have shown you where unoil.jar is) As Java is not a must-have, it was, is, and always will be in an optional package. probably the culprit on Ubuntu (assuming that your Debian installation package has it), breaking the office. I am 100% sure Ubuntu also has it. What breaks here is that you cannot properly use your package manager. BTW, René, where could one download your version of the deb package to test it? Debian. Where else? Grüße/Regards, René -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: refactoring OUString
Am 06.06.2011 17:27, schrieb Michael Stahl: On 06.06.11 16:35, tora - Takamichi Akiyama wrote: Has anyone tried refactoring OUString? - It converts iso-8859-1 letters ranging 0x00-0x7f into UCS2 even it is not necessary. - It requires malloc(), realloc(), and free() or their equivalents. - It prevents debugging efforts because of sal_Unicode buffer[1]. - It mixtures different purposes: passing/returning parameters and long-lasting data. - and else... hi Tora, refactoring OUString has to be done carefully because it is a central part of the URE API/ABI and those must be compatible. I would put that must be up for discussion. a number of people here have come to the conclusion that it would be an improvement to use ::rtl::OString with UTF8 encoding as the standard string type, but unfortunately this would be an enormous effort to change, and it would mean breaking the backward compatibility of the C++ UNO binding, so it was never likely to actually happen. Still desirable project Regards, Christian -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: Off the records (Ubuntu's LO) ... (Re: Re: Genuine OOo in distributions ? (Re: OOo installation packages for Linux, a few (easy) questions
On Mon, 06 Jun 2011 17:28:24 +0200 rony ro...@openoffice.org wrote: [... lots of hostile ranting ignored ...] And by the way, if you wanted to be constructive, why did you not supply a link to the place for reporting it? If it was easy to find such a place, I would have reported it https://launchpad.net/ubuntu/+source/libreoffice see the report a bug link on the right? Alternatively, use the ubuntu-bug commandline tool. It is not different from any other package at all. Best, Bjoern -- https://launchpad.net/~bjoern-michaelsen -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: Off the records (Ubuntu's LO) ... (Re: Re: Genuine OOo in distributions ? (Re: OOo installation packages for Linux, a few (easy) questions
Hi Bjoern, just saw your e-mail appear now in the list, hence the late answer. Thank you very much for the link! In the meantime further information has become available, thanks to Renés comments, so the installation seems to be (very unfortunate!) intentional (to cripple LO)! :( Regards, ---rony On 06.06.2011 18:07, Bjoern Michaelsen wrote: On Mon, 06 Jun 2011 17:28:24 +0200 rony ro...@openoffice.org wrote: [... lots of hostile ranting ignored ...] And by the way, if you wanted to be constructive, why did you not supply a link to the place for reporting it? If it was easy to find such a place, I would have reported it https://launchpad.net/ubuntu/+source/libreoffice see the report a bug link on the right? Alternatively, use the ubuntu-bug commandline tool. It is not different from any other package at all. Best, Bjoern -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: Off the records (Ubuntu's LO) ... (Re: Re: Genuine OOo in distributions ? (Re: OOo installation packages for Linux, a few (easy) questions
Hi, On Tue, Jun 07, 2011 at 12:28:18PM +0200, rony wrote: This is the story for the current Ubuntu 11.04, plain-vanilla installation, after having gone further: * Ubuntu 11.04 does *not* install any of the Java classes in /usr/lib/libreoffice/basis-link/program/classes, though it installs the Java support in /usr/lib/libreoffice/basis-link/ure-link/share/java The latter is URE stuff, the other one is LibO stuff Did you install libreoffice-java-common? No, am I supposed to do so on Ubuntu? Where would I learn this from? Package descriptions? And if you look for unoil.jar you could have searched for it and you'd have seen it. Where am I told to look up for reading materials on Ubuntu, if Ubuntu deviates so badly from the reference package of OOo/LO? It doesn't. It just packages it up so that people don't get useless stuff if they don't need it. If they want, they can just install it. And if clueless people just install libreoffice (or somethig needing Java liuke Base, they of course get -java-comon) How would I know? By using your brain. [But thanks for the pointer at apt-file.] The reference installations from OOo/LO work. Why should I expect that Ubuntu (and maybe Debian) cripple OOo/LO? We don't. It's just packaged differently. You can install whatever you need. Just install the goddamn package. *Who* defines that Java is *not a must-have* in todays world? Everytime the Java thing came up, anyone claims that Java ins not necessary for functioning of the office. Except Base, which depends on it. If you need Java functionality, instakl it (And note we patch LibO to say install libreoffice-java-common when Java doesn't work because the necessary stuff is not there). You get told. Maybe not when you just do extension stuff (but then you should be able to use your package system) but for normal use. If you do not install it, you cripple OOo/LO bad time! E.g. one cannot use scripts written in JavaScript and much more (like databse, xsl/xml, report True. The Database of course depends on the Java stuff. Get your facts straight, read, think. Same for the filters you mention. They also depends on -java-common. If you have no clue, you should shut up... etc.). This stance may be o.k. for amateurish ..., but is not o.k. for professionals living in todays world and who have been constantly witnessing the changes and raising needs and taking advantage of them. I am not arguing against java per se. Read again. Would you care for an URL? No. Grüße/Regards, René -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: HELP REQUIRED
hi shashanka sharma first try with the examples in the developer guide to perform some basic things something like add a string to the writer doc if you are willing to work with writer. With that try to familiar with the java api. On Tue, Jun 7, 2011 at 1:07 PM, Shashank Sharma shashan...@iitrpr.ac.inwrote: hello, I am a undergraduate student of third year (INDIAN INSTITTE OF TECHNOLOGY-IIT) and wants to develop new functionality in open office.before trying on the features of to do list , i want to add small functionality.However i am not clear how to start and how to proceed further.Also i started reading developers guide and it was not much clear to me Can u please provide me with some guidance and help on how to *start from scratch *Regards Shashank Sharma -- Shameera Rathnayaka Undergraduate Department of Computer Science and Engineering University of Moratuwa. Sri Lanka. T.P. 0719221454 -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: Off the records (Ubuntu's LO) ... (Re: Re: Genuine OOo in distributions ? (Re: OOo installation packages for Linux, a few (easy) questions
Hi, On Tue, Jun 07, 2011 at 12:45:09PM +0200, rony wrote: Thank you very much for the link! In the meantime further information has become available, thanks to Renés comments, so the installation seems to be (very unfortunate!) intentional (to cripple LO)! :( There IS NOTHING CRIPPELD. Just install the correct packages and you're done. That's the same with the normal install. You also would call your OOO crippeled if you didn't install -xstfilter or so? No, you just install that package. Do install your packages here, too and be done. (And note a default apt-get install libreoffice at least on Debian *will* give you also -java-common, because it picks up Base which picks up libreoffice-java-common) You obviously have no clue at all and resist to even look up basic stuff. Grüße/Regards, René -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: HELP REQUIRED
Hi there , Developers guide was the best resource I had when I was in the same situation like you ! Anyway I have written a small blog post about how to get started on plugin developement based on my experience. link:http://srilankatechnology.blogspot.com/2010_11_01_archive.html This contains a basic approach so I again recommend you to take a good look at the developer's guide as it contains almost all the information you need On Tue, Jun 7, 2011 at 9:37 AM, Shashank Sharma shashan...@iitrpr.ac.inwrote: hello, I am a undergraduate student of third year (INDIAN INSTITTE OF TECHNOLOGY-IIT) and wants to develop new functionality in open office.before trying on the features of to do list , i want to add small functionality.However i am not clear how to start and how to proceed further.Also i started reading developers guide and it was not much clear to me Can u please provide me with some guidance and help on how to *start from scratch *Regards Shashank Sharma -- Lakmal Padmakumara Undergraduate Computer Science and Engineering Department University of Moratuwa Sri Lanka http://srilankatechnology.blogspot.com/ -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: Off the records (Ubuntu's LO) ... (Re: Re: Genuine OOo in distributions ? (Re: OOo installation packages for Linux, a few (easy) questions
Hi, On Tue, 07 Jun 2011 12:28:18 +0200 rony ro...@openoffice.org wrote: This is the story for the current Ubuntu 11.04, plain-vanilla installation Which does not include a full libreoffice installation, as this is unfortunately impossible to fit on the install CD along with the rest of the desktop(*). However, if you 'apt-get install libreoffice' you get the full installation. How would I know? By asking on Ubuntus support channels (IRC, launchpad, askubuntu ...). Definitely not by complaining on the OpenOffice.org mailing list. Can we please stop discussing the topic here, as it is way offtopic on this list and we are disturbing the solacing silence found here before. Best, Bjoern -- https://launchpad.net/~bjoern-michaelsen -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: refactoring OUString
On 06.06.2011 19:43, tora - Takamichi Akiyama wrote: And also, please cover the underlying memory allocation mechanism which would be another key factor for the performance improvement. On 2011/06/07 3:04, Niklas Nebel wrote: There's an old suggestion to treat small strings differently, see http://wiki.services.openoffice.org/wiki/Uno/Binary/Analysis/String_Performance. Thank you for the information! In addition to it, I am wondering if these ideas might help a lot. As many already know, malloc() is too general and too expensive. Moreover, free() is much more expensive than malloc(). e.g. a source code of malloc() in glibc: http://sourceware.org/git/?p=glibc.git;a=blob;f=malloc/malloc.c Not only the large number of machine instructions, but also its waste of memory usage affects the system-wide performance. In reality, malloc(1) consumes 32 bytes on CentOS 5.4 64 bit kernel: http://tora-japan.com/wiki/Boundaries_of_memory_allocation_with_malloc%28%29 Even though current OpenOffice.org runs as a multi-thread process, it runs as if it is a single thread. So, we could have several options to implement its underlying memory allocation mechanism for the specific purposes of OpenOffice.org. 1) Memory allocation mechanism used in a kernel For temporal use, utilize the memory allocation mechanism similar to the one normally used in a kernel. Use a single bit to hold the status of memory chunk. e.g: 0 means vacant ; 1 denotes occupied. The size of memory chunk could be 128, 256, 512, 1024, ... 2) Slicing cheese and throwing them out at once For the internal tasks such as Save as and Export to we might get a big advantage. Such a task starts from the framework, calls thousands of methods, and finally leaves the only single value meaning a SUCCESS or FAILURE. No String instance involved during the task is needed to be persistent. #define ALLOCATION_SIZE ( 1024 * 1024 ) // 1MB #define ALIGNMENT 4 void* SCATTOAO::xmalloc( size_t nSize ) { nSize = ( ( nSize - 1 ) / ALIGNMENT + 1 ) * ALIGNMENT; if ( m_nRest nSize ) { nAllocationSize = ( ( nSize - 1 ) / ALLOCATION_SIZE + 1 ) * ALLOCATION_SIZE; p = memory_page_allocation( nAllocationSize, PRIVATE|ANONIMOUS ); m_vector.append( Entry( p, nAllocationSize ) ); m_pNose = p; n_nRest = nAllocationSize; } ret = m_pNose; m_pNose += nSize; // Slice a block of cheese m_nRest -= nSize; return (void *) ret; } void SCATTOAO::xfree( void* ) { // do nothing at all } SCATTOAO::~SCATTOAO() { for ( iterator m_vector ) // Throw them at once memory_page_deallocation( it-m_pAddress, it-m_nSize ); } The instance of allocator class SCATTOAO is a thread specific object and it is used by the only own thread. Therefore, no mutex lock is required. I think the above are just a tip of potential, brilliant ideas. Let's discuss later this kind of topic once the surrounding situation is settled. Best regards, Tora -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: Off the records (Ubuntu's LO) ... (Re: Re: Genuine OOo in distributions ? (Re: OOo installation packages for Linux, a few (easy) questions
On 07.06.2011 12:53, Rene Engelhard wrote: On Tue, Jun 07, 2011 at 12:45:09PM +0200, rony wrote: Thank you very much for the link! In the meantime further information has become available, thanks to Renés comments, so the installation seems to be (very unfortunate!) intentional (to cripple LO)! :( There IS NOTHING CRIPPELD. If packages deviate from the reference packages (OOo or LO), they get crippled, like it or not. (Judging from the e-mails even Debian experts like yourself have not been aware of that done by Ubuntu, nor being able to suggest a resolution right away, just after consulting apt-file, for which I am grateful nevertheless.) Insulting people does not change facts and reality either, but is quite unfortunate as you destroy yourself the personal respect you may have gained for your technical merits in the past. :( ---rony -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: Off the records (Ubuntu's LO) ... (Re: Re: Genuine OOo in distributions ? (Re: OOo installation packages for Linux, a few (easy) questions
Hi, On Tue, Jun 07, 2011 at 01:52:41PM +0200, rony wrote: If packages deviate from the reference packages (OOo or LO), they get crippled, like it or not. Nonsense. They just ha a bit other structure, the functionality is supposed to be there. Just install the one package you miss. Insulting people does not change facts and reality either, but is quite You don't? Aha. I see insults from you too. You cripple XYZ. When we don't. (And you say we do that intentionally, which is also a insult) Wer im Glashaus sitzt... Grüße/Regards, René -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: Off the records (Ubuntu's LO) ... (Re: Re: Genuine OOo in distributions ? (Re: OOo installation packages for Linux, a few (easy) questions
Hi René, On 07.06.2011 14:07, Rene Engelhard wrote: Insulting people does not change facts and reality either, but is quite You don't? Aha. I see insults from you too. You cripple XYZ. When we don't. (And you say we do that intentionally, which is also a insult) O.K., I take this one on my shoulders, sorry, if you - as a person - took this as an insult, it was never meant to address you. (From your mailings it is clear that you have not removed functionality from the reference OOo or LO packages from the respective Debian package, therefore you have never been meant to be addressed.) The accusation of crippling has been aimed at those who are responsible for removing functionality (= crippling) from the reference package of OOo or LO, which I regard as the standard, the baseline of functionality. Whatever functionality the standard/reference package possesses is what professionals should be able to rely on to be available, if anyone else creates/distributes an OOo or LO package (possibly with added functionality, leaving the base line, i.e. standard/reference package, intact). Regards, ---rony P.S.: In the case of Ubuntu I would expect that they at least advertise very prominently that their OOo/LO distribution is not a standard one, but one that lacks features compared to the standard OOo/LO packages. This way, everyone would be aware of this fact and if the information was given, how to add the missing pieces (sudo apt-get install librefoffice), end-users would become able to upgrade the special Ubuntu OOo/LO to the full package on their own. -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: HELP REQUIRED
On Tue, Jun 7, 2011 at 9:37 AM, Shashank Sharma shashan...@iitrpr.ac.in mailto:shashan...@iitrpr.ac.in wrote: hello, I am a undergraduate student of third year (INDIAN INSTITTE OF TECHNOLOGY-IIT) and wants to develop new functionality in open office.before trying on the features of to do list , i want to add small functionality.However i am not clear how to start and how to proceed further.Also i started reading developers guide and it was not much clear to me Can u please provide me with some guidance and help on how to *start from scratch Extension is deep and big enough like the ocean... 1. Tool - Macros - Organize Macros - OpenOffice.org Basic 2. [Organizer...] 3. Libraries tab 4. [New...] 5. Name it e.g. Libaray1, [OK] 6. [Edit] 7. Paste a sample code. e.g. Sub Main sURL = private:factory/scalc oDoc = StarDesktop.loadComponentFromURL( sURL, _blank, 0, Array()) oCell = oDoc.getSheets().getByIndex(0).getCellByPosition(0,0) oCell.setValue(123) print oCell.dbg_methods print oCell.dbg_properties End Sub 8. Run BASIC on the tool bar 9. Save BASIC on the tool bar 10. Select Module on the tool bar 11. Libraries tab 12. Choose the one named on the step 5. 13. [Export...] 14. Export as extension [OK] 15. Name it, [Save] Now you have the first your own extension whose file name extension is .oxt It is actually a ZIP archive file. 16. Rename xxx.oxt to xxx.oxt.zip 17. Extract the zip file and look into several internal files. In addition to the developer's guide: http://www.oooforum.org/ http://user.services.openoffice.org/en/forum/ http://api.openoffice.org/docs/common/ref/com/sun/star/frame/XComponentLoader.html#loadComponentFromURL You have an opportunity to find how to add a menu item and an icon button on the tool bar. How to control your OpenOffice.org. ... The forum would help you a lot rather than this mailing list. This ML is intended for development of OpenOffice.org itself, i think :-) Have fun! Tora -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: Off the records (Ubuntu's LO) ... (Re: Re: Genuine OOo in distributions ? (Re: OOo installation packages for Linux, a few (easy) questions
Hi, On Tue, Jun 07, 2011 at 02:28:53PM +0200, rony wrote: On 07.06.2011 14:07, Rene Engelhard wrote: Insulting people does not change facts and reality either, but is quite You don't? Aha. I see insults from you too. You cripple XYZ. When we don't. (And you say we do that intentionally, which is also a insult) O.K., I take this one on my shoulders, sorry, if you - as a person - took this as an insult, it was never meant to address you. (From your mailings it is clear that you have not removed functionality from the reference OOo or LO packages from the respective Debian package, therefore you have never been meant to be addressed.) No? P.S.: In the case of Ubuntu I would expect that they at least advertise very prominently that their OOo/LO distribution is not a standard one, They base on our packages, we have the same structure. Thus I am defending this. but one that lacks features compared to the standard OOo/LO packages. Nonsense. Again, install the correct package. You also have to install the correct packages when you install the standard OOo/LO packages. If you leave one of those out, you also loose something. Would cou call that crippled? No. This way, everyone would be aware of this fact and if the information was given, how to add the missing pieces (sudo apt-get install librefoffice), end-users would become able to upgrade the special Ubuntu OOo/LO to the full package on their own. Which missing pieces? What did you install in the first place? Any clueless user should use libreoffice as the start point, when Ubuntus install does something else, ok, but then again, people can install stuff afterwards. (That said, if you install Debian and choose desktop you get libreoffice installed, no idea what Ubuntu does) Would you also argue it's a crippling of someone installed a standard OOo/LO package but left -xsltfilter out? Which he could? And wonders why those don't work? No. Same story here. But we are going in cirlces, I grok that you don't care about proper packaging and making optional stuff choosable. Thankfully distros are not following every stupidity and make life of their users easier by allowing them to get rid of stuff THEY don't want/need. Grüße/Regards, René -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: refactoring OUString
On 07.06.2011 13:15, tora - Takamichi Akiyama wrote: As many already know, malloc() is too general and too expensive. Moreover, free() is much more expensive than malloc(). e.g. a source code of malloc() in glibc: http://sourceware.org/git/?p=glibc.git;a=blob;f=malloc/malloc.c We use our own implementation, rtl_allocateMemory (see sal/rtl/source/alloc*). But of course the point remains valid: Both allocation and deallocation take time. Even though current OpenOffice.org runs as a multi-thread process, it runs as if it is a single thread. So, we could have several options to implement its underlying memory allocation mechanism for the specific purposes of OpenOffice.org. If there was only a single thread, we could get rid of quite some locking overhead. But in fact, with clipboard, UNO acceptor thread and such stuff, we have just enough multithreading going on to cause the overhead, without the benefit of actually doing work in parallel. Of course we should try to make more use of multiple threads. This isn't a new idea either, see http://wiki.services.openoffice.org/wiki/Calc/Performance/misc. Christian did some experiments with parallel loading a while ago (http://blogs.oracle.com/GullFOSS/entry/xml_performance_and_now_for). The results for Impress weren't spectacular, but Calc or Writer may be different. 2) Slicing cheese and throwing them out at once For the internal tasks such as Save as and Export to we might get a big advantage. Such a task starts from the framework, calls thousands of methods, and finally leaves the only single value meaning a SUCCESS or FAILURE. No String instance involved during the task is needed to be persistent. Right now, that isn't entirely true. For example, saving might need to calculate a formula, and the calculated result is then kept in the cell, in a string that continues to be referenced after saving. There might be similar cases elsewhere. These would probably have to be moved into a separate step before saving. Sounds a bit fragile, but then it could actually save a significant amount of time. I think the above are just a tip of potential, brilliant ideas. Let's discuss later this kind of topic once the surrounding situation is settled. On the other hand, now might be a perfect time to discuss crazy ideas, without mundane details getting in the way. Niklas -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: refactoring OUString
On 07.06.2011 17:22, Niklas Nebel wrote: On 07.06.2011 13:15, tora - Takamichi Akiyama wrote: As many already know, malloc() is too general and too expensive. Moreover, free() is much more expensive than malloc(). e.g. a source code of malloc() in glibc: http://sourceware.org/git/?p=glibc.git;a=blob;f=malloc/malloc.c We use our own implementation, rtl_allocateMemory (see sal/rtl/source/alloc*). But of course the point remains valid: Both allocation and deallocation take time. Even though current OpenOffice.org runs as a multi-thread process, it runs as if it is a single thread. So, we could have several options to implement its underlying memory allocation mechanism for the specific purposes of OpenOffice.org. If there was only a single thread, we could get rid of quite some locking overhead. But in fact, with clipboard, UNO acceptor thread and such stuff, we have just enough multithreading going on to cause the overhead, without the benefit of actually doing work in parallel. Properly using a read-only string class (at least in code that might be accessed in multiple threads) could also prevent locking overhead. Regards, Mathias -- Mathias Bauer (mba) - Project Lead OpenOffice.org Writer OpenOffice.org Engineering at Oracle: 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 send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: conulta open office
2011/6/6 Yesi Idaberry yesi_be...@hotmail.com hola no se si este es el medio para realizar consultas pero no encontre otro. tengo un problema que no puedo solucionar : me aparece el siguiente mensaje cuando quiero abrir un archivo del tipo hoja de calculo de open office la operacion solicitada requiere elevacion por que podria ser? el programa se ejecuta como administrador. agradezco la ayuda, saludos! yesica Idaberry replied off the list in spanish. -- *Alexandro Colorado* *OpenOffice.org* Español http://es.openoffice.org -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: Off the records (Ubuntu's LO) ... (Re: Re: Genuine OOo in distributions ? (Re: OOo installation packages for Linux, a few (easy) questions
Hi rony, On Tue, 31 May 2011 19:55:44 +0200 rony ro...@openoffice.org wrote: totally off the records for this list, indeed. but maybe nevertheless interesting/amusing: Ubuntu 11.04 replaced OOo with LibreOffice (LO). thats true. Whatever they did, they probably did what they did with their OOo installation in the past with the effect that using the Java interface from the command line does not work (using their unoinfo-output for Java) ! That has nothing to do with OOo or LibreOffice, it did not work any better with OOo. The root cause is that the bootstrap helper makes quite crazy assumptions about where to find the soffice binary. Debian (and thus Ubuntu) does quite a few changes (for example moving jars around), which the original OOo code does not handle too well. unoinfo.sh has no role in this at all -- it is not even packaged on Ubuntu. Instead one needs to deinstall LO, remove ~/.libreoffice in home, get the official LO distribution and install it, then things start to work as was the case in the past with OOo. No, you would need to bootstrap with a ClassLoader having a correct resource path. Never having seen this being reported against LibreOffice on launchpad, it was assumed as not a serious issue. Whining about it on the mailing list of a different project instead of filing a bug is kind of ridiculous still, isnt it? Best, Bjoern -- https://launchpad.net/~bjoern-michaelsen -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: refactoring OUString
On 06.06.11 16:35, tora - Takamichi Akiyama wrote: Has anyone tried refactoring OUString? - It converts iso-8859-1 letters ranging 0x00-0x7f into UCS2 even it is not necessary. - It requires malloc(), realloc(), and free() or their equivalents. - It prevents debugging efforts because of sal_Unicode buffer[1]. - It mixtures different purposes: passing/returning parameters and long-lasting data. - and else... hi Tora, refactoring OUString has to be done carefully because it is a central part of the URE API/ABI and those must be compatible. a number of people here have come to the conclusion that it would be an improvement to use ::rtl::OString with UTF8 encoding as the standard string type, but unfortunately this would be an enormous effort to change, and it would mean breaking the backward compatibility of the C++ UNO binding, so it was never likely to actually happen. so far we haven't even got rid of the tools strings... sigh. regards, michael -- One of [the Middle Ages'] characteristics was that 'reasoning by analogy' was rampant; another characteristic was almost total intellectual stag- nation, and we now see why the two go together. [...] by developing a keen ear for unwarranted analogies, one can detect a lot of medieval thinking today. -- Edsger W. Dijkstra -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help
[dev] Re: Off the records (Ubuntu's LO) ... (Re: Re: Genuine OOo in distributions ? (Re: OOo installation packages for Linux, a few (easy) questions
Hi Bjoern, On 06.06.2011 12:42, Bjoern Michaelsen wrote: Whatever they did, they probably did what they did with their OOo installation in the past with the effect that using the Java interface from the command line does not work (using their unoinfo-output for Java) ! That has nothing to do with OOo or LibreOffice, it did not work any better with OOo. The root cause is that the bootstrap helper makes quite crazy assumptions about where to find the soffice binary. Debian (and thus Ubuntu) does quite a few changes (for example moving jars around), which the original OOo code does not handle too well. Sorry to correct you: installing the genuine OOo from http://www.OpenOffice.org works. Flawlessly. unoinfo.sh has no role in this at all -- it is not even packaged on Ubuntu. That's one of these amateurish, almost crazy assumptions along the lines: I do not see any use in it, hence let us drop it, it's probably crap anyway. It is almost crazy, because quite a few projects rely on unoinfo supplying the correct CLASSPATH definition for interacting with OOo/LO (the sequence matters), which then simply won't work with the Ubuntu distros. Instead one needs to deinstall LO, remove ~/.libreoffice in home, get the official LO distribution and install it, then things start to work as was the case in the past with OOo. No, you would need to bootstrap with a ClassLoader having a correct resource path. Please, give me a break! Never having seen this being reported against LibreOffice on launchpad, it was assumed as not a serious issue. Who is it? And for what reasons would it assume as not a seriious issue? This is why I qualify such decisions to be amateurish, harming such endeavors enormeously. (Companies affected by the negative outcome of such decisions either turn away or kick out the broken installation.) Whining about it on the mailing list of a different project instead of filing a bug is kind of ridiculous still, isnt it? Whining? This was meant to point out to the OpenOffice.org list that those that have broken OOo for Ubuntu are breaking LO as well! And by the way, if you wanted to be constructive, why did you not supply a link to the place for reporting it? If it was easy to find such a place, I would have reported it (actually I even would report it still as this is a potential problem for quite a few more apps, even if the Ubuntu people are not realizing it, hoping that they are not ignorants). As for my application the workaround is simple: just install the genuine OOo (or LO for that matter) and do not use the broken Ubuntu installation. (Besides, the Ubuntu people broke the user interface with 11.04 bad times, either taking their users hostage for experiments, or having total amateurs in charge for the most important application there exists for an operating system for PC-based end users.) ---rony -- - To unsubscribe send email to dev-unsubscr...@openoffice.org For additional commands send email to sy...@openoffice.org with Subject: help