trichview.com

trichview.support




Re: Confusion about AddText and AddTextNL functions


Return to index


Author

Message

Daniel Albuschat

Posted: 06/20/2005 10:03:27


Sergey Tkachenko wrote:

> InsertStringTag is a method for editing, it must not be used for document

> generation (it inserts at the caret position and requires a formatted

> document, otherwise it may fail)

>

> rv.AddNL('', NORMAL_STYLENO, 0);

> rv.AddNL('Attachments', NORMAL_STYLENO, 0);

> rv.AddNLTag('file1', LINK_STYLENO, 0, Integer(StrNew('c:\file1.txt')));

> rv.AddNLTag('file2', LINK_STYLENO, 0, Integer(StrNew('c:\file2.txt')));

> rv.Format;


Works flawlessly, thanks.





Powered by ABC Amber Outlook Express Converter