Am Freitag, den 16.02.2007, 18:41 +0100 schrieb Christian Lohmaier:
> Hi Marc, *,

Hi Christian,

> Does anybody have the solution or even a working sample at hand?
> I'd really appreciate it.

I did post another message quickly after the first one, because I saw
that your solution could not work imo the way it is. That message never
reached the list, so I quote it here again:


>                               Von: 
> Marc Santhoff
> <[EMAIL PROTECTED]>
>                                An: 
> dev@api.openoffice.org
>                           Betreff: 
> Re: [api-dev] Registering an
> XMailMergeListener - possible at
> all?
>                             Datum: 
> Wed, 14 Feb 2007 23:45:55 +0100
> 
> Hi, me again,
> 
> from reading your code I think you're on the Holzweg, this
> implmentation
> cannot work.
> 
> You create a mailmerge object instance, register the listener and
> forget
> about the mailmerger.
> 
> Since for each mail merge task a new individual MailMerge-object is
> created, the listener has to attached to that one in use currently.
> 
> It seems you need to:
> 
> - create a MailMerge-instance
> - create your PostNet-Service
> - hand over the MailMerge from the first step to the PostNetImpl from
> the second step for registration (some method like
> "XPostnetjava.registerTo(MailMerge myMerger)" or the like
> - start the mail merge
> 
> I hope I got this right ...
> Marc

I hope this explanation helps,
Marc


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

Reply via email to