[dev] Cannot read document

2008-05-09 Thread Peter Nabbefeld
Hello! I've got a strange word document, which I cannot correctly open with OO.org 2.4. It has a structure like this: paragraph picture/ text/ /paragraph ... (more paragraphs) ... table tr td!-- empty --/td tdreference to a paragraph//td td!-- empty --/td /tr

Re: [dev] Using Boost Library

2008-05-09 Thread Daniel Boelzle
Hi Regina, AFAIR you can configure using a sytem boost which overrides OOo's boost. HTH, regards, Daniel Regina Henschel wrote: Hello, I want to use the functions tgamma and lgamma from the Boost library, but I need some help. 1. Can you point me to a place, were a function of the Boost

Re: [dev] The evil that is cppu::getCaughtException

2008-05-09 Thread Stephan Bergmann
Stephan Bergmann wrote: Stephan Bergmann wrote: [...] The interesting thing, however, is that if I re-build this test scenario from scratch, with a main.exe and first.dll and second.dll (corresponding to soffice.bin, soffice.dll, sal3.dll, resp.) built by hand (without many of the switches

[dev] How to set the GUI language when building?

2008-05-09 Thread Ma Zhenyu
I builded the code from web, and got the installation of english version? So I want to ask one question is: how to build Ooo of other language version, such as japanese or chinese language, need I download other code? Or just change some setting? Thanks a lot in advance! Regards, Mynfred

[dev] Oo writer's problem

2008-05-09 Thread Dinesh Chothe
Hello, I am developing writer based application using java,oo sdk and netbeans. In this application object has to travels from starting of document up to end of document. While moving it may come across different txt

[dev] TypeClass.hdl

2008-05-09 Thread rick cameron
Hi I'm an absolute newbie at programming against the OOo SDK. I am looking at the office_connect.cxx sample from the Professional UNO section of the developer's guide, and trying to build it in Visual C++ 2005. There is a #include of TypeClass.hdl but this file isn't in C:\Program

Re: [dev] List of 2730 uncallable methods in DEV300_m10

2008-05-09 Thread Eike Rathke
Hi Kohei, On Thursday, 2008-05-08 00:22:10 -0400, Kohei Yoshida wrote: If I recall correctly, the module with the most unused methods that doesn't have anything in the pipeline to remove them is sc, so there's where the lowest hanging fruit should be. Since no one has raised hands, let

[dev] Can OOo objects be used in-process?

2008-05-09 Thread rick cameron
Hi I am just starting to learn about the OOo APIs. I have managed to get a very simple Java program that uses Bootstrap.bootstrap and XComponentContext.getServiceManager working, and noticed that when I run it a couple of new processes start (soffice.exe and soffice.bin). I haven't managed to

Re: [dev] List of 2730 uncallable methods in DEV300_m10

2008-05-09 Thread Caolan McNamara
On Fri, 2008-05-09 at 16:47 +0200, Eike Rathke wrote: while ScCompressedArray::GetPrevValue() is currently unused it is the counterpart of GetNextValue() and IMHO should be kept for completeness of implementation. Perhaps #ifdef FUTURE around it, or else I can add such things to the whitelist

Re: [dev] List of 2730 uncallable methods in DEV300_m10

2008-05-09 Thread Kohei Yoshida
On Fri, 2008-05-09 at 16:47 +0200, Eike Rathke wrote: Just a note though: please don't blindly remove everything that appears to be unused, e.g. while ScCompressedArray::GetPrevValue() is currently unused it is the counterpart of GetNextValue() and IMHO should be kept for completeness of

Re: [dev] List of 2730 uncallable methods in DEV300_m10

2008-05-09 Thread Kohei Yoshida
On Fri, 2008-05-09 at 16:11 +0100, Caolan McNamara wrote: On Fri, 2008-05-09 at 16:47 +0200, Eike Rathke wrote: while ScCompressedArray::GetPrevValue() is currently unused it is the counterpart of GetNextValue() and IMHO should be kept for completeness of implementation. Perhaps #ifdef

Re: [dev] List of 2730 uncallable methods in DEV300_m10

2008-05-09 Thread Niklas Nebel
Caolan McNamara wrote: On Fri, 2008-05-09 at 16:47 +0200, Eike Rathke wrote: while ScCompressedArray::GetPrevValue() is currently unused it is the counterpart of GetNextValue() and IMHO should be kept for completeness of implementation. Perhaps #ifdef FUTURE around it, or else I can add such

Re: [dev] How to set the GUI language when building?

2008-05-09 Thread Christian Lohmaier
Hi *, On Fri, May 09, 2008 at 04:40:15PM +0800, Ma Zhenyu wrote: I builded the code from web, and got the installation of english version? So I want to ask one question is: how to build Ooo of other language version, such as japanese or chinese language, need I download other code? Or just

Re: [dev] List of 2730 uncallable methods in DEV300_m10

2008-05-09 Thread Mathias Bauer
Hi Malte, Malte Timmermann wrote: Hi Caolan, thanks for the updated list! :) I wonder: Who dares / volunteers to simply remove these methods? This is ongoing already. I have a CWS where the biggest chunks have been put in already (binfilter, filter, svtools, filter, desktop...). CWS is

Re: [dev] RFC: java 1.5

2008-05-09 Thread Mathias Bauer
Hi all, Christoph Neumann wrote: Kay Ramme - Sun Germany - Hamburg wrote: Stephan Bergmann wrote: Malte Timmermann wrote: My point of view: Most people agree that OOo mustn't loose (meta) data when Java is not available, but plug ins for working with meta data can rely on Java. Changing

Re: [dev] List of 2730 uncallable methods in DEV300_m10

2008-05-09 Thread Caolan McNamara
On Fri, 2008-05-09 at 20:01 +0200, Mathias Bauer wrote: A warning to everyone committing such cleanups to cvs: please use non-pro builds on at least one platform Indeed. The unused methods are always pulled from a .pro build. The same issue arises with stuff used only on one platform but

Re: [dev] List of 2730 uncallable methods in DEV300_m10

2008-05-09 Thread Kohei Yoshida
On Fri, 2008-05-09 at 19:17 +0200, Niklas Nebel wrote: Good old opt-in vs. opt-out choice. I'd prefer to leave all methods in the header files, commented out and marked somehow, unless someone has (manually) determined that they really shouldn't be there. I can start using REMOVE_THIS

Re: [dev] List of 2730 uncallable methods in DEV300_m10

2008-05-09 Thread Kohei Yoshida
On Fri, 2008-05-09 at 15:16 -0400, Kohei Yoshida wrote: Having said that, I would like to still reserve the right to just outright remove code if I think with strong certainty that the code shouldn't be there at all. ;-) And again, if I removed something by mistake that you want to leave in,

Re: [dev] List of 2730 uncallable methods in DEV300_m10

2008-05-09 Thread Kohei Yoshida
On Fri, 2008-05-09 at 20:01 +0200, Mathias Bauer wrote: Another interesting discovery was that removing ctors can be dangerous at times because some compilers automatically create default or copy ctors for classes even if they aren't used. One technique to work around this is to put the

[dev] Padding, Bjorn is out of the office.

2008-05-09 Thread Bjorn Padding
I will be out of the office starting 05/09/2008 and will not return until 05/13/2008. Regards, Bjorn - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[dev] CHINA001 (was: Re: [dev] List of 2730 uncallable methods in DEV300_m10)

2008-05-09 Thread Kohei Yoshida
Hi Niklas, On Fri, 2008-05-09 at 19:17 +0200, Niklas Nebel wrote: example: CHINA001 In the interest of removing the unused code, I'd like know what those CHINA001 labels are for. Is it okay to perhaps review those commented out lines and see if we can remove them permanently? Kohei -- Kohei

Re: [dev] TypeClass.hdl

2008-05-09 Thread Ariel Constenla-Haile
Hi Rick, rick cameron escribió: Hi I'm an absolute newbie at programming against the OOo SDK. I am looking at the office_connect.cxx sample from the Professional UNO section of the developer's guide, and trying to build it in Visual C++ 2005. There is a #include of TypeClass.hdl but this file

Re: [dev] Can OOo objects be used in-process?

2008-05-09 Thread Ariel Constenla-Haile
Hi Rick, rick cameron escribió: Hi I am just starting to learn about the OOo APIs. I have managed to get a very simple Java program that uses Bootstrap.bootstrap and XComponentContext.getServiceManager working, and noticed that when I run it a couple of new processes start (soffice.exe and

[dev] Re: TypeClass.hdl

2008-05-09 Thread rick cameron
Hi, Ariel Muchisimas gracias for this detailed explanation! If this info isn't already in the wiki (and I wasn't able to find anything similar) it should be! I'll try out your suggestions and report back. It seems odd to me that the SDK is incomplete - that the programmer who wants to use the

[dev] Re: Can OOo objects be used in-process?

2008-05-09 Thread rick cameron
Hi, Ariel Thanks again for the examples. I'll try them once I get the basics in place. Can you tell me whether it's possible for a C++ client app to create OOo objects (such as a spreadsheet) in the same process as the calling code? Ciao - rick

Re: [dev] Re: Can OOo objects be used in-process?

2008-05-09 Thread Ariel Constenla-Haile
Hi Rick, rick cameron escribió: Hi, Ariel Thanks again for the examples. I'll try them once I get the basics in place. Can you tell me whether it's possible for a C++ client app to create OOo objects (such as a spreadsheet) in the same process as the calling code? that's what the snipet