Skip to content

show in the formula bar only those named ranges that can be selected#627

Merged
vlukashov merged 2 commits intomasterfrom
pick/non-selectable-named-ranges-fix
Nov 1, 2017
Merged

show in the formula bar only those named ranges that can be selected#627
vlukashov merged 2 commits intomasterfrom
pick/non-selectable-named-ranges-fix

Conversation

@vlukashov
Copy link
Contributor

@vlukashov vlukashov commented Nov 1, 2017

Some named ranges are not-selectable (e.g. referring to a non-continuous area, or to a formula). MS Excel does not show them in the formula bar named ranges selector. This PR changes the Spreadsheet behavior accordingly.

Incorporates the PR #622 by @ianscriven (fixes #621).

Fixes the issue that when a user attempted to select a non-selectable named range it did not get selected.

Contains a workaround for the POI issue https://bz.apache.org/bugzilla/show_bug.cgi?id=61701 that causes IllegalArgumentException when trying to select a named range referring to some formulas.

(cherry-picked from 246eeeb from the 1.4 branch)

Jira: SHEET-338


This change is Reviewable

Viktor Lukashov added 2 commits November 1, 2017 15:53
Some named ranges are not-selectable (e.g. referring to a non-continuous area, or to a formula). MS Excel does not show them in the formula bar named ranges selector. This PR changes the Spreadsheet behavior accordingly.

Incorporates the PR #622 by @ianscriven (fixes #621).

Fixes the issue that when a user attempted to select a non-selectable named range it did not get selected.

Contains a workaround for the POI issue https://bz.apache.org/bugzilla/show_bug.cgi?id=61701 that causes IllegalArgumentException when trying to select a named range referring to some formulas.

(cherry-picked from 246eeeb from the 1.4 branch)

Jira: SHEET-338
after cherry-picking from the 1.4 branch the FF screenshot should be updated to FF45, and the IE10 screenshot should be removed
@vlukashov
Copy link
Contributor Author

Reviewed 11 of 11 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.


Comments from Reviewable

@vlukashov vlukashov merged commit b5e61f4 into master Nov 1, 2017
@vlukashov vlukashov deleted the pick/non-selectable-named-ranges-fix branch November 1, 2017 18:29
@vlukashov vlukashov mentioned this pull request Nov 1, 2017
manolo pushed a commit to vaadin/flow-components that referenced this pull request Apr 27, 2022
vaadin/spreadsheet#627

Some named ranges are not-selectable (e.g. referring to a non-continuous area, or to a formula). MS Excel does not show them in the formula bar named ranges selector. This PR changes the Spreadsheet behavior accordingly.

Incorporates the PRvaadin/spreadsheet#622 by @ianscriven (Fixes: vaadin/spreadsheet#621).

Fixes the issue that when a user attempted to select a non-selectable named range it did not get selected.

Contains a workaround for the POI issue https://bz.apache.org/bugzilla/show_bug.cgi?id=61701 that causes IllegalArgumentException when trying to select a named range referring to some formulas.

(cherry-picked from 246eeeb from the 1.4 branch + updated the reference screenshot to work in the 2.x branch)

Jira: SHEET-338
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.

NamedRangeUtils#getNameForFormulaIfExists throws IllegalStateException if function names are defined

1 participant