https://bugs.documentfoundation.org/show_bug.cgi?id=69795
--- Comment #20 from Mike Kaganski <[email protected]> --- (In reply to bugs.kde.attila from comment #17) > Let me give you an example. I open a new LibreOffice Writer file on Linux > and type two sentences. These sentences are in 2 lines with no extra line in > between. Than I open this file on Windows and the document looks the same > (no extra line between the 2 sentences). I can copy the first line and paste > this line somewhere into the document. I don't see any extra line. That is > how it suppose to work. > So the command "DestCell.String = SourceCell.String" should do it the same > way. Writer documents are not plain text. They include *lots* or metadata to store everything that document consists of: paragraphs, characters and their formatting, images, links, whatever. That's why the format it uses is so complex, being a ZIP package with multiple XMLs and binaries that are engineered to keep it all; and you will possibly have hard time trying to read the text using a plain text editor. OTOH, when you use String property, you *convert* the data into a plain text. And that conversion is simply the same as would happen if you saved the text to a TXT file, which inherently is unable to keep it all properly. That inability is why Writer doesn't use TXT as its native file format after all. So the reasoning "ODT opens consistently on any platform, thus plain text should be just as portable" is itself wrong. -- You are receiving this mail because: You are the assignee for the bug.
