Issue 62958

Summary: Mailmerge property "Selection" doesn't seem to work
Product: App Dev Reporter: stephan.wunderlich
Component: apiAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: issues
Version: 3.3.0 or older (OOo)   
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Description Flags
the macro document
the master document used as mailmerge base none

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