diff options
author | xuri <xuri.me@gmail.com> | 2022-11-29 00:03:49 +0800 |
---|---|---|
committer | xuri <xuri.me@gmail.com> | 2022-11-29 00:03:49 +0800 |
commit | c0713951c8d95fba3a23da39bfb5c85d858d2338 (patch) | |
tree | cfdd5efc253e8072206f563954f010ce31773ba7 /stream.go | |
parent | dde6b9c00135cefffdd9c64b7f22cfdc34c28e47 (diff) |
This closes #1404, fixes the insert picture problem in some cases
- Updates unit tests
- Updates documentation for stream mode functions
- Updates hyperlinks in the documentation
Diffstat (limited to 'stream.go')
-rw-r--r-- | stream.go | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -354,9 +354,9 @@ func parseRowOpts(opts ...RowOpts) *RowOpts { return options } -// SetRow writes an array to stream rows by giving a worksheet name, starting -// coordinate and a pointer to an array of values. Note that you must call the -// 'Flush' method to end the streaming writing process. +// SetRow writes an array to stream rows by giving starting cell reference and a +// pointer to an array of values. Note that you must call the 'Flush' function +// to end the streaming writing process. // // As a special case, if Cell is used as a value, then the Cell.StyleID will be // applied to that cell. @@ -438,17 +438,17 @@ func (sw *StreamWriter) SetColWidth(min, max int, width float64) error { return nil } -// InsertPageBreak create a page break to determine where the printed page -// ends and where begins the next one by given worksheet name and cell -// reference, so the content before the page break will be printed on one page -// and after the page break on another. +// InsertPageBreak creates a page break to determine where the printed page ends +// and where begins the next one by a given cell reference, the content before +// the page break will be printed on one page and after the page break on +// another. func (sw *StreamWriter) InsertPageBreak(cell string) error { return sw.worksheet.insertPageBreak(cell) } // SetPanes provides a function to create and remove freeze panes and split -// panes by given worksheet name and panes options for the StreamWriter. Note -// that you must call the 'SetPanes' function before the 'SetRow' function. +// panes by giving panes options for the StreamWriter. Note that you must call +// the 'SetPanes' function before the 'SetRow' function. func (sw *StreamWriter) SetPanes(panes string) error { if sw.sheetWritten { return ErrStreamSetPanes |