Talk:Documentation/DevGuide/Text/Inserting Text Files
From Apache OpenOffice Wiki
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)