{"action":"created","issue":{"url":"https://api.github.com/repos/nvaccess/nvda/issues/8814","repository_url":"https://api.github.com/repos/nvaccess/nvda","labels_url":"https://api.github.com/repos/nvaccess/nvda/issues/8814/labels{/name}","comments_url":"https://api.github.com/repos/nvaccess/nvda/issues/8814/comments","events_url":"https://api.github.com/repos/nvaccess/nvda/issues/8814/events","html_url":"https://github.com/nvaccess/nvda/pull/8814","id":366205712,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE5OTM3NDQ1","number":8814,"title":"MS Word: allow reporting distance from left and top edges of page with report location of review cursor command","user":{"login":"michaelDCurran","id":14154141,"node_id":"MDQ6VXNlcjE0MTU0MTQx","avatar_url":"https://avatars0.githubusercontent.com/u/14154141?v=4","gravatar_id":"","url":"https://api.github.com/users/michaelDCurran","html_url":"https://github.com/michaelDCurran","followers_url":"https://api.github.com/users/michaelDCurran/followers","following_url":"https://api.github.com/users/michaelDCurran/following{/other_user}","gists_url":"https://api.github.com/users/michaelDCurran/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelDCurran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelDCurran/subscriptions","organizations_url":"https://api.github.com/users/michaelDCurran/orgs","repos_url":"https://api.github.com/users/michaelDCurran/repos","events_url":"https://api.github.com/users/michaelDCurran/events{/privacy}","received_events_url":"https://api.github.com/users/michaelDCurran/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-10-03T07:20:23Z","updated_at":"2018-10-04T05:00:02Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/nvaccess/nvda/pulls/8814","html_url":"https://github.com/nvaccess/nvda/pull/8814","diff_url":"https://github.com/nvaccess/nvda/pull/8814.diff","patch_url":"https://github.com/nvaccess/nvda/pull/8814.patch"},"body":"<!--\r\nPlease fill in the following template, for an explanation of the sections see:\r\nhttps://github.com/nvaccess/nvda/wiki/Github-pull-request-template-explanation-and-examples\r\n-->\r\n\r\n### Link to issue number:\r\nFixes #1939 \r\n\r\n### Summary of the issue:\r\nWhen creating Word documents, it can be sometimes useful to know the distance from the edge of the page.\r\nNVDA does not currently have any way to report this information.\r\n\r\n### Description of how this pull request fixes the issue:\r\nProvide an implementation of the locationText property on both Word document TextInfo classes (object model, and UIA) that returns a string stating the distance of the cursor from the left and top of the page, in user-configured units (E.g. inches, centimetres).\r\nThis allows the user to report the distances by pressing NVDA+numpadDelete (report review cursor location command).\r\n As UI Automation does not currently provide a way to find out the actual distance from the edge of a page, this code falls back to using the Word object model if available. Thus, this feature will not work in Windows 10 Mail for instance.\r\n\r\n### Testing performed:\r\nIn a word document, moved the cursor to various lines and offsets within those lines, and reported the distances by pressing NVDA+numpadDelete.\r\n\r\n### Known issues with pull request:\r\nNone.\r\n\r\n### Change log entry:\r\nAlready in pr.\r\n"},"comment":{"url":"https://api.github.com/repos/nvaccess/nvda/issues/comments/426885844","html_url":"https://github.com/nvaccess/nvda/pull/8814#issuecomment-426885844","issue_url":"https://api.github.com/repos/nvaccess/nvda/issues/8814","id":426885844,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNjg4NTg0NA==","user":{"login":"nvdaes","id":15809252,"node_id":"MDQ6VXNlcjE1ODA5MjUy","avatar_url":"https://avatars0.githubusercontent.com/u/15809252?v=4","gravatar_id":"","url":"https://api.github.com/users/nvdaes","html_url":"https://github.com/nvdaes","followers_url":"https://api.github.com/users/nvdaes/followers","following_url":"https://api.github.com/users/nvdaes/following{/other_user}","gists_url":"https://api.github.com/users/nvdaes/gists{/gist_id}","starred_url":"https://api.github.com/users/nvdaes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nvdaes/subscriptions","organizations_url":"https://api.github.com/users/nvdaes/orgs","repos_url":"https://api.github.com/users/nvdaes/repos","events_url":"https://api.github.com/users/nvdaes/events{/privacy}","received_events_url":"https://api.github.com/users/nvdaes/received_events","type":"User","site_admin":false},"created_at":"2018-10-04T05:00:02Z","updated_at":"2018-10-04T05:00:02Z","author_association":"CONTRIBUTOR","body":"For me is OK like that if you want to merge this without mentioning laptop keyboard, it was just a suggestion, non meaningful.\r\nThis is great!"}}
{"actor":{"display_login":"nvdaes"}}