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

            Bug ID: 106788
           Summary: Libreoffice 'Export to PDF' save dialog allows newline
                    characters in file name
           Product: LibreOffice
           Version: 5.2.2.2 release
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: [email protected]
          Reporter: [email protected]

Description:
As part of my work I need to generate pdf documents where I copy and paste the
data into a Writer document then export as a pdf. Part of the name I need to
save the file as comes from cells in tables or a spreadsheet. It appears that
every cell has a newline character (hex 0A) at the end of the text. The newline
character is included when copying the text (which I assume is intended). The
newline character is transparently included when pasting the copied text in the
Name field of the Export dialog. This causes problems when the file is further
processed in my workflow.
Please filter out the newline character in the file save dialog or give an
option to do so.


Steps to Reproduce:
1.Copy the cell Name in the attached sample.ods
2.Export as PDF
3.Paste the copied name in the save file dialog and type something after it
4.File name is saved with the newline (hex 0A) character

Actual Results:  
A new line character is included in the file name. 


Expected Results:
The Export dialog should filter out all newline characters before saving the
file.



Reproducible: Always

User Profile Reset: No

Additional Info:
Running Kubuntu 16.10
  Plasma 5.8.5
  KDE Frameworks 5.6.1
  kernel 4.8.0-37-generic, 64 bit
  Okular version 0.25.0
LibreOffice 5.2.2.2
  Build ID: 1:5.2.2-0ubuntu2
  CPU Threads: 8; OS Version: Linux 4.8; UI Render: default

See ls-1.txt for bash file listing
See sample.ods for a sample of where I get the file names from
See 'Person, One NewYork.pdf' as an example of what happens to the file name.

More information upon request


User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:52.0) Gecko/20100101
Firefox/52.0

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to