Re: [api-dev] switching components in one frame

2006-05-26 Thread Mathias Bauer
this topic? No, but it will be announced in interface.announce once it's done. We wanted to introduce the new API together with adding the new UNO features to our models (multiple inheritance interfaces, new style service with constructors) but it turned out to be more work than expected. Best

Re: [api-dev] Backgroung conversion crashes when closing last foreground document

2006-05-27 Thread Mathias Bauer
? If a terminate listener prevents windows from becoming closed: not without changing the source, I'm afraid. I had a quick look into the source: it seems so. I have to think wether this is a bug or not. Best regards, Mathias --

Re: [api-dev] switching components in one frame

2006-05-27 Thread Mathias Bauer
Marc Santhoff wrote: > Am Freitag, den 26.05.2006, 17:51 +0200 schrieb Mathias Bauer: >> Marc Santhoff wrote: >> >> >> The recreation of the view is a little bit tricky because the necessary >> >> API currently does not exist (it's in the making thoug

Re: [api-dev] Backgroung conversion crashes when closing last foreground document

2006-05-28 Thread Mathias Bauer
gt; source: it seems so. I have to think wether this is a bug or not. > > in case you submit an issue, please tell me, I'll vote for it :-). Would > it be a lot of work to change it? I just have to find out why we made it that way. There must have been a reason. :-) Once

Re: [api-dev] switching components in one frame

2006-05-29 Thread Mathias Bauer
Mathias Bauer wrote: > Marc Santhoff wrote: > >> Am Freitag, den 26.05.2006, 17:51 +0200 schrieb Mathias Bauer: >>> Marc Santhoff wrote: >>> >>> >> The recreation of the view is a little bit tricky because the necessary >>> >

Re: [api-dev] Backgroung conversion crashes when closing last foreground document

2006-05-30 Thread Mathias Bauer
Mathias Bauer wrote: > Tobias Krais wrote: > >> Hi Mathias, >> >>>>>Ah, maybe the problem is that OOo doesn't close its open windows on >>>>>"File-Exit" when a terminate listener throws a VetoException? Well, this >>>>&g

Re: [api-dev] Backgroung conversion crashes when closing last foreground document

2006-05-30 Thread Mathias Bauer
the ability to close all task windows via "File Exit". So we still can get another issue. :-) Best regards, Mathias > Best Regard > Cristian > > Mathias Bauer ha scritto: >> Mathias Bauer wrote: >> >> >>> Tobias Krais wrote: >>> >

Re: [api-dev] How to add a toolbar and its icons to a uno.pkg

2006-06-03 Thread Mathias Bauer
into NetBeans, Eclipse or our Basic IDE, but this isn't done yet. When these tools will be done all you will have to specify is which commands shall be added to your toolbar or menu and which code shall be bound to it. Until then you could study existing code to learn how the things

Re: [api-dev] how to make the macros available to all users of a Windows Terminal server

2006-06-08 Thread Mathias Bauer
"Export" command that exports the selected library into a UNO package. Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Lead Please reply to the list only, [EMAIL PROTECTED] is a spam sink. -

Re: [api-dev] How to add a toolbar and its icons to a uno.pkg

2006-06-08 Thread Mathias Bauer
, read its Addon.xcu and compare it with the menu or toolbar you see in OOo when you install the package you should be able to understand how it works. Everything else should be in the DevGuide, but if you have a concrete question about a special element or code line in the xcu file I'm sure t

Re: [api-dev] How to debug API usage

2006-06-08 Thread Mathias Bauer
> Still, I suggest that there should be a way to get the exception error code. You can get the error code from the exception (see its IDL definition). Then you will need the documentation that explains which meaning the codes have. Unfortunately we didn't put it online until now

Re: [api-dev] Restarting a frozen OOo

2006-06-27 Thread Mathias Bauer
thread owning the SolarMutex does not return from the X11 call. Obviously the main thread was going to show a tooltip window. Once this had been finished the emergency saving process should continue in the other thread. Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application Framewo

Re: [api-dev] Problems inserting images into tables programmatically

2006-07-13 Thread Mathias Bauer
the core based one that we have now). More or less the current dispatch API is something like that, but unfortunately it's not complete and ugly to use. Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Lead Please reply to the list only, [EMAIL PROTE

Re: [api-dev] From DOM document to XML file

2006-07-13 Thread Mathias Bauer
n I do it? Can you give me any example code? In case you don't get an answer here perhaps the dev@xml.openoffice.org mailing list is a better place to ask. Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Lead Please reply to the list only, [

Re: [api-dev] permanently remove the status bar, or catch selection changed

2006-07-13 Thread Mathias Bauer
temporary display of a progress bar if requested via XStatusIndicatorFactory). Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Lead Please reply to the list only, [EMAIL PROTECTED] is a spam sink. -

Re: [api-dev] Toolbar button added using Addon not enabled

2006-07-13 Thread Mathias Bauer
i define > Function1? Should i define Function1 inside > ProtocolHandleraddon.java? Since i am a newbie i am not clear with > these concepts. Please read the chapters in the Dev Guide mentioned by Carsten. Any description here would just repeat what is written there. Best regards

Re: [api-dev] Regarding XJobExecutor.

2006-07-18 Thread Mathias Bauer
mmands in your toolbar(s) or menu. Please find more about this topic in the DevGuide. Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Lead Please reply to the list only, [EMAIL PROTECTED] is a spam sink. -

Re: [api-dev] Inserting RTF into OpenOffice-Writer Document

2006-07-18 Thread Mathias Bauer
fix in this area I hope I can tell you more later. But of course you can try by yourself in between. :-) Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Lead Please reply to the list only, [EMAIL PROTECTED] is a spam sink. ---

Re: [api-dev] Regarding XJobExecutor.

2006-07-18 Thread Mathias Bauer
Guide. Take the demo AddOn from the SDK and debug the code. Maybe this shows you how it works. Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Lead Please reply to the list only, [EMAIL PROTECTED]

Re: [api-dev] XModel - creating standalone

2006-07-21 Thread Mathias Bauer
am for the > XModel I remove from the frame and rereading, parsing etc... the stream > again later. > > Keeping with this, where is the most overhead in the API, i.e. creating > the model, or creating the frame and controller and which uses more > resources? The most resources are take

Re: [api-dev] XModel - creating standalone

2006-07-24 Thread Mathias Bauer
perhaps even will throw an exception because the document hasn't been initialized properly. Why don't you try what I recommended: com.sun.star.frame.XLoadable xm = (com.sun.star.frame.XLoadable) queryInterface( com.sun.star.frame.XLoadable.class, xFact.createInstanc

Re: [api-dev] XModel - creating standalone

2006-07-24 Thread Mathias Bauer
wer is "no" at least for these three weeks. But there are others here on the list that should be able to assist you. Of course I can at least try to answer some questions until the end of the week. Best regards, Mathia

Re: [api-dev] CloseVetoException has no effect

2006-07-26 Thread Mathias Bauer
have prevented the view(s) on this model from becoming closed, so the window can be closed as usual. If you want to prevent the views from being closed you must register as a close listener at the corresponding frames. Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application Fra

Re: [api-dev] OOo 2.0.3 (Linux & Windows), OOoBean, printing does not work when doc loaded with loadFromByteArray()

2006-07-26 Thread Mathias Bauer
or alternatives. Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Lead Please reply to the list only, [EMAIL PROTECTED] is a spam sink. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [api-dev] MailMerge keeps temporary file open

2006-07-26 Thread Mathias Bauer
oad external entity > "/export/home/asaadm/.openoffice.org2/user/config/javasettings_Solaris_x86.xml" > > [Java framework] Error in function copyShareSettings (elements.cxx). > > and the PDF which is generated only contains symbols like rectangles,... > >

Re: [api-dev] how to dispatch ".uno:ClosePreview" from java ?

2006-08-18 Thread Mathias Bauer
ck that was started somewhere inside a VCL resource (e.g. a toolbar) it *could* lead to a crash. So you have to try out if it works. Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Lead Please reply to the list only, [EMAIL PROTECTED] is a spam sink.

Re: [api-dev] how to dispatch ".uno:ClosePreview" from java ?

2006-08-24 Thread Mathias Bauer
ried it, without success, it seems, it's not possible to close the preview > from java ... What means "without success"? What exactly did you do and what exactly happened? Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Proje

Re: [api-dev] ODT to PDF export incorrect, unless Thread.sleep() used

2006-08-27 Thread Mathias Bauer
ting procedures and OTOH has some API calls that require updated objects prior to their execution (like PDF export or printing) there should be a trigger that these API calls can use to force all pending updeates (that of course should be registered there before). Best regards, Mathias -- Mathias B

Re: [api-dev] how to dispatch ".uno:ClosePreview" from java ?

2006-08-27 Thread Mathias Bauer
g to a synchronous exchange of the View (though I don't know if this is feasible). Best regards, Mathias Bauer -- Mathias Bauer - OpenOffice.org Application Framework Project Lead Please reply to the list only, [EMAIL PROTECTED] is a spam sink. --

Re: [api-dev] Unpublished UNO API

2006-08-28 Thread Mathias Bauer
acros, so we need > at least migration guides for extension programmers who use different > languages. This will not solve the problem as this again depends on the work of the extension programmer. The user still would be lost if the developer didn't react. If there was only Basic the worst t

Re: [api-dev] Assign to Save)-as) events behaviour

2006-09-05 Thread Mathias Bauer
you can't implement them in Basic. Replacing dispatch actions triggered by the UI with macros is currently not supported. Sounds like a good idea though. Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Lead Pleas

Re: [api-dev] GraphicProvider and export of graphics

2006-09-06 Thread Mathias Bauer
GraphicProvider.class, xMSF.createInstance("com.sun.star.graphic.GraphicProvider")); does not return an object? Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Lead Please reply to the list only, [

Re: [api-dev] embed a browser inside openoffice dialog

2006-09-06 Thread Mathias Bauer
their own APIs that can be used to embed them into a system window. Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Lead Please reply to the list only, [EMAIL PROTECTED] is a spam sink. - To un

Re: [api-dev] Assign to Save)-as) events behaviour

2006-09-07 Thread Mathias Bauer
Paolo Mantovani wrote: > Hi Mathias, > > Alle 16:50, martedì 5 settembre 2006, Mathias Bauer ha scritto: >> Cor Nouws wrote: >> > Hi *, >> > >> > In order to force/advice the saving of certain documents on a specified >> > location, I prepared

Re: [api-dev] GraphicProvider and export of graphics

2006-09-07 Thread Mathias Bauer
cial objects. If you had posted this in your first mail ... Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Lead Please reply to the list only, [EMAIL PROTECTED] is a spam sink. - To unsub

Re: [api-dev] Disptach Interceptor

2006-09-07 Thread Mathias Bauer
pported by the frame. Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Lead Please reply to the list only, [EMAIL PROTECTED] is a spam sink. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [api-dev] GraphicProvider and export of graphics

2006-09-07 Thread Mathias Bauer
t;bootstrapping", I thought you are developing a standalone Java application, in this case you had to bootstrap UNO to get a component context. Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Lead Please reply to the lis

Re: [api-dev] How can I concatenate a stream word collection

2006-09-09 Thread Mathias Bauer
e. Then you can save the whole file to an empty stream and push it into your database. Besr -- Mathias Bauer - OpenOffice.org Application Framework Project Lead Please reply to the list only, [EMAIL PROTECTED] is a spam sink. -

Re: [api-dev] Assign to Save)-as) events behaviour

2006-09-09 Thread Mathias Bauer
in the user interface. > Perhaps is it only available via the API ? Yes, it's only available through the API. We could add it to the GUI but then the configuration would display wrongly in older versions (it would work though as the event is there for some time). Should we add it to th

Re: [api-dev] Problem: rtf files haven't header and footer.

2006-09-09 Thread Mathias Bauer
ting it by myself I assume it's a bug (or perhaps "incompleteness") of the RTF import. Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Lead Please reply to the list only, [EMAIL PROTECTED] is a spam sink.

Re: [api-dev] Problem: rtf files haven't header and footer.

2006-09-17 Thread Mathias Bauer
he merged document. Therefore, they vanish only in case I > merge them. Sounds strange. I recommend to file an issue and attach at least two rtf example documents that can be used to study the effect. Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Lead Ple

Re: [api-dev] Problem to connect openoffice via Tomcat

2006-09-19 Thread Mathias Bauer
ll more about your environment: which platform, which OOo version. Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Lead Please reply to the list only, [EMAIL PROTECTED] is a spam sink. - To

Re: [api-dev] XDispatchProvider implementation

2006-09-21 Thread Mathias Bauer
d find out wether your service can be instantiated at all? Just try (in Basic) obj = CreateUnoService("org.openoffice.addon.Dispatcher") print IsNull(obi) If you don't get an object there might be something wrong with your service or its regist

Re: [api-dev] Disable navigator (OOoBean, OpenOffice 2.0.3)

2006-09-21 Thread Mathias Bauer
ect - don't do anything in case you get a dispatch() call for this command Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Lead Please reply to the list only, [EMAIL PROTECTED] is a spam sink.

Re: [api-dev] Obscure documentation (Was: [api-dev] insertnewbookmark)

2006-09-26 Thread Mathias Bauer
aps the component on the issues is wrong. I will take care that the issues get the right assignments. Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Lead Please reply to the list only, [EMAIL PROTECTED] is a spam sink. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [api-dev] Obscure documentation (Was: [api-dev] insertnewbookmark)

2006-09-27 Thread Mathias Bauer
f anybody else wants to create a new DevGuide nobody will complain against this (provided that its quality would be sufficient). We have no commercial interest in the DevGuide. So please let's not discuss about something that probably won't happen ever. Thanks. Best regards, Mathias --

Re: [api-dev] Obscure documentation (Was: [api-dev] insertnewbookmark)

2006-09-27 Thread Mathias Bauer
; developers but at least there will be a chance for others to contribute and of course to translate. Let's hope for the best. Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Lead Please reply to the list only, [EMAIL PROTECTED] is a spam sink. -

Re: [api-dev] prevent document closing

2006-09-29 Thread Mathias Bauer
works the same way. The document will not be closed (=destroyed) then. I assume that you also want to prevent the document windows from being closed. This is only possible by registering your listener at the corresponding frames. Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application Framew

Re: [api-dev] prevent document closing

2006-09-29 Thread Mathias Bauer
xception you shouldn't get any further calls - if you don't object you should get a closing() as well as a disposing() notification. Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Lead Please reply to the list only, [EMAIL PROTECTED] is a spam s

Re: [api-dev] MD5 signing of macros

2006-09-29 Thread Mathias Bauer
authorized macros. > Maybe this is the wrong forum to post this in, Would issue tracker be a good > place? You already can sign macros in OOo to exactly achieve this. Please find the menu item in the "file" menu of the Basic IDE. Best regards, Mathias -- Mathias Bauer - OpenOffic

Re: [api-dev] throw exception from OOo Basic

2006-09-29 Thread Mathias Bauer
y I don't have some basic code at hand, only some C++ code using constructors that needs to be "translated" first. Will see if I can find some time. Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Lead Please reply to the list only, [EM

Re: [api-dev] prevent document closing

2006-09-30 Thread Mathias Bauer
Adam Patacchiola wrote: > So how do I prevent the inner document window from being closed? As I wrote already: >> Of course you can't prevent the window from being closed here - in >> fact you can't do it at all as I have to admit. Sorry for the bad news. Best rega

Re: [api-dev] How to lock a text model

2006-10-05 Thread Mathias Bauer
nst changes through its API, but you can prevent it from being modified through UI operations (dispatch calls). Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Lead Please reply to the list only, [EMAIL PROTECTED] is a spam sink.

Re: [api-dev] How to force laying out of document

2006-10-10 Thread Mathias Bauer
trieving the "LayoutSize" property should be already enough to force a layout calculation before the call returns. Why waiting? Further calls to the same property will not redo the layout as Writer knows if layouting is necessary or not. Best regards, Mathias -- Mathias Bauer - OpenOffice.org

Re: [api-dev] Calc: Switch DesignMode On/Off

2006-10-10 Thread Mathias Bauer
e If you want to toggle the design mode you execute the command without any parameters: > dim emptyargs() > dispatcher.executeDispatch(document, ".uno:SwitchControlDesignMode", "", 0, > emptyargs()) The res

Re: [api-dev] How does one sync within a template?

2006-10-10 Thread Mathias Bauer
e true it should be possible to use the same mechanism for other "coupled" frames in an arbitrary document also. Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Lead Please reply to the list only, [EMAIL PROTECTED] is a spam sink. --

Re: [api-dev] Calc: Switch DesignMode On/Off

2006-10-11 Thread Mathias Bauer
dispatcher.executeDispatch(document, ".uno:SwitchControlDesignMode", "", >>> 0, args1()) >>> >>>end sub >> >> For switching it on you must change one line: >> >>> args(0).Value = true > > Didn't kno

Re: [api-dev] Calc: Switch DesignMode On/Off

2006-10-11 Thread Mathias Bauer
this. Assign it to me, and I'll see what I can do :) I'm a little bit unclear about an API for the design mode. First IMHO this isn't an API that you would expect to have at the model. It looks like something UI related. Maybe we can see this as a view setting? Where is it stored in th

Re: [api-dev] UNSANSWERED: a non-modal dialog

2006-10-11 Thread Mathias Bauer
when the dialog has done its job. Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Lead Please reply to the list only, [EMAIL PROTECTED] is a spam sink. - To unsubscribe, e-mail: [EMAIL PRO

Re: [api-dev] Calc: Switch DesignMode On/Off

2006-10-12 Thread Mathias Bauer
fooled me. :-) Besides that it looks strange that "ApplyFormDesignMode" is a model property. Is it stored in the content.xml or in the settings.xml? Ciao, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Lead Please reply to the list only, [EMAIL PROTECTED] is a spam

Re: [api-dev] How to assign keyboard shortcut to add-on menu

2006-10-13 Thread Mathias Bauer
Julien Galand wrote: > Hi, > > I have read an answer by Mathias Bauer mailed on 11/18/2004 that it was > not currently possible to assign a keyboard shortcut to an add-on menu > line. > > Is it still impossible with OO 2.0 ? > > Even if the assignment is dynami

Re: [api-dev] Tweaking the api for performance

2006-10-13 Thread Mathias Bauer
you render the documents? And how do you load them? Can you point to specific API calls that seem to be slow? Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Lead Please reply to the list only, [EMAIL PROTECTED] is a spam sink. -

Re: [api-dev] Calc: Switch DesignMode On/Off

2006-10-14 Thread Mathias Bauer
an editor. Anyway, there's always a grey zone. Ciao, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Lead Please reply to the list only, [EMAIL PROTECTED] is a spam sink. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [api-dev] pass com object instance to macro and call methods on it

2006-10-14 Thread Mathias Bauer
from where you get the COM object and how you call the basic macro. Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Lead Please reply to the list only, [EMAIL PROTECTED] is a spam sink.

Re: [api-dev] iterating over text

2006-10-16 Thread Mathias Bauer
ere is no common paragraph enumeration for *all* text inside the document. So we will offer one. Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Lead Please reply to the list only, [EMAIL PROTECTED] is a spam sink. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [api-dev] Tweaking the api for performance

2006-10-16 Thread Mathias Bauer
nother 25% somewhere I > would be very satisfied. But I am not sure how to do > it. I would hate to waste a lot of time trying to > build OpenOffice and see no gain. The problem is that a real helpful tip isn't possible without knowing exactly which operations are the most painfu

Re: [api-dev] Mac/Linux/Windows problems?

2006-10-19 Thread Mathias Bauer
on. > xComponent = xDesktop.getCurrentComponent(); Why do you need this at all? Even on Windows it won't give you anything you don't have already. Or did I misunderstood your code? Best regards, Mathias -- Mathias Bauer - OpenOffice.org Applicat

Re: [api-dev] Bug in C++ UNO binding of awt::KeyEvent ?

2006-10-20 Thread Mathias Bauer
entsByCommand" to see what you get. It should yield the same result as in Basic. If setKeyEvent still doesn't work with a correctly assigned KeyCode we must debug it. This could be accelerated if you could deliver your C++ code as an installable and executable extension. Best regards, Mathias -

Re: [api-dev] iterating over text

2006-10-20 Thread Mathias Bauer
Daniel Naber wrote: > On Monday 16 October 2006 08:03, Mathias Bauer wrote: > >> I can't help with your problem, I only wanted to ask wether it is an >> option for you to wait for our new Grammar Checking API that will not >> require any text iteration from ins

Re: [api-dev] Bug in C++ UNO binding of awt::KeyEvent ?

2006-10-22 Thread Mathias Bauer
ething to say about your findings. Stephan currently is just drowned in mails after some days of vacation. :-) Best regards (and thanks for your efforts), Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Lead Please reply to the list only,

Re: [api-dev] Mac/Linux/Windows problems?

2006-10-22 Thread Mathias Bauer
Jimmy wrote: > Mathias Bauer schrieb: >> Jimmy wrote: >> >> >>> I'm developping a component for Writer which has been tested with >>> Windows and works fine on different machines with different OpenOffice >>> Versions starting from 2.0.2 t

Re: [api-dev] Starbasic and CreateObject

2006-10-27 Thread Mathias Bauer
his been possible for a long time? This isn't new. > perheps the help files should reflect that it is possible, so that > others like me don't get delayed while researching this matter. Absolutely. This is worth an issue. Best regards, Mathias -- Mathias Bauer - OpenOffice.org App

Re: [api-dev] Where is .xcu file information documented for a filter?

2006-11-01 Thread Mathias Bauer
oper's guide. > 4) Should a Java filter compiled and built on Linux using gcj (32-bit) > install on a Windows XP box (mine doesn't) or does it need to be rebuilt > on the target platform (thus destroying the advantage of using Java). I never used gcj - but doesn't it create a

Re: [api-dev] Re: installing ooSetupConnectionURL through UNO package

2006-11-01 Thread Mathias Bauer
ge="org.openoffice"> > > > >socket,host=localhost,port=2002;urp; > > > (qoute signs used as they prevent line wrapping.) Ciao, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Lead Please reply to the list only, [EMAIL PROTECTED]

Re: [api-dev] Changing menus of a document in background

2006-11-06 Thread Mathias Bauer
quot;currentFrame" only if you are fine with getting which frame whatsoever or even no frame at all when OOo is still subject to focus changes caused by the WM. Ciao, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Lead Please reply to the list only, [EMAIL PROTECTED] i

Re: [api-dev] CloseVetoException vs. TerminateVetoException

2006-11-07 Thread Mathias Bauer
tasks and then called queryTermination() as we do for the Quickstarter? Of course we would be at the mercy of the listener that he will terminate OOo later and so prevent a running OOo instance without any visual elements that allow to close it. But isn't that the idea behind the TerminateListene

Re: [api-dev] Command URL binding between menu and shortcut

2006-11-07 Thread Mathias Bauer
irst opens a print dialog before printing starts. OTOH if you press the printer button in the toolbar the command ".uno:PrintDirect" is executed instead that immediately starts to print without showing a dialog. So in your case you can use two commands, both assigned to a shortcut, but onl

Re: [api-dev] CloseVetoException vs. TerminateVetoException

2006-11-07 Thread Mathias Bauer
ehavior. Bug whatever will come out of this discussion we should document it and we should have two defined ways to terminate the desktop: one with trying to close all tasks and one without. At the end it doesn't matter which choice the current terminate() call will take. Ciao, Mathias -- Math

Re: [api-dev] Toolbar with dropdown box

2006-11-07 Thread Mathias Bauer
Perhaps he doesn't have 2.0.4? Ciao, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Lead Please reply to the list only, [EMAIL PROTECTED] is a spam sink. - To unsubscribe, e-mail: [EMAIL PROTECTE

Re: [api-dev] Document title

2006-11-07 Thread Mathias Bauer
. But until the API is available it could be the workaround you are searching for. Ciao, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Lead Please reply to the list only, [EMAIL PROTECTED] is a spam sink. ---

Re: [api-dev] How does one sync within a template?

2006-11-09 Thread Mathias Bauer
G. Roderick Singleton wrote: > If the expert is back, would this person please confirm or update what > Mathias said? My fault. I forgot to ask him. :-[ But yes, he's back. Ciao, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Lead Please reply to the list o

Re: [api-dev] Document title

2006-11-09 Thread Mathias Bauer
Paolo Mantovani wrote: > Hi Mathias, > > Alle 19:51, martedì 7 novembre 2006, Mathias Bauer ha scritto: >> Paolo Mantovani wrote: >> > Is there an API to retrieve this "user presentable title" for an open >> > document? >> >> It's in t

Re: [api-dev] How does one sync within a template?

2006-11-09 Thread Mathias Bauer
Mathias Bauer wrote: > G. Roderick Singleton wrote: > >> If the expert is back, would this person please confirm or update what >> Mathias said? > > My fault. I forgot to ask him. :-[ > But yes, he's back. My description of the things going on in labels documen

Re: [api-dev] com.sun.star.scanner.ScannerManager question

2006-11-10 Thread Mathias Bauer
anager.configureScanner(...)). After the selection is made, > the startScan(...) call makes OOo to hang up. It looks as you have found a bug, perhaps it's a deadlock. I suggest to create an issue and attach your script. The best owner of the issue should be [EMAIL PROTECTED] Ciao, Mathias

Re: [api-dev] Multiple instances / creating user installations

2006-11-10 Thread Mathias Bauer
mplement a command line switch that creates a user installation if none exists even without operating the dialog, assuming some defaults. Why not taking the combination "-env:UserInstallation=... -headless"? Or "-env:UserInstallation=..." -nowizard? Another idea could be to

Re: [api-dev] Multiple instances / creating user installations

2006-11-10 Thread Mathias Bauer
ond one. So it's already solved. :-) Ciao, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Lead Please reply to the list only, [EMAIL PROTECTED] is a spam sink. - To unsubscribe, e-mail: [EMAIL PRO

Re: [api-dev] Document title

2006-11-15 Thread Mathias Bauer
e. So it is a good workaround to use the title property *if* it is set to a useful value. One exception was already mentioned by Bernard (hidden documents). Ciao, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Le

Re: [api-dev] Multiple instances / creating user installations

2006-11-15 Thread Mathias Bauer
ed life cycle, e.g. the office process should live as long as > their is activity around it (via the API from outside, via the API from > inside, via the GUI). Right, but that's another story that should be told another time. :-) Ciao, Mathias -- Mathias Bauer - OpenOffice.org Applicat

Re: [api-dev] Multiple instances / creating user installations

2006-11-15 Thread Mathias Bauer
ly not (easily) possible to implement a > bootstrap property with the semantics of "gui" or "nongui". Another good argument for the "automatic" API user I mentioned in my reply to Kay. Ciao, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Proj

Re: [api-dev] Problems with User text fields

2006-11-16 Thread Mathias Bauer
u have to specify additional parameters that in case you open a document from the GUI are provided automatically. The reason for this is that the default treatment of documents via API should happen in a way that the macros are not interrupted by dialogs popping up. The necessary parameters are &quo

Re: [api-dev] Problems with User text fields

2006-11-16 Thread Mathias Bauer
y the "UpdateDocMode" parameter. I think that needs some reconsideration but for now we have to live with it. So either provide this parameter or put your macro into the template. Ciao, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Lead Please reply to the list

Re: [api-dev] Need a odc chart document

2006-11-16 Thread Mathias Bauer
> Sorry, but I don't know how to create one, neither via GUI nor via UNO... There is no such things as a Chart document. Chart can be used as embedded object only. Why do you think that you need one? Ciao, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Lea

Re: [api-dev] Problems with User text fields

2006-11-17 Thread Mathias Bauer
here is no such problem with OOo 1.1.5. Everything is OK with exactly > the same macros. 1.1.5 had a lot of bugs in this area. So it "worked" for you by luck - but never as it was meant to be. Ciao, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Lead Ple

Re: [api-dev] Need a odc chart document

2006-11-17 Thread Mathias Bauer
Tobias Krais wrote: > Please let me ask you: is it the same with the application type > "com.sun.star.formula.FormulaProperties"? No, you can create such documents with "New formula". Ciao, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Lea

Re: [api-dev] Higher level java wrapper for UNO

2006-11-17 Thread Mathias Bauer
;t build from documented service descriptions but creates java classes by inspection at runtime. Ciao, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Lead Please reply to the list only, [EMAIL PROTECTED] is a spam sink. -

Re: [api-dev] How to copy all Content of a document

2006-11-25 Thread Mathias Bauer
y/swriter","_blank",0,noargs()) doc.currentController.insertTransferable(obj) This API is kind of an "internal" clipboard. Currently it only works in Writer. Ciao, Mathias -- Mathias Bauer (mba) - Project Lead OpenOffice.org Writer OpenOffice.org Engineering at Sun: http://blog

[api-dev] Re: [discuss] Re: vim-like keybindings

2006-11-27 Thread Mathias Bauer
Hi Fabian, Fabian Braennstroem wrote: > Hi Mathias, > > * Mathias Bauer <[EMAIL PROTECTED]> wrote: >> Fabian Braennstroem wrote: >> >>> Hi Eike, >>> >>> * Eike Rathke <[EMAIL PROTECTED]> wrote: >>>> Hi Fabian, &g

Re: [api-dev] Dispatching a CommandURL from a hidden document

2006-11-30 Thread Mathias Bauer
pen my document in hidden mode, nothing > is copied. How can I copy the whole content from one document to an > other in hidden mode? It is very probable that dispatches don't work in hidden mode. I think I already gave you a macro to accomplish the same what you can do with the clipboar

Re: [api-dev] How to copy all Content of a document

2006-11-30 Thread Mathias Bauer
of the document you want to insert to, not the Controller of a new document in my example. Ciao, Mathias -- Mathias Bauer (mba) - Project Lead OpenOffice.org Writer OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS Please don't reply to "

Re: [api-dev] Bug?!: xPrintable.print(printOpts) is too slow for itself

2006-11-30 Thread Mathias Bauer
stener to get notified when printing is done. Ciao, Mathias -- Mathias Bauer (mba) - Project Lead OpenOffice.org Writer OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS Please don't reply to "[EMAIL PROTECTED]". I us

<    1   2   3   4   5   6   >