@@ -536,13 +536,9 @@ func parseFormatPanesSet(formatSet string) *formatPanes {
536536// | been applied, dividing the pane into right and left
537537// | regions. In that case, this value specifies the left pane
538538// |
539- // | Top right pane, when both vertical and horizontal
539+ // topRight (Top Right Pane) | Top right pane, when both vertical and horizontal
540540// | splits are applied.
541541// |
542- // topRight (Top Right Pane) | This value is also used when only a vertical split has
543- // | splits are applied.
544- // |
545- // |
546542// | This value is also used when only a vertical split has
547543// | been applied, dividing the pane into right and left
548544// | regions. In that case, this value specifies the right
@@ -577,19 +573,19 @@ func parseFormatPanesSet(formatSet string) *formatPanes {
577573// set of ranges.
578574//
579575// An example of how to freeze column A in the Sheet1 and set the active cell on
580- // Sheet1!A16 :
576+ // Sheet1!K16 :
581577//
582- // xlsx.SetPanes("Sheet1", `{"freeze":true,"split":false,"x_split":1,"y_split":0,"topLeftCell ":"B1","activePane ":"topRight","panes":[{"sqref":"K16","active_cell":"K16","pane":"topRight"}]}`)
578+ // xlsx.SetPanes("Sheet1", `{"freeze":true,"split":false,"x_split":1,"y_split":0,"top_left_cell ":"B1","active_pane ":"topRight","panes":[{"sqref":"K16","active_cell":"K16","pane":"topRight"}]}`)
583579//
584580// An example of how to freeze rows 1 to 9 in the Sheet1 and set the active cell
585- // on Sheet1!A11:
581+ // ranges on Sheet1!A11:XFD11 :
586582//
587- // xlsx.SetPanes("Sheet1", `{"freeze":true,"split":false,"x_split":0,"y_split":9,"topLeftCell ":"A34","activePane ":"bottomLeft","panes":[{"sqref":"A11:XFD11","active_cell":"A11","pane":"bottomLeft"}]}`)
583+ // xlsx.SetPanes("Sheet1", `{"freeze":true,"split":false,"x_split":0,"y_split":9,"top_left_cell ":"A34","active_pane ":"bottomLeft","panes":[{"sqref":"A11:XFD11","active_cell":"A11","pane":"bottomLeft"}]}`)
588584//
589585// An example of how to create split panes in the Sheet1 and set the active cell
590586// on Sheet1!J60:
591587//
592- // xlsx.SetPanes("Sheet1", `{"freeze":false,"split":true,"x_split":3270,"y_split":1800,"topLeftCell ":"N57","activePane ":"bottomLeft","panes":[{"sqref":"I36","active_cell":"I36"},{"sqref":"G33","active_cell":"G33","pane":"topRight"},{"sqref":"J60","active_cell":"J60","pane":"bottomLeft"},{"sqref":"O60","active_cell":"O60","pane":"bottomRight"}]}`)
588+ // xlsx.SetPanes("Sheet1", `{"freeze":false,"split":true,"x_split":3270,"y_split":1800,"top_left_cell ":"N57","active_pane ":"bottomLeft","panes":[{"sqref":"I36","active_cell":"I36"},{"sqref":"G33","active_cell":"G33","pane":"topRight"},{"sqref":"J60","active_cell":"J60","pane":"bottomLeft"},{"sqref":"O60","active_cell":"O60","pane":"bottomRight"}]}`)
593589//
594590// An example of how to unfreeze and remove all panes on Sheet1:
595591//
0 commit comments