Skip to content

In MS Word, fixed table quick navigation when include layout table option is enabled#11899

Merged
seanbudd merged 3 commits into
nvaccess:masterfrom
CyrilleB79:wordLayoutTables
May 11, 2021
Merged

In MS Word, fixed table quick navigation when include layout table option is enabled#11899
seanbudd merged 3 commits into
nvaccess:masterfrom
CyrilleB79:wordLayoutTables

Conversation

@CyrilleB79

@CyrilleB79 CyrilleB79 commented Dec 3, 2020

Copy link
Copy Markdown
Contributor

Link to issue number:

None

Summary of the issue:

In MS Word/Outlook browse mode, layout tables (i.e. tables with no border) are skipped when using table quick navigation key (T and shift+T), even if "Include layout tables" options is enabled in Browse mode settings.

Description of how this pull request fixes the issue:

In NVDAObjects\window\winword, I have modified the TableWinWordCollectionQuicknavIterator filter method so that the iterator returns a table if borders are enabled or if layout tables should be included.

I have checked in nvdaHelper\remote\winword.cpp that the presence or the absence of a border was already the criterion that defines if a table is a layout table or not. (so nothing done in this file)

Testing performed:

In MS word checked table quick navigation commands (T and shift+T):

  • with include layout tables enabled: they stop on any table
  • with include layout tables disabled: they stop on tables with borders but skip tables without borders

Known issues with pull request:

None

Change log entry:

Section: Bug fixes

In MS Word or Outlook, table quick navigation key can now jump to layout table if "Include layout tables" option is enabled in Browse mode settings (#11899).

@lukaszgo1

Copy link
Copy Markdown
Contributor

@CyrilleB79 wrote:

In MS Word/Outlook browse mode, layout tables (i.e. tables with no border) are skipped when using table quick navigation key (Y and shift+Y), even if "Include layout tables" options is enabled in Browse mode settings.

Just to make sure - you mend T and Shift+T, right?

@CyrilleB79

Copy link
Copy Markdown
Contributor Author

@CyrilleB79 wrote:

In MS Word/Outlook browse mode, layout tables (i.e. tables with no border) are skipped when using table quick navigation key (Y and shift+Y), even if "Include layout tables" options is enabled in Browse mode settings.

Just to make sure - you mend T and Shift+T, right?

Yes, sorry. I have modified the initial description with the correct shortcuts.

@CyrilleB79 CyrilleB79 marked this pull request as draft May 10, 2021 09:16
@CyrilleB79 CyrilleB79 marked this pull request as ready for review May 10, 2021 09:17
@CyrilleB79 CyrilleB79 requested a review from a team as a code owner May 10, 2021 09:17
@CyrilleB79 CyrilleB79 requested a review from seanbudd May 10, 2021 09:17
@CyrilleB79

Copy link
Copy Markdown
Contributor Author

@seanbudd: just tried to convert to draft and ready again in order to have a reviewer assigned...
This PR is quite small so maybe it has still a chance to target 2021.1?

@seanbudd seanbudd left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks @CyrilleB79

@seanbudd seanbudd merged commit a794a4e into nvaccess:master May 11, 2021
@nvaccessAuto nvaccessAuto added this to the 2021.1 milestone May 11, 2021
@CyrilleB79 CyrilleB79 deleted the wordLayoutTables branch May 11, 2021 07:49
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.

4 participants