You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2012/05/27 10:33:59 UTC

[Bug 119417] Problems with PDF export using FilterData (VB-Script using COM interface)

https://issues.apache.org/ooo/show_bug.cgi?id=119417

bmarcelly <ma...@club-internet.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marcelly@club-internet.fr

--- Comment #1 from bmarcelly <ma...@club-internet.fr> ---
This is a subtlety of COM bridge. You have to specify explicitly that
SaveFilter is an array of com.sun.star.beans.PropertyValue.

See thread [Solved] [PHP] Problem to export PDF /A with puno
http://user.services.openoffice.org/en/forum/viewtopic.php?f=44&t=36163

Your code should work with these changes:

Dim unoWrap

Set unoWrap = oSM.Bridge_GetValueObject
unoWrap.set "[]com.sun.star.beans.PropertyValue", SaveFilter

Set SaveOptions(1)= MakePropertyValue(oSM,  "FilterData", unoWrap)

-- 
You are receiving this mail because:
You are the assignee for the bug.