Re: [api-dev] Macro: revert changes.

2005-12-13 Thread Mathias Bauer
eps than the configured depth of the undo stack (default in OOo2 is 100) you will not reach the last saved state. Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Lead Please reply to the list only,

Re: [api-dev] Macro: revert changes.

2005-12-14 Thread Mathias Bauer
enough for you? If you can use the OOo internal counter it will be stored each time anyway and you don't need to do anything on your side. Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Lead Please reply to the

Re: [api-dev] Question on XServiceInfo "indirect service names"...

2005-12-14 Thread Mathias Bauer
at are available through the object? > > I guess that is what was meant with "indirect service names." However, > I also assume that many objects that support XServiceInfo do not > implement it that way, but only return their "top" services. But that would be a bug, r

Re: [api-dev] Macro: revert changes.

2005-12-14 Thread Mathias Bauer
iting time as custom metadata (a new feature in OOo2) you can speed up your workflow a lot once the feature will be available. 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] Macro: revert changes.

2005-12-15 Thread Mathias Bauer
document editing time as >> custom metadata (a new feature in OOo2) you can speed up your workflow a >> lot once the feature will be available. > > Any ideas on which version will have this feature? Not for sure. It might be 2.0.2 or 2.0.3. Best regards, Mathias -- Mathias Ba

Re: [api-dev] Macro: revert changes.

2005-12-15 Thread Mathias Bauer
y metadata is quite fast. 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]

Re: [api-dev] Addon Howto?

2005-12-26 Thread Mathias Bauer
uire your assistance > to clarify if I am on the right direction. This is correct, it shows you the basics. There is a special chapter about Add-Ons, it's chapter 4.7.3. Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Lead Please reply to the list

Re: [api-dev] New Document from Template

2005-12-26 Thread Mathias Bauer
sage says it all: the URL is unsupported, mainly because it isn't a URL at all. Don't use system file names, you have to provide a valid URL: "file:///d:/OOo_Templates/Letterhead.odt" should work for you. Best regards, Ma

Re: [api-dev] Upgrading from 1.x.x to 2.x.x -- Without Re-Learning An API?

2006-01-09 Thread Mathias Bauer
de using it still works. Moreover, if you want to write a program that connects both to OOo1 and OOo2 you will still need to use the old mechanism you already know. Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Projec

Re: [api-dev] loadComponentFromURL Worked in 1.1.x and Not in 2.x.x

2006-01-09 Thread Mathias Bauer
ence. Both URLs are wrong, local file URLs start with three slashes. OOo1 accepted the wrong ULRs but this was a bug that prevented other things to work correctly and so it needed to be fixed. Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Lead Please reply to

Re: [api-dev] GlobalEventBroadcaster and StarBasic - continued ( ....catch a Base document being opened )

2006-01-09 Thread Mathias Bauer
. This is on 2.0.1 by the way. It looks as if the database document has a bug, it indeed calls the macro bound to the "OnLoad" event twice. This does not happen in case of other documents, e.g. Writer documents. Would you mind to file an issue against the database component? Best re

Re: [api-dev] PrintListeners (Yet Another Upgrade Question)

2006-01-09 Thread Mathias Bauer
have used "true" as an argument in the close call). I'm not sure what will happen if you close the whole application while a printing is ongoing (never tested this). In case you don't need to do this and if you also don't need to stay operable with OOo1 you can try to dr

Re: [api-dev] Thanks For The Help -- Upgraded From 1.x to 2.x (and upgrade notes)

2006-01-09 Thread Mathias Bauer
, I may have to drop back to 1.x simply > because I can't find what I need to know how to install OOo the way I want on > my clients' Windows systems! I think you are wrong here. Especially on Windows the new installer is a big step into the right direction. And AFAIK it *is

Re: [api-dev] Thanks For The Help -- Upgraded From 1.x to 2.x (and upgrade notes)

2006-01-10 Thread Mathias Bauer
Hal Vaughan wrote: > On Monday 09 January 2006 01:42 pm, Mathias Bauer wrote: > >> I think you are wrong here. Especially on Windows the new installer is a >> big step into the right direction. And AFAIK it *is* possible to create >> response files. > > I asked abou

Re: [api-dev] Java storeAsURL PDF Problem

2006-01-10 Thread Mathias Bauer
tion will be updated in the next SDK version we deliver. 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-

Re: [api-dev] Thanks For The Help -- Upgraded From 1.x to 2.x (and upgrade notes)

2006-01-11 Thread Mathias Bauer
hancement request for this if you know anything about it. If it is possible to create MSI files in that way I'm sure the developers of the installation team will think about it. Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Lead Please reply to the li

Re: [api-dev] OLE Identifiers

2006-01-11 Thread Mathias Bauer
e the OOo API is different than the MSO API, but describing it is nothing you can do in a single mail. 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] quickstarter / storeToURL problem (python)

2006-01-18 Thread Mathias Bauer
ng a pause between the steps (e.g. for 10 seconds or so)? Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Lead Please reply to the list only, [EMAIL PROTECTED] is a spam sink. - To unsubscri

Re: [api-dev] problem with OfficeBean and JInternalFrame

2006-01-18 Thread Mathias Bauer
hey overlap with the heavy weight container (like popup menus e.g.). Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Lead Please reply to the list only, [EMAIL PROTECTED] is a spam sink. - T

Re: [api-dev] OO Basic editor questions

2006-01-18 Thread Mathias Bauer
import it. ;-) OK, just kidding. What exactly do you mean? 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] quickstarter / storeToURL problem (python)

2006-01-18 Thread Mathias Bauer
oreToURL(storeUrl, storeProps) > uno.com.sun.star.task.ErrorCodeIOException You should catch this exception and tells us which ErrorCode is reported by this exception (it's a member of the exception). Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Lead Please reply to the list o

Re: [api-dev] quickstarter / storeToURL problem (python)

2006-01-19 Thread Mathias Bauer
trying to > extract it again. I had it running for a couple of > minutes to no avail. :/ It seems that you misunderstood me. I asked you to do the following: quit quickstarter wait 10 secs start quickstarter wait 10 secs start python app initiate creation of document save document t

Re: [api-dev] deploying a template through addon

2006-01-19 Thread Mathias Bauer
in" always needs some explicit code, it is meant as somethin an Add-On accesses, but not the regular OOo code). Are you sure that you could deploy a template as an Add-On in an older version of OOo? Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Lead Pl

Re: [api-dev] Document is loaded in a background window

2006-01-19 Thread Mathias Bauer
nously, but before the window comes to front you create the messagebox and it gets the current front window as its parent. But of course the messagebox gets the focus so it sends your new window back before it can come to front. Which window manager do you use? Best regards, Ma

Re: [api-dev] Document is loaded in a background window

2006-01-19 Thread Mathias Bauer
Martin really works your message box should appear in front of the new document if you created it *after* putting the new window to front. Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Lead Please reply to the list o

Re: [api-dev] Document is loaded in a background window

2006-01-20 Thread Mathias Bauer
Felix E. Klee wrote: > Am Donnerstag, 19. Januar 2006 21:31 schrieb Mathias Bauer: >> If the tip from Martin really works your message box should appear in > ^^^ > What tip? He explained how things are coded. His tip was: "I didn't try it, bu

Re: [api-dev] quickstarter / storeToURL problem (python)

2006-01-24 Thread Mathias Bauer
OOo and OOo quickstarter don't run and your Python app also doesn't run. Now you start OOo, e.g. by loading an OOo Writer document, wait until the document is loaded successfully. Then you start your Python application. You create your document etc. Best regards, Mathias -- Mathias

Re: [api-dev] quickstarter / storeToURL problem (python)

2006-01-24 Thread Mathias Bauer
d tested ... I can't believe that it works this way. I had a closer look: your filter name is definitely wrong and your program should *never* work. Please use the filter name "Text (encoded)" - note the *small* "e" and don't forget the blank character. Best regards,

Re: [api-dev] Managing a menu system wide

2006-01-27 Thread Mathias Bauer
cally each time OO is started? > AFAICS, this would be a very nice solution since the menu could be modified > using settings stored in a configuration file for each user. I wouldn't do that. OOo's startup performance is bad enough. :-) Best regards, Mathias -- Mathias Bauer -

Re: [api-dev] Java filter imports with modified=true, and reloads as read only

2006-01-27 Thread Mathias Bauer
sful loading and report back if this makes any difference. If this doesn't help I'm afraid that we have to have a look into the code for reloading. Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Lead Please reply to the list

Re: [api-dev] Managing a menu system wide

2006-01-30 Thread Mathias Bauer
Felix E. Klee wrote: > Am Freitag, 27. Januar 2006 17:22 schrieb Mathias Bauer: >> >> BTW, I only want to add *one* menu. I do not want to replace the entire >> >> menu bar since individual users may have made changes to the menu bar. >> > >> > BTW,

Re: [api-dev] Managing a menu system wide

2006-01-30 Thread Mathias Bauer
s may have made changes to the menu bar. IMHO providing this additional menu as an Addons.xcu in a UNO package without code is easier. 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] Java filter imports with modified=true, and reloads as read only

2006-01-30 Thread Mathias Bauer
! Sorry, I was wrong, of course you can't get rid of the proxy, but closing the stream should help. Try a xInputStream.closeInput() after you finished loading. If it works I have to discuss with my colleagues if this might have any side effect

Re: [api-dev] Managing a menu system wide

2006-01-31 Thread Mathias Bauer
Felix E. Klee wrote: > Am Montag, 30. Januar 2006 23:52 schrieb Mathias Bauer: >> My suggestion is to add your menu as an OOo Add-On. This is a package >> usually containing code and some configuration files that define an >> additional top level menu or toolbar for the com

Re: [api-dev] Java filter imports with modified=true, and reloads as read only

2006-01-31 Thread Mathias Bauer
fects. :-) >> >> > That was one of the first things I tried! However - no joy! I can call > closeInput 10 times in a row, and it doesn't help, nor does it throw an > exception! OK, I'm running out of ideas. ;-) We will have a look on the issues you have created

Re: [api-dev] ViewData string meaning ?

2006-02-01 Thread Mathias Bauer
k the representation before (IMHO), perhaps structured data would be a better approach then. Wether we can do this depends on the application developers and if they have time to change their code. Of course we also need to explain why they should do it - what are the use cases where anyone m

Re: [api-dev] Java filter imports with modified=true, and reloads as read only

2006-02-01 Thread Mathias Bauer
Mathias Bauer wrote: > Martin Gallwey wrote: > >>>Sorry, I was wrong, of course you can't get rid of the proxy, but >>>closing the stream should help. Try a xInputStream.closeInput() after >>>you finished loading. If it works I have to discuss with my col

Re: [api-dev] ViewData string meaning ?

2006-02-01 Thread Mathias Bauer
nd if you feel > that something is missing submit a feature request or if you feel that > something is to complicate submit a request for enhancement. Which API are you talking about? @Laurent: what's the use case that makes you think that you need to evaluate this string? Ciao, Mathi

Re: [api-dev] Java filter imports with modified=true, and reloads as read only

2006-02-01 Thread Mathias Bauer
uot;UNO" filter is used there is something going wrong. You can use it as a workaround until the bug gets fixed but you shouldn't take it as a durable solution. BTW: is reloading really so important that you need the workaround? If you close the document or save it everything seems to go right.

Re: [api-dev] ViewData string meaning ?

2006-02-02 Thread Mathias Bauer
ation* of the data as a string is such a detail. So IMHO it is not a bad idea to think about a better readable representation (like Sequence < PropertyValue > e.g.) in case there is no other API and define this as an "official" API. Best regards, Mathias -- Mathias Bauer -

Re: [api-dev] ViewData string meaning ?

2006-02-04 Thread Mathias Bauer
ds to be improved. The purpose of the "view data" goes beyond this. Perhaps you can describe how the selection can be used in VBA and which parts are missing in ours. Best regards, Mathias -- Mathias Bauer - OpenOf

Re: [api-dev] API design question

2006-02-20 Thread Mathias Bauer
to other documents in a useful way. So what you need is "Replace All" and "Start Replacing and ask me each time". AFAIK the latter is possible only by dispatching because it's bound to a dialog while the S&R API of the "core" document explicitly is designed to a

Re: [api-dev] Re:Re: Re: Load Excel file (.xls)

2006-02-20 Thread Mathias Bauer
rects the file to Calc), of course only if possible. That's the reason why it works with the command line you have shown above. 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] Re: OpenNewView

2006-02-21 Thread Mathias Bauer
; what do you think of it? > Can I improve it? The code does what the menu command "Window-New Window" does. That's OK. It's the best you can do for the time being. Besides that I think that OOo currently does not treat "OpenNewView" correctly, means: it looks like

Re: [api-dev] Java: adding functionality to newly created menu item

2006-02-21 Thread Mathias Bauer
ndles commands using the scheme. All this is described in the Developers Guide in the chapters about Dispatching and Add-Ons. 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] Re: Re: OpenNewView

2006-02-21 Thread Mathias Bauer
Vincenzo Giuliano wrote: > Mathias Bauer wrote: > >>I think that >>OOo currently does not treat "OpenNewView" correctly, means: it looks >>like a bug. >> >> > Hi Mathias, > from what I can see, I gather that the java method can be useful. >

Re: [api-dev] API design question

2006-02-21 Thread Mathias Bauer
Paolo Mantovani wrote: > Hi Mathias, > > Alle 22:25, lunedì 20 febbraio 2006, Mathias Bauer ha scritto: > [...] >> It doesn't make any sense to record a S&R action that does not >> automatically replace all occurences or no occurence and asks the user >> fo

Re: [api-dev] How to close the quickstarter

2006-03-02 Thread Mathias Bauer
;terminates the OOo process even if the QS is running". This will set expectations right. I think we should finally provide an API to close the QS to avoid such desperate attempts. :-) Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Lead Please reply to t

Re: [api-dev] How to set print to file

2006-03-02 Thread Mathias Bauer
;PrintOptions". In Basic you can write dim args(0) as new com.sun.star.beans.PropertyValue args(0).Name = "FileName" args(0).Value = sFileName ThisComponent.print(args()) Please note that "sFileName" must be a system file name, not a URL, because it will be

Re: [api-dev] How to close the quickstarter

2006-03-06 Thread Mathias Bauer
'm wrong and ExitProcess only terminates the WndProc of the QS? Perhaps there is a way to just send a WM_DESTROY to the QS window through a Windows API that can be called from inside OOoBasic? Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project L

Re: [api-dev] Java: adding functionality to newly created menu item

2006-03-09 Thread Mathias Bauer
only in memory, not on disk). 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 PR

Re: [api-dev] Chaining Frames : ChainedTextFrame

2006-03-10 Thread Mathias Bauer
opic, use the "reply" button only if you really reply to a mail. This will perhaps also increase the possible number of answers. What "frames" are you talking about (text frames?) and what do you mean with "chaining"? Best regards, Mathias -- Mathias Bauer - OpenOffice.o

Re: [api-dev] Impossible to close a Base document

2006-03-15 Thread Mathias Bauer
closed the previous one). However, this is rather unlikely for > database documents, which to not have the "multiple views per document" > (Window|New window) feature, at least not in the usual sense. What you describe can be done by the model itself in its close() implementation.

Re: [api-dev] Impossible to close a Base document

2006-03-15 Thread Mathias Bauer
bly discuss this with the people who implemented > the closing mechanism for the other document types, they must have had > reasons to do it the way they did :) See my other answer. :-) Ciao, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Lead Please reply to the l

Re: [api-dev] Java: adding functionality to newly created menu item

2006-03-17 Thread Mathias Bauer
> well, for me there is a reason why I can't provide a > protocolhandler.xcu: I'm not allowed to change the OO config on my > clients PCs persistently. But thanks for the hint. You should provide the UNO package on the server PC where your installation is, not on t

Re: [api-dev] Java: adding functionality to newly created menu item

2006-03-17 Thread Mathias Bauer
ations of you > client PCs ... Yes, but the services.rdb lies on the "server" PC, so where's the problem? I assume that Tobias changes the installation on this side (otherwise I don't see how he can install *anything* into OOo). Best regards, Mathias -- Mathias Bauer

Re: [api-dev] Styles and Formatting Dialog

2006-03-23 Thread Mathias Bauer
t users to use only definite styles. No, the "Styles and Formatting" dialog doesn't have an API. 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] Re: [dev] Integrating external program with OOo on Windows - request for assistance!

2006-03-23 Thread Mathias Bauer
he best list would be dev@api.openoffice.org but >> dev@openoffice.org should be OK here also. One move is enough. :-) > > OK, I have tried a few times, but it has not shown up in the archives. Not I > experiment with a new method (joining, then mailing to thwe list). I didn't wa

Re: [api-dev] XComponentLoader event onload

2006-03-24 Thread Mathias Bauer
mpletely correct. *Every* document (visible and invisible ones) sends either OnCreate or OnLoadFinished. But as Andreas mentioned loading is complete when loadComponentFromURL returns, so the events appear while the call is still ongoing. Only visible documents also send OnNew or OnLoad, and this

Re: [api-dev] Re: [dev] Integrating external program with OOo on Windows - request for assistance!

2006-03-28 Thread Mathias Bauer
7;t rely on the usual pointer >> arithmetics. > > Don't need pointer calcs. Just need to replace a chunk of text with > something else for spell checking or word prediction. So you would be fine with getting the text as UTF-8 encoded by

Re: [api-dev] New component: instead of ".uno:SaveAs" ".uno:SaveTo"

2006-03-28 Thread Mathias Bauer
you will only get the filters that are available in "SaveAs", but not the ones you get in "Export", e.g. PDF. 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 tell a component the current XComponent?

2006-03-28 Thread Mathias Bauer
a job or a document event listener it gets a frame object on initialization or execution time (and the frame is able to tell the component the document it belongs to). The same is true for Dispatch objects since OOo2.0.x (x=2 IIRC). Best regards, Mathias -- Mathias Bauer - OpenOffice.org Applica

Re: [api-dev] DocumentConfiguration

2006-03-28 Thread Mathias Bauer
y wrong this should be mentioned in Developers Guide. The easiest way is to use the "Save" Button in the configuration dialog and select your document or template as a target. Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application Framewo

Re: [api-dev] New component: instead of ".uno:SaveAs" ".uno:SaveTo"

2006-03-30 Thread Mathias Bauer
patchHelper.class, > oDispatchHandler); > xDispatchHelper.executeDispatch(xDispatchProvider, > ".uno:SaveAs", > "_self", > 0, > saveProperties); > } Looks fine to me. > I will post it soon a

Re: [api-dev] Debugging Assistive Technology applicaitons working with OpenOffice

2006-04-05 Thread Mathias Bauer
&msgNo=15859 > does not appear to be sufficient. Just adding the four jar files (juh, > jurt, unoil and ridl) still results in an error that there is no UNO > Runtime found. I hope that our Java/SDK experts will have an idea, that sounds pretty strange. Best regards, Mathias -- Mat

Re: [api-dev] com.sun.star.mail

2006-04-07 Thread Mathias Bauer
and SimpleSystemMail), OOo doesn't want to be a replacement for a mail program. With an own builtg in SMTP engine OOo would need to provide (and maintain) at least an outbox folder, that's nothing we want to do. Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application Fr

Re: [api-dev] OOO 2.0.2: macro for bulk or single conversion of odt to pdf?

2006-04-07 Thread Mathias Bauer
No, 3 slashes are correct as Tom already pointed out in the mail you have replied to. 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: loading file with key-shortcuts .sxc v/.ods

2006-04-07 Thread Mathias Bauer
x27; and choose the > 'AAA-KbdCfg' file, whereas opening the .ods file nothing happens! Did you check wether the ods file contains the event binding of your macro? And are you sure that the bound macro is started when the

Re: [api-dev] com.sun.star.mail

2006-04-07 Thread Mathias Bauer
Peter Eberlein wrote: > Mathias Bauer schrieb: > >> With an own builtg in SMTP engine OOo would need to provide (and >> maintain) at least an outbox folder, that's nothing we want to do. >> > You know shurely, that Caolan has solved this with python (from 2.

Re: [api-dev] Calc: loading file with key-shortcuts .sxc v/.ods

2006-04-07 Thread Mathias Bauer
s template (documents inherit their UI config from their template). 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: loading file with key-shortcuts .sxc v/.ods

2006-04-09 Thread Mathias Bauer
g "File-New-Templates and Documents". 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-ma

Re: [api-dev] custom menu to document in relation to cust.menu in Writer

2006-04-19 Thread Mathias Bauer
is fully correct? Are others familiar with this behaviour? Yes, you can have only one menu configuration per module because every change immediately takes effect. So all of your changes are done on top of the current, global Writer menu configuration. I wouldn't complain if you called th

Re: [api-dev] Proposal: Easy to use complex toolbar controls for add-ons

2006-04-20 Thread Mathias Bauer
to the dispatch chain. Perhaps we can use the macro dispatcher as a medium (the same object that executes the macro when the button is clicked). Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Lead P

Re: [api-dev] creating non-modal dialog

2006-04-21 Thread Mathias Bauer
rminates after the dialog is shown (no wait loop!) and "sleeps" until a callback from the dialog awakes it again (click handler). AFAIK this means that your dialog must be kept in a global variable so that termination of your macro does not kill the dialog automatically.

Re: [api-dev] creating non-modal dialog

2006-04-21 Thread Mathias Bauer
ble", new Boolean(false)); I understand this as a command that this dialog shouldn't be closeable and so it isn't surprising that nothing happens when you click on the closer. OTOH I wonder why there is a closer at all in this case but this might be a bug or imperfection. Best

Re: [api-dev] UNO wrapper project

2006-04-24 Thread Mathias Bauer
ktop.loadComponentFomURL(...) instead of dim doc doc = StarDesktop.loadComponentFomURL(...) would enable the IDE to autocomplete the code if the user starts to type "doc." Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Lead Please reply to the list only

Re: [api-dev] creating non-modal dialog

2006-04-24 Thread Mathias Bauer
s" dialog: yes, there are plans, but ... (see last sentence) 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] Closing documents w/ simplest possible converter..and a few other questions

2006-04-24 Thread Mathias Bauer
ot; is the correct name (the name is determined by history). BTW: for the other way around (HTML->doc) you should specify "HTML (StarWriter)" as *input* filter explicitly, otherwise OOo will create a WebDocument by default and the WebDocument has much less export formats than the TextDo

Re: [api-dev] Unanswered Question - Reloading Document - Convert Hidden Doc to NonHidden Doc

2006-04-24 Thread Mathias Bauer
that each "refresh" requires a complete write/read cycle I don't think that the performance is as expected. In general the load/save performance in OOo is not very good and we are working on this, but don't expect exact promises now about when we will reach which performance g

Re: [api-dev] Unanswered Question - Reloading Document - Convert Hidden Doc to NonHidden Doc

2006-04-25 Thread Mathias Bauer
construct a frame and insert a OpenOffice.org document > into it, is to use the > com.sun.star.frame.XComponentLoader interface of the > com.sun.star.frame.Desktop" but this is not > clear to me. Yes, as I said: Controllers can't be moved between frames, the only way to get a mode

Re: [api-dev] Unanswered Question - Reloading Document - Convert Hidden Doc to NonHidden Doc

2006-04-26 Thread Mathias Bauer
0, args ); > > and I get > om.sun.star.lang.IllegalArgumentException: URL seems > to be an unsupported one. It seems that OOo tries to do a type detection though this is superfluous here. I will check this. Meanwhile you could try to provide a valid stream here to workaround th

Re: [api-dev] Closing documents w/ simplest possible converter..and a few other questions

2006-05-04 Thread Mathias Bauer
where (besides my own site, even though my > personal site isn't usually so techie) and if so where? Usually this is where our "code snippet" base comes in handy. You could add your example there if there isn't anything like it already. Best regards, Mathi

Re: [api-dev] View

2006-05-04 Thread Mathias Bauer
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] XScrollbar

2006-05-04 Thread Mathias Bauer
document windows' scrollbars ATM. Maybe there is another way to achieve what you are trying to do? Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Lead Please reply to the list only, [EMAIL PROTECTED]

Re: [api-dev] XScrollbar

2006-05-08 Thread Mathias Bauer
achieve this by listening for "OnVisAreaChanged" Events of the document. This way you also get notifications if the size of the visible part of the document changes. Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Lead Please reply to the list only, [E

Re: [api-dev] Resolved: Urgent Unanswered Question - Issue id 63211

2006-05-08 Thread Mathias Bauer
to force Writer to calculate the missing property. Additionally you need some luck that the API allows you to ask for it. ;-) Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Lead Please reply to the li

Re: [api-dev] Re: [dev] Integrating external program with OOo on Windows - request for assistance!

2006-05-09 Thread Mathias Bauer
heir solutions to OOo or especially created new ones for it. I still hope that you can find someone for help. Perhaps again we can help people like you by creating a "job exchange" page where ISVs can ask for OOo developers and t

Re: [api-dev] Easy to use complex toolbar controls for add-ons

2006-05-10 Thread Mathias Bauer
ossible use case where you would like to use the new toolbar control features in basic code. 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] Easy to use complex toolbar controls for add-ons

2006-05-14 Thread Mathias Bauer
each list entry by a configuration file (Addon.xcu) and not by status updating as described by Carsten would be enough. Why establishing a complex communication channel for something that is sent only once? If you just want to allow listboxes in toolbars bound to Basic ma

Re: [api-dev] Easy to use complex toolbar controls for add-ons

2006-05-15 Thread Mathias Bauer
use the combination of both as a unique identifier for searching for the dispatch object in a global container of such objects. I will draw up this in a more detailed manner. Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Lead Please reply to the list onl

Re: [api-dev] Easy to use complex toolbar controls for add-ons

2006-05-16 Thread Mathias Bauer
stract assignments of commands to "types" (like "string list", "integer value" etc.) instead of (button) control names, but Carsten preferred the control names instead because it looks simpler and less "techy". As it is his "baby" I think that's o

Re: [api-dev] Easy to use complex toolbar controls for add-ons

2006-05-16 Thread Mathias Bauer
example was not so good explained > obviously, i want to be able to manipulate the listbox dynamically !! > fill it, remove items, retreive active item ... > like a real componenent OK, in this case you need the full program and this ma

Re: [api-dev] Easy to use complex toolbar controls for add-ons

2006-05-16 Thread Mathias Bauer
s. ;-) The command URL is the only thing that counts, in conjunction with a frame reference. I hope I can make this clear in a more elaborated description. I'm afraid I will not be able to provide it before the weekend. I'm working on OOo "programmability" mostly a

Re: [api-dev] GRAPHIC questions

2006-05-18 Thread Mathias Bauer
t that I don't understand what you are trying to achieve. You started writing about inserting graphics and that you have some problems with it, but now you talk about storing graphics. Do I understand you correctly that storing graphics isn't your real goal, you just do it as part of

Re: [api-dev] Re: Get a word doc as a java String

2006-05-18 Thread Mathias Bauer
ontent as a single string. Other text content inside the document (e.g. text in shapes) can be accessed as well. Best regards, Mathias -- Mathias Bauer - OpenOffice.org Application Framework Project Lead Please reply to the list only, [EMAIL PROTECT

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

2006-05-25 Thread Mathias Bauer
Oo2.0.3. The created packages of course will work in any OOo2 version. 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] Backgroung conversion crashes when closing last foreground document

2006-05-25 Thread Mathias Bauer
automagical" in the near future. OOo shouldn't terminate as long as any external connection exists. 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] switching components in one frame

2006-05-25 Thread Mathias Bauer
l. This will advise the frame loader to use the existing model and not creating and loading a new one. You must provide the valid URL of the document though (or the stream it was loaded from) to pass the type detection and to avoid confusion in the documents' internal media descriptor. Best regard

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

2006-05-26 Thread Mathias Bauer
ed to do so. We know that this is a very important problem and we will try to fix it as soon as resources allow us to do so. 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] Backgroung conversion crashes when closing last foreground document

2006-05-26 Thread Mathias Bauer
avior. Or is it something else? 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 PROTE

<    1   2   3   4   5   6   >