[dev] Building the Source Code

2010-06-16 Thread Matt Wis
I am trying to build the source code for Open Office on a Windows XP computer, because I want to look at the code before I apply for one of the summer internships. I have installed Cygwin and the five modules listed at

Re: [dev] about oov build

2010-06-16 Thread O. Felka
Hi, wangxiang schrieb: hello, fedora12 yum install openoffice in my computer no problem But when i build the Ooo with the latest hg version i use the rpm -iv openoffice.org-*rpm in the folder instsetoo_native/ unxlngi6.pro/OpenOffice/rpm/install/en-US then i run the

[dev] Re: Building the Source Code

2010-06-16 Thread Bjoern Michaelsen
Am Tue, 15 Jun 2010 10:47:07 -0700 (PDT) schrieb Matt Wis mattwi...@yahoo.com: I have installed Cygwin and the five modules listed at http://wiki.services.openoffice.org/wiki/Documentation/Building_Guide/Building_on_Windows. I cannot run configure. When I run ./configure, it says bash:

Re: [dev] about oov build

2010-06-16 Thread wangxiang
Thanks, i have removed all the rpm installed by yum Then i go to the folder /home/xwang/OpenOffice/OpenOffice_Dev/instsetoo_native/ unxlngi6.pro/OpenOffice/rpm/install/en-US_download and the folder desktop-integration then install all the rpms, it becomes ok! *But another question comes back

[dev] Re: about oov build

2010-06-16 Thread Bjoern Michaelsen
Am Wed, 16 Jun 2010 15:32:54 +0800 schrieb wangxiang wangxian...@gmail.com: *But another question comes back : I can't find the .o or .so libs in the folder /opt/openoffice.org3/program (There's only an libnpsoplugin.so in the folder )* Is that right ? Yes, most libs are in /opt/openoffice

Re: [dev] SfxItemSet assumptions and assertions

2010-06-16 Thread Mathias Bauer
On 15.06.2010 11:47, Björn Michaelsen wrote: Well, the implementation in new_itemsets only checks for the which id being 0 and never checks for the type being an SfxVoidItem (outside assertions). So an disabled item is consistently defined as any item returning an which id of 0 in the new

Re: [dev] Re: about oov build

2010-06-16 Thread wangxiang
Thanks, I just want to build some modules like SW with the debug partial build, and replace existing libs to get some debugging But I can't find the .o or .so in the installation folders. In my fedora12, it's /opt/openoffice.org3/program/ and i follow your suggestions and find the programs

[dev] Re: SfxItemSet assumptions and assertions

2010-06-16 Thread Bjoern Michaelsen
Am Wed, 16 Jun 2010 10:11:25 +0200 schrieb Mathias Bauer nospamfor...@gmx.de: BTW: I don't remember if any of the two ItemSet implementations returns an VoidItem in a GetItem call for a disabled item or if NULL is returned then. IMHO it always should be the latter. Getting a void item the old

[dev] Re: about oov build

2010-06-16 Thread Bjoern Michaelsen
Am Wed, 16 Jun 2010 16:22:13 +0800 schrieb wangxiang wangxian...@gmail.com: Thanks, I just want to build some modules like SW with the debug partial build, and replace existing libs to get some debugging But I can't find the .o or .so in the installation folders. In my fedora12, it's

Re: [dev] SfxItemSet assumptions and assertions

2010-06-16 Thread Malte Timmermann
Mathias Bauer wrote, On 06/16/10 10:11: On 15.06.2010 11:47, Björn Michaelsen wrote: Well, the implementation in new_itemsets only checks for the which id being 0 and never checks for the type being an SfxVoidItem (outside assertions). So an disabled item is consistently defined as any

[dev] Re: about oov build

2010-06-16 Thread Michael Stahl
On 16/06/2010 10:22, wangxiang wrote: Thanks, I just want to build some modules like SW with the debug partial build, and replace existing libs to get some debugging But I can't find the .o or .so in the installation folders. In my fedora12, it's /opt/openoffice.org3/program/ and i

Re: [dev] SfxItemSet assumptions and assertions

2010-06-16 Thread Malte Timmermann
And now that I just read Bjoerns last mail wrt old/current behavior: At least for the EditEngine I am quite sure these items have been in some ItemPool, but never in an ItemSet. So that might be the reason why I never had an issue with that. Not sure what would happen with the VoidItems listed

[dev] Old bugs related to hyperlinks with bookmark.

2010-06-16 Thread Knut Olav Bøhmer
Hi, There are some old bug related to hyperlinks with bookmark: hyperlinks to .doc files with bookmarks does not work. I think the following bugs are related to each other. And the bug has been there for at least 6 years. http://qa.openoffice.org/issues/show_bug.cgi?id=26957

Re: [dev] Re: BigPointerArray, SvPointerArray vs STL containers

2010-06-16 Thread Eike Rathke
Hi Bartosz, On Tuesday, 2010-06-15 09:06:19 +0200, Bartosz wrote: After replace svArrays by STL containers, in some cases I observed boost of performance. For example: for (USHORT i = 0; i aEntries.size(); ++i) Please ensure to adapt also all types where necessary, in this case

Re: [dev] Re: about oov build

2010-06-16 Thread wangxiang
Thanks, i got it! 2010/6/16 Michael Stahl michael.st...@sun.com On 16/06/2010 10:22, wangxiang wrote: Thanks, I just want to build some modules like SW with the debug partial build, and replace existing libs to get some debugging But I can't find the .o or .so in the

Re: [dev] SfxItemSet assumptions and assertions

2010-06-16 Thread Mathias Bauer
On 16.06.2010 11:07, Malte Timmermann wrote: We have const SfxPoolItem Get() and const SfxPoolItem* GetItem(...) Not sure why we have two different Get Methods, but the first doesn't allow to return NULL, so I assume the second one would also have to return the same VoidItem for

Re: [dev] Old bugs related to hyperlinks with bookmark.

2010-06-16 Thread Mathias Bauer
On 16.06.2010 15:24, Knut Olav Bøhmer wrote: Hi, There are some old bug related to hyperlinks with bookmark: hyperlinks to .doc files with bookmarks does not work. I think the following bugs are related to each other. And the bug has been there for at least 6 years.

Re: [dev] Old bugs related to hyperlinks with bookmark.

2010-06-16 Thread Knut Olav Bøhmer
On 16 June 2010 17:24, Mathias Bauer nospamfor...@gmx.de wrote: On 16.06.2010 15:24, Knut Olav Břhmer wrote: Hi, There are some old bug related to hyperlinks with bookmark: hyperlinks to .doc files with bookmarks does not work. I think the following bugs are related to each other. And the

Re: [dev] Old bugs related to hyperlinks with bookmark.

2010-06-16 Thread Mathias Bauer
Hi Knut Olav, On 16.06.2010 17:57, Knut Olav Bøhmer wrote: Is there a (easy) way to tell OOo that we want to handle specific url's internally? It could also sometimes be useful to say that we do not want to handle odt urls internally also (maybe).. But the most important thing is to get the

Re: [dev] Re: BigPointerArray, SvPointerArray vs STL containers

2010-06-16 Thread Bartosz
Great success! I have successfully removed the SvArray of objects macro (SV_DECL_OBJARR and SV_IMPL_OBJARR macros). Please feel free to check and test it. Patch is available at (replace_svarray3.patch): http://www.openoffice.org/issues/show_bug.cgi?id=112395 2010/6/15 Bjoern Michaelsen:

Re: [dev] Old bugs related to hyperlinks with bookmark.

2010-06-16 Thread Knut Olav Bøhmer
On 16 June 2010 19:39, Mathias Bauer nospamfor...@gmx.de wrote: Hi Knut Olav, On 16.06.2010 17:57, Knut Olav Bøhmer wrote: Is there a (easy) way to tell OOo that we want to handle specific url's internally? It could also sometimes be useful to say that we do not want to handle odt urls

[dev] Rich Text Format Support in OpenOffice.org Writer

2010-06-16 Thread Chris Carpenter
Hello, First off, I need to say that this is -not- a message complaining about rich text format support. Now that that is out of the way... I would like to volunteer my services to help improve the RTF support for openoffice.org writer. However, I am a fairly new programmer and would require

[dev] Community Council Elections 2010-06: Introducing the Nominees

2010-06-16 Thread Christoph Noack
Hi everyone, I would like to thank both Thorsten and Andreas for their nomination for the Product Development Representative in the Community Council. According to our election process, we are now in the introduction phase - the nominees do have the chance to introduce themselves to the

Re: [dev] Old bugs related to hyperlinks with bookmark.

2010-06-16 Thread Mathias Bauer
On 06/16/2010 09:21 PM, Knut Olav Bøhmer wrote: As long as the url points to a .doc file, my interceptor is not called no matter if there is a bookmark there or not. It does not matter if ctrl-click is required or not. There is just NO dispatch interception going on for .doc files. But I get

[dev] RE: [api-dev] pdf import programmatically

2010-06-16 Thread Wei Min Teo
Hi, Can anyone help me on this? Is there a way to force a document to open with draw programmatically? From: shaun...@hotmail.com To: dev@openoffice.org; d...@api.openoffice.org Date: Mon, 7 Jun 2010 15:32:58 +0800 Subject: [api-dev] pdf import programmatically Hi all, I