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

            Bug ID: 159278
           Summary: API call to XStorable.storeToURL with Password does
                    not work for DOCX output
           Product: LibreOffice
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: filters and storage
          Assignee: [email protected]
          Reporter: [email protected]

Using XStorable.storeToURL(url, args) and adding a "Password" to args allows an
"open password" (ie "read password") to be set on the stored document.

This works as expected for ODT and DOC formats - when the documents are opened
the user is prompted for a password.

It does not seem to work when storing in DOCX format (filter "MS Word 2007
XML") - the saved document can simply be opened and viewed.

Is this a bug or is there a different way to set the open-password on a DOCX
file?  I see MediaDescriptor also mentions EncryptionData, can that be used? 
If so, is there any information available as to how to do so?

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

Reply via email to