<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - MediaDescriptor: Property "LockExport=True" should disable .uno:SendMail""
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=140019">140019</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>MediaDescriptor: Property "LockExport=True" should disable .uno:SendMail"
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>6.4.7.2 release
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>UI
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>oliver.brinzing@gmx.de
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>