Issue 569 - XDocumentInsertable insertDocumentFromURL not working
Summary: XDocumentInsertable insertDocumentFromURL not working
Status: CLOSED NOT_AN_OOO_ISSUE
Alias: None
Product: App Dev
Classification: Unclassified
Component: api (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: PC Windows NT
: P3 Trivial
Target Milestone: ---
Assignee: issues@www
QA Contact: issues@www
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-03-20 00:10 UTC by issues@www
Modified: 2013-02-24 21:07 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description issues@www 2001-03-20 00:10:40 UTC
I've been trying to insert an OpenOffice XML file using insertDocumentFromURL 
from the com.sun.star.document.XDocumentInsertable interface.  So far I have 
been unsucessful.  I've tried using OpenOffice basic and C++ through the UNO 
component I've created.  Neither seem to work.  I've also tried to import an 
OpenOffice document, but that is not working either. I know I can insert 
documents (inluding XML files) by going Insert->File from the insert menu 
option (*.zip, *.sxw, and *.sdw all work that way).
Comment 1 ooo 2001-03-20 07:26:04 UTC
AFAIK this feature only exists in OpenOffice.org Writer.  If you used it
elsewhere, Eric, please specify.  It would be nice to include some of your code,
too.  Thanks.  Because it is most likely an implemementation topic anyway, I
forward it to the Writer team.
Comment 2 Oliver Specht 2001-03-20 12:40:54 UTC
A test in a SRC614 and in a SRC625 using the following macro attached to a 
writer document worked just fine.

Sub Main
xCursor = thiscomponent.getText.createTextCursor
Dim aValues as Array
xCursor.insertDocumentFromURL("file:///e:/temp/test.txt", aValues)
End Sub
Comment 3 issues@www 2001-06-04 14:28:24 UTC
Posted this as an error, as suggested from the listserve.  My code that I 
posted to the listserve was wrong, and that is why it did not work.
Comment 4 michael.bemmer 2003-03-12 14:17:25 UTC
As mentioned on the qa dev list on March 5th I will close all resolved
<wontfix/duplicate/worksforme/invalid> issues. Please see this posting for
details. First step in IssueZilla is unfortunately to set them to verified.
Comment 5 michael.bemmer 2003-03-12 14:17:47 UTC
As mentioned on the qa dev list on March 5th I will close all resolved
<wontfix/duplicate/worksforme/invalid> issues. Please see this posting for
details. First step in IssueZilla is unfortunately to set them to verified.
Comment 6 michael.bemmer 2003-03-12 14:35:42 UTC
As mentioned on the qa dev list on March 5th I will close all resolved
<wontfix/duplicate/worksforme/invalid> issues. Please see this posting for details. 
Comment 7 michael.bemmer 2003-03-12 14:35:59 UTC
As mentioned on the qa dev list on March 5th I will close all resolved
<wontfix/duplicate/worksforme/invalid> issues. Please see this posting for details.