# 페이지네이션 정보 가져오기

## Content

리포트 시트는 [페이지 미리보기 모드](/spreadjs/docs/v18/features/reportsheet/report-sheet-settings/render-mode)를 지원하며, 페이지네이션 정보를 가져오는 공식 기반 함수도 제공합니다.
리포트 시트에서 페이지네이션 정보를 가져오려면 다음 함수를 사용할 수 있습니다.

* `R.CURRENTPAGE()`: 현재 페이지 번호를 가져옵니다.
* `R.PAGESCOUNT()`: 전체 페이지 수를 가져옵니다.

아래 이미지는 모든 페이지 정보를 연결하여 "전체 페이지 수 중 현재 페이지 번호" 형식으로 표시하는 CONCAT 함수를 사용하는 템플릿 시트를 보여줍니다.
![image](https://gcdocumentsitekrblob.blob.core.windows.net/document-site-files/images/d37fbce1-6a37-43ce-b728-dd79fba68421/image.66f113.png?width=700)
위 템플릿 시트로부터 생성된 주문 리포트는 아래와 같습니다.
![image](https://gcdocumentsitekrblob.blob.core.windows.net/document-site-files/images/d37fbce1-6a37-43ce-b728-dd79fba68421/image.1f6087.png)