Issue 121713 - fields containg line feeds are not surrounded with necessary quotes after copying to clipboard
Summary: fields containg line feeds are not surrounded with necessary quotes after cop...
Status: CLOSED DUPLICATE of issue 121714
Alias: None
Product: *Testproduct
Classification: Test
Component: another (show other issues)
Version: OOo 3.3 RC10
Hardware: All All
: P3 Normal (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact: issues@test
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-04 13:24 UTC by Max Wildgrube
Modified: 2017-05-20 08:41 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Max Wildgrube 2013-02-04 13:24:06 UTC
Hi,
I have a sheet with multiple lines in cells (you can separate lines inside a cell with ctrl-enter). I had to copy the complete sheet with ctrl-a ctrl-c into the clipbord and paste this in a textarea field of a web browser.
(in the background there is a PHP application using fgetcsv for to interprete the content)

But while clipping as text the necessary quotes (") are not surrounded the text fields which contain new-line characters. So these new-line chars produces new rows, destroying the structure of the table.

This is in opposite to the behaviour of MS Excel or LibreOffice Calc which works correctly.
There is a workaround while using save as csv file, which asks for the column and text delimiter.
(And making the copy and paste out off this file)

Not using a text delimiter if there are syntactical characters (as tab or new line) is not meaningful, so I think this is obviously a bug.

OS: Win 7, OOo: 3.4.1

Max.
Comment 1 Rob Weir 2013-02-04 18:21:23 UTC
Duplicate report

*** This issue has been marked as a duplicate of issue 121714 ***