PDF Orientation Issue When Using Java Transformers

book

Article ID: 127242

calendar_today

Updated On:

Products

CA Spool

Issue/Introduction

After having migrated to the CA Spool Java transformers some of the PDF reports, which had oriented correctly under the AFP transformers, are no longer oriented correctly under the Java Transformers.

Environment

Release:
Component: CSPOOL

Resolution

Use the "Best Viewed Rotation" component of the A2PD Java Transformers.
Edit the A2PD.d2eproj as per the instructions below:
1) In the header of the AFP Parser component change the output from "PDF Generator" to "Best Viewed Rotation".

    <component name="AFP Parser"  
               type="afpparser">  
        <output>Best Viewed Rotation</output>  


2) Include a new component "Best Viewed Rotation": PDF Generator

    <component name="Best Viewed Rotation"      
               type="bestviewedrotation">       
        <output>PDF Generator</output>          
        <parms bestRotation="AsPerTextElement"/>
   </component>                                


3) Keep the component "PDF Generator" as is.

Additional Information

https://docops.ca.com/ca-spool/14-0/en/customizing-java-transformers/java-transformer-components/best-viewed-rotation