Take a survey

Developing Applications Using APIs > Assembling PDF Documents > Adding and Manipulating Page Content > Adding and removing headers and footers > Removing headers and footers

Removing headers and footers
You can use the NoHeaders and NoFooters elements to specify that the pages in a given scope should not have headers or footers. You can specify the alternation attribute for either of these elements, as described in Odd and even pages.
Note: You cannot specify both Header and NoHeaders or both Footer and NoFooters in the same scope.
This example specifies that there should be no headers in the document. Any headers that were added to either of the source documents previously, for example by Acrobat or the Assembler service, are removed.
Example: Removing headers
<PDF result="headlessDoc.pdf">
	<NoHeaders/>
	<PDF source="doc1.pdf"/>
	<PDF source="doc2.pdf"/>
</PDF>	
In this example, a header is specified for the result document. The presence of NoHeaders in a lower scope means that the header will not apply to the pages of doc2.pdf.
Example: Removing headers from specific sources
<PDF result="assembledDoc.pdf">
	<Header styleReference="general"/>
	<PDF source="doc1.pdf">
	<PDF source="doc2.pdf">
		<NoHeaders/>
	</PDF>
	<PDF source="doc3.pdf"/>
</PDF>
Note: The NoWatermarks and NoBackgrounds elements are used in the same way for watermarks and backgrounds.

 

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_content.103.4.html