Apache OpenOffice (AOO) Bugzilla – Issue 17792
css.text.MailMerge: "Filter" property does not seem to be supported
Last modified: 2013-08-07 14:43:45 UTC
When you create an instance of css.text.MailMerge, and try to restrict the data it is based on with the "Filter" property, this does work - the filter is completely ignored. Sample macro to be attached.
Created attachment 8222 [details] sample macro
fs->tl: The problem is the wrong, or at least sub-optimal initialization of bEscapeProcessing in SwXMailMerge::SwXMailMerge. It's initialized to FALSE, which means that by definition, properties such as "Filter" and "Order" are ignore, except the caller sets "EscapeProcessing" to TRUE. (when doing so, the macro indeed works as expected) I suggest to simply change the default of this setting. Else, everybody who will use a TABLE or QUERY with the MailMerge service will have to explicitly set EscapeProcessing - which is a contradiction in itself. All other services which implement the DataAccessDescriptor, such as the row set, default the property to TRUE, so MailMerge should do this, too.
fs->tl: I suggest targeting this to 1.1.1, since the MailMerge API is a major new feature of 1.1 ....
.
SW: changed target
Fixed in CWS sw7pp1neu. Files changed unomailmerge.cxx 1.6.196.1
Please check in CWS \\So-cwsserv\cws\so-cwsserv05\sw7pp1neu
SW: works as expected in sw7pp1neu => verified
SW: works in fix645_m1 and therefore will be fixed in OOo1.1.1 => closed