To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=41816
                  Issue #:|41816
                  Summary:|API:
                          |sfx_FrameLoader::com::sun::star::frame::XSynchronousF
                          |rameLoader::load()
                Component:|api
                  Version:|680m75
                 Platform:|All
                      URL:|
               OS/Version:|All
                   Status:|NEW
        Status whiteboard:|
                 Keywords:|
               Resolution:|
               Issue type:|DEFECT
                 Priority:|P2
             Subcomponent:|code
              Assigned to:|as
              Reported by:|cn





------- Additional comments from [EMAIL PROTECTED] Tue Feb  1 06:57:29 -0800 
2005 -------
Under special condition office crashes. Please run the following macro:
Sub Main
Dim urlS as new com.sun.star.util.URL

url = "private:factory/swriter"

oDoc = StarDesktop.loadComponentFromURL("private:factory/swriter", "test", 40,
DimArray())
oFL = createUnoService("com.sun.star.comp.office.FrameLoader")
oURLT = createUnoService("com.sun.star.util.URLTransformer")

oFrame = StarDesktop.getCurrentFrame()

urlS.Complete = url

res = oURLT.parseStrict(urlS)

dim descr(2) as new com.sun.star.beans.PropertyValue
descr(0).Name = "URL"
descr(0).Value = urlS(0)
descr(1).Name = "TypeName"
descr(1).Value = "writer8"

oFL.load(descr(), oFrame)

End Sub

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

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


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

Reply via email to