Apache OpenOffice (AOO) Bugzilla – Issue 19739
Import problem: paragraph with border
Last modified: 2013-08-07 14:38:26 UTC
The border of a paragraph is in OOo inside the page text area, in Word outside. See attached bugdoc. We've two possibilities: another compatibility flag or to set a negativ indent for those paragraphs. Even these negative indent is not perfect for paragraphs which get their border as hard attribute and their indent from numbering I prefer this at the moment. Caolán, what do you think?
Created attachment 9442 [details] Paragraph with border
Target Milestone 2.0
cmc->ama: Yeah, I've been considering this recently. The word border is drawn outside the paragraph text areas bounding box, so that the text of the paragraph's width and height is unchanged with or without the border. While ours is drawn around the paragraph text area and the text inside moved inwards by the borders distance to text. Its an issue seen in some of the 100DocTests. I wondered if the filter should jump through the hoops of changing the indent to match the word effect or not. But I don't want to do it in the filter because a) as you point out, the indent comes from a lot of places and will cause all sorts of problems in import/export recalcuating and adjusting based on a lot of variables. b) and the same effect is seen for page text borders in word when you choose "measure from text"
Hmm.
I don't see a solution for OOo2.0. For "Later" we should create a compatibility flag for this behaviour.