I have a specific requirement to create the PDF files on fly (dynamically retrieve the content from external systems like some product data). Requirement is to use a PDF template (like some image section, description of the product which is from external system or think this data is in CRX) and I should provide a link like "Download product datasheet" for each product details page. How would I achieve this using CQ? I know we have PDF rewriters which converts each page and uses some xsl stylesheet to display the page in PDF files. But that doesn't seem to be working right for me. And how can I enable the authors to change the design of the PDF template (which is a CQ component). How can I override the default PDF rendering of CQ to my own implementation or something. Actually what is the best way to achieve this?