diogoveloso.82 Posted November 9, 2007 Share Posted November 9, 2007 Hi fellows... I've searched a lot about this...but did't find a good answer...even an answer... most of the topics don´t hava replies... So... i'll try again... I want to put some permissions on my pdf file (that i see on brwowser) .. If i do it on my code before i generate the pdf it works fine... but when i try to use iReport option (Export Options - PDF - Permissions) it simply doesn´t work... so i opened my .jrxml to find this "line" but also couldn´t find it. How can i make this part works (Export Options - PDF - Permissions) on iReport? Is something that i'm doing wrong or some bug? Some feature that is not applicable yet?? And one last question.. when i set the permission to, for example, 1000000 (thats iText) where does ireport put this on .jrxml?? Any help would be usefull, Thxs to all Link to comment Share on other sites More sharing options...
martynhiemstra Posted November 9, 2007 Share Posted November 9, 2007 I'm not sure but I think those pdf settings in iReport are used when you create a pdf from within iReport not when you export it in your own application. If this is the case then it would explain why the password and permission level etc is never put in the jrxml file. But I'm not 100% sure. Link to comment Share on other sites More sharing options...
diogoveloso.82 Posted November 9, 2007 Author Share Posted November 9, 2007 Thks martynhiemstra, That´s makes sence.... due to when i put password (both owner and user) it seemed it doesn´t work... but maybe that´s why... those settings may work only for reports generate whitin ireport.. thanks a lot.. only to be sure is there someone on the project that can confirm that?? Thanks Link to comment Share on other sites More sharing options...
martynhiemstra Posted November 12, 2007 Share Posted November 12, 2007 Can you use the same connection in iReport as you use when generating reports and then generate a pdf file in iReport? Under the build menu option you have a pdf build option. If the pdf file that is generated in iReport is secured then it will confirm my hunch. Link to comment Share on other sites More sharing options...
diogoveloso.82 Posted November 12, 2007 Author Share Posted November 12, 2007 Actually i tried to run my report from inside ireport whithin some pdf export configurations... and it really works.... using the same report and same configuration, from outside(API), it didt´t work.... so those configuration only works for reports generated from ireport . If you want to put this kind of configuration you should use it before printing you report from your API..... thnks for your help martynhiemstra :P ... :woohoo: And i hope it will help some guys having this doubt... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now