Expand my Community achievements bar.

Exclude some pages from numbering in DDX

Avatar

Level 2

Hi,

I have a need to exclude certain pages/documents from displaying the page number in an assembled document.

For example, if there are 10 documents that i'm assembling together, a few documents in between should not have the Page numbers in the Footer.

i.e. if these 10 documents contribute to a total of 20 pages, currently it displays as Page 1 of 20, Page 2 of 20 etc.

If i do not want say about 5 pages to display the number, it should display as Page 1 of 15, Page 2 of 15, followed by the 5 pages that do not have the page numbers, and then remaining pages like Page 3 of 15 etc.

Currently we use DDX Footer tags like "<_PageNumber/> of <_LastPageNumber/>".

Below is a sample DDX that we use.

Please assist me on this.

Sample DDX:

<?xml version='1.0' encoding='UTF-8' ?>

<DDX xmlns='http://ns.adobe.com/DDX/1.0/'>

    <PDF result='out.pdf'>

        <Footer replaceExisting='true'>

            <Right>

                <StyledText font-size='8pt' font-family='Helvetica'>

                    <p>Page <_PageNumber/> of <_LastPageNumber/>

                    </p>

                </StyledText>

            </Right>

        </Footer>

        <Watermark rotation='45' scale='100%' opacity='10%' fitToPage='true'>

            <StyledText font-size='56pt' font-family='Helvetica'>

                <p>

                    <b>DRAFT</b>

                </p>

            </StyledText>

        </Watermark>

        <PageMargins left='0.5in' top='0.5in' right='0.5in' bottom='0.2in' alternation='None' />

        <PDF source='source0' bookmarkTitle='chap0'/>

        <PDF source='source1' bookmarkTitle='chap1'/>

        <PDF source='source2' bookmarkTitle='chap2'/>

        <PDF source='source3' bookmarkTitle='chap3'/>

        <NoXFA/>

    </PDF>

</DDX>

Thanks,

Karthic

0 Replies