-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Why not using the mail-merge API directly?

http://codesnippets.services.openoffice.org/Writer/Writer.MailMerge.snip

Tom

Ippoliti Giuliano wrote:
> Hello everybody,
> 
> I'm using a macro to do a mail merge. Basically, it uses the
> LoadComponentFromURL method to load the main document, it replaces the
> database fields for each record in a text database, and it uses the
> storeAsURL method to obtain Doc1.sxw, Doc2.sxw, ..., DocN.sxw. After
> that, I use another macro to merge all these documents in one (this step
> is very time consuming), and I print it.
> My question is: is there a method like "AppendToUrl" (the name is just
> an example), to append a loaded document into another one, called for
> instance "Fusion.sxw" ? I would save a lot of processing time in this way.
> Second question: I'm working on an alternative macro that uses the
> MailMerge interface, but I cannot select the output printer: is there a
> way to do that?
> 
> Thank you!
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
Comment: Using GnuPG with Mandriva - http://enigmail.mozdev.org

iD8DBQFDSg5xkVPeOFLgZFIRAj+zAJ9MsUaSgQJicRTeF/4VGn1g2VOtIwCeOsgQ
Q9SKSWVGWfBw/ChVWwAlZkY=
=I9eR
-----END PGP SIGNATURE-----

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

Reply via email to