5 Answers, 1 is accepted
0
Hello Paolo,
The available device information settings are listed in PDF Device Information Settings help article.
Greetings,
Steve
the Telerik team
The available device information settings are listed in PDF Device Information Settings help article.
Greetings,
Steve
the Telerik team
Q3’11 of Telerik Reporting is available for download. Register for the What's New in Data Tools webinar to see what's new and get a chance to WIN A FREE LICENSE!
0
Michele
Top achievements
Rank 2
answered on 28 Nov 2011, 04:51 PM
Hello Steve,
no I was meaning I need to print a document with the page count, if I set as device information I can't tell the report to add context information ad an ID or pagecount...
no I was meaning I need to print a document with the page count, if I set as device information I can't tell the report to add context information ad an ID or pagecount...
0
Hello Paolo,
Your question and goals are not clear at all. Where does this ID come from and where/how do you plan to use it? I've pointed you to the device information settings as you can use them for such information, specifically via the JavaScript attribute you can control numerous variables in a PDF document. For more info refer to Acrobat JavaScript Scripting Guide.
Regards,
Steve
the Telerik team
Your question and goals are not clear at all. Where does this ID come from and where/how do you plan to use it? I've pointed you to the device information settings as you can use them for such information, specifically via the JavaScript attribute you can control numerous variables in a PDF document. For more info refer to Acrobat JavaScript Scripting Guide.
Regards,
Steve
the Telerik team
Q3’11 of Telerik Reporting is available for download. Register for the What's New in Data Tools webinar to see what's new and get a chance to WIN A FREE LICENSE!
0
Michele
Top achievements
Rank 2
answered on 29 Nov 2011, 05:13 PM
Hello Steve,
I use a reportbook to concatenate some reports (in the truth the report is always the same , called with different parameters), the export to pdf is the composition of those report and got a total number of pages (let's consider 10 for simplify), I need to store in the single report the information that report 1 (ID=1, PageCount=3) report2 (ID=30, PageCount = 5) report3(ID=66, PageCount=2) ... if there's a metadata filed I'll format as I need inserting those info... for now the method I've found is a static method that writes to a tmp file, then process it as I need and delete it... but I would like to have a more clean solution...
I use a reportbook to concatenate some reports (in the truth the report is always the same , called with different parameters), the export to pdf is the composition of those report and got a total number of pages (let's consider 10 for simplify), I need to store in the single report the information that report 1 (ID=1, PageCount=3) report2 (ID=30, PageCount = 5) report3(ID=66, PageCount=2) ... if there's a metadata filed I'll format as I need inserting those info... for now the method I've found is a static method that writes to a tmp file, then process it as I need and delete it... but I would like to have a more clean solution...
0
Hi Paolo,
Thank you for the clarification - the answer is no, there is no cleaner solution. The one we thought of is creating properties for each info you need, and utilize this info in the report expressions via user functions. Sounds somewhat like what you are already doing.
Kind regards,
Steve
the Telerik team
Thank you for the clarification - the answer is no, there is no cleaner solution. The one we thought of is creating properties for each info you need, and utilize this info in the report expressions via user functions. Sounds somewhat like what you are already doing.
Kind regards,
Steve
the Telerik team
Q3’11 of Telerik Reporting is available for download. Register for the What's New in Data Tools webinar to see what's new and get a chance to WIN A FREE LICENSE!