Take a survey

Developing Applications Using APIs > Assembling PDF Documents > Specifying Page Labels

Specifying Page Labels
Acrobat and Adobe Reader identify pages in PDF documents by means of one or both of the following:
The ordinal page number. PDF documents are numbered consecutively starting with 1.
The page label. This is an optional identifier that has the following form:
		prefix + page number 
Both prefix and page number are optional.
The following items are valid page labels:
	iii
	page 3
	I-A
	Chapter 5 - 7
Typically, labels are used to identify sections such as chapters. However, there is no necessary relationship between the ordinal page number and the page label. When a page label is present, Acrobat displays both the page number and the label in a form such as "IV-3 (42 of 109)".
Note: The internal data structures in a PDF file refer to the first page as page 0, not page 1. The Assembler service and viewer applications always refer to the first page as page 1.
The Assembler service also enables you to add the page label as content on the page itself, in a header, footer, watermark, background, or table of contents. To do this, you use the PageLabel built-in key within a StyledText element. See Specifying styled text for details.

 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/livecycle/es/sdkHelp/programmer/sdkHelp/assemblePDFPage_labels.104.1.html