Skip to content

[Bug 68237] CustomHeight attribute of row for SXSSFWorkbook is wrong #1282

Merged
tonyqus merged 2 commits into
nissl-lab:masterfrom
superrnovae:fix_sxssf_customHeight_attribute
May 5, 2024
Merged

[Bug 68237] CustomHeight attribute of row for SXSSFWorkbook is wrong #1282
tonyqus merged 2 commits into
nissl-lab:masterfrom
superrnovae:fix_sxssf_customHeight_attribute

Conversation

@superrnovae
Copy link
Copy Markdown
Contributor

@tonyqus tonyqus added this to the NPOI 2.7.1 milestone Mar 6, 2024

Assert.True(lines.Length == 2);
Assert.AreEqual("<row r=\"" + 1 + "\" customHeight=\"true\" ht=\"" + row.HeightInPoints + "\">", lines[0]);
Assert.AreEqual("<row r=\"" + 1 + "\" customHeight=\"1\" ht=\"" + row.HeightInPoints.ToString().Replace(',', '.') + "\">", lines[0]);
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Will it be better to use InvariantCulture instead of comma to point replacement?

@tonyqus
Copy link
Copy Markdown
Member

tonyqus commented Apr 23, 2024

@superrnovae Can you help answer the review question?

@tonyqus
Copy link
Copy Markdown
Member

tonyqus commented May 5, 2024

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants