Re: [iText-questions] chunk deprecated constructors for fixed tabs

2013-07-24 Thread 1T3XT BVBA
On 24/07/2013 19:11, kn...@libero.it wrote: > Pls need info about fixed tabs in pdf, Chunk(DrawInterface separator, float > tabPosition) is now deprecated. Why? The TAB functionality has been completely rewritten in the context of further development of XFA Worker. To support tabs as defined in t

[iText-questions] chunk deprecated constructors for fixed tabs

2013-07-24 Thread kn...@libero.it
Pls need info about fixed tabs in pdf, Chunk(DrawInterface separator, float tabPosition) is now deprecated. Why? Exists another way? Thank you P.S, i had no answare at my first email, i try again ;) -- See everything fro

Re: [iText-questions] Backgrounds from other pdf documents

2013-07-24 Thread 1T3XT BVBA
On 24/07/2013 18:37, Brian Fox wrote: > We'd like to generate a report.pdf document using iText. No problems > so far. We'd like to have the vector contents of logo.pdf repeated in > the background, That would be achieved using page events: http://itextpdf.com/examples/iia.php?id=114 The vect

[iText-questions] Backgrounds from other pdf documents

2013-07-24 Thread Brian Fox
Hi - We'd like to generate a report.pdf document using iText. No problems so far. We'd like to have the vector contents of logo.pdf repeated in the background, say, in a hex pattern. Can iText do something like this? And if so, any tips on getting started? It'd be nice if batik can be avoided

Re: [iText-questions] [SPAM] Re: Can I encrypt with out setting up owner password

2013-07-24 Thread satya.praks
Thanks Michael for your help. That makes sense. On Wed, Jul 24, 2013 at 4:27 PM, mkl [via iText - General] < ml-node+s2136553n4658804...@n4.nabble.com> wrote: > Satya, > > satya.praks wrote > But I don't want to have any owner password for the encrypted pdf. Is that > possible? > > No. > > Cf. s

[iText-questions] [SPAM] Re: [SPAM] Re: Can I encrypt with out setting up owner password

2013-07-24 Thread mkl
Satya, satya.praks wrote > But I don't want to have any owner password for the encrypted pdf. Is that > possible? No. Cf. section 7.6.3.2 Standard Encryption Dictionary of ISO 32000-1:2008 on encryption dictionary entries for the standard security handler: > O string (Required) A 32-byte string

Re: [iText-questions] [SPAM] Re: Can I encrypt with out setting up owner password

2013-07-24 Thread 1T3XT BVBA
On 24/07/2013 12:47, Satya wrote: > But I don't want to have any owner password for the encrypted pdf. In other words: you want a PDF document that doesn't comply with ISO-32000-1. That wouldn't be a PDF document, would it? Follow Michael's advice: use the same value for the user and the owner p

Re: [iText-questions] Can I encrypt with out setting up owner password

2013-07-24 Thread 1T3XT BVBA
On 24/07/2013 12:24, Satya wrote: > We don't need the owner password. When we pass null, it sets up some > random password which we don't need. We just want to bypass that. Have you read ISO-32000-1? Encrypting a PDF without defining an owner password (random or chosen by you) doesn't make any se

Re: [iText-questions] [SPAM] Re: Can I encrypt with out setting up owner password

2013-07-24 Thread Satya
Thanks for your reply Micheal, But I don't want to have any owner password for the encrypted pdf. Is that possible? We just need to have user password. Also, I think it doesn't work if we have same password for user and owner. That's a different case..I am trying to encrypt the pdf with out any ow

[iText-questions] [SPAM] Re: Can I encrypt with out setting up owner password

2013-07-24 Thread mkl
Satya, satya.praks wrote > We don't need the owner password. When we pass null, it sets up some > random password which we don't need. We just want to bypass that. The PDF specification states in the description of the encryption algorithms: If there is no owner password, use the user passwo

Re: [iText-questions] Can I encrypt with out setting up owner password

2013-07-24 Thread Satya
We don't need the owner password. When we pass null, it sets up some random password which we don't need. We just want to bypass that. Thanks, Satya On Wed, Jul 24, 2013 at 3:38 PM, 1T3XT BVBA wrote: > On 24/07/2013 12:02, satya.praks wrote: > > I went through some old topics and they say pass

Re: [iText-questions] Can I encrypt with out setting up owner password

2013-07-24 Thread 1T3XT BVBA
On 24/07/2013 12:02, satya.praks wrote: > I went through some old topics and they say passing null won't > help either. Where does it say that? In the book, it says that passing null means: - for the user password: no password will be added - for the owner password: a random password will be added

[iText-questions] Can I encrypt with out setting up owner password

2013-07-24 Thread satya.praks
Hi, Can I encrypt the PDF with out setting owner password? The method PdfEncryptor.Encrypt doesn't have any overload that doesn't need the owner password. I went through some old topics and they say passing null won't help either. I apologize if I am posting the same question that was already post

Re: [iText-questions] SignWithCAcert error

2013-07-24 Thread 1T3XT
On 23/07/2013 15:53, beppecosta wrote: > Hello, > > I' trying to encrypt a Pdf using the example from the latest white paper of > Bruno Lowagie, at page 66, > with "bcprov-ext-jdk15on-149.jar", "bcmail-jdk15on-149.jar" and > "itextpdf-5.4.1.jar" > > When compiling, I get this error: > > /pdf/SignPd

Re: [iText-questions] How to add text in one line, when use two font tag

2013-07-24 Thread 1T3XT
On 23/07/2013 16:13, amar patil wrote: > |i am using font tag with htmlWriter| HtmlWriter has been removed from iText years ago. It's not present in the Android port of iText. -- See everything from the browser to the da