To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=52649


User fs changed the following:

                  What    |Old value                 |New value
================================================================================
                    Status|NEW                       |RESOLVED
--------------------------------------------------------------------------------
                Resolution|                          |FIXED
--------------------------------------------------------------------------------
          Target milestone|OOo Later                 |OOo 2.0.1
--------------------------------------------------------------------------------




------- Additional comments from [EMAIL PROTECTED] Thu Oct  6 07:12:56 -0700 
2005 -------
fixed in CWS dba201d (targeted for 2.0.1).

Now the macro is as simple as:

  oDBDoc = StarDesktop.loadComponentFromURL(<document_url>, _
    "_default", 0, Array())
  oFormDocs = oDBDoc.getFormDocuments()
  oFormDoc = oFormDocs.loadComponentFromURL(<form_name>, "", 0, _
    oParms())

No need to keep anything alive, no need to pass an active connection.


side note: For loadComponentFormURL it's recommended to use "_default" instead
of "_blank", since the former already cares for a document which is already
opened, whereas "_blank" always loads the document into a new frame (possibly
readonly)

---------------------------------------------------------------------
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