Re: [iText-questions] renderInfo.getText() gives empty String

2012-10-24 Thread anand035
You are right Kevin. Image is placed accurately in regular PDFs. The one I am working is a massive one, created in autocad with. 20 layers. I need to study chapter 14 in detail. I will work on coordinate scaling and get back to you with my findings. Once again thanks for your time.. -- View th

Re: [iText-questions] renderInfo.getText() gives empty String

2012-10-24 Thread Kevin Day
The coordinates returned by TextRenderInfo are going to be in user-space. Make sure that an appropriate coordinate system is selected when you are doing your image placement. I'm not sure what you mean by 'zoom factor' - if you mean the zoom that is set in Acrobat when viewing the PDF, no that wo

Re: [iText-questions] renderInfo.getText() gives empty String

2012-10-24 Thread anand035
thanks all for your prompt reply. I was using 5.1.3 and then I tried using 5.3.3, now I am getting the most texts from the map pdf. I guess only the those that I can select on Acrobat. Though, I am not sure whether it is identifying location correctly. For example, I get the location like this //

[iText-questions] Greek Characters not displaying after migration 2.1.7 to 5.3.3

2012-10-24 Thread Kenan Azam
Hi there, I successfully migrated from 2.1.7 to 5.3.3 however, but the greek characters are not displaying anymore. For 2.1.7 the following seemed to suffice to show greek characters, BaseFont bf = BaseFont.createFont(fontPath+ "verdana.ttf", BaseFont.IDENTITY_H, BaseFont.NOT_EMBEDDED);

Re: [iText-questions] HTML To PDF

2012-10-24 Thread Santiago, Benito
Thank you again. I am so sorry for being pain...I try not to ask unless I exhausted all I can think of. I downloaded and referenced the Helper class. And it works, however... The images don't retain their size set in the HTML code. I have large images that are "shrunk" (scaled down). When pa

Re: [iText-questions] Adding Content Stream to Existing PDF

2012-10-24 Thread 1T3XT BVBA
On 24/10/2012 19:10, pennettat wrote: > it seems that is not possible because PdfStamper does not implement > IDisposable interface to C# cannot use it in this context. Have you run into > this? Could you please learn to walk before trying to run? Go to http://kuujinbo.info/iTextInAction2Ed/index.

Re: [iText-questions] Adding Content Stream to Existing PDF

2012-10-24 Thread pennettat
Thanks for this. My PDF Fu is indeed near non-existent. Just testing for a project. However, when I use using (PdfStamper stamper = new PdfStamper(reader, ms)) { ... } it seems that is not possible because PdfStamper does not implement IDisposable interface to C# cannot use it in this context. Ha

Re: [iText-questions] HTML To PDF

2012-10-24 Thread 1T3XT BVBA
On 24/10/2012 18:49, Santiago, Benito wrote: > Thank you for this information. However this demo uses HTMLWorkerHelper. I am > completely lost as to where this exists... > > I looked through everything I could think of in the iTextSharp.dll and I > can't find a reference to this object/class. Yo

Re: [iText-questions] Adding Content Stream to Existing PDF

2012-10-24 Thread 1T3XT BVBA
Hello, I'm not sure if this answer will reach you, because you're not officially registered on the mailing-list (I had to approve your question manually). There are two answers to your question. On 24/10/2012 17:25, pennettat wrote: > Hi all, > > I am new to the iText community and am using the

Re: [iText-questions] HTML To PDF

2012-10-24 Thread Santiago, Benito
Thank you for this information. However this demo uses HTMLWorkerHelper. I am completely lost as to where this exists... I looked through everything I could think of in the iTextSharp.dll and I can't find a reference to this object/class. I can see the sample code using it, but the sample code

[iText-questions] Adding Content Stream to Existing PDF

2012-10-24 Thread pennettat
Hi all, I am new to the iText community and am using the C# version of the library. I have an existing PDF which I have to add content on top of (lines, curves, text, etc). I have the new content given to me in a text file of Content Stream... an example is below of the Content Stream: S

Re: [iText-questions] renderInfo.getText() gives empty String

2012-10-24 Thread Kevin Day
Last I checked, auto-cad didn't emit glyph based text - it emitted stroke operations. Are you sure that there is text in this file? Can you select the text if you open it in Acrobat? -- View this message in context: http://itext-general.2136553.n4.nabble.com/renderInfo-getText-gives-empty-Str

Re: [iText-questions] HTML To PDF

2012-10-24 Thread 1T3XT BVBA
On 24/10/2012 14:26, Santiago, Benito wrote: > My question is, does anyone have a sample that I can learn from (if > it’s even possible) to convert HTML Text into PDF Text, while > preserving the formatting? (ie: Paragraphs, Bold, Italics, Font Size, > etc…) You're using HTMLWorker, you should s

Re: [iText-questions] Merge PDF created with LiveCycle

2012-10-24 Thread 1T3XT BVBA
On 24/10/2012 15:34, Danilo Nicolò wrote: > PDF_Final = PDF1 (static) + PDF2 (dynamic xfa) + PDF3 (static) > > is it possible that? No, that's not possible. You'd have to flatten PDF2 first (if that's an option for you). Another option would be to put the PDF1, PDF2 and PDF3 together in one Port

Re: [iText-questions] Using iTextSharp v5.3.3.0 in VB.NET to digitally sign a PDF

2012-10-24 Thread José Santiago Bonilla Pazmiño
You are right, just checked C# source, my mistake. Regards, Jose. El miércoles, 24 de octubre de 2012, Hyuga escribió: > Jose, thanks for your answer, but I've tried the before making > the question, and haven't found anything. > > If I simply make a search of the words "IExternal" I can find

Re: [iText-questions] X509Certificate - NotBefore and NotAfter

2012-10-24 Thread José Santiago Bonilla Pazmiño
Thanks for your reply, so I think documentation is misleading that dates are compared in UTC instead of local. Regards, Jose. El miércoles, 24 de octubre de 2012, Alekz ! escribió: > Here are my 2 cents: > > I've found a similar issue some time ago, as viewed in the following > verification me

Re: [iText-questions] X509Certificate - NotBefore and NotAfter

2012-10-24 Thread José Santiago Bonilla Pazmiño
You are right Paulo, it is a BC class. Org.BouncyCastle.X509.X509Certificate I will direct the question to them as suggested. Regards, Jose. El miércoles, 24 de octubre de 2012, Paulo Soares escribió: > What is the class? If it's a BC class you'll have to direct the > question to them. > > Pa

[iText-questions] Merge PDF created with LiveCycle

2012-10-24 Thread Danilo Nicolò
Hi everybody, I have 3 pdf. The first and latest is static pdf created with iText, the 2th pdf is created with adobe livecycle. My operation should be : PDF_Final = PDF1 (static) + PDF2 (dynamic xfa) + PDF3 (static) is it possible that? Regards, Danilo ---

[iText-questions] HTML To PDF

2012-10-24 Thread Santiago, Benito
Hello everyone, I am writing a website application where I allow the user to design components that are to be used (dynamically) in the creation of a PDF letter. For example, the letterhead, footer and body of the PDF letter created may change under certain options. The control I am utilizing

Re: [iText-questions] X509Certificate - NotBefore and NotAfter

2012-10-24 Thread Alekz !
Here are my 2 cents: I've found a similar issue some time ago, as viewed in the following verification method I wrote: Dim fails() as Object Dim pk as iTextSharp.text.pdf.security.PdfPKCS7Dim af As iTextSharp.text.pdf.AcroFields Dim sigNames As List(Of String) '// Some code resumed for cla

Re: [iText-questions] rights question

2012-10-24 Thread iText Info
Op 24/10/2012 10:42, chitgoks schreef: > hi. is itext capable of modifying a pdf file's rights. like open, > save/readonly, etc? Is the PDF already protected? If so: do you have the owner password / private key needed to decrypt it? > if so, what other rights are possible to change? See ISO-3

Re: [iText-questions] Row span and RTL bug

2012-10-24 Thread Paulo Soares
I'll have a look. Paulo On Tue, Oct 23, 2012 at 10:31 PM, Vahid Nasiri wrote: > Hello, > Setting the row span works fine in LTR conditions, but when I set the run > direction to RTL, currentColIdx will be -1. > > = > > private void SkipColsWithRowspanAbove() { >

Re: [iText-questions] I am using version 5.1.2 : renderInfo.getText() gives empty String

2012-10-24 Thread Paulo Soares
Update to the latest version and post something for us to see. Paulo On Wed, Oct 24, 2012 at 3:39 AM, anand035 wrote: > I am using version 5.1.2 > > > > -- > View this message in context: > http://itext-general.2136553.n4.nabble.com/renderInfo-getText-gives-empty-String-tp4656702p4656703.html >

Re: [iText-questions] X509Certificate - NotBefore and NotAfter

2012-10-24 Thread Paulo Soares
What is the class? If it's a BC class you'll have to direct the question to them. Paulo On Tue, Oct 23, 2012 at 11:50 PM, José Santiago Bonilla Pazmiño wrote: > Hi, I am using iTextsharp, and found the following issue with signature > verification. According to the methods: > > /// > /// The ti

[iText-questions] rights question

2012-10-24 Thread chitgoks
hi. is itext capable of modifying a pdf file's rights. like open, save/readonly, etc? if so, what other rights are possible to change? can anyone please point me to a page if there ever is one? or you can enumerate them here instead. your inputs are appreciated. thank you