Created attachment 102882 [details] The spelling variation file Problem description: Libre Office's Times New Roman is more "squished" when it is pasted as html, while the tables in Writer are too wide and are difficult to change. Steps to reproduce: 1. .... Copy.. and paste... 2. .... 3. .... Example: On this page: http://legendofgalacticheroes.blogspot.com/p/name-variations.html The top two paragraphs were copied and pasted from Word. The bottom of the page, where it says: >I know the correct spelling of the last name should be Lohengrin, but it’s not a matter of changing one letter, and this is the name of the main character I grew up with, so I’m leaving it. Is copied and pasted from LibreOffice. I tried making the spacing wider or the paragraph wider, but as you can see on the blog, it's still squished. Example 2: The tables shown on that same page is fairly wide. That's after I spent a lot of time modifying the height of the table. The tables copied and pasted from Word look like the ones on this page: http://legendofgalacticheroes.blogspot.com/p/notes.html Problem 3: When I opened up the word files in LibreOffice, there were a lot of spaces that were "grey". I could go over and delete the grey marks and replace them with spaces, but it was weird. Problem 4: The table I talked about in Example 2 was originally done in Word. When I opened up the file in LibreOffce, all the row heights were fixed at double-spaced, and copied and pasted as double-spaced. It was ridiculous. LibreOffice won't let me change the heights so I had to redo that entire table and delete the original table, and after struggling for hours, I ended up with what was shown in Example 2. SORRY ABOUT ALL OF THIS! Thank you for your help. Operating System: Windows 8 Version: 4.2.5.2 release
Hi Tracy, Thanks for submitting the bug. Unfortunately, its only possible to deal with one bug per bug report, so lets focus on the first one. So i opened up the file you attached and copied it from word 2013 to libreoffice 4.2.5 and if i pasted it as an RTF, it will come in perfectly. Then i saved the pasted data as an html file and opened that, and the text wasnt squashed. If i pasted it as html without comments, i noticed the grey spaces you mentioned in problem 3, and those are non-breaking spaces, which you can create by pressing ctrl+shift+space. those are displayed by default as a visual aid, but you can easily tell libreoffice not to show it (goto Tools > Options > LibreOffice Writer > Formatting Aids and uncheck non-breaking spaces). Please let me know if this all works on your side.
Not really. I had to edit Ch 1 of my blog today and when I tried to paste it back, the fonts and all the paragraphs were squished again, even though I did not touch any of the formatting, paragraph size, or line width. It was the same Word file that I saved from before. I simply changed a few words, but when it was pasted back, it was different. Here's what it looks like when it's copied and pasted from LibreOffice: https://lh6.googleusercontent.com/-3SN_g4ah_Pc/U8d1XbQpsOI/AAAAAAAAEmw/b3QOSMi8mfQ/w964-h402-no/LibreOffice+Text.jpg Here's the exact same text unadulterated by whatever LibreOffice was doing: https://lh4.googleusercontent.com/-y3Vn56AHY0Q/U8d1XoSP-PI/AAAAAAAAEm0/_ThiXOuL0jk/w964-h508-no/Word+Text.jpg As you can see, the two are absolutely not the same.
In fact, I just noticed that my spaces before paragraphs were all gone too....
If this helps, this is the HTML when copied and pasted from LibreOffice: <div align="center" style="line-height: 100%; margin-bottom: 0in;"> <span style="font-family: Consolas, serif;"><span style="font-size: 10pt;"><span style="font-family: Times New Roman, serif;"><span style="font-size: 12pt;">Chapter One</span></span><span style="color: black;"><span style="font-family: Times New Roman, serif;"><span style="font-size: 12pt;"> </span></span></span><span style="font-family: Times New Roman, serif;"><span style="font-size: 12pt;">Eternal Night</span></span></span></span></div> <div style="line-height: 100%; margin-bottom: 0in;"> <br /></div> <div style="line-height: 100%; margin-bottom: 0in;"> <br /></div> <div style="line-height: 100%; margin-bottom: 0in;"> <br /></div> <div style="line-height: 100%; margin-bottom: 0in;"> <span style="font-family: Consolas, serif;"><span style="font-size: 10pt;"><span style="font-family: Times New Roman, serif;"><span style="font-size: 12pt;"> I</span></span></span></span></div> <div style="line-height: 100%; margin-bottom: 0in;"> <br /></div> <div style="line-height: 100%; margin-bottom: 0in;"> <span style="font-family: Consolas, serif;"><span style="font-size: 10pt;"><span style="font-family: Times New Roman, serif;"><span style="font-size: 12pt;"> The moment Galactic Imperial Fleet captain, Siegfried Kircheis, stepped onto the bridge, he stopped thoughtfully. Countless specks of light inlaid the abyss of the universe, and they enveloped Siegfried’s body with an overwhelming sense of infinity. </span></span></span></span> </div> <div style="line-height: 100%; margin-bottom: 0in;"> <br /></div> <div style="line-height: 100%; margin-bottom: 0in;"> <span style="font-family: Consolas, serif;"><span style="font-size: 10pt;"><span style="font-family: Times New Roman, serif;"><span style="font-size: 12pt;"> “………”</span></span></span></span></div> <div style="line-height: 100%; margin-bottom: 0in;"> <br /></div> <div style="line-height: 100%; margin-bottom: 0in;"> <span style="font-family: Consolas, serif;"><span style="font-size: 10pt;"><span style="font-family: Times New Roman, serif;"><span style="font-size: 12pt;"> It was as if his entire being was floating in the boundless darkness, but this illusion disappeared quickly. The bridge of Flagship </span></span><span style="color: blue;"><span lang="zxx"><u><a href="http://gineipaedia.com/wiki/Reinhard_von_M%C3%BCsel#The_Br.C3.BCnhild"><span style="font-family: Times New Roman, serif;"><span style="font-size: 12pt;">Brünhild</span></span></a></u></span></span><span style="font-family: Times New Roman, serif;"><span style="font-size: 12pt;"> was shaped in a giant hemisphere. The hemisphere’s spherical part was the bridge’s upper half, and it was covered with a single screen resembling a transparent piece of glass that allowed one to clearly observe the universe outside. </span></span></span></span> </div> <div style="line-height: 100%; margin-bottom: 0in;"> <span style="font-family: Consolas, serif;"><span style="font-size: 10pt;"><span style="font-family: Times New Roman, serif;"><span style="font-size: 12pt;"> </span></span></span></span></div> <div style="line-height: 100%; margin-bottom: 0in;"> <span style="font-family: Consolas, serif;"><span style="font-size: 10pt;"><span style="font-family: Times New Roman, serif;"><span style="font-size: 12pt;"> After his momentary sensibility subsided, Kircheis re-inspected his surroundings. Within this spacious room, the lighting system controlled the brightness to produce a thin layer of darkness. Numerous screens both large and small, consoles, gauges, computers, and communication devises, etc, were arranged in an orderly geometric pattern. People walked back and forth, and the movements of their heads, arms, and legs made it easy for one to imagine schools of fish riding along with the currents. </span></span></span></span> </div> <div style="line-height: 100%; margin-bottom: 0in;"> <br /></div> <div style="line-height: 100%; margin-bottom: 0in;"> <span style="font-family: Consolas, serif;"><span style="font-size: 10pt;"><span style="font-family: Times New Roman, serif;"><span style="font-size: 12pt;"> A hint of odor stimulated Kircheis’s nostrils. It was the scent of adrenaline produced by nervous people under a state of fight or flight, mixed with the electronic odor that machines emitted in the recycled oxygen. It was a scent that spacemen found to be most familiar. </span></span></span></span> </div>
This is the HTML when it's copied and pasted from Word: <div style="margin-bottom: .0001pt; margin: 0in;"> <div style="margin-bottom: .0001pt; margin: 0in;"> <div style="margin-bottom: .0001pt; margin: 0in;"> <div style="margin-bottom: .0001pt; margin: 0in;"> <div style="margin-bottom: .0001pt; margin: 0in;"> <div style="margin-bottom: .0001pt; margin: 0in;"> <div style="margin-bottom: .0001pt; margin: 0in;"> <div style="margin-bottom: .0001pt; margin: 0in;"> <div style="margin-bottom: .0001pt; margin: 0in;"> <div style="margin-bottom: .0001pt; margin: 0in;"> <div style="margin-bottom: .0001pt; margin: 0in;"> <div style="margin-bottom: .0001pt; margin: 0in;"> <i>Legend of Galactic Heroes,<span class="apple-converted-space"> </span></i><i>Part 1 – Dawn<o:p></o:p></i></div> <div class="MsoPlainText" style="text-indent: 22.5pt;"> <br /></div> <div class="MsoPlainText" style="text-indent: 22.5pt;"> <br /></div> <div class="MsoPlainText" style="text-indent: 22.5pt;"> <br /></div> <div class="MsoPlainText" style="text-indent: 22.5pt;"> <br /></div> <div class="MsoPlainText" style="text-indent: 22.5pt;"> <br /></div> <div align="center" class="MsoPlainText" style="text-align: center;"> <span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: MingLiU;">Chapter One Eternal Night<o:p></o:p></span></div> <div class="MsoPlainText" style="text-indent: 22.5pt;"> <br /></div> <div class="MsoPlainText"> <br /></div> <div class="MsoPlainText"> <br /></div> <div class="MsoPlainText"> <span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: MingLiU;"> I<o:p></o:p></span></div> <div class="MsoPlainText"> <br /></div> <div class="MsoPlainText"> <span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: MingLiU;"> The moment Galactic Imperial Fleet Captain Siegfried Kircheis stepped onto the bridge, he stopped thoughtfully. Countless specks of light inlaid the abyss of the universe, and they enveloped Siegfried’s body with an overwhelming sense of infinity. <o:p></o:p></span></div> <div class="MsoPlainText"> <br /></div> <!--more--><br /> <div class="MsoPlainText"> <span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: MingLiU;"> “………”<o:p></o:p></span></div> <div class="MsoPlainText"> <br /></div> <div class="MsoPlainText"> <span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: MingLiU;"> It was as if his entire being was floating in the boundless darkness, but this illusion disappeared quickly. The bridge of Flagship </span><a href="http://gineipaedia.com/wiki/Reinhard_von_M%C3%BCsel#The_Br.C3.BCnhild"><span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: MingLiU;">Brünhild</span></a><span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: MingLiU;"> was shaped in a giant hemisphere. The hemisphere’s spherical part was the bridge’s upper half, and it was covered with a single screen resembling a transparent piece of glass that allowed one to clearly observe the universe outside. <o:p></o:p></span></div> <div class="MsoPlainText"> <span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: MingLiU;"> <o:p></o:p></span></div> <div class="MsoPlainText"> <span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: MingLiU;"> After his momentary sensibility subsided, Kircheis re-inspected his surroundings. Within the spacious room, the lighting system controlled the brightness to produce a thin layer of darkness. Numerous screens both large and small, consoles, gauges, computers, and communication devises, etc, were arranged in an orderly geometric pattern. People walked back and forth, and the movement of their heads, arms, and legs made it easy for one to imagine schools of fish riding along with the currents. <o:p></o:p></span></div> <div class="MsoPlainText"> <br /></div> <div class="MsoPlainText"> <span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: MingLiU;"> A hint of odor stimulated Kircheis’s nostrils. It was the scent of adrenaline produced by nervous people under a state of fight or flight mixed with electronic odor machines emitted in the recycled oxygen. It was a scent the spacemen found most familiar. <o:p></o:p></span></div> <div class="MsoPlainText"> <br /></div> <div class="MsoPlainText"> <span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; mso-fareast-font-family: MingLiU;"> The red haired young man strode toward the center of the bridge. Although he was given the rank of Captain, Kircheis was not yet 21 years old. He, without his military uniform, was still the “tall, handsome, red-haired chap” in the eyes of the logistics women spacemen. Sometimes, he also felt uneasy that his age was disproportionate with his rank. He still could not nonchalantly accept the fact the way his superior did. <o:p></o:p></span></div> <div class="MsoPlainText">
Hi Tracy, I seem to be a bit confused about this. Are you copying the html code from your website and then loading it into libreoffice or are you loading a docx file in libreoffice.
Jay, I suggested no such thing. I typed up the entire file in Word. Copied and pasted it into blogger, and I get this, where everything is perfectly normal: https://lh4.googleusercontent.com/-y3Vn56AHY0Q/U8d1XoSP-PI/AAAAAAAAEm0/_ThiXOuL0jk/w964-h508-no/Word+Text.jpg I open up the exact same docx file in LibreOffice, change a few words, copy and paste it back into blogger, and I get this: https://lh6.googleusercontent.com/-3SN_g4ah_Pc/U8d1XbQpsOI/AAAAAAAAEmw/b3QOSMi8mfQ/w964-h402-no/LibreOffice+Text.jpg I just pasted the html code to show that even though it is the exact same document, when it's copied and pasted from Office, its html code is different from when it's copied and pasted from LibreOffice.
Should be UNCONFIRMED.
(In reply to Tracy Chu from comment #7) > I typed up the entire file in Word. Copied and pasted it into blogger, and I > get this, where everything is perfectly normal: So we're talking about copying from inside Word to the clipboard, then into some web-form on blogger.com, right? > I just pasted the html code to show that even though it is the exact same > document, when it's copied and pasted from Office, its html code is > different from when it's copied and pasted from LibreOffice. HTML export from LibreOffice is likely to be different from HTML export from Word, as they're two separate products. There are two pieces to consider here: 1) How closely does the HTML markup mirror the markup in the word processor? 2) How closely do we want to emulate Word's output?
(In reply to Tracy Chu from comment #2) > Here's what it looks like when it's copied and pasted from LibreOffice: > > https://lh6.googleusercontent.com/-3SN_g4ah_Pc/U8d1XbQpsOI/AAAAAAAAEmw/ > b3QOSMi8mfQ/w964-h402-no/LibreOffice+Text.jpg > > Here's the exact same text unadulterated by whatever LibreOffice was doing: > > https://lh4.googleusercontent.com/-y3Vn56AHY0Q/U8d1XoSP-PI/AAAAAAAAEm0/ > _ThiXOuL0jk/w964-h508-no/Word+Text.jpg Those URLs don't work for me, so I'll attach HTML files containing the html provided in comment 4 and comment 5
Created attachment 110645 [details] LibreOffice HTML
Created attachment 110646 [details] Word HTML
(In reply to Robinson Tryon (qubit) from comment #9) > HTML export from LibreOffice is likely to be different from HTML export from > Word, as they're two separate products. There are two pieces to consider > here: > 1) How closely does the HTML markup mirror the markup in the word processor? > 2) How closely do we want to emulate Word's output? Tracy: How closely would you expect the HTML markup to be between export from Word and export from Writer? Status -> NEEDINFO (please change status back to 'UNCONFIRMED' after you reply. Thanks!)
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.