Re: [api-dev] Re: Does OOoBean.setToolBarVisible() not work?

2005-01-19 Thread Mathias Bauer
ble (IMHO, in my OO 1.1.4) requires a opened OO-Document. > Do you have one open/created? Obviously you are using gmane. Could you please stop using "ReplyToAll" because all your postings appear twice on the list? It should be enough to use the simple reply button. Thank you, Math

Re: [api-dev] Re: Does OOoBean.setToolBarVisible() not work?

2005-01-19 Thread Mathias Bauer
Oo itself now offers an API to access the toolbars. Besides that the new toolbar concept of OOo2.0 does not know the toolbars from OOo1.x anymore. 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] Insert Formula in a swriter document

2005-01-28 Thread Mathias Bauer
Didier Dorange-Pattoret wrote: > Hello, > > Is it yet possible (with 1.9.71m > 2.0) to insert formula in a swriter > document without using the code generated by the macros recorder ? Yes. Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Le

Re: [api-dev] Insert Formula in a swriter document

2005-01-28 Thread Mathias Bauer
be it's documented in the Developers Guide or somewhere else or somebody else can help here. 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] Insert Formula in a swriter document

2005-01-31 Thread Mathias Bauer
1.9.74m > > This macro puts the formula in my text, but I can't see it. > If I click, I can see the right formula, If I click at the second time I > get the right size. This is a bug in the 1.9.74 version. Should be fixed until Beta. Best regards, Mathias -- Mathias Bauer -

Re: [api-dev] Writer: ViewCursor, SelectionChangeListener, status bar

2005-02-09 Thread Mathias Bauer
to have this window hidden, and the ViewCursor still > work? Currently it's only possible through the dispatch API and it can't be created in hidden mode. Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Lead Plea

Re: [api-dev] Writer: ViewCursor, SelectionChangeListener, status bar

2005-02-10 Thread Mathias Bauer
ly temporarily. > Thanks - you have helped me a lot! You're welcome. 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] Writer: ViewCursor, SelectionChangeListener, status bar

2005-02-11 Thread Mathias Bauer
(from the XSelectionSupplier of the Controller object), move it somewhere else, so what you want, restore old selection (again through XSelectionSupplier) and make the ViewCursor visible again. I did that alreay in an AddOn by myself. Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application Fra

Re: [api-dev] 2 questions (coordinates of OOo window, fileprefix)

2005-02-16 Thread Mathias Bauer
indows > (whatever it may look like) works for opening too? > That would help me a lot and simplify the whole URL stuff ;) IIRC the URL with one slash only will not work anymore in OOo2.0. Best regards, Mathias -- Mathias Bauer - OpenOffice.org Applicati

Re: [api-dev] Format for information file about templates and addons

2005-02-25 Thread Mathias Bauer
names, especially very often nearly everything you can add to OOo as an individual component is called a plugin, but that's not how the developers name them. Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Lead Please reply to the li

Re: [api-dev] oo macros and concurrency

2005-03-01 Thread Mathias Bauer
one because everything is done in the same thread. IMHO the culprit is that the VCL message queue doesn't allow to set a message filter (f.e. that only paint events are allowed to be executed at a certain point of time). Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application

Re: [api-dev] Menu control

2005-03-04 Thread Mathias Bauer
distributions. For complete customization of menu it is still recommended to use XML files. The new API for menus is a dynamic way to change the menu at runtime, f.e. to extend it for components added to the installation. Best regards, Mathias -- Mathias Bauer - OpenOffice.org Applicatio

Re: [api-dev] Menu control

2005-03-09 Thread Mathias Bauer
usage of new UNO features), maybe that's a good opportunity for removing some deprecated stuff. 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] setting OOo options

2005-03-11 Thread Mathias Bauer
of info in the docs. That will not lead to any results. You have to use the configuration API. You can find out more about it in the Developers Guide and maybe in other sources. Additionally you must find out the "configuration path name" of the setting you want to change. Best regards

Re: [api-dev] Problem with insertDocumentFromURL

2005-03-15 Thread Mathias Bauer
t;,loadProps); > > If i add 3,4,5,6 documents the number of white rows increase... First you should check if the same happens when you insert the file from the GUI. In that case you could file and issue against the Writer component. Otherwise I hope that a Writer API expert has an idea wh

Re: [api-dev] Up to date IDL and slots

2005-03-15 Thread Mathias Bauer
the source code. ... and it needs an update for OOo2.0. Will be done pretty soon. 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] Closing a Document

2005-03-16 Thread Mathias Bauer
her child frames of the Desktop service are open. (2) If yes: just close the frame by calling close(True). (2) If No: ask controller if it can be closed by calling suspend(True) (2) If controller agrees, call setCompontent(0,0) at the frame. Best regards, Mathias -- Mathias Bauer - OpenOffice.org App

Re: [api-dev] XDispatch, oo macro parameters, macro libraries

2005-03-18 Thread Mathias Bauer
aram as Object) > ... operations > End Sub Option 2 is correct. Parameters are passed as strings. I can't answer your second question (forcing a lib to be loaded when macro called via XDispatch) safely, so I better wait for somebody else. Best regards, Mathias -- Mathias Bauer -

Re: [api-dev] bug in windows Bootstrap when multiple Oo's are installed?

2005-04-04 Thread Mathias Bauer
e Bootstrap? Is the Bootstrap not backward compatible? If it's > either of these, shouldn't the Bootstrap search HKEY_CURRENT_USER and > if it can't find a compatible version, search HKEY_LOCAL_MACHINE? OOo1.x does not support the new bootstrap mechanism, so it fails. Ciao, Math

Re: [api-dev] bug in windows Bootstrap when multiple Oo's are installed?

2005-04-05 Thread Mathias Bauer
ides that I think that it is acceptable that people who want to use a remote connection to OOo should study some documentation. ;-) 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] bug in windows Bootstrap when multiple Oo's are installed?

2005-04-05 Thread Mathias Bauer
the near future. So a bug report would be a waste of time. But maybe the problem is not the key, I just heard that OOo1.1.4 *does* support the new bootstrapping and the key *is* a new one. Maybe Thomas can make this clear. So we need to know: which version of OOo1.x exactly did you use? Best

Re: [api-dev] detecting the version of OOo you're connected to, or which services are available

2005-04-06 Thread Mathias Bauer
own so that I do have a reliable > way of detecting this specific error? Sorry, I don't understand this. What general Exception are you talking about? Best regards, Mathias -- Mathias Bauer - OpenOffice.org Applicat

Re: [api-dev] detecting the version of OOo you're connected to, or which services are available

2005-04-07 Thread Mathias Bauer
If there is a message that would be better than nothing. :-) As I wrote, I don't know which particular exception you get here, I would expect to get a css.lang.ServiceNotRegisteredException. Maybe it's described in the Developers G

Re: [api-dev] windows bootstrap against multiple installed versions - 1.x will always trump newer version

2005-04-07 Thread Mathias Bauer
lem was not reproducable on my machine, but possibly I used "setup -net -alluser" (works only in OOo1.1.4 or maybe 1.1.3). 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] bug in windows OOo 1.1.4 bootstrap - InvocationTargetException

2005-04-12 Thread Mathias Bauer
ing our design), because we are interested in improving the "user experience" for our API users. But I assume that this will take some time. Anyway, thanks for bringing this up. Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application Framework P

Re: AW: [api-dev] XTextDocument in OOoBean

2005-04-14 Thread Mathias Bauer
oooBean.getController().getModel(); > xTextDocument = (XTextDocument) > UnoRuntime.queryInterface(XTextDocument.class, xModel); > > Both are running, but what is the difference or what is better??? There is no real difference. The first code example does exactly the same, but hidden b

Re: [api-dev] Copying non-Western document language

2005-04-14 Thread Mathias Bauer
ot;HTML (StarWriter)" filter name. 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: [EMA

Re: [api-dev] How-To insert an OLE document into Writer by macro

2005-04-14 Thread Mathias Bauer
object works the following way: obj=ThisComponent.CreateInstance("com.sun.star.text.TextEmbeddedObject") obj.CLSID="47BBB4CB-CE4C-4E80-A591-42D9AE74950F" sel = ThisComponent.CurrentController.Selection range = sel.getByIndex(0) obj.attach( range ) For Excel object you need the OLE ClassID from Excel

Re: [api-dev] How-To insert an OLE document into Writer by macro

2005-04-15 Thread Mathias Bauer
ment = obj.Model Unfortunately Calc does not support the XDocumentInsertable interface (as Writer does), so I don't know how you can load an existing Calc document into an empty one. Maybe somebody else knows. Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application Framework

Re: [api-dev] problem with connecting java top openoffice 1.9.95

2005-04-22 Thread Mathias Bauer
get in return when you enter you e-mail address in the report (and so allow contact). A short description what you did when the crash happened would help. Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Lead Please reply to the list only, [EMAIL PROTECTED] i

Re: [api-dev] Macro to load kbd-config file containing assigned macros

2005-04-22 Thread Mathias Bauer
o have this only when a special document is used: why don't you save the configuration into the document instead? When the document is loaded its own configuration *automatically* will overwrite the usual one. Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Pro

Re: [api-dev] writing writer doc to stream unpacked

2005-04-24 Thread Mathias Bauer
; way creates a *folder* containing all the streams you usually get in a zip package. If you want to have unpacked XML in a stream you should use the "flat" XML filter that puts alltogether in one file. Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application

Re: [api-dev] Re: [users] using ftp to open a document

2005-04-24 Thread Mathias Bauer
t version which would >> affect that behavior? If not, is there something which I am missing, >> setting-wise maybe, which is causing this behavior in this beta version? >> thanks in advance, >> Matthew L. Avizinis >> Gleim Publications, Inc. If it really w

Re: [api-dev] writing writer doc to stream unpacked

2005-04-24 Thread Mathias Bauer
Marc Santhoff wrote: > Am So, den 24.04.2005 schrieb Mathias Bauer um 11:48: > >> If you want to have unpacked XML in a stream you should use the "flat" >> XML filter that puts alltogether in one file. > > As you can see from the commented out code I've tr

Re: [api-dev] Re: [users] 1.9.95 script calling Calc built-in functions

2005-04-26 Thread Mathias Bauer
ne except the service manager itself. 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

Re: [api-dev] OOoBasic or Python?

2005-04-26 Thread Mathias Bauer
e. 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] OOoBasic or Python?

2005-04-27 Thread Mathias Bauer
is could be a good idea if you have a lot of documents to convert), but at least the next version of SO will not execute VBA macros directly. Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Lead Please reply to the list only, [EMAIL PROTECTED] is a spam

Re: [api-dev] Macro to load kbd-config file containing assigned macros

2005-05-03 Thread Mathias Bauer
Ennio-Sr wrote: > THIS IS A REMINDER OF MY PREVIOUS POST: AND THIS IS A REMINDER TO MY ANSWER TO YOUR PREVIOUS POST. Get my answer from the archive. Before you repost your mail you should at least reply to answers you already got, shouldn't you? Best regards, Mathias -- Mathi

Re: [api-dev] Macro to load kbd-config file containing assigned macros

2005-05-04 Thread Mathias Bauer
e is already an existing issue, but I don't remember its state (I assume it will be fixed in OOO1.1.5). I tested it also in a recent 1.9.101 build and it worked (should work in the most recent public OOo build also). Perhaps you can give it a try. Best regards, Mathias -- Mathias Bauer - O

Re: [api-dev] Macro to load kbd-config file containing assigned macros

2005-05-09 Thread Mathias Bauer
good idea. 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

Re: [api-dev] Upgrading 1.0 template to 1.1

2005-05-09 Thread Mathias Bauer
some of the unzipped Configuration elements) > that would be better than trying to re-create them from scratch. IIRC there was a bug in OOo1.1.3 or OOo1.1.4 that prevented configurations inside documents or templates from being loaded properly. Best regards, Mathias -- Mathias Bauer - OpenOffic

Re: [api-dev] IDL for the TextDocument service

2005-05-11 Thread Mathias Bauer
ren't represented in our API. Our new "super interface" concepts leaves some room for simplifications here, but only for new APIs. Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Lead Please reply to the list only, [EMAIL PROTECTED] is a spam

Re: [api-dev] IDL for the TextDocument service

2005-05-12 Thread Mathias Bauer
Department Linux&Office Migration wrote: > 2005/5/12, Mathias Bauer <[EMAIL PROTECTED]>: >> >> Anyway, in all cases (no documentation, derived or versioned services) >> you need to use queryInterface to get the desired interface and you need >> to check th

Re: [api-dev] Lost e-mail

2005-05-12 Thread Mathias Bauer
to the list. At least I did not > receive a copy of the message, nor did a collegue of mine who I know > is subscribed. Any ideas what has happened? I got your mail, maybe you where a victim of the mail server outage last week. Best regards. Mathias -- Mathias Bauer - OpenOffice.org Appli

Re: [api-dev] How to browse the shared scripts?

2005-05-12 Thread Mathias Bauer
Reference< provider::XScriptProvider > xScriptProvider( > xFac->createScriptProvider( aContext ), UNO_QUERY_THROW ); BTW: you should create a new thread if your question touches another area. At least I forgot about your mail because it is a little bit OT in this thread. Best regard

Re: [api-dev] unable to invoke a BeanShell Macro from an uno-package

2005-05-18 Thread Mathias Bauer
s helpful (though it may not be a good news). BTW (and just to avoid rumours :-)): the [EMAIL PROTECTED] list is not inactive, it just hasn't much traffic. The last mail is 2 days old. Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Lead Please reply

Re: [api-dev] Macro disabled when document opened with LoadComponentFromURL (bug?)

2005-06-03 Thread Mathias Bauer
can take values from the constant set com.sun.star.document.UpdateDocMode. As an example, MacroExecutionMode=2(ALWAYS_EXECUTE) and UpdateDocMode=3(FULL_UPDATE) will allow to execute every macro without confirmation. Please note that UpdateDocMode also allows for other updates that might happen on loading (updating

Re: [api-dev] Macro disabled when document opened with LoadComponentFromURL (bug?)

2005-06-03 Thread Mathias Bauer
it is a bug. Please report back if Markus' suggestion worked for you. 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] [OT] Unwanted message when posting to api-dev

2005-06-03 Thread Mathias Bauer
get any mails from here anyway because I assume that nobody sends a confirmation. :-) 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] Step by Step and Run: Different results.

2005-06-08 Thread Mathias Bauer
basic is running the idle handler never gets control. In case you step through your code or set a breakpoint in the right place, in both cases (user event or idle handler) the background processing happens in time and your macro succeeds. Best regards, Mathias -- Mathias Bauer - OpenOffice.or

Re: [api-dev] Exported Interface of Selection

2005-06-13 Thread Mathias Bauer
perhaps with an attached call stack of the crash)? 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: [

Re: [api-dev] XComponentLoader returns null (JAVA)

2005-06-14 Thread Mathias Bauer
you can try to load the document via GUI. Every dialog that comes up shows a possible proplem for loading via API. Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Lead Please reply to the li

Re: [api-dev] Crash during document closing (Java)

2005-06-14 Thread Mathias Bauer
n is too unspecific. Do you have a report ID or did you enter you email address into the report so that it can be found in the database? Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Lead Please reply to the list only, [EMAIL PR

Re: [api-dev] Crash during document closing (Java)

2005-06-14 Thread Mathias Bauer
Andreas Bröker wrote: > Hello Mathias, > > yes - i have entered my mail address. Hm, I couldn't find any report with [EMAIL PROTECTED] in the report database. Is that the address you gave in the report? And when did you send it? Best regards, Mathias -- Mathias Bauer -

Re: [api-dev] Help with loadComponentFromURL

2005-06-15 Thread Mathias Bauer
thread by using "reply", please start a new thread. 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] Problem with xstorable.storeToURL

2005-06-17 Thread Mathias Bauer
available ATM. Is a password needed to access the location? Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Lead Please reply to the list only, [EMAIL PROTECTED] is a spam sink. - To uns

Re: [api-dev] How stable is the Java API ?

2005-06-20 Thread Mathias Bauer
in-process. 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] How stable is the Java API ?

2005-06-20 Thread Mathias Bauer
Andreas Bröker wrote: > Hello, > > have anybody an idea for a workaround. Sorry, but why do you need a workaround for an artificial problem that doesn't exist in real life code? I doubt that you ever will have the loop you posted as a part of a "real" program. Best regar

Re: [api-dev] How stable is the Java API ?

2005-06-20 Thread Mathias Bauer
dreas, let's see what comes out. 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

Re: [api-dev] How stable is the Java API ?

2005-06-20 Thread Mathias Bauer
increased priority. Of course "out of memory" situations could cause crashes also as you suggested, so we need call stack traces for crashes that appear in load-print/export/save cycles to verify wether this is such a situation or something different (some "real" cras

Re: [api-dev] How stable is the Java API ?

2005-06-21 Thread Mathias Bauer
workaround would be simple: get the interface only once - it's always the same anyway. So I assume that you are hit by the bug in a much more complex scenario. But without knowing where this bug hits you (or Andreas) in your real applications nobody can suggest a workaround. B

Re: [api-dev] How stable is the Java API ?

2005-06-21 Thread Mathias Bauer
eems as if you should make sure that before you create "the same" object a second time you must make sure that its first instance is destroyed already. But this is only a rough guess because I don't know your application. Best regards, Mathias -- Mathias Bauer - OpenOffice.org Applica

Re: [api-dev] Problem with loadComponent when OpenOffice 2 runs on windows

2005-06-21 Thread Mathias Bauer
iceManager.createInstanceWithContext( >"com.sun.star.task.InteractionHandler", xOfficeComponentContext ); > > args[ 1 ].Value = (com.sun.star.task.XInteractionHandler) > UnoRuntime.queryInterface( com.sun.star.task.XInteractionHandler.class, > oHandler );

Re: [api-dev] Problem with loadComponent when OpenOffice 2 runs on windows

2005-07-04 Thread Mathias Bauer
to die, the only way to stop it is via the > task manager. Sorry for the confusion with the lowercase 'h', "InteractionHandler" is of course correct. Do you have a display connected to your remote office? Obviously a dialog pops up there and waits for operation,

Re: [api-dev] Any way to combine multiple actions into one undo-able action ?

2005-08-29 Thread Mathias Bauer
Patrik Fimml wrote: > Mathias Bauer wrote: >> CPH wrote: >> > Hi, >> >I have a button on my UI which performs several actions thru API calls. >> > Is ther anyway which I can get all of these actions to be considered one >> > atomic action by the

Re: [api-dev] UNO packages and events

2005-09-12 Thread Mathias Bauer
the same for a single document by replacing one line of code from Paolos macro: mydoc.Events.ReplaceByName("OnNew", mEventProps") (mydoc should be a reference to a document). Of course you can't assign macros to "OnStartApp" and "OnCloseApp" for a single doc

Re: [api-dev] Python equivalent to com.sun.star.comp.helper.Bootstrap.bootstrap()?

2005-09-13 Thread Mathias Bauer
t the correct error message in case one of these steps fails. OTOH the "concentional" way of establishing a UNO connection is an obstacle for beginners and very often annoying for others. Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application Framework

Re: [api-dev] How to instantiate a service in soffice process?

2005-09-21 Thread Mathias Bauer
the same level as Writer, Calc etc. (integration into File-New and File-Open etc.)? Or do you want to provide a component that works on top of the documents of OOo and should integrate with the GUI of them (menus, toolbars etc.)? Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application

Re: [api-dev] Xforms and API

2005-10-14 Thread Mathias Bauer
ssible through UNO API. Of course. :-) Our internal UI is built upon it. I'm sure that we have some examples - somewhere. ;-) I will ask Lars Oppermann (the XForms developer) if he can point us to some of them. Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application Framework P

Re: [api-dev] [Code Snippet] Split up documents into document fragments

2005-10-14 Thread Mathias Bauer
ocument into 30 lines pieces, and copies the fragment > into a blank document. This will copy almost every thing in the 30 lines > including text, tables and graphics. Isn't that something for our code snippets database? Best regards, Mathias -- Mathias Bauer - OpenOffice.org Applicati

Re: [api-dev] multiple-inheritance interafces and method name clashes

2005-10-14 Thread Mathias Bauer
ey are described in our DevGuide. I don't know if PyUNO has means too so we must ask people knowing the binding. AFAIK Jörg Budischewski is reading the udk list so perhaps we should move the discussion there. Besides that we should add a comment to the documentation we provide to implem

Re: [api-dev] improving macro for merge mail

2005-10-14 Thread Mathias Bauer
insert the document from the URL before the content of the already loaded one (by inserting the page break at the beginning)? The result should be the same as if you inserted the already loaded one after the content of the one you still haven't loaded. But perhaps I misunderstood your goal. Be

Re: [api-dev] multiple-inheritance interafces and method name clashes

2005-10-17 Thread Mathias Bauer
: it allows a qualified access without the hassle of separate "queryInterface" calls. OTOH I assume that using this in *every* code line makes the code ugly so that ppl might not want to do so (at least in Basic). Then Stephan has his point that the resulting code is fragile: even if it w

Re: [api-dev] multiple-inheritance interafces and method name clashes

2005-10-17 Thread Mathias Bauer
Rony G. Flatscher wrote: > > Mathias Bauer wrote: > >>>E.g., in the ooRexx support for UNO/OOo the connection-routine looks like: >>> >>>- cut here - >>>::routine UNO.connect public >>> parse arg unoURL -

Re: [api-dev] Returnvalues from Macros

2005-10-20 Thread Mathias Bauer
ill help me. A dispatched macro can't return a value. Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Lead Please reply to the list only, [EMAIL PROTECTED] is a spam sink. - To unsubsc

Re: [api-dev] Convert a presentation to PDF from Java

2005-10-24 Thread Mathias Bauer
ould exchange the methods though just to avoid the problem that you can't use the example for all formats. I don't know why it fails in case of PPT export because this is an import/export filter and should work with storeAsURL. Best regards, Mathias -- Mathias Bauer - OpenOffice.

Re: [api-dev] window position of components container window

2005-10-24 Thread Mathias Bauer
is done on Windows it returns the correct values. If the same > runs on FreeBSD (should be the same for Linux?) the position is always > 0,0. Can you test it on Linux? Anyway you can create an issue for the gsl team. Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application Framewo

Re: [api-dev] window position of components container window

2005-10-24 Thread Mathias Bauer
Oo1.x I wouldn't have asked for tests: yes, this is a known problem in this version. It should work in OOo2.0. > Would it make sense to file an issue for 1.1? No, we will not fix any issues in 1.x instead of security bug fixes. Best regards, Mathias -- Mathias Bauer - OpenOffice.org

Re: [api-dev] Convert a presentation to PDF from Java

2005-10-24 Thread Mathias Bauer
I is described in the IDL reference and the Developers Guide (both available in the SDK and the api.openoffice.org Website), the Java UNO Runtime classes are described in the reference documentation in the SDK. Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Proje

Re: [api-dev] window position of components container window

2005-10-24 Thread Mathias Bauer
o create a second OOo2.0 installation you have two options: Just copy a complete OOo2.0 installation somewhere else(!). On windows you also can install a second copy of OOo2.0 with setup /a. Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Lead Pleas

Re: [api-dev] window position of components container window

2005-10-26 Thread Mathias Bauer
rking on this. Ciao, Mathias Andrew Jensen wrote: > Mathias, > > You just made my month... > > Thanks > > Mathias Bauer wrote: > >>Hi Andrew, >> >>Andrew Jensen wrote: >> >> >>>Ok, never mind..I figured out what I was doing wrong..

Re: [api-dev] new incubator : Call for Name

2005-10-26 Thread Mathias Bauer
, but we have to do it. 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] Fo

Re: [api-dev] Re: [dev] new incubator : Call for Name

2005-10-26 Thread Mathias Bauer
ls that mainly appeared when you had to deal with the code. As I understood the idea of an extensions project it is not supposed to host a cvs for source code. Outside of CVS the "extensions" module in util isn't visible. Best regards, Mathias -- Mathias Bauer - OpenOffice.org App

Re: [api-dev] Re: [dev] new incubator : Call for Name

2005-10-27 Thread Mathias Bauer
very special though important kind of "extension". But there are other potential extensions of OOo that e.g. can be deployed as a package and that are not (technically spoken) addons. Ciao, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Lead Please reply to

Re: [api-dev] Creating docked panel with uno

2009-01-25 Thread Mathias Bauer
ll needed to get it working). Currently I'm working with Jan Nieuvenhuisen from Novell to get the most current sources of the toolkit layouter integrated (cws layoutdialogs2). Last week I got a Windows build finished (Jan works on Linux), now I wanted to ask Ivo to help us with the localization

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

2009-01-27 Thread Mathias Bauer
l!) not the standard way of doing things (the published API) should be marked by a special attribute, but the one off the road (the unpublished API). Ciao, Mathias -- Mathias Bauer (mba) - Project Lead OpenOffice.org Writer OpenOffice.org Engineering at Sun: http://blogs.s

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

2009-03-10 Thread Mathias Bauer
Stephan Bergmann wrote: > On 01/27/09 09:13, Mathias Bauer wrote: >> BTW: a keyword "unpublished" would come in handy here as it could become >> the hyperlink itself! It seems we did it the wrong way. Not only because >> of this but also because (as usual!) not the

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

2009-03-10 Thread Mathias Bauer
ice crash/hang is a problem. The > developers guide mentiones that modified documents might be a problem in > this case. Please try to set all remaining documents to nonmodified > state before terminating and probably close them. I wouldn't expect that hidden frames are a problem

Re: [api-dev] About user defined properties...

2009-03-10 Thread Mathias Bauer
>>>> To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org >>>> For additional commands, e-mail: dev-h...@api.openoffice.org >>> >>> >>> ------

Re: [Fwd: Re: [api-dev] How to search inside notes ?]

2009-03-13 Thread Mathias Bauer
e and think a little bit more. It's also more than a few lines of code to write. Regards, Mathias -- Mathias Bauer (mba) - Project Lead OpenOffice.org Writer OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS Please don't reply to "nospamfor...

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

2009-03-17 Thread Mathias Bauer
ation object still exists, I would > have expected it to continue to function as before (so this feels like a > bug to me). Yes, the reason for the bug is a peculiarity in the way Basic inspects property sets that was unknown to the developer that implemented the new DocumentProperties. It&#

Re: [api-dev] DocumentProperties Enhancment proposal

2009-03-18 Thread Mathias Bauer
e behavior can been coded as a option for for all > OO-docs who are run on a network In OOo3 you don't need that as the new lock files will tell you that anyway. And this is even better as it works without modifying the document on disk. Regards, Mathias -- Mathias Bauer (mba) - Project

Re: [api-dev] DocumentProperties Enhancment proposal

2009-03-19 Thread Mathias Bauer
; Regards, >> Mathias >> >> > > > - > To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org > For additional commands, e-mail: dev-h...@api.openoffice.org >

Re: [api-dev] How to access the Storage of an opened OOo document?

2009-04-03 Thread Mathias Bauer
ties of the storage elements that the manifest describes. Can you explain what you want to achieve? Regards, Mathias -- Mathias Bauer (mba) - Project Lead OpenOffice.org Writer OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS Please don't reply to "nospamfor...@gmx.de&quo

Re: [api-dev] How to access the Storage of an opened OOo document?

2009-04-14 Thread Mathias Bauer
Giuseppe Castagno wrote: > Hi Mathias, > > Mathias Bauer wrote: >> Giuseppe Castagno wrote: >> >>> Now my questions, keeping in mind that at a certain time I need to >>> access the "META-INF" substorage to manipulate a custom file (read and >

Re: [api-dev] OO Writer Extension

2009-04-14 Thread Mathias Bauer
proposal). My question is, there > is a way to handle events from OO, like saving a document, or creating a new > document? You don't need to look for events if you want to save an OOo document in a particular format; please read about filter development in the OOo Developer's G

Re: [api-dev] Multithread question

2009-04-20 Thread Mathias Bauer
menu bar. You still may have problems when your application is written in a languagge using garbage collection as this can lead to desctructor calls of OOo objects executed in the garbage collection thread. Best regards, Mathias -- Mathias Bauer (mba) - Project Lead OpenOffice.org Writer Open

Re: [api-dev] How to reload current opened document via API

2009-04-20 Thread Mathias Bauer
occurs an UNO > Runtime Error. At the moment I reload the file manually over File -> > Reload. This works but it is not really a solution. > > What is the right way to reload a document via API? You can use the Dispatch API to achieve that. The command you have to dispatch at th

Re: [api-dev] How to access the Storage of an opened OOo document?

2009-04-20 Thread Mathias Bauer
Giuseppe Castagno wrote: > Mathias Bauer wrote: >> Giuseppe Castagno wrote: >> >>> Hi Mathias, >>> >>> Mathias Bauer wrote: >>>> Giuseppe Castagno wrote: >>>> >>>>> Now my questions, keeping in mind that at a cer

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

2009-04-27 Thread Mathias Bauer
ow incomatible changes in the C++ libs also. Maybe that's what you wanted to express. 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 "nosp

  1   2   3   4   5   6   >