Talk:Documentation/DevGuide/Text/Inserting Text Files
From Apache OpenOffice Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
anyone have example of load properties? I managed to create empty only.
--
my example:
sub Example
rem ----------------------------------------------------------------------rem define variables
dim document as String
dim dispatcher as object
rem ----------------------------------------------------------------------
rem get access to the documentdocument = "C:\DevText.txt"
dispatcher = createUnoService("com.sun.star.document.XDocumentInsertable") rem ----------------------------------------------------------------------dim args1(0) as new com.sun.star.beans.PropertyValue rem << what send to array params? dispatcher.insertDocumentFromURL(document, args1()) end sub
--Paulotiagocm (talk) 11:20, 7 June 2013 (UTC)