[Libreoffice-bugs] [Bug 45592] New: [BASIC] execute mailmerge with PrintOptions

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Feb 3 16:27:39 CET 2012


https://bugs.freedesktop.org/show_bug.cgi?id=45592

             Bug #: 45592
           Summary: [BASIC] execute mailmerge with PrintOptions
    Classification: Unclassified
           Product: LibreOffice
           Version: LibO 3.3.4 release
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
        AssignedTo: libreoffice-bugs at lists.freedesktop.org
        ReportedBy: causb at gmx.net


Created attachment 56576
  --> https://bugs.freedesktop.org/attachment.cgi?id=56576
sample-basicmacro

Hi,

I'm using the attached macro for automaticly label-printing. The
mailmerge-service works very good for this. But I can not set the print
options.

at the following line it throws an exception!

oMailMerge.PrintOptions = printProp()

' Type com.sun.star.lang.IllegalArgumentException
' Message: Property Type mismatch or property not set: PrintOptions."

http://api.libreoffice.org/docs/common/ref/com/sun/star/view/PrintOptions.html
http://api.libreoffice.org/docs/common/ref/com/sun/star/text/MailMerge.html

What's the problem?
Sorry for my bad English

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Libreoffice-bugs mailing list