Did you know that the OpenOffice.org Wiki has a WYSIWYG editor? See Help:FCKeditor

Inserting Text Files

From OpenOffice.org Wiki

Jump to: navigation, search



The text cursor in writer supports the interface com.sun.star.document.XDocumentInsertable which has a single method to insert a file at the current cursor position:

 void insertDocumentFromURL( [in] string aURL, 
                             [in] sequence< com::sun::star::beans::PropertyValue > aOptions)

Pass a URL and an empty sequence of PropertyValue structs. However, load properties could be used as described in com.sun.star.document.MediaDescriptor.

Content on this page is licensed under the Public Documentation License (PDL).
Personal tools
Create a book
In other languages