[Libreoffice-bugs] [Bug 140019] New: MediaDescriptor: Property "LockExport=True" should disable .uno:SendMail"

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Jan 30 13:30:15 UTC 2021


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: libreoffice-bugs at lists.freedesktop.org
          Reporter: oliver.brinzing at gmx.de

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210130/4028ba81/attachment.htm>


More information about the Libreoffice-bugs mailing list