Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Alternate document pages by orientation using DDX ?

Avatar

Level 4

Hi,

Is it possible to alternate document pages by orientation using ddx?

For example I wish to apply landscape pages one kind of watermark and other to portrait pages.

Any ideas how to implement it?

Thanks, Yan

0 Replies
This widget could not be displayed.

Avatar

Level 10

Avatar

Level 10

Do you mean you wish to apply a specific watermark to landscape pages and a different watermark to portrait pages?

If you know which source documents are landscape and which are portrait, you could apply a specific watermark as follows:

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

    <PDF result="outDoc">

        <PDF source="inDoc1">

        <Watermark fitToPage="true" opacity="25%" rotation="45">

            <StyledText><p><b>Portrait!!</b></p></StyledText>       

        </Watermark>

    </PDF>

        <PDF source="inDoc2">

        <Watermark fitToPage="true" opacity="25%" rotation="-45">

            <StyledText><p><b>Landscape!!</b></p></StyledText>       

        </Watermark>

    </PDF>

    </PDF>

</DDX>

In this example, inDoc1 is portrait and inDoc2 is landscape. The result is attached.

Steve

Do you mean you wish to apply a specific watermark to landscape pages and a different watermark to portrait pages?

If you know which source documents are landscape and which are portrait, you could apply a specific watermark as follows:

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

    <PDF result="outDoc">

        <PDF source="inDoc1">

        <Watermark fitToPage="true" opacity="25%" rotation="45">

            <StyledText><p><b>Portrait!!</b></p></StyledText>       

        </Watermark>

    </PDF>

        <PDF source="inDoc2">

        <Watermark fitToPage="true" opacity="25%" rotation="-45">

            <StyledText><p><b>Landscape!!</b></p></StyledText>       

        </Watermark>

    </PDF>

    </PDF>

</DDX>

In this example, inDoc1 is portrait and inDoc2 is landscape. The result is attached.

Steve

Avatar

Level 2

Avatar

Level 2

Facing the same challenge. Is this possible?

Facing the same challenge. Is this possible?

Avatar

Level 2

Avatar

Level 2

Can somebody of Adobe staff rule out the possibility to apply alternating watermarks for landscape and portrait pages in documents?

Can somebody of Adobe staff rule out the possibility to apply alternating watermarks for landscape and portrait pages in documents?