Issue 67214

Summary: EditEngine doesn't implement text.getDefaultAttributes (needed for a11y).
Product: Writer Reporter: thomas.lange
Component: uiAssignee: eric.savary
Status: CLOSED FIXED QA Contact: issues@sw <issues>
Severity: Trivial    
Priority: P3 CC: issues
Version: OOo 1.0.0   
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Latest Confirmation in: ---
Developer Difficulty: ---

Description thomas.lange 2006-07-11 10:02:23 UTC
Bug description copied from issue 63870:


Open/Star Office EditEngine is not returning any default text attributes.

Text Attributes returned by gedit with a call to 
text.getDefaultAttributes():

{'fg-stipple': 'false',
 'weight': '400',
 'family-name':  'Monospace',
 'fg-color': '0,0,0',
 'strikethrough': 'false',
 'wrap-mode': 'word',
 'underline': 'none',
 'size': '12',
 'style': 'normal',
 'scale': '1',
 'left-margin': '2',
 'stretch': 'normal',
 'pixels-above-lines': '0',
 'pixels-inside-wrap': '0',
 'bg-stipple': 'false',
 'direction': 'ltr',
 'justification': 'left',
 'variant': 'normal',
 'rise': '0',
 'editable': 'true',
 'invisible': 'false',
 'bg-full-height': 'false',
 'indent': '0',
 'language': 'c',
 'pixels-below-lines': '0',
 'bg-color': '65535,65535,65535',
 'right-margin': '2'}

Text Attributes returned by Star Office Writer with a call to 
text.getDefaultAttributes():

{}

(in other words, none).

Text Attributes returned by StarOffice Writer with a call to 
text.getAttributes(caretOffset)
{'style': 'normal',
 'justification': 'left',
 'indent': '0',
 'left-margin': '0',
 'weight': '400',
 'pixels-below-lines': '0',
 'strikethrough': 'false',
 'right-margin': '0',
 'underline': 'none',
 'size': '12'}

This was with Solaris x86 Nevada, build 34, JDS/GNOME vermillion_08 and Star
Office build m161 with the new UNO/Atk bridge.
Comment 1 thomas.lange 2006-07-11 10:03:53 UTC
.
Comment 2 thomas.lange 2006-07-24 09:57:06 UTC
Fixed in CWS a11y204.

Files changed:
svx:
- inc/unotext.hxx
- source/accessibility/AccessibleEditableTextPara.hxx
- source/accessibility/AccessibleEditableTextPara.cxx
Comment 3 Oliver-Rainer Wittmann 2006-07-25 07:04:37 UTC
correct issue type
Comment 4 Oliver-Rainer Wittmann 2006-07-27 11:20:37 UTC
OD->ES: Checked in internal installation set of cws a11y204 - please verify.
Comment 5 eric.savary 2006-07-31 15:46:23 UTC
Fixed but failed for all attributes in a Draw TextBox in Writer and for some
attributes in a Calc cell.
Comment 6 eric.savary 2006-07-31 15:46:51 UTC
Reassigned
Comment 7 thomas.lange 2006-08-01 14:31:28 UTC
Function getRunAttributes fixed.
Comment 8 thomas.lange 2006-08-01 15:23:36 UTC
.
Comment 9 eric.savary 2006-08-01 16:46:56 UTC
.
Comment 10 eric.savary 2006-08-01 16:47:40 UTC
Verified in CWS a11y204
Comment 11 eric.savary 2006-08-16 14:35:23 UTC
Ok in m181