diff options
| author | Ri Xu <xuri.me@gmail.com> | 2016-09-07 21:26:58 +0800 |
|---|---|---|
| committer | Ri Xu <xuri.me@gmail.com> | 2016-09-07 21:26:58 +0800 |
| commit | 9c14741a6beaab9048d107f2ac47d79416d51c62 (patch) | |
| tree | 8a1278c86a1b83872d6042a8f27d023b191493dd /excelize.go | |
| parent | 0dd0fba96b8a33eb5fd365131bfc4a2361a9fe3f (diff) | |
Fix missing show grid lines property and godoc updated.
Diffstat (limited to 'excelize.go')
| -rw-r--r-- | excelize.go | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/excelize.go b/excelize.go index 79f7534..258411e 100644 --- a/excelize.go +++ b/excelize.go @@ -162,24 +162,24 @@ func replaceWorkSheetsRelationshipsNameSpace(workbookMarshal string) string { // Check XML tags and fix discontinuous case, for example: // -// <row r="15" spans="1:22" x14ac:dyDescent="0.2"> -// <c r="A15" s="2" /> -// <c r="B15" s="2" /> -// <c r="F15" s="1" /> -// <c r="G15" s="1" /> -// </row> +// <row r="15" spans="1:22" x14ac:dyDescent="0.2"> +// <c r="A15" s="2" /> +// <c r="B15" s="2" /> +// <c r="F15" s="1" /> +// <c r="G15" s="1" /> +// </row> // // in this case, we should to change it to // -// <row r="15" spans="1:22" x14ac:dyDescent="0.2"> -// <c r="A15" s="2" /> -// <c r="B15" s="2" /> -// <c r="C15" s="2" /> -// <c r="D15" s="2" /> -// <c r="E15" s="2" /> -// <c r="F15" s="1" /> -// <c r="G15" s="1" /> -// </row> +// <row r="15" spans="1:22" x14ac:dyDescent="0.2"> +// <c r="A15" s="2" /> +// <c r="B15" s="2" /> +// <c r="C15" s="2" /> +// <c r="D15" s="2" /> +// <c r="E15" s="2" /> +// <c r="F15" s="1" /> +// <c r="G15" s="1" /> +// </row> // // Noteice: this method could be very slow for large spreadsheets (more than 3000 rows one sheet). func checkRow(xlsx xlsxWorksheet) xlsxWorksheet { @@ -223,20 +223,20 @@ func checkRow(xlsx xlsxWorksheet) xlsxWorksheet { // // For example: // -// <row r="19" spans="2:2"> -// <c r="B19"> -// <f>SUM(Sheet2!D2,Sheet2!D11)</f> -// <v>100</v> -// </c> -// </row> +// <row r="19" spans="2:2"> +// <c r="B19"> +// <f>SUM(Sheet2!D2,Sheet2!D11)</f> +// <v>100</v> +// </c> +// </row> // // to // -// <row r="19" spans="2:2"> -// <c r="B19"> -// <f>SUM(Sheet2!D2,Sheet2!D11)</f> -// </c> -// </row> +// <row r="19" spans="2:2"> +// <c r="B19"> +// <f>SUM(Sheet2!D2,Sheet2!D11)</f> +// </c> +// </row> func (f *File) UpdateLinkedValue() { for i := 1; i <= f.SheetCount; i++ { var xlsx xlsxWorksheet |
