Issue 36916

Summary: paragraph formatting incorrect at page breaks
Product: Writer Reporter: kevinsworld <kevin>
Component: formattingAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P4 CC: danrice, issues
Version: OOo 1.0.3   
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
Sample document
none
Sample file showing the problem.
none
generated pdf, also showing the problem. none

Description kevinsworld 2004-11-09 16:50:48 UTC
I have a style named "code sample" that does the following:
- font set to a monospace font
- background set to a light gray
- one pixel black border
- drop shadow to the bottom-right

Normally this style works fine.  However, when the paragraph goes to a new page,
the text on the last line on the bottom of page 1 will be displayed and printed
on the top of the one pixel bottom border.  The drop shadow appears to cause
this, as the one pixel bottom border is drawn with enough room to allow for the
shadow.  if the drop shadow were not there, the one pixel border would be a few
pixels lower, and would leave enough room so that the text line would not be
written over the top of the one pixel border.

when a paragraph has this formatting applied, and does NOT wrap pages, the
display is fine, with the border and shadow properly displayed under the text.

Again, this happens on windows and linux, various versions of openoffice,
display and print.

If you need a sample document, I'll gladly provide one or more.  Simply email me
(kevin@kevinsworld.com).
Comment 1 michael.ruess 2004-11-10 07:46:04 UTC
Created attachment 19142 [details]
Sample document
Comment 2 michael.ruess 2004-11-10 07:58:04 UTC
MRU->FME: open attached sample document and add our dummy-(auto)text. See the
border line in the end of page one painted over the text.
It will be ok again after  saving and reloading the document.
Comment 3 kevinsworld 2004-11-10 14:23:38 UTC
Created attachment 19151 [details]
Sample file showing the problem.
Comment 4 kevinsworld 2004-11-10 14:24:13 UTC
Created attachment 19152 [details]
generated pdf, also showing the problem.
Comment 5 kevinsworld 2004-11-10 14:25:29 UTC
I have attached an sxw that has the problem.  On my system, the problem happens
to occur, for example, at the bottom of page 15.  See the generated PDF file,
which also shows the problem.  In it, also at the bottom of page 15, the text is
overwritten by the border line.
Comment 6 danrice 2005-06-07 21:55:26 UTC
I am seeing the same behavior in OO 2.0 beta.