https://bugs.documentfoundation.org/show_bug.cgi?id=89795

            Bug ID: 89795
           Summary: Filter Data IGNORED in PDF Export Macro
           Product: LibreOffice
           Version: 4.2.7.2 release
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: major
          Priority: medium
         Component: BASIC
          Assignee: [email protected]
          Reporter: [email protected]

LibreOffice ignores ANY Filter Data options feeded inside a macro for a PDF
Export. 
Very similar bugs bugs have been makred INVALID because it was supposeldy a
macro recording problem. Well it is not, this is not a recorded macro.

Thank you



sub pdf
doc = thisComponent
adr = left (doc.url, len (doc.url)-4)+".pdf"
dim podminka_filtru (0) as new com.sun.star.beans.PropertyValue
podminka_filtru (0).Name = "UseLosslessCompression"
podminka_filtru (0).Value = False
podminka_filtru (0).Name = "ReduceImageResolution"
podminka_filtru (0).Value = True
podminka_filtru (0).Name = "MaxImageResolution"
podminka_filtru (0).Value = "50"
podminka_filtru (0).Name = "Quality"
podminka_filtru (0).Value = "10"
dim podminka_exportu (1) as new com.sun.star.beans.PropertyValue
podminka_exportu (0).Name = "FilterName"
podminka_exportu (0).Value = "calc_pdf_Export"
podminka_exportu (1).Name = "FilterData"
podminka_exportu (1).Value = podminka_filtru
doc.storeToURL (adr, podminka_exportu ())
end sub

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to