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

            Bug ID: 165588
           Summary: Writer embed ODF file signed with Adobe Acrobat can't
                    be opened in Writer again
           Product: LibreOffice
           Version: 25.2.1.2 release
          Hardware: All
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Description:
Write some text in Writer. Export to PDF with embed ODF option. Digitally sign
document in Adobe Acrobat. Open in LibreOffice. Because ODF is embed, I expect
document is opened in Writer (like unsigned PDF), but instead it is opened in
Draw and I can't force it to open "embed ODF" PDF file in Writer.

Steps to Reproduce:
1. Open new LibreOffice Writer document.
2. Type some text in it.
3. File | Export As | Export as PDF.
4. "PDF Options" dialog opens. In default "General" tab check "Hybrid PDF
(embed ODF file)" and click on "Export" button.
5. "Export" dialog opens. In "File name" field type in mypdf.pdf and click on
Save button.
6. File | Close and close down Writer document without saving.
7. File | Open and Open dialog opens.
8. Select mypdf.pdf and click Open button. Because PDF file has embed ODF file,
this file is opened in LibreOffice Writer and I can normaly edit it.
9. File | Close and don't save the document.
10. Open Adobe Acrobat (free tool) and digitally sign the document.
10 a) In Adobe Acrobat, hamburger menu from top-left and Open.
10 b) Select mypdf.pdf.
10 c) From "All Tools" sidebar select "Use a certificate".
10 d) Digitally sign.
10 e) Select an area where signiture image should appear.
10 f) Select certificate and Continue button and Sign button.
10 g) Save As dialog appears and save signed pdf file with the same name
mypdf.pdf (override the original pdf file).
11. Now I would like to edit the document. Back to LibreOffice Writer and File
| Open and in "Open" dialog select myfile.pdf and Open button.

Actual Results:
What happens is LibreOffice Draw is opened and the banner says document is
signed. This is fine, but I want to edit the document, and I can't find the way
to open it with LibreOffice Writer again to edit the embed document.

Expected Results:
Document is opened in Writer, just like non-signed "embed ODF" PDF file.


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 25.2.1.2 (X86_64) / LibreOffice Community
Build ID: d3abf4aee5fd705e4a92bba33a32f40bc4e56f49
CPU threads: 12; OS: Windows 11 X86_64 (10.0 build 26100); UI render:
Skia/Vulkan; VCL: win
Locale: sl-SI (en_SI); UI: en-US
Calc: CL threaded

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

Reply via email to