Re: [api-dev] Unable to connect JDPA debugger

2006-08-27 Thread Oliver Brinzing
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, > The switch I am using is for 1.5 is what Oliver (on this list) suggested: > agentlib:jdwp=transport=dt_socket,server=y,address=localhost:8000,suspend=n what about the leading "-" ? - -agentlib:jdwp=transport=dt_socket,server=y,address=localho

Re: [api-dev] Unable to connect JDPA debugger

2006-08-27 Thread Matthias Benkmann
When I want to remote-debug Java modules for OOo I do it as described in the Help that you get when you press the Help button in the Tools/Options.../Java/Parameters... dialog, i.e. I add -Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=8000 to the JVM parameters (in fact I've created 2 p

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

2006-08-27 Thread Mathias Bauer
Oliver Brinzing wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Hi Mathias, > >> What means "without success"? What exactly did you do and what exactly >> happened? > > that means, the preview is not closed, if i open a message box directly after > the > excecuteDispatch(), it do

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

2006-08-27 Thread Mathias Bauer
Tim Anderson wrote: > Thanks for the tip. I've inserted the following between the load and > save - it appears to work: > > XTextFieldsSupplier supplier = (XTextFieldsSupplier) > UnoRuntime.queryInterface(XTextFieldsSupplier.class, document); > XEnumerationAccess fields = supplier.getTe