mirror of
https://gitee.com/dotnetchina/MiniExcel.git
synced 2024-11-29 18:38:08 +08:00
MiniExcelIssue2024Tests & Issue627
This commit is contained in:
parent
4c4cbe5fd4
commit
c68d092dec
BIN
samples/xlsx/TestIssue627-2.xlsx
Normal file
BIN
samples/xlsx/TestIssue627-2.xlsx
Normal file
Binary file not shown.
2
samples/xlsx/TestIssue627-2/[Content_Types].xml
Normal file
2
samples/xlsx/TestIssue627-2/[Content_Types].xml
Normal file
@ -0,0 +1,2 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types"><Default Extension="rels" ContentType="application/vnd.openxmlformats-package.relationships+xml"/><Default Extension="xml" ContentType="application/xml"/><Override PartName="/xl/workbook.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml"/><Override PartName="/xl/worksheets/sheet1.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml"/><Override PartName="/xl/theme/theme1.xml" ContentType="application/vnd.openxmlformats-officedocument.theme+xml"/><Override PartName="/xl/styles.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml"/><Override PartName="/xl/sharedStrings.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml"/><Override PartName="/docProps/core.xml" ContentType="application/vnd.openxmlformats-package.core-properties+xml"/><Override PartName="/docProps/app.xml" ContentType="application/vnd.openxmlformats-officedocument.extended-properties+xml"/></Types>
|
2
samples/xlsx/TestIssue627-2/_rels/.rels
Normal file
2
samples/xlsx/TestIssue627-2/_rels/.rels
Normal file
@ -0,0 +1,2 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Id="rId3" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties" Target="docProps/app.xml"/><Relationship Id="rId2" Type="http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties" Target="docProps/core.xml"/><Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" Target="xl/workbook.xml"/></Relationships>
|
2
samples/xlsx/TestIssue627-2/docProps/app.xml
Normal file
2
samples/xlsx/TestIssue627-2/docProps/app.xml
Normal file
@ -0,0 +1,2 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<Properties xmlns="http://schemas.openxmlformats.org/officeDocument/2006/extended-properties" xmlns:vt="http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes"><Application>Microsoft Excel</Application><DocSecurity>0</DocSecurity><ScaleCrop>false</ScaleCrop><HeadingPairs><vt:vector size="2" baseType="variant"><vt:variant><vt:lpstr>Worksheets</vt:lpstr></vt:variant><vt:variant><vt:i4>1</vt:i4></vt:variant></vt:vector></HeadingPairs><TitlesOfParts><vt:vector size="1" baseType="lpstr"><vt:lpstr>Sheet1</vt:lpstr></vt:vector></TitlesOfParts><LinksUpToDate>false</LinksUpToDate><SharedDoc>false</SharedDoc><HyperlinksChanged>false</HyperlinksChanged><AppVersion>16.0300</AppVersion></Properties>
|
2
samples/xlsx/TestIssue627-2/docProps/core.xml
Normal file
2
samples/xlsx/TestIssue627-2/docProps/core.xml
Normal file
@ -0,0 +1,2 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<cp:coreProperties xmlns:cp="http://schemas.openxmlformats.org/package/2006/metadata/core-properties" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:dcmitype="http://purl.org/dc/dcmitype/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><cp:lastModifiedBy>Lin Wei</cp:lastModifiedBy><dcterms:modified xsi:type="dcterms:W3CDTF">2024-07-14T09:31:55Z</dcterms:modified></cp:coreProperties>
|
15
samples/xlsx/TestIssue627-2/xl/_rels/workbook.xml.rels
Normal file
15
samples/xlsx/TestIssue627-2/xl/_rels/workbook.xml.rels
Normal file
@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">
|
||||
<Relationship Id="rId3"
|
||||
Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles"
|
||||
Target="styles.xml" />
|
||||
<Relationship Id="rId2"
|
||||
Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme"
|
||||
Target="theme/theme1.xml" />
|
||||
<Relationship Id="rId1"
|
||||
Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet"
|
||||
Target="worksheets/sheet1.xml" />
|
||||
<Relationship Id="rId4"
|
||||
Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings"
|
||||
Target="sharedStrings.xml" />
|
||||
</Relationships>
|
2
samples/xlsx/TestIssue627-2/xl/sharedStrings.xml
Normal file
2
samples/xlsx/TestIssue627-2/xl/sharedStrings.xml
Normal file
@ -0,0 +1,2 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<sst xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" count="1" uniqueCount="1"><si><t>long2</t></si></sst>
|
2
samples/xlsx/TestIssue627-2/xl/styles.xml
Normal file
2
samples/xlsx/TestIssue627-2/xl/styles.xml
Normal file
@ -0,0 +1,2 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<styleSheet xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="x14ac x16r2 xr" xmlns:x14ac="http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac" xmlns:x16r2="http://schemas.microsoft.com/office/spreadsheetml/2015/02/main" xmlns:xr="http://schemas.microsoft.com/office/spreadsheetml/2014/revision"><fonts count="2" x14ac:knownFonts="1"><font><sz val="11"/><color rgb="FF000000"/><name val="Calibri"/><family val="2"/></font><font><sz val="11"/><color rgb="FFFFFFFF"/><name val="Calibri"/><family val="2"/></font></fonts><fills count="3"><fill><patternFill patternType="none"/></fill><fill><patternFill patternType="gray125"/></fill><fill><patternFill patternType="solid"><fgColor rgb="FF4472C4"/></patternFill></fill></fills><borders count="2"><border><left/><right/><top/><bottom/><diagonal/></border><border><left style="thin"><color rgb="FF000000"/></left><right style="thin"><color rgb="FF000000"/></right><top style="thin"><color rgb="FF000000"/></top><bottom style="thin"><color rgb="FF000000"/></bottom><diagonal/></border></borders><cellStyleXfs count="1"><xf numFmtId="0" fontId="0" fillId="0" borderId="0" applyBorder="0"/></cellStyleXfs><cellXfs count="3"><xf numFmtId="0" fontId="0" fillId="0" borderId="0" xfId="0"/><xf numFmtId="0" fontId="1" fillId="2" borderId="1" xfId="0" applyFont="1" applyFill="1" applyBorder="1" applyAlignment="1"><alignment horizontal="left"/></xf><xf numFmtId="0" fontId="0" fillId="0" borderId="1" xfId="0" applyBorder="1"/></cellXfs><cellStyles count="1"><cellStyle name="Normal" xfId="0" builtinId="0"/></cellStyles><dxfs count="0"/><tableStyles count="0" defaultTableStyle="TableStyleMedium2" defaultPivotStyle="PivotStyleLight16"/><extLst><ext uri="{EB79DEF2-80B8-43e5-95BD-54CBDDF9020C}" xmlns:x14="http://schemas.microsoft.com/office/spreadsheetml/2009/9/main"><x14:slicerStyles defaultSlicerStyle="SlicerStyleLight1"/></ext><ext uri="{9260A510-F301-46a8-8635-F512D64BE5F5}" xmlns:x15="http://schemas.microsoft.com/office/spreadsheetml/2010/11/main"><x15:timelineStyles defaultTimelineStyle="TimeSlicerStyleLight1"/></ext></extLst></styleSheet>
|
2
samples/xlsx/TestIssue627-2/xl/theme/theme1.xml
Normal file
2
samples/xlsx/TestIssue627-2/xl/theme/theme1.xml
Normal file
File diff suppressed because one or more lines are too long
2
samples/xlsx/TestIssue627-2/xl/workbook.xml
Normal file
2
samples/xlsx/TestIssue627-2/xl/workbook.xml
Normal file
@ -0,0 +1,2 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<workbook xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="x15 xr xr6 xr10 xr2" xmlns:x15="http://schemas.microsoft.com/office/spreadsheetml/2010/11/main" xmlns:xr="http://schemas.microsoft.com/office/spreadsheetml/2014/revision" xmlns:xr6="http://schemas.microsoft.com/office/spreadsheetml/2016/revision6" xmlns:xr10="http://schemas.microsoft.com/office/spreadsheetml/2016/revision10" xmlns:xr2="http://schemas.microsoft.com/office/spreadsheetml/2015/revision2"><fileVersion appName="xl" lastEdited="7" lowestEdited="7" rupBuild="27726"/><workbookPr defaultThemeVersion="202300"/><mc:AlternateContent xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"><mc:Choice Requires="x15"><x15ac:absPath url="D:\git\MiniExcel\samples\xlsx\" xmlns:x15ac="http://schemas.microsoft.com/office/spreadsheetml/2010/11/ac"/></mc:Choice></mc:AlternateContent><xr:revisionPtr revIDLastSave="0" documentId="13_ncr:1_{5E0EFC02-4E2D-4137-A582-43E936520901}" xr6:coauthVersionLast="47" xr6:coauthVersionMax="47" xr10:uidLastSave="{00000000-0000-0000-0000-000000000000}"/><bookViews><workbookView xWindow="-108" yWindow="-108" windowWidth="23256" windowHeight="12720" xr2:uid="{00000000-000D-0000-FFFF-FFFF00000000}"/></bookViews><sheets><sheet name="Sheet1" sheetId="1" r:id="rId1"/></sheets><calcPr calcId="0"/></workbook>
|
34
samples/xlsx/TestIssue627-2/xl/worksheets/sheet1.xml
Normal file
34
samples/xlsx/TestIssue627-2/xl/worksheets/sheet1.xml
Normal file
@ -0,0 +1,34 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<worksheet xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main"
|
||||
xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
mc:Ignorable="x14ac xr xr2 xr3"
|
||||
xmlns:x14ac="http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac"
|
||||
xmlns:xr="http://schemas.microsoft.com/office/spreadsheetml/2014/revision"
|
||||
xmlns:xr2="http://schemas.microsoft.com/office/spreadsheetml/2015/revision2"
|
||||
xmlns:xr3="http://schemas.microsoft.com/office/spreadsheetml/2016/revision3"
|
||||
xr:uid="{00000000-0001-0000-0000-000000000000}">
|
||||
<dimension ref="A1:A2" />
|
||||
<sheetViews>
|
||||
<sheetView tabSelected="1" workbookViewId="0">
|
||||
<selection activeCell="A3" sqref="A3" />
|
||||
</sheetView>
|
||||
</sheetViews>
|
||||
<sheetFormatPr defaultRowHeight="14.4" x14ac:dyDescent="0.3" />
|
||||
<cols>
|
||||
<col min="1" max="1" width="25" customWidth="1" />
|
||||
</cols>
|
||||
<sheetData>
|
||||
<row r="1" spans="1:1" x14ac:dyDescent="0.3">
|
||||
<c r="A1" s="1" t="s">
|
||||
<v>0</v>
|
||||
</c>
|
||||
</row>
|
||||
<row r="2" spans="1:1" x14ac:dyDescent="0.3">
|
||||
<c r="A2" s="2">
|
||||
<v>1.5504326957934799E+18</v>
|
||||
</c>
|
||||
</row>
|
||||
</sheetData>
|
||||
<pageMargins left="0.7" right="0.7" top="0.75" bottom="0.75" header="0.3" footer="0.3" />
|
||||
</worksheet>
|
BIN
samples/xlsx/TestIssue627-3.xlsx
Normal file
BIN
samples/xlsx/TestIssue627-3.xlsx
Normal file
Binary file not shown.
2
samples/xlsx/TestIssue627-3/[Content_Types].xml
Normal file
2
samples/xlsx/TestIssue627-3/[Content_Types].xml
Normal file
@ -0,0 +1,2 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types"><Default Extension="rels" ContentType="application/vnd.openxmlformats-package.relationships+xml"/><Default Extension="xml" ContentType="application/xml"/><Override PartName="/xl/workbook.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml"/><Override PartName="/xl/worksheets/sheet1.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml"/><Override PartName="/xl/theme/theme1.xml" ContentType="application/vnd.openxmlformats-officedocument.theme+xml"/><Override PartName="/xl/styles.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml"/><Override PartName="/xl/sharedStrings.xml" ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml"/><Override PartName="/docProps/core.xml" ContentType="application/vnd.openxmlformats-package.core-properties+xml"/><Override PartName="/docProps/app.xml" ContentType="application/vnd.openxmlformats-officedocument.extended-properties+xml"/></Types>
|
2
samples/xlsx/TestIssue627-3/_rels/.rels
Normal file
2
samples/xlsx/TestIssue627-3/_rels/.rels
Normal file
@ -0,0 +1,2 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Id="rId3" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties" Target="docProps/app.xml"/><Relationship Id="rId2" Type="http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties" Target="docProps/core.xml"/><Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" Target="xl/workbook.xml"/></Relationships>
|
2
samples/xlsx/TestIssue627-3/docProps/app.xml
Normal file
2
samples/xlsx/TestIssue627-3/docProps/app.xml
Normal file
@ -0,0 +1,2 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<Properties xmlns="http://schemas.openxmlformats.org/officeDocument/2006/extended-properties" xmlns:vt="http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes"><Application>Microsoft Excel</Application><DocSecurity>0</DocSecurity><ScaleCrop>false</ScaleCrop><HeadingPairs><vt:vector size="2" baseType="variant"><vt:variant><vt:lpstr>Worksheets</vt:lpstr></vt:variant><vt:variant><vt:i4>1</vt:i4></vt:variant></vt:vector></HeadingPairs><TitlesOfParts><vt:vector size="1" baseType="lpstr"><vt:lpstr>Sheet1</vt:lpstr></vt:vector></TitlesOfParts><LinksUpToDate>false</LinksUpToDate><SharedDoc>false</SharedDoc><HyperlinksChanged>false</HyperlinksChanged><AppVersion>16.0300</AppVersion></Properties>
|
2
samples/xlsx/TestIssue627-3/docProps/core.xml
Normal file
2
samples/xlsx/TestIssue627-3/docProps/core.xml
Normal file
@ -0,0 +1,2 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<cp:coreProperties xmlns:cp="http://schemas.openxmlformats.org/package/2006/metadata/core-properties" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:dcmitype="http://purl.org/dc/dcmitype/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><cp:lastModifiedBy>Lin Wei</cp:lastModifiedBy><dcterms:modified xsi:type="dcterms:W3CDTF">2024-07-14T09:36:46Z</dcterms:modified></cp:coreProperties>
|
2
samples/xlsx/TestIssue627-3/xl/_rels/workbook.xml.rels
Normal file
2
samples/xlsx/TestIssue627-3/xl/_rels/workbook.xml.rels
Normal file
@ -0,0 +1,2 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"><Relationship Id="rId3" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles" Target="styles.xml"/><Relationship Id="rId2" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme" Target="theme/theme1.xml"/><Relationship Id="rId1" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet" Target="worksheets/sheet1.xml"/><Relationship Id="rId4" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings" Target="sharedStrings.xml"/></Relationships>
|
9
samples/xlsx/TestIssue627-3/xl/sharedStrings.xml
Normal file
9
samples/xlsx/TestIssue627-3/xl/sharedStrings.xml
Normal file
@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<sst xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" count="2" uniqueCount="2">
|
||||
<si>
|
||||
<t>long2</t>
|
||||
</si>
|
||||
<si>
|
||||
<t>1550432695793487872</t>
|
||||
</si>
|
||||
</sst>
|
86
samples/xlsx/TestIssue627-3/xl/styles.xml
Normal file
86
samples/xlsx/TestIssue627-3/xl/styles.xml
Normal file
@ -0,0 +1,86 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<styleSheet xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
mc:Ignorable="x14ac x16r2 xr"
|
||||
xmlns:x14ac="http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac"
|
||||
xmlns:x16r2="http://schemas.microsoft.com/office/spreadsheetml/2015/02/main"
|
||||
xmlns:xr="http://schemas.microsoft.com/office/spreadsheetml/2014/revision">
|
||||
<fonts count="2" x14ac:knownFonts="1">
|
||||
<font>
|
||||
<sz val="11" />
|
||||
<color rgb="FF000000" />
|
||||
<name val="Calibri" />
|
||||
<family val="2" />
|
||||
</font>
|
||||
<font>
|
||||
<sz val="11" />
|
||||
<color rgb="FFFFFFFF" />
|
||||
<name val="Calibri" />
|
||||
<family val="2" />
|
||||
</font>
|
||||
</fonts>
|
||||
<fills count="3">
|
||||
<fill>
|
||||
<patternFill patternType="none" />
|
||||
</fill>
|
||||
<fill>
|
||||
<patternFill patternType="gray125" />
|
||||
</fill>
|
||||
<fill>
|
||||
<patternFill patternType="solid">
|
||||
<fgColor rgb="FF4472C4" />
|
||||
</patternFill>
|
||||
</fill>
|
||||
</fills>
|
||||
<borders count="2">
|
||||
<border>
|
||||
<left />
|
||||
<right />
|
||||
<top />
|
||||
<bottom />
|
||||
<diagonal />
|
||||
</border>
|
||||
<border>
|
||||
<left style="thin">
|
||||
<color rgb="FF000000" />
|
||||
</left>
|
||||
<right style="thin">
|
||||
<color rgb="FF000000" />
|
||||
</right>
|
||||
<top style="thin">
|
||||
<color rgb="FF000000" />
|
||||
</top>
|
||||
<bottom style="thin">
|
||||
<color rgb="FF000000" />
|
||||
</bottom>
|
||||
<diagonal />
|
||||
</border>
|
||||
</borders>
|
||||
<cellStyleXfs count="1">
|
||||
<xf numFmtId="0" fontId="0" fillId="0" borderId="0" applyBorder="0" />
|
||||
</cellStyleXfs>
|
||||
<cellXfs count="3">
|
||||
<xf numFmtId="0" fontId="0" fillId="0" borderId="0" xfId="0" />
|
||||
<xf numFmtId="0" fontId="1" fillId="2" borderId="1" xfId="0" applyFont="1" applyFill="1"
|
||||
applyBorder="1" applyAlignment="1">
|
||||
<alignment horizontal="left" />
|
||||
</xf>
|
||||
<xf numFmtId="0" fontId="0" fillId="0" borderId="1" xfId="0" quotePrefix="1" applyBorder="1" />
|
||||
</cellXfs>
|
||||
<cellStyles count="1">
|
||||
<cellStyle name="Normal" xfId="0" builtinId="0" />
|
||||
</cellStyles>
|
||||
<dxfs count="0" />
|
||||
<tableStyles count="0" defaultTableStyle="TableStyleMedium2"
|
||||
defaultPivotStyle="PivotStyleLight16" />
|
||||
<extLst>
|
||||
<ext uri="{EB79DEF2-80B8-43e5-95BD-54CBDDF9020C}"
|
||||
xmlns:x14="http://schemas.microsoft.com/office/spreadsheetml/2009/9/main">
|
||||
<x14:slicerStyles defaultSlicerStyle="SlicerStyleLight1" />
|
||||
</ext>
|
||||
<ext uri="{9260A510-F301-46a8-8635-F512D64BE5F5}"
|
||||
xmlns:x15="http://schemas.microsoft.com/office/spreadsheetml/2010/11/main">
|
||||
<x15:timelineStyles defaultTimelineStyle="TimeSlicerStyleLight1" />
|
||||
</ext>
|
||||
</extLst>
|
||||
</styleSheet>
|
2
samples/xlsx/TestIssue627-3/xl/theme/theme1.xml
Normal file
2
samples/xlsx/TestIssue627-3/xl/theme/theme1.xml
Normal file
File diff suppressed because one or more lines are too long
30
samples/xlsx/TestIssue627-3/xl/workbook.xml
Normal file
30
samples/xlsx/TestIssue627-3/xl/workbook.xml
Normal file
@ -0,0 +1,30 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<workbook xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main"
|
||||
xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
mc:Ignorable="x15 xr xr6 xr10 xr2"
|
||||
xmlns:x15="http://schemas.microsoft.com/office/spreadsheetml/2010/11/main"
|
||||
xmlns:xr="http://schemas.microsoft.com/office/spreadsheetml/2014/revision"
|
||||
xmlns:xr6="http://schemas.microsoft.com/office/spreadsheetml/2016/revision6"
|
||||
xmlns:xr10="http://schemas.microsoft.com/office/spreadsheetml/2016/revision10"
|
||||
xmlns:xr2="http://schemas.microsoft.com/office/spreadsheetml/2015/revision2">
|
||||
<fileVersion appName="xl" lastEdited="7" lowestEdited="7" rupBuild="27726" />
|
||||
<workbookPr defaultThemeVersion="202300" />
|
||||
<mc:AlternateContent xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006">
|
||||
<mc:Choice Requires="x15">
|
||||
<x15ac:absPath url="D:\git\MiniExcel\samples\xlsx\"
|
||||
xmlns:x15ac="http://schemas.microsoft.com/office/spreadsheetml/2010/11/ac" />
|
||||
</mc:Choice>
|
||||
</mc:AlternateContent>
|
||||
<xr:revisionPtr revIDLastSave="0" documentId="13_ncr:1_{976040C5-B893-420A-A491-FC18F09D9739}"
|
||||
xr6:coauthVersionLast="47" xr6:coauthVersionMax="47"
|
||||
xr10:uidLastSave="{00000000-0000-0000-0000-000000000000}" />
|
||||
<bookViews>
|
||||
<workbookView xWindow="-108" yWindow="-108" windowWidth="23256" windowHeight="12720"
|
||||
xr2:uid="{00000000-000D-0000-FFFF-FFFF00000000}" />
|
||||
</bookViews>
|
||||
<sheets>
|
||||
<sheet name="Sheet1" sheetId="1" r:id="rId1" />
|
||||
</sheets>
|
||||
<calcPr calcId="0" />
|
||||
</workbook>
|
34
samples/xlsx/TestIssue627-3/xl/worksheets/sheet1.xml
Normal file
34
samples/xlsx/TestIssue627-3/xl/worksheets/sheet1.xml
Normal file
@ -0,0 +1,34 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||
<worksheet xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main"
|
||||
xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
mc:Ignorable="x14ac xr xr2 xr3"
|
||||
xmlns:x14ac="http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac"
|
||||
xmlns:xr="http://schemas.microsoft.com/office/spreadsheetml/2014/revision"
|
||||
xmlns:xr2="http://schemas.microsoft.com/office/spreadsheetml/2015/revision2"
|
||||
xmlns:xr3="http://schemas.microsoft.com/office/spreadsheetml/2016/revision3"
|
||||
xr:uid="{00000000-0001-0000-0000-000000000000}">
|
||||
<dimension ref="A1:A2" />
|
||||
<sheetViews>
|
||||
<sheetView tabSelected="1" workbookViewId="0">
|
||||
<selection activeCell="A2" sqref="A2" />
|
||||
</sheetView>
|
||||
</sheetViews>
|
||||
<sheetFormatPr defaultRowHeight="14.4" x14ac:dyDescent="0.3" />
|
||||
<cols>
|
||||
<col min="1" max="1" width="25" customWidth="1" />
|
||||
</cols>
|
||||
<sheetData>
|
||||
<row r="1" spans="1:1" x14ac:dyDescent="0.3">
|
||||
<c r="A1" s="1" t="s">
|
||||
<v>0</v>
|
||||
</c>
|
||||
</row>
|
||||
<row r="2" spans="1:1" x14ac:dyDescent="0.3">
|
||||
<c r="A2" s="2" t="s">
|
||||
<v>1</v>
|
||||
</c>
|
||||
</row>
|
||||
</sheetData>
|
||||
<pageMargins left="0.7" right="0.7" top="0.75" bottom="0.75" header="0.3" footer="0.3" />
|
||||
</worksheet>
|
BIN
samples/xlsx/TestIssue627.xlsx
Normal file
BIN
samples/xlsx/TestIssue627.xlsx
Normal file
Binary file not shown.
1
samples/xlsx/TestIssue627/[Content_Types].xml
Normal file
1
samples/xlsx/TestIssue627/[Content_Types].xml
Normal file
@ -0,0 +1 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types"><Default ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.printerSettings" Extension="bin"/><Default ContentType="application/xml" Extension="xml"/><Default ContentType="image/jpeg" Extension="jpg"/><Default ContentType="image/png" Extension="png"/><Default ContentType="image/gif" Extension="gif"/><Default ContentType="application/vnd.openxmlformats-package.relationships+xml" Extension="rels"/><Override ContentType="application/vnd.openxmlformats-package.relationships+xml" PartName="/_rels/.rels" /><Override ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml" PartName="/xl/sharedStrings.xml" /><Override ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml" PartName="/xl/worksheets/sheet1.xml" /><Override ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml" PartName="/xl/styles.xml" /><Override ContentType="application/vnd.openxmlformats-officedocument.drawing+xml" PartName="/xl/drawings/drawing1.xml" /><Override ContentType="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml" PartName="/xl/workbook.xml" /></Types>
|
1
samples/xlsx/TestIssue627/_rels/.rels
Normal file
1
samples/xlsx/TestIssue627/_rels/.rels
Normal file
@ -0,0 +1 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"> <Relationship Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument" Target="xl/workbook.xml" Id="Rfc2254092b6248a9" /></Relationships>
|
11
samples/xlsx/TestIssue627/xl/_rels/workbook.xml.rels
Normal file
11
samples/xlsx/TestIssue627/xl/_rels/workbook.xml.rels
Normal file
@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">
|
||||
<Relationship
|
||||
Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet"
|
||||
Target="/xl/worksheets/sheet1.xml" Id="R671330b1fc314611a322fd0e86d2b2a4" />
|
||||
<Relationship Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles"
|
||||
Target="/xl/styles.xml" Id="R3db9602ace774fdb" />
|
||||
<Relationship
|
||||
Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings"
|
||||
Target="/xl/sharedStrings.xml" Id="R3db9602ace778fdb" />
|
||||
</Relationships>F
|
@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
|
||||
<Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships">
|
||||
|
||||
</Relationships>
|
1
samples/xlsx/TestIssue627/xl/drawings/drawing1.xml
Normal file
1
samples/xlsx/TestIssue627/xl/drawings/drawing1.xml
Normal file
@ -0,0 +1 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="yes"?><xdr:wsDr xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:xdr="http://schemas.openxmlformats.org/drawingml/2006/spreadsheetDrawing"> </xdr:wsDr>
|
1
samples/xlsx/TestIssue627/xl/sharedStrings.xml
Normal file
1
samples/xlsx/TestIssue627/xl/sharedStrings.xml
Normal file
@ -0,0 +1 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?><sst xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" count="0" uniqueCount="0"></sst>
|
1
samples/xlsx/TestIssue627/xl/styles.xml
Normal file
1
samples/xlsx/TestIssue627/xl/styles.xml
Normal file
@ -0,0 +1 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><x:styleSheet xmlns:x="http://schemas.openxmlformats.org/spreadsheetml/2006/main"> <x:numFmts count="1"> <x:numFmt numFmtId="0" formatCode="" /> </x:numFmts> <x:fonts count="2"> <x:font> <x:vertAlign val="baseline" /> <x:sz val="11" /> <x:color rgb="FF000000" /> <x:name val="Calibri" /> <x:family val="2" /> </x:font> <x:font> <x:vertAlign val="baseline" /> <x:sz val="11" /> <x:color rgb="FFFFFFFF" /> <x:name val="Calibri" /> <x:family val="2" /> </x:font> </x:fonts> <x:fills count="3"> <x:fill> <x:patternFill patternType="none" /> </x:fill> <x:fill> <x:patternFill patternType="gray125" /> </x:fill> <x:fill> <x:patternFill patternType="solid"> <x:fgColor rgb="284472C4" /> </x:patternFill> </x:fill> </x:fills> <x:borders count="2"> <x:border diagonalUp="0" diagonalDown="0"> <x:left style="none"> <x:color rgb="FF000000" /> </x:left> <x:right style="none"> <x:color rgb="FF000000" /> </x:right> <x:top style="none"> <x:color rgb="FF000000" /> </x:top> <x:bottom style="none"> <x:color rgb="FF000000" /> </x:bottom> <x:diagonal style="none"> <x:color rgb="FF000000" /> </x:diagonal> </x:border> <x:border diagonalUp="0" diagonalDown="0"> <x:left style="thin"> <x:color rgb="FF000000" /> </x:left> <x:right style="thin"> <x:color rgb="FF000000" /> </x:right> <x:top style="thin"> <x:color rgb="FF000000" /> </x:top> <x:bottom style="thin"> <x:color rgb="FF000000" /> </x:bottom> <x:diagonal style="none"> <x:color rgb="FF000000" /> </x:diagonal> </x:border> </x:borders> <x:cellStyleXfs count="3"> <x:xf numFmtId="0" fontId="0" fillId="0" borderId="0" applyNumberFormat="1" applyFill="1" applyBorder="0" applyAlignment="1" applyProtection="1"> <x:protection locked="1" hidden="0" /> </x:xf> <x:xf numFmtId="14" fontId="1" fillId="2" borderId="1" applyNumberFormat="1" applyFill="0" applyBorder="1" applyAlignment="1" applyProtection="1"> <x:protection locked="1" hidden="0" /> </x:xf> <x:xf numFmtId="0" fontId="0" fillId="0" borderId="1" applyNumberFormat="1" applyFill="1" applyBorder="1" applyAlignment="1" applyProtection="1"> <x:protection locked="1" hidden="0" /> </x:xf> </x:cellStyleXfs> <x:cellXfs count="4"> <x:xf></x:xf> <x:xf numFmtId="0" fontId="1" fillId="2" borderId="1" xfId="0" applyNumberFormat="1" applyFill="0" applyBorder="1" applyAlignment="1" applyProtection="1"> <x:alignment horizontal="left" vertical="bottom" textRotation="0" wrapText="0" indent="0" relativeIndent="0" justifyLastLine="0" shrinkToFit="0" readingOrder="0" /> <x:protection locked="1" hidden="0" /> </x:xf> <x:xf numFmtId="0" fontId="0" fillId="0" borderId="1" xfId="0" applyNumberFormat="1" applyFill="1" applyBorder="1" applyAlignment="1" applyProtection="1"> <x:alignment horizontal="general" vertical="bottom" textRotation="0" wrapText="0" indent="0" relativeIndent="0" justifyLastLine="0" shrinkToFit="0" readingOrder="0" /> <x:protection locked="1" hidden="0" /> </x:xf> <x:xf numFmtId="14" fontId="0" fillId="0" borderId="1" xfId="0" applyNumberFormat="1" applyFill="1" applyBorder="1" applyAlignment="1" applyProtection="1"> <x:alignment horizontal="general" vertical="bottom" textRotation="0" wrapText="0" indent="0" relativeIndent="0" justifyLastLine="0" shrinkToFit="0" readingOrder="0" /> <x:protection locked="1" hidden="0" /> </x:xf> <x:xf numFmtId="0" fontId="0" fillId="0" borderId="1" xfId="0" applyBorder="1" applyAlignment="1"> <x:alignment horizontal="fill"/> </x:xf> </x:cellXfs> <x:cellStyles count="1"> <x:cellStyle name="Normal" xfId="0" builtinId="0" /> </x:cellStyles></x:styleSheet>
|
2
samples/xlsx/TestIssue627/xl/workbook.xml
Normal file
2
samples/xlsx/TestIssue627/xl/workbook.xml
Normal file
@ -0,0 +1,2 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><x:workbook xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships" xmlns:x="http://schemas.openxmlformats.org/spreadsheetml/2006/main"> <x:sheets> <x:sheet name="Sheet1" sheetId="1" state="visible" r:id="R671330b1fc314611a322fd0e86d2b2a4" />
|
||||
</x:sheets></x:workbook>
|
@ -0,0 +1 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><Relationships xmlns="http://schemas.openxmlformats.org/package/2006/relationships"> <Relationship Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing" Target="../drawings/drawing1.xml" Id="drawing1" /></Relationships>
|
21
samples/xlsx/TestIssue627/xl/worksheets/sheet1.xml
Normal file
21
samples/xlsx/TestIssue627/xl/worksheets/sheet1.xml
Normal file
@ -0,0 +1,21 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<x:worksheet xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships"
|
||||
xmlns:x="http://schemas.openxmlformats.org/spreadsheetml/2006/main">
|
||||
<x:dimension ref="A2" />
|
||||
<x:cols>
|
||||
<x:col min="1" max="1" width="25" customWidth="1" />
|
||||
</x:cols>
|
||||
<x:sheetData>
|
||||
<x:row r="1">
|
||||
<x:c r="A1" t="str" s="1">
|
||||
<x:v>long2</x:v>
|
||||
</x:c>
|
||||
</x:row>
|
||||
<x:row r="2">
|
||||
<x:c r="A2" t="str" s="2">
|
||||
<x:v>1550432695793487872</x:v>
|
||||
</x:c>
|
||||
</x:row>
|
||||
</x:sheetData>
|
||||
<x:drawing r:id="drawing1" />
|
||||
</x:worksheet>
|
41
tests/MiniExcelTests/MiniExcelIssue2024Tests.cs
Normal file
41
tests/MiniExcelTests/MiniExcelIssue2024Tests.cs
Normal file
@ -0,0 +1,41 @@
|
||||
using MiniExcelLibs.Attributes;
|
||||
using MiniExcelLibs.OpenXml;
|
||||
using NPOI.SS.UserModel;
|
||||
using NPOI.XSSF.UserModel;
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using Xunit;
|
||||
using Xunit.Abstractions;
|
||||
|
||||
namespace MiniExcelLibs.Tests
|
||||
{
|
||||
public partial class MiniExcelIssue2024Tests
|
||||
{
|
||||
private readonly ITestOutputHelper output;
|
||||
|
||||
public MiniExcelIssue2024Tests(ITestOutputHelper output)
|
||||
{
|
||||
this.output = output;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// https://github.com/mini-software/MiniExcel/issues/627
|
||||
/// </summary>
|
||||
[Fact]
|
||||
public void TestIssue627()
|
||||
{
|
||||
var path = Path.Combine(Path.GetTempPath(), $"{Guid.NewGuid()}.xlsx");
|
||||
var config = new OpenXmlConfiguration
|
||||
{
|
||||
AutoFilter = false,
|
||||
DynamicColumns =
|
||||
new[] {
|
||||
new DynamicExcelColumn("long2") { Format = "@", Width = 25 }
|
||||
}
|
||||
};
|
||||
var value = new[] { new { long2 = "1550432695793487872" } };
|
||||
MiniExcel.SaveAs(path, value, configuration: config);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user