Hello again,
I am opening a file("document"), changing it and want to write it to
combinedfile.odt.("document2")

I only saw reference to insertDocumentFromURL(). Is there a function
that inserts the document into current document?

What we be the code for inserting "document" to "document2"

###
document = desktop.loadComponentFromURL("file:///home/lucas/myfile.odt"
,"_blank", 0, ())
#Change things....
document2 = desktop.loadComponentFromURL("private:factory/swriter",
"_blank", 0, ())
cursor = document2.Text.createTextCursor()

cursor.gotoEnd(False)
cursor.BreakType = PAGE_BEFORE
cursor.insertDocumentxxxx????xxx(???document??)
cursor.append???

document = desktop.loadComponentFromURL("file:///home/lucas/myfile.odt"
,"_blank", 0, ())
#Do more Change things....

cursor.append? cursor.insert???

What would be that last function?

Thanks,
Lucas

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to