[api-dev] This request requires elevation

2009-04-29 Thread Linda Gehan
this is the error I get when I try to open and exel doc or spreadsheet (which used to work for me)... I've tried the Run as Administrator and that doesn't work either...   HELP!! Please Thanks Linda

[api-dev] Open Office

2009-04-29 Thread Linda Gehan
when I try to open an excel program (which I used to be able to do) I get an error message saying The requested operation requires elevation.. I have tried to Run as Administrator and that, too, does not work. HELP!

Re: [api-dev] Change pagestyle of all pages

2009-04-29 Thread Cor Nouws
Dear Laurent, Crivello, Laurent wrote (29-4-2009 10:53) I am currently trying to change the page size of every page in my writer document, to a single size. However my code only changes it for the first page. How to apply it to the whole document ? There is nothing wrong with your code. It

[api-dev] Change pagestyle of all pages

2009-04-29 Thread Crivello, Laurent
Dear All, I am currently trying to change the page size of every page in my writer document, to a single size. However my code only changes it for the first page. How to apply it to the whole document ? Here is the code I use: controller=doc.getCurrentController()

Re: [api-dev] Thinking about an API deprecation process

2009-04-29 Thread Thorsten Behrens
Stephan Bergmann wrote: On 04/28/09 14:27, Thorsten Behrens wrote: well, Win32 is only one platform, and experience tells that in general, c++ extension *do* break between releases. But you're right, that's not necessarily caused by ABI changes in the strict meaning of the word, a case in

[api-dev] Save slide OOImpress 3.0 using C++.

2009-04-29 Thread Shoaib Jameel
Hi, I use OpenSuSE 10.2, kernel 2.6.18.2. I have OpenOffice3.org and OpenOffice.org SDK version is 3.0. My OOImpress presentation has 7 slides in all. I want to save each of the 7 slides as different OOImpress presentations in different files. For, example, Slide 1 in the original presentation

Re: [api-dev] Thinking about an API deprecation process

2009-04-29 Thread Kay Ramme - Sun Germany - Hamburg
... unsure where to start, seems I missed some mails ... Let me briefly sort my thoughts: - We (OOo) do provide APIs (Uno, C/C++, Java, BASIC etc.) more or less for modularizing / unitizing OOo. - We do regard some of these APIs to be for internal use only, while others are available for

[api-dev] Problem with my Eventhandler under OOWriter 3.x (Exception)

2009-04-29 Thread Alex P
Hello! I've got a Problem with the registration of my Event-Handler since I installed OpenOffice.org 3. My Basic script to register my simple Eventhandler seems to be obsolete and I dont find the correct fix for this. I only want to capture the Close of my Document to sent a message to my

Re: [api-dev] Thinking about an API deprecation process

2009-04-29 Thread Thorsten Behrens
Mathias Bauer wrote: well, Win32 is only one platform, :-) It's the platform of the overwhelming majority of our users. Hi Mathias, well, the question of *how* overwhelming the majority is, that's indeed interesting (though largely off-topic here, I fear) - what might be the number of

Re: [api-dev] Thinking about an API deprecation process

2009-04-29 Thread Cor Nouws
Kay Ramme - Sun Germany - Hamburg wrote (29-4-2009 12:31) ... unsure where to start, seems I missed some mails ... I did not read much of this thread, but .. [...] This means also that we can expect the maintainer to adapt the code to any (reasonably) changing APIs. This sounds completely

Re: [api-dev] Problem with my Eventhandler under OOWriter 3.x (Exception)

2009-04-29 Thread Bernard Marcelly
Hi Alex, According to the IDL documentation, XEventListener is deprecated. Use (still unpublished) XDocumentEventListener. http://api.openoffice.org/docs/common/ref/com/sun/star/document/XDocumentEventListener.html Regards Bernard Message de Alex P date 2009-04-29 12:37 : Hello! I've got a

Re: [api-dev] Thinking about an API deprecation process

2009-04-29 Thread Frank Schönheit - Sun Microsystems Germany
Hi Thorsten, as a general preface, let me say that I agree to Jürgen that we should separate UNO API incompatibility from UDK API incompatibility. While I think that some ideas can be applied to both, my gut feeling is that both topics are too different to be discussed together. preface II:

Re: [api-dev] Thinking about an API deprecation process

2009-04-29 Thread Frank Schönheit - Sun Microsystems Germany
Hi Thorsten, I buy that. But as I said elsewhere, in my book there's a fundamental difference between c++ extensions and e.g. Java- or Python-based ones: it is *much* easier to break compatibility for c++ extensions, and handling them suck when dealing with cross-platform extensions. Given

Re: [api-dev] Thinking about an API deprecation process

2009-04-29 Thread Frank Schönheit - Sun Microsystems Germany
Hi Thorsten, well, Win32 is only one platform, and experience tells that in general, c++ extension *do* break between releases. But you're right, that's not necessarily caused by ABI changes in the strict meaning of the word, a case in point is the 3 layer OOo rework. Hu?

Re: [api-dev] Problem with my Eventhandler under OOWriter 3.x (Exception)

2009-04-29 Thread Mikhail Voytenko
Hi Bernard, Alex, com::sun::star::lang::XEventListener is not deprecated. The problem looks to be that the document implements two addEventListener() methods that differ only by the type of the provided argument. You need the one that gets com::sun::star::lang::XEventListener. If I am not

Re: [api-dev] Thinking about an API deprecation process

2009-04-29 Thread Thorsten Behrens
Frank Schönheit - Sun Microsystems Germany wrote: [lots of valid points] Hi Frank, no disagreement whatsoever. Who decides? Difficult ... Having a gatekeeper (or multiple fatekeepers) does not really sounds feasible. I would hope that discussing the changes in public until a consensus is

Re: [api-dev] Thinking about an API deprecation process

2009-04-29 Thread Thorsten Behrens
Frank Schönheit - Sun Microsystems Germany wrote: oh, I was under the impression the author is referring to c++ - so then, it's Java? Should we add Java to the list of fragile extension implementations as well? ;) Not sure you're doing the topic a good with this The mentioned

Re: [api-dev] Problem with my Eventhandler under OOWriter 3.x (Exception)

2009-04-29 Thread Andreas Bregas
Hi Alex, com::sun::star::lang::XEventListener is not deprecated. The problem looks to be that the document implements two addEventListener() methods that differ only by the type of the provided argument. You need the one that gets com::sun::star::lang::XEventListener. If I am not wrong

Re: [api-dev] Problem with my Eventhandler under OOWriter 3.x (Exception)

2009-04-29 Thread Bernard Marcelly
Message de Mikhail Voytenko date 2009-04-29 15:00 : Hi Bernard, Alex, com::sun::star::lang::XEventListener is not deprecated. The problem looks to be that the document implements two addEventListener() methods that differ only by the type of the provided argument. You need the one that gets

[api-dev] Problem saving RTF file from OpenOffice 3

2009-04-29 Thread Cristian Fonti
Hi to all, i found a problem if i try to save a file (open with OpenOffice 3.0) as .rtf, the numeric or dot list are not preserved (In OpenOffice 2.0 i don't have any problems about this). Any suggest for me?? Thanks to all Regards ~~

Re: [api-dev] This request requires elevation

2009-04-29 Thread Grover Blue
That is the error. You didn't include it in the email. On Tue, Apr 28, 2009 at 5:55 PM, Linda Gehan jlb.1...@yahoo.com wrote: this is the error I get when I try to open and exel doc or spreadsheet (which used to work for me)... I've tried the Run as Administrator and that doesn't work

Re: [api-dev] Thinking about an API deprecation process

2009-04-29 Thread Frank Schönheit - Sun Microsystems Germany
Hi Thorsten, Who decides? Difficult ... Having a gatekeeper (or multiple fatekeepers) does not really sounds feasible. I would hope that discussing the changes in public until a consensus is reached would work out. Uh, well. While I appreciate striving for consent, this tends to not work

[api-dev] Replace UNO:Paste

2009-04-29 Thread Cor Nouws
Hi, From some threads in the mail archive, I reed it is possible to replace a uno function by one you define yourself. But the example(s) I find are about a component written in Java. Is it possible to do replace UNO:Paste also in OOo-Basic? I think that the devGuide [1] shows the theory, but