To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=82637
                 Issue #|82637
                 Summary|[a11y] default attributes should not be derived from t
                        |he initial character in a paragraph
               Component|Word processor
                 Version|OOo 2.3
                Platform|All
                     URL|
              OS/Version|All
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|ui
             Assigned to|mru
             Reported by|joaniediggs





------- Additional comments from [EMAIL PROTECTED] Mon Oct 15 15:20:53 +0000 
2007 -------
According to the AT-SPI documentation, "default attributes" are:

<cite>
the text attributes which apply to all text in the object by virtue of the
default settings of the document, view, or user agent; e.g. those attributes
which are implied rather than explicitly applied to the text object. For
instance, an object whose entire text content has been explicitly marked as
'bold' will report the 'bold' attribute via getAttributeRun(), whereas an object
whose text weight is inspecified may report the default or implied text weight
in the default AttributeSet.
</cite>
(http://www.gnome.org/~billh/at-spi-idl/html/interfaceAccessibility_1_1Text.html)
 

This seems to be inconsistent with what is exposed as a “default attribute” by
OOo.  For instance:

1. Create a new document in OOo Writer
2. Press Control+B to toggle bold on.
3. Type the word "Bold"
4. Press Control+B to toggle bold off
5. Type " text is cool." followed by a bunch of other text that is not bold.

In the above example, the only word that will appear in bold is the initial
word; the rest of the characters in the paragraph lack that attribute.  Yet,
weight:600 is exposed to ATs as a default attribute.

In a comment on issue 81718, OD explained:

<cite>
A Control-B in an empty paragraph causes that the character property "Bold" is
set at the complete paragraph as its so-called default attributes. The reason
for this is the following feature in OOo Writer: A character attribute, which is
applied to all characters of a paragraph, are set as the so-called default
attributes for this paragraph - it's automatic paragraph style will contain this
attribute.
</cite>

Given that in the above example the bold attribute is not applied to all
characters of the paragraph, I do not think that bold should be exposed as a
default attribute for that paragraph.

My personal preference would be for OOo to expose attributes as "default"
attributes only if they were not explicitly specified/applied by the user -- as
suggested in the AT-SPI docs.  If that is not possible, then I would request
that attributes are exposed as "default" if they indeed apply to all characters
in that paragraph.  I believe that the current implementation, in which the
default attributes are those which were applied when beginning the paragraph, is
problematic.

Thanks!

---------------------------------------------------------------------
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]

Reply via email to