-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Stephan,
> why do you need the first step ? The code snippet copies the content of the > textsection already. what we do is to copy the user input text section from a document to a draft/copy template for printing purpose only ... the drafts/copyies have different page styles ... so we are looking for a clean solution - for example open the drafts/copyies in hidden mode an use the api for the copy process instead of dispatching it ... > Nicer would be if a text section would implement the > com.sun.star.util.XCloneable interface > so that you could create a clone and insert this as text content in a new > document ... but that it > doesn't as far as I know. Somethings I haven't considered yet is to use the > ContentExporter and > the parse the xml-stream ... not sure if that is any easier than travelling > through the structure of > the text section and rebuild it that way in a second document which you then > save. what about an rfe ? thanks Oliver - -- GnuPG key 0xCFD04A45: 8822 057F 4956 46D3 352C 1A06 4E2C AB40 CFD0 4A45 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFUf0ATiyrQM/QSkURAjrWAJ991O6VxYn6yoQ7Za9RuS37IDDN4ACeN3mk jjlDbMhjtG3WCSIs+WlJ9C8= =iBoN -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]