This forum is closed to new posts and
responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:
Hello
I am trying to duplicate function that I have in my application which copies the content of a Notes document, opens a new Word document and pastes the notes document content into the word document. I am trying to duplicate this function using Open Office Writer. I am able to open a Writer Document copy the notes document content to the clipboard but I cannot find any references to pasting from the clipboard. The LS code I have that successfully opens the Writer document is
Set objServiceManager= CreateObject("com.sun.star.ServiceManager")
'Create the DesktopSet
Set objDesktop= objServiceManager._
createInstance("com.sun.star.frame.Desktop")
'Open a new empty writer document
Dim args()
Set objDocument=objDesktop._
loadComponentFromURL("private:factory/swriter",_
"_blank", 0, args)
Set objText= objDocument.GetText()
Set cursor=objText.createTextCursor()
I was reading about dispatcher but not sure that is what is needed. Also any Page formatting references would also be appreciated once I am able to resolve the Paste issue.
Thanks in advance for any ideas
Feedback number WEBB9J9P3H created by ~Xagra Quetkrogenettu on 04/17/2014
Status: Open
Comments: