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

            Bug ID: 160001
           Summary: Exporting PDF via macro with AllowDuplicateFieldNames
                    = true does not have effect
           Product: LibreOffice
           Version: 24.2.0.3 release
          Hardware: All
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: antoniocarop...@gmail.com

Description:
Exporting as PDF via dialog with the option AllowDuplicateFieldNames enabled
results in a PDF where for example 2 textfields which have the same name are
connected: If the user types into textfield 1, the text is (at focus loss)
shown in textfield 2.

Exporting as PDF with the same option via a macro results in a PDF where these
2 textfields are not connected.

Steps to Reproduce:
1. Create a new document in Writer
2. Add 2 textfields, give each one the same name, for example "firstname".
3. Start the macro recorder
4. Export as PDF via file dialog with the option "Allow duplicate field names"
enabled. For your convience, enable "Show PDF after creation."
5. Stop the macro recorder and save your macro as "PDFFromDialog".
6. In the PDF, type into one of the textfields and click into the other
textfield. You will see how your text has been transferred to the other
textfield.
7. Close the PDF and delete the file.
8. Run the macro.
9. In the newly created PDF, type into textfield 1 and click into textfield 2.
10. Notice how the text is not transferred to textfield 2.


Actual Results:
Macro does not create the same PDF as with File Dialog.

Expected Results:
Macro should create the same PDF


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Version: 24.2.0.3 (X86_64) / LibreOffice Community
Build ID: da48488a73ddd66ea24cf16bbc4f7b9c08e9bea1
CPU threads: 12; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: de-DE
Calc: CL threaded

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

Reply via email to