https://bugs.documentfoundation.org/show_bug.cgi?id=140019
Bug ID: 140019
Summary: MediaDescriptor: Property "LockExport=True" should
disable .uno:SendMail"
Product: LibreOffice
Version: 6.4.7.2 release
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: UI
Assignee: [email protected]
Reporter: [email protected]
opening a document with "LockExport=True" should disable ".uno:SendMail" too.
REM ***** BASIC *****
OPTION EXPLICIT
Sub TestLoad()
Dim oDesktop as Object
Dim oDocument as Object
Dim sURL as String
Dim mArgs(6) as new com.sun.star.beans.PropertyValue
mArgs(0).Name = "LockEditDoc"
mArgs(0).Value = True
mArgs(1).Name = "LockSave"
mArgs(1).Value = True
mArgs(2).Name = "LockPrint"
mArgs(2).Value = True
mArgs(3).Name = "LockExport"
mArgs(3).Value = True
mArgs(4).Name = "LockContentExtraction"
mArgs(4).Value = True
mArgs(5).Name = "ReadOnly"
mArgs(5).Value = True
mArgs(6).Name = "PickListEntry"
mArgs(6).Value = False
sURL = ConvertToURL("D:\test_open.odt")
oDesktop = createUnoService( "com.sun.star.frame.Desktop" )
oDocument = oDesktop.loadComponentFromURL(sURL, "_blank", 0, mArgs())
End Sub
--
You are receiving this mail because:
You are the assignee for the bug._______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs