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

2005-04-27 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.

It *does* work, but there is one little thing:

The filter name ist not the string shown in the save dialog (which I
used) but can be taken from the XML filter settings dialog.

Thanks,
Marc



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



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]



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 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.

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] writing writer doc to stream unpacked

2005-04-24 Thread Marc Santhoff
Am So, den 24.04.2005 schrieb Mathias Bauer um 11:48:
> Marc Santhoff wrote:
> > Hi,
> > 
> > I' trying with the code below, but the result is always negative, the
> > contents of the written file is still in zipped form. Without using a
> > stream as storage but a file as normally done it works, the whole bunch
> > is written out as text (content.xml, ...).
> > 
> > If I use a "FilterName" it results in a css.io.IOException with the
> > message ".".
> > 
> > What's happening here? Is it technically impossible to write unpacked to
> > a file stream or am I missing something?
> 
> Yes, the "unpacked" 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.

As you can see from the commented out code I've tried that already with
the same result (IOException).

Thank you anyways, now I know it *should* work with a flat filter.
I'll walk through my code oncemore with a clean brain and try again...

Marc



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



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

2005-04-24 Thread Mathias Bauer
Marc Santhoff wrote:
> Hi,
> 
> I' trying with the code below, but the result is always negative, the
> contents of the written file is still in zipped form. Without using a
> stream as storage but a file as normally done it works, the whole bunch
> is written out as text (content.xml, ...).
> 
> If I use a "FilterName" it results in a css.io.IOException with the
> message ".".
> 
> What's happening here? Is it technically impossible to write unpacked to
> a file stream or am I missing something?

Yes, the "unpacked" 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 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]