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

2005-04-25 Thread Marc Santhoff
Am So, den 24.04.2005 schrieb Mathias Bauer um 23:47:
 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 tried that already with
  the same result (IOException).
 
 I'm not surprised that the code you commented out didn't work because
 the filter name is not correct.

I have registered a filter for testing purposes with exactly that name.
It is a testbed for fiddling with XSLT, not the main flat xml filter.

But I had no time to try again yet...

Marc



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



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

2005-04-25 Thread Andrew Douglas Pitonyak
The returned object is typically a global object, so if you dispose it, 
then you can not get a new one until you restart OpenOffice.org. I found 
this while playing with some database stuff.
Jahn, Ray (R.) wrote:

Thanks for the advice provided by Kohei.  I found useful content in both the DeveloperGuide and api.openoffice.org/docs/.../XFunctionAccess.html.  

I now have a few more questions regarding the proper memory management.  Would 
appreciate advice on more reading assignment.
Is the object returned by createUnoService() a local object?  A global object?  
An object pointer (handle, in MS jargon)?  Is disposal operation needed to 
prevent memory leakage?  Can the same service be created multiple times, due to 
successvie calls from sheet cells to the user script routine?  Would there be 
efficiency concern if the same service is created repetitively?  (related 
questions on object integrity and memory management go on).
Thanks again.
Ray
-Original Message-
From: Kohei Yoshida [mailto:[EMAIL PROTECTED]
Sent: Sunday, April 24, 2005 03:44 PM
To: dev@sc.openoffice.org; Jahn, Ray (R.)
Subject: 1.9.95 script calling Calc built-in functions
I've posted a solution to a similar question in the past, which you can find 
here:
http://sc.openoffice.org/servlets/ReadMsg?list=devmsgNo=1391
 ... (snipped)
HTH,
Kohei
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 

--
Andrew Pitonyak
My Macro Document: http://www.pitonyak.org/AndrewMacro.sxw
My Macro Book: http://www.hentzenwerke.com/catalog/oome.htm
Free Info:  http://www.pitonyak.org/oo.php
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]