Apache OpenOffice (AOO) Bugzilla – Issue 98620
paragraphs with border lines lose spacing on the bottom sometimes
Last modified: 2014-07-28 13:02:37 UTC
There are two subcases what are only slightly different. Both subcases end up in the same loss of the margin in the bottom of an outlined paragraph. That's why I think this is one case. 1st subcase: changes what makes an outlined paragraph to look bad and are reversable with Ctrl-Z Do the following: 1) Open the file "border line problem what IS reversable with Ctrl-Z" 2) Go to the end of the second page. You see an outlined paragraph with green background with four lines. Look at the margin at the end of the frame. The margin keeps some distance from the last line and looks good. 3) Go to the start of the second page and place the cursor at the start of the line "PLACE THE CURSOR IN THIS LINE BEFORE THE „P“". 4) Select the complete first page and delete it so that the line "PLACE THE CURSOR IN THIS LINE BEFORE THE „P“" is the very first line of the first page. 5) Look at the margin at the end of the frame what is now on the first page. The margin doesn't keep some distance from the last line and doesn't look good anymore. By pressing Ctrl-Z you can restore the original layout including the margin. I attach three screenshots: "Screenshot with margin.png", "Screenshot without margin.png" and "combined Screenshot making the difference visible.png". If you cannot see a difference after removing the first page in the test file (you have to remove the complete page!) please open the last screenshot. This screenshot shows you the difference between the margins before and after the removal of the first page. This screenshot shows you moreover that nearly all distances between the borders have changed including the height of some borders as well. I was not aware of that until comparing these screenshots. The difference between two borders is only slight but you see that the overall difference increase the more borders you have. The main problem here is that you are normally not aware of the change. You edit something, look at the change and think that the change is good. Some pages later on a page what is not visible such a change happens. Only very later you detect that. 2nd case: changes what makes an outlined paragraph to look bad and are NOT reversable with Ctrl-Z Do the following: 1) Open the file "border line problem what is NOT reversable with Ctrl-Z" 2) Repeat steps 2-4 as above. 3) Look at the margin at the end of the frame what is now on the first page. The margin doesn't keep some distance from the last line and doesn't look good anymore. But even by pressing Ctrl-Z you cannot restore the original layout including the margin.
Created attachment 59762 [details] border line problem what IS reversable with Ctrl-Z
Created attachment 59763 [details] border line problem what is NOT reversable with Ctrl-Z
Created attachment 59764 [details] Screenshot with margin
Created attachment 59765 [details] Screenshot without margin
Created attachment 59766 [details] combined Screenshot making the difference visible
I used only number in the affected paragraph what are not the best characters to demonstrate the issue. Replace some numbers in the last line with the letters g, j, q, p and y and see how the lower parts of these characters are partly cut by the border after the removal of the first page. Even if you repeat the removal by Ctrl-Z and Ctrl-Y you get sometimes slightly different results.
I created another screenshot to show how it looks with the letters g, j, p, q and y.
Created attachment 59771 [details] combined Screenshot making the difference visible with the letters gjpqy
MRU->FME: open document, select content from the start of page two to the beginning of first page and delete -> now the last line of the page does not have a spacing to the bottom paragraph border anymore
There exist some problems with margin, border and padding, see issue 125316 for details.