Re: [api-dev] TextPortion Enumeration not working with redlines

2005-10-07 Thread sos
Aidan, I tryed out your macro and indeed: strange behaviour but I think its comming from the fact that in the document there is just your paragraph with only 2 words delete and instert the document starts with this redline stuff put some extra text or even a new paragrph before the

[api-dev] improving macro for merge mail

2005-10-07 Thread Ippoliti Giuliano
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,

Re: [api-dev] TextPortion Enumeration not working with redlines

2005-10-07 Thread Aidan Butler
Hi, yes I have noticed that as well. I think that it has something to do with the redline itself, rather than the position of the cursor. That is, if the range that is to be enumerated starts inside the redline, the enumeration does not work correctly. -Aidan sos wrote: Aidan, I tryed out

Re: [api-dev] improving macro for merge mail

2005-10-07 Thread Ippoliti Giuliano
Thaks for the very interesting hint! Do you do all that inside a macro or do you use external tools (PDF-merger ?). Is there some sample code which uses your technique? Merci, Giuliano On Fri, 07 Oct 2005 15:15:14 +0200 sos [EMAIL PROTECTED] wrote: Ippoliti, Did the same thing but uses

Re: [api-dev] improving macro for merge mail

2005-10-07 Thread Marc Santhoff
Am Freitag, den 07.10.2005, 12:24 +0200 schrieb Ippoliti Giuliano: 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. You could