Skip to content

MS Word: fix line spacing reporting#11900

Merged
michaelDCurran merged 1 commit into
nvaccess:masterfrom
CyrilleB79:wordExactLineSpacing
Dec 7, 2020
Merged

MS Word: fix line spacing reporting#11900
michaelDCurran merged 1 commit into
nvaccess:masterfrom
CyrilleB79:wordExactLineSpacing

Conversation

@CyrilleB79

Copy link
Copy Markdown
Contributor

Link to issue number:

None

Summary of the issue:

In MS Word, if line spacing is set to be exactly n pts, pressing NVDA+F (once or twice) does report the line spacing type ("exact"), but not the number of points of this line spacing.

Description of how this pull request fixes the issue:

Report line spacing type ("exactly") with the indication of the number of pts of line spacing as it is already done for "at least" line spacing type.

Testing performed:

Set line spacing to 7.5 and 12 and checked that "Exactly 7.5 pts" / "Exactly 12.0 pts" was reported.

Known issues with pull request:

None

Change log entry:

Section: New features, Changes, Bug fixes

IMO, such a minor fix does not deserve a line in change log.

@michaelDCurran

Copy link
Copy Markdown
Member

For reference, To verify this via documentation, I found mention of wdLineSpacingExactly and the fact that lineSpacing is available as a value at: https://docs.microsoft.com/en-us/office/vba/api/word.paragraphs.linespacing

@michaelDCurran michaelDCurran merged commit 9c0b649 into nvaccess:master Dec 7, 2020
@nvaccessAuto nvaccessAuto added this to the 2020.4 milestone Dec 7, 2020
@CyrilleB79 CyrilleB79 deleted the wordExactLineSpacing branch December 8, 2020 08:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants