Apache OpenOffice (AOO) Bugzilla – Issue 85056
space above paragraph defect in a section that contains hidden paragraph
Last modified: 2013-08-07 14:44:35 UTC
I have : text Section Hidden paragraph Paragraph1 The property "space before" for the paragraph1 isn't apply.
Created attachment 50713 [details] Odt that show the problem
Created attachment 50715 [details] screenshoot that show the problem (no space befor part1)
Created attachment 50716 [details] same screenshoot with view "no printing chars"
MRU->FME: see attached document. The "spacing above" wil not be applied anymore, if the preceding paragraph is hidden. Compare the difference when toggling "non-printing characters". Maybe this is related to issue 78896.
lijian->fme: I will work on this issue and report my progress later.
lijian->fme: But do you regard this as an issue ? For the last paragraph in the section, space below will also not be applied.
fme->lijian: Well, I'm not sure. Have a look at the attached bugdoc. There are three paragraphs inside the section, the first and the last are hidden. If the paragraphs are hidden, the spacing above attribute of the second (non-hidden) paragraph is not applied, whereas the spacing below attribute of the second paragraph is applied.
Created attachment 52491 [details] new bugdoc
lijian->fme: Hi, this is one rough solution from me. There are still many problems with this patch, especially when doing "undo". Addtionally, even without my patch, "space below" is also buggy. With your bugdoc i85056, uncheck "Non-printing characters" and increase the "space below" of para "In2", the increased values will not be applied. But when you check "Non-printing characters" again, all will be OK. For all of the problems above, I will spend more time on them, while your suggestions on this patch will be welcome. :-)
Created attachment 52953 [details] patch for a rough solution
fme->lijian: I'll assign this issue to you as long as you are working on it.
lijian, I assume that you are currently working on other tasks. As the patch obviously in not ready for integration and it is your own patch, I've changed the type back to "DEFECT".
Reset assignee on issues not touched by assignee in more than 1000 days.