Hello Jörg,
On Monday 28 December 2009, 18:11, Joerg Budischewski wrote:
> Hi,
>
> the attached patch works for me. Give it a try.
I tried only the uno.invoke as the FAQ 15 suggested me, but this only didn't
work.
Your suggestion works (as there was no problem with the MediaDescriptor but
with the FilterData):
aMediaDescriptor = (
PropertyValue( "FilterName", 0, "writer_pdf_Export",
DIRECT_VALUE ),
PropertyValue( "FilterData", 0, uno.Any(
"[]com.sun.star.beans.PropertyValue", aFilterData ), DIRECT_VALUE )
)
xTextDoc.storeToURL( sURL, aMediaDescriptor )
This wasn't very intuitive, may be you can add a note in the FAQ #15.
Anyway, notice that it works (at least on a DEV300_m68 on Linux) without
needing the uno.invoke you also suggest:
uno.invoke( xTextDoc, "storeToURL", ( sURL, aMediaDescriptor) )
should I use this indirect invocation or keep the direct call to
XStoreable.storeToURL ?
Thanks and regards
--
Ariel Constenla-Haile
La Plata, Argentina
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]