Hi Noelson, *,

On Thu, Mar 08, 2007 at 09:35:26AM -0300, Noelson Duarte wrote:
> 
> The service OfficeDocument has an interface XEventBroadcast to register
> listeners of event documents. There are two events of interest here:
> OnMailMerge e OnMailMergeFinished. Maybe this is the way to do your work
> (only a guess).

I assume these are the same as you can reach wia Tools|Macros → Organize
→ Assign (although "OnMailMergeFinished" isn't listed there)

Unfortunately, this doesn't work for the following reasons:
* Event is only triggered using the old (IMHO better) dialog, not with
  the new one
* Only one event is triggered, so I have no way to edit the individual
  documents

And looking at 
http://api.openoffice.org/docs/common/ref/com/sun/star/document/Events.html

What is the difference between "OnSaveDone" and "OnSaveFinished"?

Thanks for your suggestion though

ciao
Christian
-- 
NP: Kashmir 9:41 - For Srila Prabhupada

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

Reply via email to