ONLYOFFICE / DocumentServer

ONLYOFFICE Docs is a free collaborative online office suite comprising viewers and editors for texts, spreadsheets and presentations, forms and PDF, fully compatible with Office Open XML formats: .docx, .xlsx, .pptx and enabling collaborative editing in real time.
https://www.onlyoffice.com
GNU Affero General Public License v3.0
4.63k stars 1.06k forks source link

Problem with Line Spacing (support of Document Grid) #224

Open JoeLucky opened 6 years ago

JoeLucky commented 6 years ago

I think I may find a problem. First I create a new document on Microsoft Office and put some letters in it. Then set the "Line spacing" to value 0.06.(picture 1) Save it and open it on onlyoffice, it look like below(picture 2). I think Microsoft Office sets the smallest “Line spacing”, while onlyoffice does not consider this. picture1: picture picture2: pictrue

HellRoad commented 6 years ago

@JoeLucky Hi What version Microsoft Office and DocumentServer are you used? I used your testcase in MS Word 2013 and DocumentServer i not see difference, documents are identical

JoeLucky commented 6 years ago

@HellRoad Hi I used MS Word 2013 and onlyoffice-documentserver-5.0.4-15.x86_64. Please try this files. https://github.com/JoeLucky/Practice/raw/master/test.docx

HellRoad commented 6 years ago

@JoeLucky The problem was confirmed I have issued a bug for this Thanks for the feedback, it will be fixed soon.

ShockwaveNN commented 6 years ago

Bug №36517 in our private bugtracker

KirillovIlya commented 6 years ago

This is because the document defines a grid. And each line of each paragraph is aligned on this grid. If you disable it in Word, you will see that all paragraphs decrease in height to the specified exact value (it will look like in OnlyOffice Document editor).

To turn it off in Word you need to go to Layout tab -> Page setup preferences -> Grid tab -> No grid

At this moment we do not suppport the document grid. It's in our roadmap, but not in one of the nearest versions. Thank you.

may-liang commented 4 years ago

I think I may find a problem. First I create a new document on Microsoft Office and put some letters in it. Then set the "Line spacing" to value 0.06.(picture 1) Save it and open it on onlyoffice, it look like below(picture 2). I think Microsoft Office sets the smallest “Line spacing”, while onlyoffice does not consider this. picture1: picture picture2: pictrue

do you find the answer for this problem ?

ShockwaveNN commented 4 years ago

@may-liang document grid feature still not implemented, so this issue should be actual