19.12. Worksheet Commands
Worksheet commands are the children of workbooks and are usually executed only once.
19.12.1. Grouping
Provides grouping of columns and rows.
<e:groupRows>
|
Attributes
Child elements
Facets
|
<e:groupColumns>
|
Attributes
Child elements
Facets
|
<e:workbook> <e:worksheet> <e:groupRows startRow="4" endRow="9" collapse="true"/> <e:groupColumns startColumn="0" endColumn="9" collapse="false"/> </e:worksheet> </e:workbook>
This groups rows 5 through 10 and columns 5 through 10 so that the rows are initially collapsed (but not the columns).
19.12.2. Page breaks
Provides page breaks
<e:rowPageBreak>
|
Attributes
Child elements
Facets
|
<e:workbook> <e:worksheet> <e:rowPageBreak row="4"/> </e:worksheet> </e:workbook>
This causes a page break at row 5.
19.12.3. Merging
Provides cell merging
<e:mergeCells>
|
Attributes
Child elements
Facets
|
<e:workbook> <e:worksheet> <e:mergeCells startRow="0" startColumn="0" endRow="9" endColumn="9"/> </e:worksheet> </e:workbook>
This merges the cells in the range A1:J10.