Issue 92233 - Expose mm/pixel ratio as text attribute
Summary: Expose mm/pixel ratio as text attribute
Status: CLOSED FIXED
Alias: None
Product: gsl
Classification: Code
Component: code (show other issues)
Version: DEV300m28
Hardware: All Unix, all
: P3 Trivial (vote)
Target Milestone: OOo 3.3
Assignee: eric.savary
QA Contact: issues@gsl
URL:
Keywords: accessibility
Depends on:
Blocks:
 
Reported: 2008-07-29 08:08 UTC by nospam4obr
Modified: 2010-06-23 12:13 UTC (History)
3 users (show)

See Also:
Issue Type: ENHANCEMENT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description nospam4obr 2008-07-29 08:08:31 UTC
As issue 88513 doesn't seem to be sufficient to fix
http://bugzilla.gnome.org/show_bug.cgi?id=502101, we should add a virtual text
attribute that provides the desired information to orca.
Comment 1 ab 2008-08-01 13:12:10 UTC
STARTED
Comment 2 ab 2009-04-02 15:18:56 UTC
-> OOo 3.x
Comment 3 malte_timmermann 2009-05-11 12:25:43 UTC
If it's not possible to find the Window belonging to this Accessible, and use
the mapmode there, we need implementations in Writer/EditEngine/TextEngine.

Comment 4 malte_timmermann 2009-12-03 10:47:58 UTC
3.3
Comment 5 malte_timmermann 2010-02-26 11:25:01 UTC
mt->od: Needs to be implemented in the paragraph accessible directly.

Since this is a somewhat strange attribute, I suggest to only return it when
someone really asks for it explicitly.
Comment 6 Oliver-Rainer Wittmann 2010-03-05 12:40:02 UTC
I decided to provide an AtkTextAttribute with name "mm-to-pixel-ratio" when
providing the default values of attributes for the text - namely in the
AtkAttributeSet which is returned by method <atk_text_get_default_attributes(
AtkText*)>
Comment 7 Oliver-Rainer Wittmann 2010-03-09 15:00:57 UTC
solved in cws sw33a11y01 - changed files:
/sw/source/core/access/accpara.cxx,
/vcl/unx/gtk/a11y/atktextattributes.cxx,
change set b3e59cd1a019
Comment 8 Oliver-Rainer Wittmann 2010-03-11 14:21:02 UTC
OD->ES: Checked in internal installation set of cws sw33a11y01 - please verify.
To test you can use the Accerciser:
- create a Writer document
- select one of the paragraphs in Accerciser's hierarchy
- perform following command in IPython Console:
-- acc.queryText().getDefaultAttributes()
--> one of the returned attributes shall be mm-to-pixel-ratio with a
corresponding value.
Comment 9 eric.savary 2010-04-19 13:59:37 UTC
Verified in CWS sw33a11y01
Comment 10 malte_timmermann 2010-06-23 12:13:57 UTC
Closing accessibility issues which have been fixed, verified and integrated...