Expand my Community achievements bar.

Re-order PDF pages in reverse order using DDX

Avatar

Level 1

Hi,

I am trying to re-order Combined PDF pages from (eg. 100-1) reverse order, but not able to do it in DDX, not supported, shows validation error. (Supports only lower to higher value in pages attribute)

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

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

<PDF result='out.pdf'>

<PDF source='InDoc.pdf' pages='last-1' />

</PDF>

</DDX>

Tried to add individual pages, it worked, but if the combined PDF pages is more than the specified DDX pages, shows error, page not found.

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

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

<PDF result='out.pdf'>

<PDF source='InDoc.pdf' pages='last-5' />

<PDF source='InDoc.pdf' pages='last-4' />

<PDF source='InDoc.pdf' pages='last-3' />

<PDF source='InDoc.pdf' pages='last-2' />

<PDF source='InDoc.pdf' pages='last-1' />

</PDF>

</DDX>

Any other way to re-order pages in reverse order, using assembler.

Shaji

0 Replies