Hi,
Or, do you want to insert a lot of text that will contain special formatting? If you want to insert text with special formatting, you probably want to first insert the text as a string and then apply the formatting. You are correct that this is not ideal.... You may want to consider using a paragraph style. This will make it much easier to apply formatting to sections of the text without setting individual properties.
If your textRange is rather "constant", you may also consider playing with autotexts
They allow to store paragraphs with all their formatting
Laurent
-- Laurent Godard <[EMAIL PROTECTED]> - Ing�nierie OpenOffice.org Indesko >> http://www.indesko.com Nuxeo CPS >> http://www.nuxeo.com - http://www.cps-project.org Livre "Programmation OpenOffice.org", Eyrolles 2004
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
