https://bugs.documentfoundation.org/show_bug.cgi?id=156991

Mike Kaganski <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1
                 CC|                            |[email protected]
                   |                            |om,
                   |                            |[email protected]

--- Comment #2 from Mike Kaganski <[email protected]> ---
Just as with bug 155750, this is a regression after commit
52aa46468531918eabfa2031dedf50377ae72cf7. Since bug 155750 is dedicated to the
private:factory urls, this one is about an UI to allow update of external links
in Base subcomponents.

This problem may be workarounded by a macro to pass the UpdateDocMode
propertyvalue to the loading procedure, like this:

Sub OpenForm1
  ThisDataBaseDocument.CurrentController.Connect()
  Dim args(0) As New com.sun.star.beans.PropertyValue
  args(0).Name = "UpdateDocMode"
  args(0).Value = com.sun.star.document.UpdateDocMode.QUIET_UPDATE
  ThisDatabaseDocument.CurrentController.loadComponentWithArguments( _
    com.sun.star.sdb.application.DatabaseObject.FORM, _
    "Form1", _
    FALSE, _
    args()) 
End Sub

This macro may be assigned to a control, or to a document event like "Open
Document", to open automatically on DB opening.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to