Apache OpenOffice (AOO) Bugzilla – Issue 122068
indentation controls not reflecting selection with mixed attributes
Last modified: 2013-04-22 09:35:33 UTC
1. Start Writer and enter three paragraphs. 2. Select all three paragraphs and using the Sidebar increase the before text intent to 0.06" 3. Click in the document to change selection then select all three documents again and note that the correct indentation is reflected in the panel. Note also that the other indentations that are the same for all three selected paragraphs are also shown, as 0.00". 4. Now, selecting only the 2nd paragraph, set the before text indent to 0.04". 5. Select all three paragraphs and note the Sidepanel. As expected, the before text indent is blank, since the attributes now have mixed values and cannot be displayed on a single control. *However*, after text intent and first line indent have also been blanked, even though they do not have mixed values.
The described defect is not related to the sidebar feature. Open the Paragraph formatting dialog and investigate the indentation controls (Menu Format - Paragraph - Tab pane Indents & Spacing) - you will observe the same behavior as in the new sidebar paragraph property panel. --> removing '[sidebar]' tag from summary The root cause for this defect is the following: The indentation attributes 'left/start margin', 'right/end margin' and 'first line indent' are internally aggregated into one attribute - SvxLRSpaceItem. Thus, if two paragraphs have different 'left/start margin' values they have a different 'SvxLRSpaceItem' value which means that internally that the complete indentation attribute set is different.