Re: [api-dev] EOF exception when exectuing code the second time

2010-02-19 Thread Mathias Bauer
Hi Steffen, sorry, I haven't any idea what might cause the problem. Perhaps you can attach a debugger to the server and get a call stack. Regards, Mathias steb wrote: Hi Mathias, most of the time there is no real printing involved. Instead OO is opend locally with the generated document

Re: [api-dev] css.sdb.application.XDatabaseDocumentUI: new methods

2010-02-19 Thread Fernand Vanrie
Frank , I was a bit to hasty yesterday, there is still a problem: oreport = oreports.getbyname(Jobbons1) oReport has no component ! then i do oReport.load wath result in trow Exception but with using on local error resume Next the system ask if its ok with the macro's in the DB doc and i endup

Re: [api-dev] css.sdb.application.XDatabaseDocumentUI: new methods

2010-02-19 Thread Frank Schoenheit, Sun Microsystems Germany
Hi Fernand, I was a bit to hasty yesterday, there is still a problem: oreport = oreports.getbyname(Jobbons1) oReport has no component ! The component of a document definition is the document represented by it. For a form, or a text-based (old style) report, this is merely the Writer

Re: [api-dev] css.sdb.application.XDatabaseDocumentUI: new methods

2010-02-19 Thread Fernand Vanrie
Hallo Frank, Thanks again for your extendet explenation, as a says before there is to match knowledge who's only in your brain and not somewhere else to find :-) My goal is indeed to run (open) forms and reports with additional change in the source and the filters and have no toolbars etc...

Re: [api-dev] css.sdb.application.XDatabaseDocumentUI: new methods

2010-02-19 Thread Frank Schoenheit, Sun Microsystems Germany
Hi Fernand, - do an attachResource on the document, with the modified args something like this (untested): aArguments() = oDocument.getArgs() For i=LBound(aArguments()) To UBound(aArguments() ) If ( aArguments(i).Name = MacroExecutionMode ) Then aArguments(i).Value = _

[api-dev] How to insert the Note/Comment to openoffice document using jave api

2010-02-19 Thread msbca
Hi all, I need to insert Note/Comment to an Openoffice document(swriter) using java api. I could find the api from class Annotation(http://api.openoffice.org/docs/common/ref/com/sun/star/text/textfield/Annotation.html). Is it supported in openoffice 3.1, if so which jar file is

Re: [api-dev] How to insert the Note/Comment to openoffice document using jave api

2010-02-19 Thread Fernand Vanrie
Just load a extention name Visible Bookmarks it will give you a Basic Library with the same name who has all the code to place Notes in a doc Hope it helps Fernand Hi all, I need to insert Note/Comment to an Openoffice document(swriter) using java api. I could find the api from class

Re: [api-dev] Copy/Paste a TextTable row using cpp api works only first time

2010-02-19 Thread Philippe Brun (perso)
Hi all, FWIW I solved my problem by getting the DispatchProvider from the frame of the currentController instead of the currentFrame of the desktop. Thanks Tobias for this post http://api.openoffice.org/servlets/ReadMsg?listName=devmsgNo=16741 I guess my problem was that getCurrentFrame

[api-dev] Select shapes

2010-02-19 Thread Tiago Lourenco da Silva
How do I select all shapes of a document (shapeCollection) ? **Im working with VB 6.0 Thanks _ No Messenger você pode tranformar sua imagem de exibição num vídeo. Veja aqui!