# 模板分页

## Content

## 概述

分页是报表中常见的一种需求，GcExcel 模板提供了三种分页方式：

* [分页符属性](/developer/grapecitydocuments/excel-java/docs/templates/template-configuration/template-properties/paginated-templates/PagingBreak)
* [按页面大小分页](/developer/grapecitydocuments/excel-java/docs/templates/template-configuration/template-properties/paginated-templates/PaginationPropertiesandFunctions/PageSize)
* [按页面数据分页](/developer/grapecitydocuments/excel-java/docs/templates/template-configuration/template-properties/paginated-templates/PaginationPropertiesandFunctions/CountPerPage)

分页符属性，是指使用 Excel 的分隔符，对工作表进行分页。仅在导出 PDF 或者打印时生效，Excel 中，工作表本身并不会分页。
如果您希望模板导出后工作表也会分页，则可以通过分页模式，在这种模式下，可以根据按页面大小或者页面数据进行分页。