Issue 17792 - css.text.MailMerge: "Filter" property does not seem to be supported
Summary: css.text.MailMerge: "Filter" property does not seem to be supported
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: ui (show other issues)
Version: OOo 1.1 RC
Hardware: PC Windows 2000
: P3 Trivial (vote)
Target Milestone: ---
Assignee: stephan.wunderlich
QA Contact: issues@sw
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-02 15:22 UTC by Frank Schönheit
Modified: 2013-08-07 14:43 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
sample macro (834 bytes, text/plain)
2003-08-02 15:22 UTC, Frank Schönheit
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Frank Schönheit 2003-08-02 15:22:19 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.
Comment 1 Frank Schönheit 2003-08-02 15:22:47 UTC
Created attachment 8222 [details]
sample macro
Comment 2 Frank Schönheit 2003-08-02 15:27:18 UTC
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.
Comment 3 Frank Schönheit 2003-08-02 15:27:56 UTC
fs->tl: I suggest targeting this to 1.1.1, since the MailMerge API is
a major new feature of 1.1 ....
Comment 4 thomas.lange 2003-08-04 08:08:22 UTC
.
Comment 5 stephan.wunderlich 2003-09-17 13:59:42 UTC
SW: changed target
Comment 6 thomas.lange 2003-09-18 09:09:34 UTC
Fixed in CWS sw7pp1neu.

Files changed
  unomailmerge.cxx   1.6.196.1
Comment 7 thomas.lange 2003-09-23 08:37:28 UTC
.
Comment 8 thomas.lange 2003-09-23 10:21:52 UTC
.
Comment 9 thomas.lange 2003-09-23 10:22:10 UTC
.
Comment 10 thomas.lange 2003-09-23 10:22:58 UTC
Please check in CWS \\So-cwsserv\cws\so-cwsserv05\sw7pp1neu
Comment 11 stephan.wunderlich 2003-09-25 11:32:37 UTC
SW: works as expected in sw7pp1neu => verified
Comment 12 stephan.wunderlich 2003-12-02 11:31:07 UTC
SW: works in fix645_m1 and therefore will be fixed in OOo1.1.1 => closed