Am Mittwoch, den 07.03.2007, 14:59 +0100 schrieb Christian Lohmaier:
> > > http://api.openoffice.org/servlets/ReadMsg?listName=dev&msgNo=11328
> > 
> > But at least it showshow this stuff is expected to work.
> 
> Yes, the basic-macro already hinted to that... :-(
> 
> I personally think this doesn't make too much sense then. If you have to
> set up all yourself, then you can do (have to basically if you want the
> user to be able to choose only parts of the dataset) the additional step
> to iterate through the database as well and the mailmergelistener is
> pretty useless/not much of a shortcut then.
> 
> (and indeed the cited sample doesn't use the mailmergelistener at all)
> 
> I guess I'll just file an issue to have something like "you need to
> create your own mail-merge to use the listener" to the docs.

Please do that, it happens that some framework designs from the
"thinking lab" are conceptually nice and orthogonal but not well suited
for practically using them.

> > > > From having a quick look at the code at least the setup of a database
> > > > connection is shown, too.
> > > 
> > > Yes, but this still would require me to write code to ask the user for
> > > the requested database and to duplicate all the stuff the current
> > > mail-merge wizard has builtin. (I personally don't like the wizard at 
> > > all, but I don't want to write one myself either)
> > 
> > Okay, thinking about it two ideas come to my mind:
> > 
> > 1. Hacking up^w Improving the wizard
> 
> Honestly, I like the OOo 1.x way much better. No fancy wizard. Just drag
> the fields into your document where you want them, optionally add some
> conditions (that's where help from a wizard would come handy), then
> select the set of rows you want to have included and fire off the
> mailmerge.

If I'm honest too, I must admit that I'm only rarely using 2.x and never
did use the wizard myself. Isn't it possible to switch that thing off?
I'll try mail merge on 2.x later on ...

For me 1.1.[3|5] is still working well in most situations. ;)

> Choose whether print/save and maybe offer a way to see a preview. 
> That is my view of a useful "wizard".

Sounds good, the preview widget is already in the code somewhere.

On the other hand: you might have choosen the wrong task for beginners
level.

Marc


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to