https://bugs.documentfoundation.org/show_bug.cgi?id=96896
--- Comment #23 from Stephan Bergmann <sberg...@redhat.com> --- (In reply to Rodrigo Castanheira from comment #0) > Created attachment 121721 [details] > Open a document and change frame title via API (VBScript) The corresponding code in LO Basic is: > Sub Main > Dim oDoc > Dim OpenOptions() > Set oDoc = StarDesktop.loadComponentFromURL("private:factory/swriter", > "_blank", 0, OpenOptions) > Dim oCtrl, oFrame > Set oCtrl = oDoc.CurrentController > Set oFrame = oCtrl.Frame > oFrame.Title = "My Title" > Msgbox "KEEP THIS DIALOG OPEN. On Writer document, select File -> Print > preview, then close preview." > oDoc.Close (True) > Set oDoc = Nothing > End Sub -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ Libreoffice-bugs mailing list Libreoffice-bugs@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs