To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=82637
------- Additional comments from [EMAIL PROTECTED] Wed Oct 17 11:04:15 +0000 2007 ------- Some more background about attributes for a paragraph in OOo Writer. Each paragraph has its own attribute set consisting of paragraph attributes and character attributes - it's the automatic paragraph style of the paragraph and it is unnamed. This automatic paragraph style is initially been empty - no attribute value is found in it. For each attribute, which isn't set in the automatic paragraph style, the automatic paragraph style inherits its attribute values from the paragraph style, which is applied at the paragraph. Such a paragraph style is one of the paragraph style you can find in the Stylist and it is named - e.g. "Default" or "Heading 1" or "Text Body". This model provides you the following features: (1) If you have a couple of paragraphs applying the "Default" paragraph style and you want that one of these paragraphs has a red background, you can directly set this attribute at the automatic paragraph style of this paragraph instead of creating a new paragraph style "Default, but red background" derived from the "Default" paragraph style and applying this new paragraph style to the corresponding paragraph. (2) If you change/set a certain character attribute for all existing characters of the paragraph to a certain value, this attribute isn't applied as a run attribute. It's changed/set at the automatic paragraph style of this paragraph. Thus, you can control such character attribute values with the automatic paragraph style. Nothing will be changed at this model and behavior in OOo Writer. Only repeating it to have it in place: A Control-B at an empty paragraph changes the character attribute <weight> to "bold" for all existing characters in this paragraph and thus, this attribute is set a the automatic paragraph style of this paragraph. Some background about automatic paragraph style, when new paragraphs are inserted: When a new paragraph is inserted, this new paragraph in general copies the automatic paragraph style from the paragraph at which the insertion is initiated. Thus, if you have a paragraph with a character weight bold in its automatic paragraph style and hit enter at the end of this paragraph, the new inserted paragraph has also the character weight bold in its automatic paragraph style. The same is hold for paragraph indent attributes, which are set in the automatic paragraph style of a paragraph. Nothing will be changed at this model and behavior in OOo Writer. Now back to the UNO accessibility API and AT-SPI: <XAccessibleTextAttributes::getDefaultAttributes()> provides the attribute set of the automatic paragraph style of a paragraph. >From what joaniediggs is saying I assume, that the AT-SPI expects to get the default values for the character attributes for a paragraph from the paragraph style and not from the automatic paragraph style. The default values for the paragraph attributes - e.g. left margin - still has to come from the automatic paragraph style. Is this correct? If yes, this would have the consequence, that an character attribute, which is set in the automatic paragraph style of a paragraph, has to be reported as a run attribute at every character of this paragraph, if this attribute isn't changed for any of the characters. --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
