Difference between revisions of "Documentation/DevGuide/Text/Inserting Text Files"

From Apache OpenOffice Wiki
Jump to: navigation, search
m (1 revision(s))
m (Robot: Changing Category:Text Documents)
Line 16: Line 16:
  
 
{{PDL1}}
 
{{PDL1}}
[[Category: Text Documents]]
+
 
 +
[[Category:Documentation/Developers Guide/Text Documents]]

Revision as of 09:34, 4 June 2008



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