From c0713951c8d95fba3a23da39bfb5c85d858d2338 Mon Sep 17 00:00:00 2001 From: xuri Date: Tue, 29 Nov 2022 00:03:49 +0800 Subject: 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 --- stream.go | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'stream.go') diff --git a/stream.go b/stream.go index 02844b3..09baa42 100644 --- a/stream.go +++ b/stream.go @@ -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 -- cgit v1.2.1