문제

I'm using DDX to add headers, footers, and pagination to PDF documents. If possible I would like the header for the first page of each file to be blank, but then to have headers for the remaining pages.

I've looked through the documentation and can't find a way to do this. It seems like a commonly used feature so I'm guessing there must be some way to implement it.

도움이 되었습니까?

해결책

(From the comments)

You might be able to achieve this effect by using multiple <PDF> tags: one for the first page and another for pages 2-N, with a nested <Header> tag.

ie :

 <PDF pages="1" src="c:/path/someFile.pdf">
 ...
 </PDF>
 <PDF pages="2-last" src="c:/path/someFile.pdf">
    <Header...>
 </PDF>
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top