Issue 59904 - FrameSearchFlags doesnt work for loadComponentFromURL()
Summary: FrameSearchFlags doesnt work for loadComponentFromURL()
Alias: None
Product: App Dev
Classification: Unclassified
Component: api (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: All All
: P3 Trivial
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Depends on:
Reported: 2005-12-30 21:13 UTC by sarotti
Modified: 2020-06-08 07:07 UTC (History)
2 users (show)

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


Note You need to log in before you can comment on or make changes to this issue.
Description sarotti 2005-12-30 21:13:21 UTC
the following macro doesn´t work correct in the 2.0.1 version but only in 2.0.0. 
The file "form1" is loaded, but using the same code to open another file creates 
a new frame. It´s not opened in the same frame. 

Sub LoadForm1

Dim oDoc1 As Object 
Dim sURL1 As String

Rem Load a documents into the frame "myframe"!
oDesk = createUnoService("")
Dim NoArgs()
Rem Frame "myframe" will be created if it does not exist because it includes 
sUrl_1 = "file:///C:/Form1.odt"
oDoc1 = oDesk.LoadComponentFromUrl(sUrl_1, "myframe", 63, Noargs())

End Sub
Comment 1 stephan.wunderlich 2006-01-03 12:41:57 UTC
sw->as: looks like one for you ... in OOo 2.0 the frame was reused ... in
OOo2.0.1 a new frame is created.
Comment 2 andreas.schluens 2006-01-31 14:29:20 UTC
Comment 3 andreas.schluens 2006-03-27 12:28:02 UTC
Changed the title
Comment 4 andreas.schluens 2006-06-20 12:34:57 UTC
Comment 5 Martin Hollmichel 2007-11-09 17:28:07 UTC
set target from 2.x to 3.x according to
Comment 6 Mathias_Bauer 2009-05-06 17:15:29 UTC
grabbing issue
Comment 7 Marcus 2017-05-20 11:28:00 UTC
Reset assigne to the default "".
Comment 8 oooforum (fr) 2020-06-08 07:07:39 UTC
Still continue with AOO 4.1.7
The new document don't have its frame named.
Constant [1] seems to be ignored.
A workaround is to set a name: