Am Donnerstag, den 30.11.2006, 17:31 +0100 schrieb Tobias Krais:
> Hi Marc,
>
> > If you only want to insert the complete second doc at a given location
> > (not "mixing in"), you can use
> >
> > ::com::sun::star::uno::XDocumentInsertable
> >
> > for this task.
> >
> > Get a text cursor at the
Hi Marc,
> If you only want to insert the complete second doc at a given location
> (not "mixing in"), you can use
>
> ::com::sun::star::uno::XDocumentInsertable
>
> for this task.
>
> Get a text cursor at the target doc, position the cursor and call
>
> insertDocumentFromURL()
>
> on it. Acc
Hi Oliver,
> oSrcDoc.CurrentController.Select(oSrcSection.Anchor)
> oDispatcher.executeDispatch(oSrcDispFrame, ".uno:Copy", "", 0, arr())
> oDstDoc.CurrentController.Select(oDstSection.Anchor)
> oDispatcher.executeDispatch(oDstDispFrame, ".uno:Paste", "", 0, arr())
now