|
View:
New views
7 Messages
—
Rating Filter:
Alert me
|
|
|
Block Copy from PDFHi list,
I using ItextSharp, I genereting reports in PDF I have a problem I don't like that user can select text (ctrl+c) and paste in document word(ctrl+v). How I can lock the document pdf with itextsharp or other library? Regards Ricardo Sorry for my english I talk spanish |
|
|
Re: Block Copy from PDFUse encryption.
Paulo > -----Original Message----- > From: itextsharp-questions-bounces@... > [mailto:itextsharp-questions-bounces@...] > On Behalf Of scugua > Sent: Tuesday, July 15, 2008 3:06 PM > To: itextsharp-questions@... > Subject: [itextsharp-questions] Block Copy from PDF > > > Hi list, > > I using ItextSharp, I genereting reports in PDF I have a > problem I don't > like that user can select text (ctrl+c) and paste in document > word(ctrl+v). > How I can lock the document pdf with itextsharp or other library? > > > Regards > Ricardo > Sorry for my english I talk spanish Aviso Legal: Esta mensagem é destinada exclusivamente ao destinatário. Pode conter informação confidencial ou legalmente protegida. A incorrecta transmissão desta mensagem não significa a perca de confidencialidade. Se esta mensagem for recebida por engano, por favor envie-a de volta para o remetente e apague-a do seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de usar, revelar ou distribuir qualquer parte desta mensagem. Disclaimer: This message is destined exclusively to the intended receiver. It may contain confidential or legally protected information. The incorrect transmission of this message does not mean the loss of its confidentiality. If this message is received by mistake, please send it back to the sender and delete it from your system immediately. It is forbidden to any person who is not the intended receiver to use, distribute or copy any part of this message. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ itextsharp-questions mailing list itextsharp-questions@... https://lists.sourceforge.net/lists/listinfo/itextsharp-questions |
|
|
Re: Block Copy from PDFHi Paulo
I think that you don't understand me. My application encrypt the file pdf and use desenencrypt program and the user final can view the file pdf, but I don't like that user final can select "text" of my file pdf and can copy the text for example to word. For example I like block the opcion copy I don't like that user copy text and paste in other editor for example word. I like "lock" the file pdf. How I can lock the file pdf with itextsharp? Regards Ricardo
|
|
|
Re: Block Copy from PDFYou need encryption. Read the book "iText in Action" chapter 3.3.3.
Paulo ----- Original Message ----- From: "scugua" <ricardo.jal@...> To: <itextsharp-questions@...> Sent: Tuesday, July 15, 2008 7:58 PM Subject: Re: [itextsharp-questions] Block Copy from PDF > > Hi Paulo > > I think that you don't understand me. > My application encrypt the file pdf and use desenencrypt program and the > user final can view the file pdf, but I don't like that user final can > select "text" of my file pdf and can copy the text for example to word. > For example I like block the opcion copy I don't like that user copy text > and paste in other editor for example word. I like "lock" the file pdf. > How I can lock the file pdf with itextsharp? > > Regards > Ricardo > > Paulo Soares wrote: >> >> Use encryption. >> >> Paulo >> >>> -----Original Message----- >>> From: itextsharp-questions-bounces@... >>> [mailto:itextsharp-questions-bounces@...] >>> On Behalf Of scugua >>> Sent: Tuesday, July 15, 2008 3:06 PM >>> To: itextsharp-questions@... >>> Subject: [itextsharp-questions] Block Copy from PDF >>> >>> >>> Hi list, >>> >>> I using ItextSharp, I genereting reports in PDF I have a >>> problem I don't >>> like that user can select text (ctrl+c) and paste in document >>> word(ctrl+v). >>> How I can lock the document pdf with itextsharp or other library? >>> >>> >>> Regards >>> Ricardo >>> Sorry for my english I talk spanish ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ itextsharp-questions mailing list itextsharp-questions@... https://lists.sourceforge.net/lists/listinfo/itextsharp-questions |
|
|
Re: Block Copy from PDFTo forestall another repetition:
ricardo, you need *PDF* encryption, which is something you do in iText. It is well documented in the book. On Tue, Jul 15, 2008 at 5:00 PM, Paulo Soares <psoares@...> wrote: You need encryption. Read the book "iText in Action" chapter 3.3.3. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ itextsharp-questions mailing list itextsharp-questions@... https://lists.sourceforge.net/lists/listinfo/itextsharp-questions |
|
|
Re: Block Copy from PDFPaulo and Ross
Thanks for your help. I resolve my problem with PdfReader reader = new PdfReader("A03539.pdf"); PdfStamper stamper = new PdfStamper(reader, new FileStream("A03539_f.pdf", FileMode.Create)); stamper.SetEncryption(PdfWriter.STRENGTH128BITS, "", "", PdfWriter.ALLOW_SCREENREADERS | PdfWriter.ALLOW_PRINTING | PdfWriter.AllowPrinting); stamper.SetFullCompression(); stamper.Close(); wiht this code I only print the document and this is "lock". I have a doubt, How I can block Save o Save as..? or how I hide toolbar of Adobe? I only like thar user final can only print the document, I don't like the user download the file Regards Ricardo I download Itext in Action book
|
|
|
Re: Block Copy from PDFImpossible.
On Thu, Jul 17, 2008 at 10:57 AM, scugua <ricardo.jal@...> wrote:
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ itextsharp-questions mailing list itextsharp-questions@... https://lists.sourceforge.net/lists/listinfo/itextsharp-questions |
| Free Forum Powered by Nabble | Forum Help |