Skip to content

ReferenceArea To A1 logic #20

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Oct 18, 2024
Merged

ReferenceArea To A1 logic #20

merged 3 commits into from
Oct 18, 2024

Conversation

jahav
Copy link
Member

@jahav jahav commented Oct 18, 2024

Logic should be same for GetDisplayStringA1 and AppendA1, dtto for R1C1 logic. Public API is already tested by ReferenceAreaTests, so no need to add tests.

Fixes ClosedXML/ClosedXML#2472

jahav added 3 commits October 18, 2024 15:54
The method didn't work for row or col span, leading to bugs in
conversion visitors (they would get Sheet!1 instead of Sheet!1:1).

We shouldn't duplicate serialization logic in AppendA1 and
GetDisplayStringA1, so unify it.
@jahav jahav added this to the 1.3.0 milestone Oct 18, 2024
@jahav jahav merged commit c7f71e6 into develop Oct 18, 2024
1 check passed
@jahav jahav deleted the issue-closedxml-2472 branch October 18, 2024 14:37
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.

Rows/columns ReferenceArea isn't correctly converted to text
1 participant