Skip to content

Added support for \n in text elements #346

Added support for \n in text elements

Added support for \n in text elements #346

Triggered via pull request May 14, 2024 15:05
Status Failure
Total duration 6m 54s
Artifacts

PR.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 22 warnings
ubuntu-latest
OPC Compliance error [M4.1]: there is more than one core properties relationship in the package ! POI will use only the first, but other software may reject this file.
ubuntu-latest
OPC Compliance error [M4.1]: there is more than one core properties relationship in the package ! POI will use only the first, but other software may reject this file.
TestAutoSizeDate: _/testcases/main/HSSF/UserModel/TestHSSFSheet.cs#L815
6 digit number column too big: 3648 Expected: True But was: False
Stackoverflow23114397
2572 not within 307.99999833106995 of 1400
Test_WindowSizeEqualsOne_flushedRowHasMergedCell
Expected column width less than 8250 but found 16012 Expected: True But was: False
Stackoverflow23114397
2572.8 not within 307.99999833106995 of 1400
TestCheckboxes: _/testcases/ooxml/XWPF/Extractor/TestXWPFWordExtractor.cs#L416
Expected string length 163 but was 159. Strings differ at index 35. Expected: "...is a small test for checkboxes \nunchecked: |_| \nOr checked..." But was: "...is a small test for checkboxes\nunchecked:|_|\nOr checked:|X..." --------------------------------------------^
Test58618: _/testcases/ooxml/XWPF/TestXWPFBugs.cs#L206
Expected string length 56 but was 53. Strings differ at index 15. Expected: "Some text some hyper links link link and some text....." But was: "Some text somehyper linkslinklink and some text....." --------------------------^
Test58067
Expected string length 81 but was 75. Strings differ at index 43. Expected: "...\n4\n5\n\n\n\nThis is a whole paragraph where one word is deleted.\n" But was: "...\n4\n5\n\n\n\nThis is a wholeparagraphwhereonewordisdeleted.\n" -------------------------------------------^
windows-latest
OPC Compliance error [M4.1]: there is more than one core properties relationship in the package ! POI will use only the first, but other software may reject this file.
windows-latest
OPC Compliance error [M4.1]: there is more than one core properties relationship in the package ! POI will use only the first, but other software may reject this file.
windows-latest
OPC Compliance error [M4.1]: there is more than one core properties relationship in the package ! POI will use only the first, but other software may reject this file.
windows-latest
OPC Compliance error [M4.1]: there is more than one core properties relationship in the package ! POI will use only the first, but other software may reject this file.
TestCheckboxes: _/testcases/ooxml/XWPF/Extractor/TestXWPFWordExtractor.cs#L421
Expected string length 163 but was 159. Strings differ at index 35. Expected: "...is a small test for checkboxes \nunchecked: |_| \nOr checked..." But was: "...is a small test for checkboxes\nunchecked:|_|\nOr checked:|X..." --------------------------------------------^
Test58618: _/testcases/ooxml/XWPF/TestXWPFBugs.cs#L207
Expected string length 56 but was 53. Strings differ at index 15. Expected: "Some text some hyper links link link and some text....." But was: "Some text somehyper linkslinklink and some text....." --------------------------^
Test58067
Expected string length 81 but was 75. Strings differ at index 43. Expected: "...\n4\n5\n\n\n\nThis is a whole paragraph where one word is deleted.\n" But was: "...\n4\n5\n\n\n\nThis is a wholeparagraphwhereonewordisdeleted.\n" -------------------------------------------^
TestPictures: _/testcases/ooxml/XWPF/UserModel/TestXWPFParagraph.cs#L371
Expected string length 1 but was 0. Strings differ at index 0. Expected: " " But was: <string.Empty> -----------^
TestSmartTags: _/testcases/ooxml/XWPF/UserModel/TestXWPFSmartTag.cs#L38
Expected: True But was: False
ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
ubuntu-latest
/home/runner/work/npoi/npoi/main/SS/Util/PropertyTemplate.cs(41,20): warning CS1584: XML comment has syntactically incorrect cref attribute 'NPOI.XSSF.Streaming.SXSSFWorkbook} Spreadsheets are not [/home/runner/work/npoi/npoi/main/NPOI.Core.csproj::TargetFramework=netstandard2.0]
ubuntu-latest
/home/runner/work/npoi/npoi/main/POIFS/Crypt/Standard/StandardDecryptor.cs(225,20): warning CS0114: 'CipherInputStream.Read(byte[])' hides inherited member 'InputStream.Read(byte[])'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword. [/home/runner/work/npoi/npoi/main/NPOI.Core.csproj::TargetFramework=netstandard2.0]
ubuntu-latest
/home/runner/work/npoi/npoi/main/POIFS/Crypt/Standard/StandardDecryptor.cs(262,21): warning CS0114: 'CipherInputStream.Skip(long)' hides inherited member 'InputStream.Skip(long)'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword. [/home/runner/work/npoi/npoi/main/NPOI.Core.csproj::TargetFramework=netstandard2.0]
ubuntu-latest
/home/runner/work/npoi/npoi/main/POIFS/Crypt/Standard/StandardDecryptor.cs(305,21): warning CS0114: 'CipherInputStream.MarkSupported()' hides inherited member 'ByteArrayInputStream.MarkSupported()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword. [/home/runner/work/npoi/npoi/main/NPOI.Core.csproj::TargetFramework=netstandard2.0]
ubuntu-latest
/home/runner/work/npoi/npoi/main/POIFS/FileSystem/POIFSFileSystem.cs(66,30): warning CS0108: 'POIFSFileSystem.CreateNonClosingInputStream(Stream)' hides inherited member 'NPOIFSFileSystem.CreateNonClosingInputStream(Stream)'. Use the new keyword if hiding was intended. [/home/runner/work/npoi/npoi/main/NPOI.Core.csproj::TargetFramework=netstandard2.0]
ubuntu-latest
/home/runner/work/npoi/npoi/main/SS/Formula/Eval/FunctionEval.cs(62,37): warning CS0628: 'FunctionEval.functions': new protected member declared in sealed type [/home/runner/work/npoi/npoi/main/NPOI.Core.csproj::TargetFramework=netstandard2.0]
ubuntu-latest
/home/runner/work/npoi/npoi/main/HSSF/Record/DVRecord.cs(40,18): warning CS0659: 'DVRecord' overrides Object.Equals(object o) but does not override Object.GetHashCode() [/home/runner/work/npoi/npoi/main/NPOI.Core.csproj::TargetFramework=netstandard2.0]
ubuntu-latest
/home/runner/work/npoi/npoi/main/SS/UserModel/Workbook.cs(447,14): warning CS0108: 'IWorkbook.Close()' hides inherited member 'ICloseable.Close()'. Use the new keyword if hiding was intended. [/home/runner/work/npoi/npoi/main/NPOI.Core.csproj::TargetFramework=netstandard2.0]
ubuntu-latest
/home/runner/work/npoi/npoi/main/SS/Formula/Atp/DateParser.cs(86,17): warning CS0162: Unreachable code detected [/home/runner/work/npoi/npoi/main/NPOI.Core.csproj::TargetFramework=netstandard2.0]
ubuntu-latest
/home/runner/work/npoi/npoi/main/SS/Formula/Functions/FinanceFunction.cs(96,13): warning CS0162: Unreachable code detected [/home/runner/work/npoi/npoi/main/NPOI.Core.csproj::TargetFramework=netstandard2.0]
windows-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
windows-latest
D:\a\npoi\npoi\main\SS\Util\PropertyTemplate.cs(41,20): warning CS1584: XML comment has syntactically incorrect cref attribute 'NPOI.XSSF.Streaming.SXSSFWorkbook} Spreadsheets are not [D:\a\npoi\npoi\main\NPOI.Core.csproj::TargetFramework=netstandard2.0]
windows-latest
D:\a\npoi\npoi\main\POIFS\Crypt\Standard\StandardDecryptor.cs(225,20): warning CS0114: 'CipherInputStream.Read(byte[])' hides inherited member 'InputStream.Read(byte[])'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword. [D:\a\npoi\npoi\main\NPOI.Core.csproj::TargetFramework=netstandard2.0]
windows-latest
D:\a\npoi\npoi\main\POIFS\Crypt\Standard\StandardDecryptor.cs(262,21): warning CS0114: 'CipherInputStream.Skip(long)' hides inherited member 'InputStream.Skip(long)'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword. [D:\a\npoi\npoi\main\NPOI.Core.csproj::TargetFramework=netstandard2.0]
windows-latest
D:\a\npoi\npoi\main\POIFS\Crypt\Standard\StandardDecryptor.cs(305,21): warning CS0114: 'CipherInputStream.MarkSupported()' hides inherited member 'ByteArrayInputStream.MarkSupported()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword. [D:\a\npoi\npoi\main\NPOI.Core.csproj::TargetFramework=netstandard2.0]
windows-latest
D:\a\npoi\npoi\main\POIFS\FileSystem\POIFSFileSystem.cs(66,30): warning CS0108: 'POIFSFileSystem.CreateNonClosingInputStream(Stream)' hides inherited member 'NPOIFSFileSystem.CreateNonClosingInputStream(Stream)'. Use the new keyword if hiding was intended. [D:\a\npoi\npoi\main\NPOI.Core.csproj::TargetFramework=netstandard2.0]
windows-latest
D:\a\npoi\npoi\main\HSSF\Record\DVRecord.cs(40,18): warning CS0659: 'DVRecord' overrides Object.Equals(object o) but does not override Object.GetHashCode() [D:\a\npoi\npoi\main\NPOI.Core.csproj::TargetFramework=netstandard2.0]
windows-latest
D:\a\npoi\npoi\main\SS\Util\PropertyTemplate.cs(41,20): warning CS1584: XML comment has syntactically incorrect cref attribute 'NPOI.XSSF.Streaming.SXSSFWorkbook} Spreadsheets are not [D:\a\npoi\npoi\main\NPOI.Core.csproj::TargetFramework=net472]
windows-latest
D:\a\npoi\npoi\main\POIFS\Crypt\Standard\StandardDecryptor.cs(225,20): warning CS0114: 'CipherInputStream.Read(byte[])' hides inherited member 'InputStream.Read(byte[])'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword. [D:\a\npoi\npoi\main\NPOI.Core.csproj::TargetFramework=net472]
windows-latest
D:\a\npoi\npoi\main\POIFS\Crypt\Standard\StandardDecryptor.cs(262,21): warning CS0114: 'CipherInputStream.Skip(long)' hides inherited member 'InputStream.Skip(long)'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword. [D:\a\npoi\npoi\main\NPOI.Core.csproj::TargetFramework=net472]
windows-latest
D:\a\npoi\npoi\main\POIFS\Crypt\Standard\StandardDecryptor.cs(305,21): warning CS0114: 'CipherInputStream.MarkSupported()' hides inherited member 'ByteArrayInputStream.MarkSupported()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword. [D:\a\npoi\npoi\main\NPOI.Core.csproj::TargetFramework=net472]