Issue 62958 - Mailmerge property "Selection" doesn't seem to work
Summary: Mailmerge property "Selection" doesn't seem to work
Status: CONFIRMED
Alias: None
Product: App Dev
Classification: Unclassified
Component: api (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: All All
: P3 Trivial
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-09 08:32 UTC by stephan.wunderlich
Modified: 2013-02-24 21:09 UTC (History)
1 user (show)

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


Attachments
the macro document (7.28 KB, application/vnd.sun.xml.writer)
2006-03-09 08:34 UTC, stephan.wunderlich
no flags Details
the master document used as mailmerge base (5.53 KB, application/vnd.sun.xml.writer)
2006-03-09 08:35 UTC, stephan.wunderlich
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description stephan.wunderlich 2006-03-09 08:32:03 UTC
Attached are a document that contains a macro to perform a mailmerge and a
document that is the base for this mailmerge activity.

The macro sets the property "Selection" to an array of Bookmarks formerly
gained, but when the maco is executed only the last Bookmark is used, so that
Bookmarks.Count-times the same file is created.
Comment 1 stephan.wunderlich 2006-03-09 08:34:15 UTC
Created attachment 34695 [details]
the macro document
Comment 2 stephan.wunderlich 2006-03-09 08:35:05 UTC
Created attachment 34696 [details]
the master document used as mailmerge base
Comment 3 Frank Schönheit 2006-03-15 08:53:06 UTC
fs->tl: pTranslated in SwXMailMerge::execute should be incremented. At the
moment, a given bookmark selection is translated into an index selection, but
the target pointer in this loop (pTranslated) gets never incremented.

(Should be trivial to fix, might I suggest 2.0.3 to make the API usable here?)
Comment 4 thomas.lange 2006-06-20 14:27:03 UTC
.
Comment 5 Martin Hollmichel 2007-11-09 17:28:31 UTC
set target from 2.x to 3.x according to
http://wiki.services.openoffice.org/wiki/Target_3x