[api-dev] Re: Get list of printers

2011-04-08 Thread Frank Schönheit
Hi Andrew, I had hoped it would be as easy as CreateUnoService(com.sun.star.awt.PrinterServer) Unfortunately, the returned object is not usable. Usable is a relative term. You can always do something like this: oServer = CreateUnoService(com.sun.star.awt.PrinterServer) oCore =

Re: [api-dev] Grid control on OOo 3.3.0

2011-02-08 Thread Frank Schönheit
runs (and works) with the new implementations as well. Ciao Frank -- ORACLE Frank Schönheit | Software Engineer | frank.schoenh...@oracle.com Oracle Office Productivity: http://www.oracle.com/office - To unsubscribe, e-mail

Re: [api-dev] Grid control on OOo 3.3.0

2011-02-08 Thread Frank Schönheit
in master with the integration of CWS gridsort), and grabbed the other one. Implementing a resizable row header column would be pretty easy, though I am not sure about the implications ... For the moment, I just grabbed the issue, let's see. Ciao Frank -- ORACLE Frank Schönheit | Software Engineer

Re: [api-dev] use of css.container.EnumerableMap

2011-01-05 Thread Frank Schönheit
Frank Schönheit | Software Engineer | frank.schoenh...@oracle.com Oracle Office Productivity: http://www.oracle.com/office - To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org For additional commands, e-mail: dev-h

Re: [api-dev] Enhancing StarBasic then ? (Re: [api-dev] use of css.container.EnumerableMap

2011-01-05 Thread Frank Schönheit
Hi Andreas, Il 21/12/2010 10:25, Frank Schönheit ha scritto: as I was the one who wrote this service (out of a particular need): Sorry, I wasn't aware that Type is such a ... difficult thing in Basic. I'll keep that in mind for the next API I design :-\ This is the wrong way, I

Re: [api-dev] Enhancing StarBasic then ? (Re: [api-dev] use of css.container.EnumerableMap

2011-01-03 Thread Frank Schönheit
this is feasible and doable. Ciao Frank -- ORACLE Frank Schönheit | Software Engineer | frank.schoenh...@oracle.com Oracle Office Productivity: http://www.oracle.com/office - To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org

Re: [api-dev] use of css.container.EnumerableMap

2010-12-22 Thread Frank Schönheit
...@api or interface-disc...@ooo, but I definitely did, as I remember the pain to make it conform to all the (rightful) requirements raised by different people). Sadly, nobody caught this Type-problem - I'd bet this is pretty unknown to a lot of people. Ciao Frank -- ORACLE Frank Schönheit

Re: [api-dev] Some consistency in IDL please

2010-11-03 Thread Frank Schönheit
the rule would break the build ... Ciao Frank -- ORACLE Frank Schönheit | Software Engineer | frank.schoenh...@oracle.com Oracle Office Productivity: http://www.oracle.com/office - To unsubscribe, e-mail: dev-unsubscr

Re: [api-dev] Some consistency in IDL please

2010-11-03 Thread Frank Schönheit
What about autodoc enforcing this? Since autodoc is ran in the odk module, not following the rule would break the build ... could be a next step ;-) http://www.openoffice.org/issues/show_bug.cgi?id=115368 Ciao Frank -- ORACLE Frank Schönheit | Software Engineer | frank.schoenh...@oracle.com

Re: [api-dev] Attempt for an UNO Undo API

2010-11-01 Thread Frank Schönheit
nothing is impossible in software. That's an urban legend. Except you can show me the piece of code which solves the halting problem. Ciao Frank -- ORACLE Frank Schönheit | Software Engineer | frank.schoenh...@oracle.com Oracle Office Productivity: http://www.oracle.com/office

Re: [api-dev] Re: Some consistency in IDL please

2010-10-29 Thread Frank Schönheit
Hi Michael, @since OpenOffice.org 3.3 @since OOo 3.3 @since OOo 3.3.0 @since OOo3.3 @since OpenOffice.org 3.3 Please, API developers, could you stick to one rule ? :-) yes, that would indeed be a good idea :) can somebody (jsc?) please declare one of these as correct? In the past,

Re: [api-dev] Re: Some consistency in IDL please

2010-10-29 Thread Frank Schönheit
with doxygen. Ciao Frank -- ORACLE Frank Schönheit | Software Engineer | frank.schoenh...@oracle.com Oracle Office Productivity: http://www.oracle.com/office - To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org For additional

Re: [api-dev] Attempt for an UNO Undo API

2010-10-28 Thread Frank Schönheit
Hi Mathias, I think that editing of OLE objects (and linked sheets are just a variant of them) should stay as they are: while you are editing the object, you might be able to undo parts of the editing, but after leaving the OLE object all changes made in this session can only be undone

Re: [api-dev] Attempt for an UNO Undo API

2010-10-27 Thread Frank Schönheit
is not even present at the UI (if we talk about data changes - it well exists in UI components such as the query/table/forms/reports designers), so there's nothing the API implementation could be based on, at the moment. Ciao Frank -- ORACLE Frank Schönheit | Software Engineer | frank.schoenh

Re: [api-dev] Attempt for an UNO Undo API

2010-10-27 Thread Frank Schönheit
a generic one, I'd say. Ciao Frank -- ORACLE Frank Schönheit | Software Engineer | frank.schoenh...@oracle.com Oracle Office Productivity: http://www.oracle.com/office - To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org

Re: [api-dev] Attempt for an UNO Undo API

2010-10-27 Thread Frank Schönheit
the action will succeed next time (temporary vs. permanent failures). Also, not having the distinction simplifies the implementation of the actions, making them less error-prone. Thanks Ciao Frank -- ORACLE Frank Schönheit | Software Engineer | frank.schoenh...@oracle.com Oracle Office Productivity

Re: [api-dev] Attempt for an UNO Undo API

2010-10-26 Thread Frank Schönheit
opener for bad hacks, that is.). For the moment, I declared an UndoFailedException, derived from css.uno.Exception, and let undo/redo throw it. Still an euphemism for anything can go wrong, though, so I am not that happy with it ... Ciao Frank -- ORACLE Frank Schönheit | Software Engineer

Re: [api-dev] Attempt for an UNO Undo API

2010-10-25 Thread Frank Schönheit
Frank Schönheit | Software Engineer | frank.schoenh...@oracle.com Oracle Office Productivity: http://www.oracle.com/office - To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org For additional commands, e-mail: dev-h

Re: [api-dev] Attempt for an UNO Undo API

2010-10-25 Thread Frank Schönheit
manager, listener notification, and the like. Ciao Frank -- ORACLE Frank Schönheit | Software Engineer | frank.schoenh...@oracle.com Oracle Office Productivity: http://www.oracle.com/office - To unsubscribe, e-mail: dev

Re: [api-dev] Attempt for an UNO Undo API

2010-10-25 Thread Frank Schönheit
, also can't d. both b. and c. I tend to 1a., 2-yes, and 3d., but would appreciate any opinion on this. Ciao Frank -- ORACLE Frank Schönheit | Software Engineer | frank.schoenh...@oracle.com Oracle Office Productivity: http://www.oracle.com/office

Re: [api-dev] Attempt for an UNO Undo API

2010-10-25 Thread Frank Schönheit
all contexts left behind by the script. This would still allow for education of API clients :), but wouldn't bother the user too much with the results of broken scripts. Ciao Frank -- ORACLE Frank Schönheit | Software Engineer | frank.schoenh...@oracle.com Oracle Office Productivity: http

Re: [api-dev] Attempt for an UNO Undo API

2010-10-22 Thread Frank Schönheit
for the above-mentioned changes. Ciao Frank PS: If only a Writer developer could lend me a hand for implementing the new ::svl::IUndoManager interface on top of Writer's own home-grown Undo implementation, the whole thing would be nearly finished :) -- ORACLE Frank Schönheit | Software Engineer

Re: [api-dev] Attempt for an UNO Undo API

2010-10-22 Thread Frank Schönheit
enough information for this. Ciao Frank -- ORACLE Frank Schönheit | Software Engineer | frank.schoenh...@oracle.com Oracle Office Productivity: http://www.oracle.com/office - To unsubscribe, e-mail: dev-unsubscr

Re: [api-dev] Attempt for an UNO Undo API

2010-10-19 Thread Frank Schönheit
, instead of the other way 'round. Everything else would, so I think, need tremendous efforts. So, I prefer an incremental solution. Which is why I introduced the API here - to gather feedback on how future-proof the design is considered by others. Ciao Frank -- ORACLE Frank Schönheit | Software

Re: [api-dev] Re: Attempt for an UNO Undo API

2010-10-19 Thread Frank Schönheit
will *not* implement an API which does not have addUndo( XUndo ) :) Ciao Frank -- ORACLE Frank Schönheit | Software Engineer | frank.schoenh...@oracle.com Oracle Office Productivity: http://www.oracle.com/office - To unsubscribe, e-mail: dev

Re: [api-dev] Re: Attempt for an UNO Undo API

2010-10-19 Thread Frank Schönheit
will not immediately use it as complete internal replacement. Ciao Frank -- ORACLE Frank Schönheit | Software Engineer | frank.schoenh...@oracle.com Oracle Office Productivity: http://www.oracle.com/office - To unsubscribe, e-mail

[api-dev] Attempt for an UNO Undo API

2010-10-04 Thread Frank Schönheit
, XUndoManagerSupplier - find the generated IDL for the proposed API at http://udk.openoffice.org/files/documents/23/4795/undo.zip Ciao Frank -- ORACLE Frank Schönheit | Software Engineer | frank.schoenh...@oracle.com Oracle Office Productivity: http://www.oracle.com/office

Re: [api-dev] info/CWS slidecopy : vnd.sun.star.extension:// URLs providing access to content within deployed extensions

2010-04-29 Thread Frank Schönheit
Hi Juergen, One comment from me, i wouldn't use the protocol name vnd.sun.star.extension://extension_identifier/ I would prefer something like vnd.ooo.extension://extension_identifier/ or vnd.oxt://extension_identifier/ Thought about such, too. Finally, I just tried to be

Re: [api-dev] OpenOffice.org and threads

2010-04-01 Thread Frank Schönheit
Hi Patrick, I have another question on the same subject : is osl::Mutex recursive ? If a thread has a mutex locked, what happens if it tries to lock it again ? it succeeds. Ciao Frank - To unsubscribe, e-mail:

Re: [api-dev] adding a method to a published interface

2009-07-06 Thread Frank Schönheit - Sun Microsystems Germany
? Who's to finally decide that? Ciao Frank -- - Frank Schönheit, Software Engineer frank.schoenh...@sun.com - - Sun Microsystems http://www.sun.com/staroffice - - OpenOffice.org Base http://dba.openoffice.org

Re: [api-dev] Re: [interface-discuss] adding a method to a published interface

2009-06-30 Thread Frank Schönheit - Sun Microsystems Germany
the OOo code base are rather low (since all the code around it does not really allow for pure UNO components outside the OOo code, but that's another topic). So, I'd say we're on the safe side here. Ciao Frank -- - Frank Schönheit, Software Engineer frank.schoenh...@sun.com - - Sun

Re: [api-dev] Re: [interface-discuss] adding a method to a published interface

2009-06-30 Thread Frank Schönheit - Sun Microsystems Germany
to add. Not sure if this still holds nowadays (my understanding always was it doesn't), but I didn't try. Ciao Frank -- - Frank Schönheit, Software Engineer frank.schoenh...@sun.com - - Sun Microsystems http://www.sun.com/staroffice - - OpenOffice.org Base

Re: [api-dev] adding a method to a published interface

2009-06-30 Thread Frank Schönheit - Sun Microsystems Germany
to outline) incompatibility. Well, yes, my wording was a little bit tendentious, but really, I prefer 2. over 1. Ciao Frank -- - Frank Schönheit, Software Engineer frank.schoenh...@sun.com - - Sun Microsystems http://www.sun.com/staroffice - - OpenOffice.org Base

Re: [api-dev] adding a method to a published interface

2009-06-30 Thread Frank Schönheit - Sun Microsystems Germany
-everybody-happy solution instead? Is there a good reason to not do the changes incrementally? And no, we once decided against getter methods since they are synchronously is *not* a good reason, sorry. Ciao Frank -- - Frank Schönheit, Software Engineer frank.schoenh...@sun.com - - Sun

Re: [api-dev] adding a method to a published interface

2009-06-30 Thread Frank Schönheit - Sun Microsystems Germany
it, an inevitable precondition for this rule set is discussion. Ciao Frank -- - Frank Schönheit, Software Engineer frank.schoenh...@sun.com - - Sun Microsystems http://www.sun.com/staroffice - - OpenOffice.org Base http://dba.openoffice.org

[api-dev] adding a method to a published interface

2009-06-29 Thread Frank Schönheit - Sun Microsystems Germany
and d...@api, follow-up to d...@api -- - Frank Schönheit, Software Engineer frank.schoenh...@sun.com - - Sun Microsystems http://www.sun.com/staroffice - - OpenOffice.org Base http://dba.openoffice.org

Re: [api-dev] Macro ODB documents

2009-06-08 Thread Frank Schönheit - Sun Microsystems Germany
infrastructure - as far as UNO was concerned, and we deliberately decided to use the UNO and not the SFX framework - was not completely mature, we decided against MDI. Ciao Frank -- - Frank Schönheit, Software Engineer frank.schoenh...@sun.com - - Sun Microsystems http

Re: [api-dev] Macro ODB documents

2009-06-08 Thread Frank Schönheit - Sun Microsystems Germany
), and when I did the implementation for macros in DB docs, I took big care to not change any ThisComponent related behavior for the other applications. I in fact think users would kill us if we would :) Ciao Frank -- - Frank Schönheit, Software Engineer frank.schoenh...@sun.com - - Sun

Re: [api-dev] Macro ODB documents

2009-06-05 Thread Frank Schönheit - Sun Microsystems Germany
. It is of course still possible to programmatically execute a macro which resides in a non-current document, and therein, ThisComponent points to the embedding doc, not the active one. Ciao Frank -- - Frank Schönheit, Software Engineer frank.schoenh...@sun.com - - Sun Microsystems

Re: [api-dev] Macro ODB documents

2009-06-05 Thread Frank Schönheit - Sun Microsystems Germany
separately. Ciao Frank -- - Frank Schönheit, Software Engineer frank.schoenh...@sun.com - - Sun Microsystems http://www.sun.com/staroffice - - OpenOffice.org Base http://dba.openoffice.org

Re: [api-dev] Macro ODB documents

2009-06-05 Thread Frank Schönheit - Sun Microsystems Germany
want. Ciao Frank [1]http://api.openoffice.org/docs/common/ref/com/sun/star/sdb/application/XDatabaseDocumentUI.html -- - Frank Schönheit, Software Engineer frank.schoenh...@sun.com - - Sun Microsystems http://www.sun.com/staroffice - - OpenOffice.org Base

Re: [api-dev] Macro ODB documents

2009-06-05 Thread Frank Schönheit
Hi Fernand, BTW: oController.loadComponent( my form, com.sun.star.sdb.application.DatabaseObject.FORM,FALSE ) do not works , must be: oController.loadComponent(com.sun.star.sdb.application.DatabaseObject.FORM, my form,FALSE ) Uhm, sorry, and thanks for fixing it :) Ciao Frank

Re: [api-dev] Proposal: first convention to discuss API changes in the future

2009-05-15 Thread Frank Schönheit - Sun Microsystems Germany
with MI interfaces (UnoControl comes to my mind immediately, plus a few others), but trying to do everything at once is likely to fail. Ciao Frank -- - Frank Schönheit, Software Engineer frank.schoenh...@sun.com - - Sun Microsystems http://www.sun.com/staroffice

Re: [api-dev] Proposal: first convention to discuss API changes in the future

2009-05-15 Thread Frank Schönheit - Sun Microsystems Germany
4.0 is out.) So, I still think we should be more open to API changes between major releases, if we seriously want them to happen. (And no, they're not an end it themselves.) Ciao Frank -- - Frank Schönheit, Software Engineer frank.schoenh...@sun.com - - Sun Microsystems

Re: [api-dev] Proposal: first convention to discuss API changes in the future

2009-05-15 Thread Frank Schönheit - Sun Microsystems Germany
changes. As you agree below, old style services can (in some respect) changed even now, without any effect on clients. There's probably more things which are not *that* trivial, but still trivial enough to be made even before 4.0. Let's see. Ciao Frank -- - Frank Schönheit, Software Engineer

Re: [api-dev] Proposal: first convention to discuss API changes in the future

2009-05-15 Thread Frank Schönheit - Sun Microsystems Germany
-style services) should be possible at every release (even 3.x). Every agreement can be reconsidered later, so this one also. But we don't need to do that before 4.0 has actually shipped. Let's remove the last sentence :) Ciao Frank -- - Frank Schönheit, Software Engineer frank.schoenh

Re: [api-dev] Proposal: first convention to discuss API changes in the future

2009-05-14 Thread Frank Schönheit - Sun Microsystems Germany
, sub component: autodoc, owner: np, cc: fs :) Thanks Ciao Frank -- - Frank Schönheit, Software Engineer frank.schoenh...@sun.com - - Sun Microsystems http://www.sun.com/staroffice - - OpenOffice.org Base http://dba.openoffice.org

Re: [api-dev] Proposal: first convention to discuss API changes in the future

2009-05-14 Thread Frank Schönheit - Sun Microsystems Germany
-- - Frank Schönheit, Software Engineer frank.schoenh...@sun.com - - Sun Microsystems http://www.sun.com/staroffice - - OpenOffice.org Base http://dba.openoffice.org

Re: [api-dev] Proposal: first convention to discuss API changes in the future

2009-05-14 Thread Frank Schönheit - Sun Microsystems Germany
welcome! Ciao Frank -- - Frank Schönheit, Software Engineer frank.schoenh...@sun.com - - Sun Microsystems http://www.sun.com/staroffice - - OpenOffice.org Base http://dba.openoffice.org

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

2009-04-30 Thread Frank Schönheit - Sun Microsystems Germany
into the MWS, or even a release. And this requires discussion, most of the time. Ciao Frank -- - Frank Schönheit, Software Engineer frank.schoenh...@sun.com - - Sun Microsystems http://www.sun.com/staroffice - - OpenOffice.org Base http

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

2009-04-29 Thread Frank Schönheit - Sun Microsystems Germany
topic of its own. Let's keep all this separate, please. -- - Frank Schönheit, Software Engineer frank.schoenh...@sun.com - - Sun Microsystems http://www.sun.com/staroffice - - OpenOffice.org Base http://dba.openoffice.org

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

2009-04-29 Thread Frank Schönheit - Sun Microsystems Germany
all that, I believe their use should be discouraged, agreed so far. and they should have less weight when it comes to deciding for or against a change that would affect c++ extensions alone. less weight - yes. But not no weight. Ciao Frank -- - Frank Schönheit, Software Engineer

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

2009-04-29 Thread Frank Schönheit - Sun Microsystems Germany
in different OOo versions ... (well, introducing a dependency to the compiler version or something like this, might be a good idea, but that's independent from API compatibility, IMO.) Ciao Frank -- - Frank Schönheit, Software Engineer frank.schoenh...@sun.com - - Sun Microsystems

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

2009-04-29 Thread Frank Schönheit - Sun Microsystems Germany
process. Ciao Frank -- - Frank Schönheit, Software Engineer frank.schoenh...@sun.com - - Sun Microsystems http://www.sun.com/staroffice - - OpenOffice.org Base http://dba.openoffice.org

Re: [api-dev] How to find containing row of an XTextRange

2009-04-02 Thread Frank Schönheit - Sun Microsystems Germany
the method getSomething(). Now there is a XTextTableSupplier interface, which has a method getTextTable. So maybe your object supports this interface? Ciao Frank -- - Frank Schönheit, Software Engineer frank.schoenh...@sun.com - - Sun Microsystems http://www.sun.com

Re: [api-dev] How to find containing row of an XTextRange

2009-04-02 Thread Frank Schönheit - Sun Microsystems Germany
Ciao Frank -- - Frank Schönheit, Software Engineer frank.schoenh...@sun.com - - Sun Microsystems http://www.sun.com/staroffice - - OpenOffice.org Base http://dba.openoffice.org

Re: [api-dev] Regresion in User Defined DocumentInfo

2009-03-16 Thread Frank Schönheit - Sun Microsystems Germany
submitting a issue, and raising it as 3.1 blocker in relea...@openoffice.org. Ciao Frank -- - Frank Schönheit, Software Engineer frank.schoenh...@sun.com - - Sun Microsystems http://www.sun.com/staroffice - - OpenOffice.org Base http

Re: [api-dev] No more lck file with HSQLDB Base ?

2009-02-23 Thread Frank Schönheit - Sun Microsystems Germany
, and asked Ocke to investigate the problem. Thanks for the hint! Ciao Frank -- - Frank Schönheit, Software Engineer frank.schoenh...@sun.com - - Sun Microsystems http://www.sun.com/staroffice - - OpenOffice.org Base http://dba.openoffice.org

Re: [api-dev] How to attach new Model to old Controller

2009-02-19 Thread Frank Schönheit - Sun Microsystems Germany
), the UNO API really is only a facade on top of a non-UNO implementation, which obviously was never prepared to exchange the document of a given view. Ciao Frank -- - Frank Schönheit, Software Engineer frank.schoenh...@sun.com - - Sun Microsystems http://www.sun.com

Re: [api-dev] How to attach new Model to old Controller

2009-02-19 Thread Frank Schönheit - Sun Microsystems Germany
of your components caches any direct or indirect property (in a very broad sense) of the model, you need to invalidate all those data. Again, I think evaluating the load another document into the same frame approach is worth an evaluation, to prevent this kind of problems. Ciao Frank -- - Frank

Re: [api-dev] How to attach new Model to old Controller

2009-02-18 Thread Frank Schönheit - Sun Microsystems Germany
-- - Frank Schönheit, Software Engineer frank.schoenh...@sun.com - - Sun Microsystems http://www.sun.com/staroffice - - OpenOffice.org Base http://dba.openoffice.org

Re: [api-dev] Re: [allfeatures] changed/CWS fwk95 : Extended UNO AWT menu API

2009-01-19 Thread Frank Schönheit - Sun Microsystems Germany
an abstract contract), must be able to be adjusted to properly describe the evolving implementation. Ciao Frank -- - Frank Schönheit, Software Engineer frank.schoenh...@sun.com - - Sun Microsystems http://www.sun.com/staroffice - - OpenOffice.org Base

Re: [api-dev] Re: [allfeatures] changed/CWS fwk95 : Extended UNO AWT menu API

2009-01-18 Thread Frank Schönheit - Sun Microsystems Germany
cannot be changed because they are published, the same goes for css.awt.X/PopupMenu and css.awt.X/MenuBar, so IMHO the published/unpublished concept should be redesign. No, you won't get me in joining this discussion here. But you're absolutely right :) Ciao Frank -- - Frank Schönheit

[api-dev] Re: [allfeatures] changed/CWS fwk95 : Extended UNO AWT menu API

2009-01-17 Thread Frank Schönheit - Sun Microsystems Germany
-native English speakers creating API names? XExtendedFoo, or XFooExtension, or XFoo2, or ... but XFooExtended?) Ciao Frank -- - Frank Schönheit, Software Engineer frank.schoenh...@sun.com - - Sun Microsystems http://www.sun.com/staroffice - - OpenOffice.org Base

Re: [api-dev] Using XDatabaseDocumentUI.loadComponent with BASIC

2009-01-09 Thread Frank Schönheit - Sun Microsystems Germany
, or is extremely expensive to implement. Ciao Frank -- - Frank Schönheit, Software Engineer frank.schoenh...@sun.com - - Sun Microsystems http://www.sun.com/staroffice - - OpenOffice.org Base http://dba.openoffice.org

Re: [api-dev] Using XDatabaseDocumentUI.loadComponent with BASIC

2009-01-08 Thread Frank Schönheit - Sun Microsystems Germany
components is missing :( So: No, I don't think that's possible ATM. Wanna submit an RFE for a notification API? Ciao Frank -- - Frank Schönheit, Software Engineer frank.schoenh...@sun.com - - Sun Microsystems http://www.sun.com/staroffice - - OpenOffice.org Base

Re: [api-dev] Using XDatabaseDocumentUI.loadComponent with BASIC

2009-01-07 Thread Frank Schönheit - Sun Microsystems Germany
, yet (XDatabaseDocumentUI.isConnected()), then you need to do so (.connect()) - that might be worth an improvement. Ciao Frank -- - Frank Schönheit, Software Engineer frank.schoenh...@sun.com - - Sun Microsystems http://www.sun.com/staroffice - - OpenOffice.org Base

Re: [api-dev] How to change the ActiveConnection of a already opened Form

2009-01-05 Thread Frank Schönheit - Sun Microsystems Germany
of running an embedded form with an alien connection. In the worst case, this could lead to the conclusion that an ActiveConnection being different from the current connection of the application window is forbidden at all ... Ciao Frank -- - Frank Schönheit, Software Engineer frank.schoenh

Re: [api-dev] How to change the ActiveConnection of a already opened Form

2009-01-05 Thread Frank Schönheit - Sun Microsystems Germany
expect it. - open a OO-base-doc in a hidden way ? Should work, too, though I never played with this. Ciao Frank -- - Frank Schönheit, Software Engineer frank.schoenh...@sun.com - - Sun Microsystems http://www.sun.com/staroffice - - OpenOffice.org Base

Re: [api-dev] How set a Default Value to a FormControl ListBox

2009-01-05 Thread Frank Schönheit - Sun Microsystems Germany
-- - Frank Schönheit, Software Engineer frank.schoenh...@sun.com - - Sun Microsystems http://www.sun.com/staroffice - - OpenOffice.org Base http://dba.openoffice.org

Re: [api-dev] Re: Usage of UNO_QUERY_THROW

2008-12-16 Thread Frank Schönheit - Sun Microsystems Germany
constraint ... it just felt wrong (since potentially too expensive) to do Reference XFoo xFoo( xBar-getSomeFoo(), UNO_QUERY_THROW ); UNO_SET_THROW is cheaper in this case. Ciao Frank -- - Frank Schönheit, Software Engineer frank.schoenh...@sun.com - - Sun Microsystems

Re: [api-dev] Usage of UNO_QUERY_THROW

2008-12-11 Thread Frank Schönheit - Sun Microsystems Germany
Hi Daniel, Ah, by studying the sources, I learned that it should be uno::Reference XSomething xS2( xS1, uno::UNO_SET_THROW ); Right? Right. Ciao Frank -- - Frank Schönheit, Software Engineer frank.schoenh...@sun.com - - Sun Microsystems http://www.sun.com

Re: [api-dev] How to chenge column formats in DatsourceBrowser

2008-12-08 Thread Frank Schönheit - Sun Microsystems Germany
it again :-) Just wanted to say that this kind of introduction is unnecessary, I usually find the topics I can/want to contribute to without it :) Ciao Frank -- - Frank Schönheit, Software Engineer [EMAIL PROTECTED] - - Sun Microsystems http://www.sun.com/staroffice

Re: [api-dev] No more lck file with HSQLDB Base ?

2008-12-08 Thread Frank Schönheit - Sun Microsystems Germany
, and most probably a regression of the update to HSQLDB 1.8.0.10, which happened in DEV300m30. The problem is now known as issue 97032, thanks for finding it! Perhaps related to Issue 93381 ? Not at all. Ciao Frank -- - Frank Schönheit, Software Engineer [EMAIL PROTECTED] - - Sun Microsystems

Re: [api-dev] How to chenge column formats in DatsourceBrowser

2008-12-05 Thread Frank Schönheit - Sun Microsystems Germany
, but there's no life connection. So, a oModel.getByName( gridcolname ).setPropertyValue( FormatKey, 2 ) should do. Ciao Frank -- - Frank Schönheit, Software Engineer [EMAIL PROTECTED] - - Sun Microsystems http://www.sun.com/staroffice - - OpenOffice.org Base

Re: [api-dev] How to move viewcursor into a Form.textbox

2008-12-03 Thread Frank Schönheit - Sun Microsystems Germany
= ThisComponent.CurrentController.getControl( controlModel ) control.setFocus() should do. Ciao Frank -- - Frank Schönheit, Software Engineer [EMAIL PROTECTED] - - Sun Microsystems http://www.sun.com/staroffice - - OpenOffice.org Base http://dba.openoffice.org

Re: [api-dev] How to fill the Beamer (datbrowser) with SQL statement

2008-11-27 Thread Frank Schönheit - Sun Microsystems Germany
less code than the opening by the Dispatch API ? Docking by API is not possible. However, I think the beamer should always be docked when you pass the proper flags to loadComponentFromURL. Try using FrameSearchFlag.AUTO. Ciao Frank -- - Frank Schönheit, Software Engineer [EMAIL

Re: [api-dev] Xray problem with 3.0

2008-11-05 Thread Frank Schönheit - Sun Microsystems Germany
://www.openoffice.org/issues/show_bug.cgi?id=94980 Ciao Frank -- - Frank Schönheit, Software Engineer [EMAIL PROTECTED] - - Sun Microsystems http://www.sun.com/staroffice - - OpenOffice.org Base http://dba.openoffice.org

Re: [api-dev] API discussion/announce in the API mailing list?

2008-10-20 Thread Frank Schönheit - Sun Microsystems Germany
mail telling the link - won't work, for sure. Also, I think it is not necessary: If we agree on a suitable channel to send the mails to, then interested people can subscribe to this channel, and everything's fine. Ciao Frank -- - Frank Schönheit, Software Engineer [EMAIL PROTECTED] - - Sun

Re: [api-dev] API discussion/announce in the API mailing list?

2008-10-20 Thread Frank Schönheit - Sun Microsystems Germany
really announce all their API changes), people might complain about too much traffic they're not interested in. But it's of course sufficient to discuss a list separation then, and not now. Ciao Frank PS: Thanks for bringing up this topic! -- - Frank Schönheit, Software Engineer [EMAIL

Re: [api-dev] Equivalent to LogicToPixel(::Size, MAP_APPFONT) in css.awt.XUnitConversion

2008-09-19 Thread Frank Schönheit - Sun Microsystems Germany
for css.awt.XUnitConversion has a wrong description, and the methods descriptions are missing. Fixed in CWS dba31c. Ciao Frank -- - Frank Schönheit, Software Engineer [EMAIL PROTECTED] - - Sun Microsystems http://www.sun.com/staroffice - - OpenOffice.org Base http

Re: [api-dev] Equivalent to LogicToPixel(::Size, MAP_APPFONT) in css.awt.XUnitConversion

2008-09-19 Thread Frank Schönheit - Sun Microsystems Germany
to XUnitConversion, is of secondary interest (and I don't have an opinion on this, yet). Ciao Frank PS: Owner is [EMAIL PROTECTED] -- - Frank Schönheit, Software Engineer [EMAIL PROTECTED] - - Sun Microsystems http://www.sun.com/staroffice - - OpenOffice.org Base

Re: [api-dev] veto on a saveAs-action using the document event OnSaveAs

2008-08-13 Thread Frank Schönheit
Hi Christoph, Is there another way to veto on saveAs-actions for specific targets? I don't think so ... I want to veto on a saveAs-action using the document event OnSaveAs. The veto should be done only for specific target URLs (save-as filename), the user has chosen in the SaveAs-Dialog.

Re: [api-dev] (Carefully) changing legacy published API?

2008-08-06 Thread Frank Schönheit - Sun Microsystems Germany
catch your concrete case (and more, if you look into the CVS history of the reference RDB.) But that'd be a careful case-by-case decision, as it is today. 'nuf said. Ciao Frank -- - Frank Schönheit, Software Engineer [EMAIL PROTECTED] - - Sun Microsystems http

Re: [api-dev] Staroffice basic library question

2008-08-02 Thread Frank Schönheit - Sun Microsystems Germany
sugar: How to handle the case the library/module is already there? How to handle updates (i.e. you need versioning for the common_macros.bas file), and the like. Ciao Frank -- - Frank Schönheit, Software Engineer [EMAIL PROTECTED] - - Sun Microsystems http

Re: [api-dev] new-style service constructors [comes from How to get the canonical path from a script URL...

2008-06-15 Thread Frank Schönheit - Sun Microsystems Germany
factories change. So, at least *this* is not the problem with new-style service constructors in Basic ... Ciao Frank -- - Frank Schönheit, Software Engineer [EMAIL PROTECTED] - - Sun Microsystems http://www.sun.com/staroffice - - OpenOffice.org Base

Re: [api-dev] AWT: some questions concerning Toolkit inconsistencies

2008-02-29 Thread Frank Schönheit - Sun Microsystems Germany
to the dialog model's model container facet. Ciao Frank -- - Frank Schönheit, Software Engineer [EMAIL PROTECTED] - - Sun Microsystems http://www.sun.com/staroffice - - OpenOffice.org Base http://dba.openoffice.org

Re: [api-dev] AWT: some questions concerning Toolkit inconsistencies

2008-02-29 Thread Frank Schönheit - Sun Microsystems Germany
at the factory of the dialog model, then this is effectively the same as creating it at the global service manager, and *wrapping* it into a small class which appends the additional properties. Ciao Frank -- - Frank Schönheit, Software Engineer [EMAIL PROTECTED] - - Sun Microsystems

Re: [api-dev] Bug in 2.4-dev / 680m2 ??

2008-01-23 Thread Frank Schönheit - Sun Microsystems Germany
. Seems that ThisComponent is not recognized. This is issue 85078, fixed in CWS thiscomponent, integrated into OOH680m3. Ciao Frank -- - Frank Schönheit, Software Engineer [EMAIL PROTECTED] - - Sun Microsystems http://www.sun.com/staroffice - - OpenOffice.org Base

Re: [api-dev] Undo API

2008-01-09 Thread Frank Schönheit - Sun Microsystems Germany
be available, but show some text not possible: running action, or something like that, and then behave as described by you. Ciao Frank -- - Frank Schönheit, Software Engineer [EMAIL PROTECTED] - - Sun Microsystems http://www.sun.com/staroffice - - OpenOffice.org Base

Re: [api-dev] Undo API

2008-01-09 Thread Frank Schönheit - Sun Microsystems Germany
solution. Ciao Frank -- - Frank Schönheit, Software Engineer [EMAIL PROTECTED] - - Sun Microsystems http://www.sun.com/staroffice - - OpenOffice.org Base http://dba.openoffice.org

Re: [api-dev] Undo API

2008-01-08 Thread Frank Schönheit - Sun Microsystems Germany
via UNO), but that's the general direction, I suppose. Of course you're free to throw this away completely if you think it's nonsense :) Ciao Frank -- - Frank Schönheit, Software Engineer [EMAIL PROTECTED] - - Sun Microsystems http://www.sun.com/staroffice

Re: [api-dev] feature versions

2008-01-08 Thread Frank Schönheit - Sun Microsystems Germany
(called autodoc) translates this, via a table, into Since OpenOffice.org 2.3. This tables isn't up-to-date always, see issue 68314 for an example. If I remember correctly, there was also such an issue with the table being outdated for 2.3, but I am not sure. Ciao Frank -- - Frank Schönheit, Software

Re: [api-dev] feature versions

2008-01-08 Thread Frank Schönheit - Sun Microsystems Germany
XDialogProvider2 to XDialogProvider) before declaring them as published, to consolidate the API in this point. Ciao Frank -- - Frank Schönheit, Software Engineer [EMAIL PROTECTED] - - Sun Microsystems http://www.sun.com/staroffice - - OpenOffice.org Base

Re: [api-dev] Undo API

2008-01-08 Thread Frank Schönheit - Sun Microsystems Germany
Best regards, Daniel Darabos - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- - Frank Schönheit, Software Engineer [EMAIL PROTECTED] - - Sun Microsystems

Re: [api-dev] css.awt.UnoControlButtonModel with property PushButtonType and ImageURL makes button multiline

2007-11-24 Thread Frank Schönheit - Sun Microsystems Germ any
or a feature? Since you set the ImagePosition to 1, which is com.sun.star.awt.ImagePosition.LeftCenter (btw: using this symbolic identifier would increase the readability of your code :), this sounds like a bug to me. Ciao Frank -- - Frank Schönheit, Software Engineer [EMAIL PROTECTED

Re: [api-dev] XComponent events and OfficeDocument events...

2007-11-14 Thread Frank Schönheit - Sun Microsystems Germa ny
Hello ashok, Or can I simply use com.sun.star.document.XEventListener since that implements lang.XEventListener as a base interface... ? Yes, you can. Ciao Frank -- - Frank Schönheit, Software Engineer [EMAIL PROTECTED] - - Sun Microsystems http://www.sun.com

Re: [api-dev] How to get the XStorable interface from a DataSource?

2007-11-13 Thread Frank Schönheit - Sun Microsystems Germa ny
for the XOfficeDatabaseDocument interface, you can use its getDataSource method to retrieve the data source - which is the same as the one with which you started.) HTH Ciao Frank -- - Frank Schönheit, Software Engineer [EMAIL PROTECTED] - - Sun Microsystems http://www.sun.com

Re: [api-dev] New-style Service Constructors in Basic

2007-11-12 Thread Frank Schönheit - Sun Microsystems Germa ny
detail* which one cannot rely one. Ciao Frank -- - Frank Schönheit, Software Engineer [EMAIL PROTECTED] - - Sun Microsystems http://www.sun.com/staroffice - - OpenOffice.org Base http://dba.openoffice.org

Re: [api-dev] New-style Service Constructors in Basic

2007-11-09 Thread Frank Schönheit - Sun Microsystems Germa ny
for spreading the confusion. Ciao Frank -- - Frank Schönheit, Software Engineer [EMAIL PROTECTED] - - Sun Microsystems http://www.sun.com/staroffice - - OpenOffice.org Base http://dba.openoffice.org

  1   2   >