Re: [iText-questions] iTextSharp instance of BouncyCastle conflicting with standalone BouncyCastle library

2016-03-20 Thread dobrinski
Hi, How did you managed to solve this problem? I am facing the same problem and I do not know how to solve it. Thank you! -- View this message in context: http://itext.2136553.n4.nabble.com/iTextSharp-instance-of-BouncyCastle-conflicting-with-standalone-BouncyCastle-library-tp4656946p4661017.

Re: [iText-questions] ItextSharp - Color Value Outside Range Error

2015-06-23 Thread iText mailing list
On 6/23/2015 23:09 PM, Kreusch, Doug K wrote: I am getting the error message “Color value outside range 0-255” with the following code: template.SetRGBColorFillF(0xFF, 0xFF, 0xFF); Isn’t “0xFF” = 255? Also, I get the same error with any value greater than “0x01”. 1. The mailing-list has

[iText-questions] ItextSharp - Color Value Outside Range Error

2015-06-23 Thread Kreusch, Doug K
I am getting the error message "Color value outside range 0-255" with the following code: template.SetRGBColorFillF(0xFF, 0xFF, 0xFF); Isn't "0xFF" = 255? Also, I get the same error with any value greater than "0x01". Any suggestions? Thanks, Doug Thi

Re: [iText-questions] iTextSharp documentation

2015-03-20 Thread iText mailing list
On 3/19/2015 19:11 PM, Eric Scallin wrote: Hello, I am beginning a project using the iTextSharp library and have a problem with the included _iTextSharp.xml_ documentation file. Much of the documentation does not work with Intellisense because it is not formatted correctly. For example, th

[iText-questions] iTextSharp documentation

2015-03-20 Thread Eric Scallin
Hello, I am beginning a project using the iTextSharp library and have a problem with the included iTextSharp.xml documentation file. Much of the documentation does not work with Intellisense because it is not formatted correctly. For example, this block DOES show in Intellisense: [cid:im

Re: [iText-questions] Itextsharp PDF Parsing Font Requirement

2015-01-06 Thread iText mailing list
On 1/6/2015 6:04 AM, Ajit Makvana wrote: why there is need of font files/[FontName.afm]/ in itextsharp library Those files contain font metrics (AFM = Adobe Font Metrics). They are needed to calculate the dimensions of snippets of text (height, width). The 14 AFM files shipped with iTextSharp

[iText-questions] Itextsharp PDF Parsing Font Requirement

2015-01-05 Thread Ajit Makvana
why there is need of font files* [FontName.afm]* in itextsharp library and without those font files can we extract text from PDF files and for newly introduced fontface itextsharp is useful to extract text from PDF or Not? if not then why..?

[iText-questions] ItextSharp Winrt

2014-12-18 Thread Julien Duprat
Hello, THank you for your contribution on develop Winrt Api for ITextSharp it works like a sharp. I have a little question : Have you got an image sample from WriteableBitmap ? I try to open image from KnowFolder.Documents and i can't load from byte[]... THank you for your help. Julie

Re: [iText-questions] itextsharp headers

2014-07-06 Thread iText mailing list
This seems like a task for a page event (more specifically onEndPage()) On 7/6/2014 10:10 AM, Randy E. Hoover wrote: I have written headers for the double table/column format on my PDF ... all is great except I want the headers to dynamically be placed with the day and area in the header as c

[iText-questions] iTextSharp - How to read PDF with various columns

2014-04-04 Thread Marco Araujo
Hello people, I'm trying unsuccessfully to read a PDF that has in its pages 1, 2 and 3 columns. I know the width of each of them but do not know how to read them. Currently I read a page with 1 column with the code below: ExtractText = PdfTextExtractor.GetTextFromPage (PdfReader, page, strat

[iText-questions] iTextSharp XMLWorkerHelper ParseXHtml - Full table width problem on landscape document

2014-03-11 Thread Flavio Maccarrone
Hi all, please see my question on Stack Overflow: http://stackoverflow.com/questions/22321031/how-to-set-full-table-width-on-landscape-document-with-itextsharp-xmlworkerhelpe I have a problem during PDF rendering on landscape document. Resulting width seems to be the maximum of a

[iText-questions] iTextSharp Class to Create PDF files

2014-01-22 Thread Hugh McLaughlin
Hello everyone and thanks for your help in advance. I want to create a vb.net class that uses iTextSharp to create the PDF, then return it to the calling application, that in turn can either save it to a file or write it to a browser. I have tried several ideas to do this without success. For ex

[iText-questions] iTextSharp adding images

2013-12-23 Thread Eco Lopes
Hi, I've been trying to add some content to PDFs using iTextSharp and I'm having a problem. I'm using PdfStamper to copy a page from a source and then add an image and some text to it. The problem is the copied content isn't being copied right: the original text formatting changes and seems to ge

Re: [iText-questions] iTextSharp SmallCaps

2013-11-14 Thread iText mailing list
On 11/14/2013 4:14 PM, Jerry Hohler wrote: > I have business cards that use small caps. How to I create a pdf > using small caps? Using a small caps font. How else? Can you elaborate on the background of your question? What have you tried? What didn't work? Did you try these examples: http://ite

[iText-questions] iTextSharp SmallCaps

2013-11-14 Thread Jerry Hohler
I have business cards that use small caps. How to I create a pdf using small caps? Jerry Hohler Application Developer Envision, Inc. 2301 S. Water St. Wichita, KS 67213 O: 316-425-7264 F: 316-267-4312 www.envisionus.com Envision: To improve the quality of life and pro

Re: [iText-questions] Itextsharp annotations modified after digital signing

2013-11-14 Thread hichiu
Thankss Michael, my careless mistakes... Everything solved now!! GREATGREAT -- View this message in context: http://itext-general.2136553.n4.nabble.com/Itextsharp-annotations-modified-after-digital-signing-tp4659401p4659455.html Sent from the iText - General mailing list archive at Nabble.c

Re: [iText-questions] Itextsharp annotations modified after digital signing

2013-11-14 Thread hichiu
Thanks Michael, I didnt think of adding text to the appearance. It works really great for my first signing without annotation modified warning. But here comes another problem discovered... when i made the second signing and annotation by the same code, the annotation modified warning appear again

Re: [iText-questions] Itextsharp annotations modified after digital signing

2013-11-13 Thread hichiu
Thanks Michael, it works with comment.SetAppearance(PdfName.N, highlight_ap); comment.Put(PdfName.M, pdfdate); comment.Put(PdfName.NM, new PdfString("5e1f2eae-91ef-45bd-bc82-8e30be10a7bd")); comment.Remove(PdfName.CONTENTS); ... but the free

Re: [iText-questions] Itextsharp annotations modified after digital signing

2013-11-13 Thread hichiu
Michael, Even I did both (a) and (b), its failed... Attached is my code in C# and the file before and after signing sign_sha256.txt blank_2.pdf

Re: [iText-questions] Itextsharp annotations modified after digital signing

2013-11-12 Thread hichiu
anyone can help? pls -- View this message in context: http://itext-general.2136553.n4.nabble.com/Itextsharp-annotations-modified-after-digital-signing-tp4659401p4659435.html Sent from the iText - General mailing list archive at Nabble.com. --

Re: [iText-questions] Itextsharp annotations modified after digital signing

2013-11-08 Thread hichiu
Hi Michael, I have tried to add the annotation with appearance but not succeeded. Below is my addannotation method, any idea? -- PdfContentByte canvas = pdfStamper.GetUnderContent(1); Rectangle annotRect = new Rectangle

Re: [iText-questions] Itextsharp annotations modified after digital signing

2013-11-05 Thread hichiu
blank_2.pdf here is the pdf with error when "validate all signatures" in adobe reader. -- View this message in context: http://itext-general.2136553.n4.nabble.com/Itextsharp-annotations-modified-after-digital-signing-tp4

Re: [iText-questions] iTextSharp SVG tag support

2013-09-25 Thread iText Info
Op 26/09/2013 5:21, vidya jatheesh schreef: > Do you support SVG tag in html or any drawing in iTextSharp? No -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. E

[iText-questions] iTextSharp SVG tag support

2013-09-25 Thread vidya jatheesh
I have a quick question. Do you support SVG tag in html or any drawing in iTextSharp? Thanks, Vidya -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore t

[iText-questions] iTextSharp PDF/A metadata

2013-07-23 Thread Darker4Ever
Hi ! I have a problem with metadata and PDF/A files. I need to add some user properties to PDF and PDF/A files. I added metadata (user properties) with this code : --- Dim reader As New iTextSharp.text.pdf.PdfReader(uploadControl.FileBytes) Dim info As Dictionary(Of String, String)

Re: [iText-questions] iTextSharp FdfWriter Status Message Changes

2013-07-22 Thread Raf Hens
On 12/07/2013 22:17, Potvin, Chet wrote: > A few months back, I submitted a code change (below) to the FdfWriter > and PdfName classes. This code change set a Status dictionary in the > FDF that would trigger a Javascript alert that I am using for AcroForm > validation. This change was forwarded

[iText-questions] iTextSharp FdfWriter Status Message Changes

2013-07-12 Thread Potvin, Chet
consideration in the 5.4.2 release, but I have not noticed the changes implemented. Is this still under consideration? Thank you! Chet Potvin Message: 1 Date: Sat, 13 Apr 2013 10:22:35 +0200 From: 1T3XT BVBA mailto:[email protected]>> Subject: Re: [iText-questions] iTextSharp FdfWriter -

Re: [iText-questions] iTextSharp 5.4.2 and Cell's HorizontalAlignment

2013-06-30 Thread 1T3XT BVBA
On 29/06/2013 8:56, Vahid Nasiri wrote: Cell's HorizontalAlignmentdoes not work/has no effect in the latest iTextSharp for the added elements. (It was working file in previous versions) No it wasn't, at least not in composite mode. The cell's horizontal alignment only works in text mode. You'

Re: [iText-questions] iTextSharp 5.4.2 and Cell's HorizontalAlignment

2013-06-29 Thread Mohammed AlSayani
HorizontalAlignment = 0 ,1 or 2 0 left 1 center 2 right On 29 June 2013 09:56, Vahid Nasiri wrote: > Hello, > Cell's HorizontalAlignment does not work/has no effect in the latest > iTextSharp for the added elements. (It was working file in previous > versions) > > using (var pdfDoc = new Do

[iText-questions] iTextSharp 5.4.2 and Rowspan in RTL conditions

2013-06-29 Thread Vahid Nasiri
Hello,   iTextSharp 5.4.2 won't process Rowspan in RTL conditions. It reports "Index was outside the bounds of the array." in line 494 of PdfPTable.cs file. Here is the sample to reproduce it:       using (var pdfDoc = new Document(PageSize.A4))     {     var pdfWriter

[iText-questions] iTextSharp 5.4.2 and Cell's HorizontalAlignment

2013-06-28 Thread Vahid Nasiri
Hello, Cell's HorizontalAlignment  does not work/has no effect in the latest iTextSharp for the added elements. (It was working file in previous versions)   using (var pdfDoc = new Document(PageSize.A4))     {     var pdfWriter = PdfWriter.GetInstance(pdfDoc, new FileStream("Tes

Re: [iText-questions] iTextSharp 5.4.2 and semi corrupted PDF files

2013-06-28 Thread iText Info
Op 28/06/2013 7:02, Vahid Nasiri schreef: Hello, I've attached a PDF file produced with iTextSharp 5.4.2. When I open it in the Adobe reader, it alarms "An error exists on this page" and it can't display images. If I use iTextSharp 5.4.1 this file is OK. Could you tell us which classes you're u

[iText-questions] iTextSharp HTML to PDF via powershell

2013-06-21 Thread red 888
have been trying to translate a C# code snippet I found here to convert an html file to a PDF with itextsharp into powershell, but I'm having some issues. This is what I have so far: [System.Reflection.Assembl

[iText-questions] ItextSharp, html, colums like newspaper

2013-06-20 Thread Albert Cortada
Hi, I have a problem with i-textSharp and i do not know how to solve it. The scenario is that I have a html text saved in my database. And I have to make a pdf with that text. The text can have , , , , and other html elements. I have to render the pdf in two columns as if it were a ne

Re: [iText-questions] Itextsharp and Slovak/czech language

2013-06-05 Thread _
Have you tried embedding in the PDF and setting a Unicode font? http://stackoverflow.com/a/6186620/2173353 From: Peter Racký [mailto:[email protected]] Sent: Wednesday, June 05, 2013 2:52 PM To: [email protected] Subject: [iText-questions] Itextsharp and Slovak/czech

Re: [iText-questions] Itextsharp and Slovak/czech language

2013-06-05 Thread iText Software
On Wed, 05 Jun 2013 13:52:22 +0200, Peter Racký wrote:Hi i want to askis possible with your itextsharp to code text with slovak/czech special letters ( á,é ) ?Text is ok but special slovak/czech letters are not fine. i searched web for 6 hours and i cannot find solutionI am giving OdkazLink.T

[iText-questions] Itextsharp and Slovak/czech language

2013-06-05 Thread Peter Racký
Hi i want to ask is possible with your itextsharp to code text with slovak/czech special letters ( á,é ) ? Text is ok but special slovak/czech letters are not fine. i searched web for 6 hours and i cannot find solution I am giving OdkazLink.ToString (web pdf) into StringBuilder and looking for

Re: [iText-questions] iTextSharp - Extract images

2013-05-30 Thread iText Software
On Thu, 30 May 2013 10:43:48 +0200, Alessio Balloni wrote:Still do not know why inserting an image I can not have the same bytes when I reread them. That was explained yesterday:Your statement "I only know that serializing and deserializing objects must produce same result" won't be true in many

Re: [iText-questions] iTextSharp - Extract images

2013-05-30 Thread iText Software
On Thu, 30 May 2013 10:07:41 +0200, Alessio Balloni wrote:This sub works well but images extracted (the ones that have BITSPERCOMPONENTS = 8) can’t be used.As nobody can reproduce this problem without having access to the PDFs you're talking about, you shouldn't expect an answer.-

Re: [iText-questions] iTextSharp - Extract images

2013-05-30 Thread iText Software
On Thu, 30 May 2013 10:07:41 +0200, Alessio Balloni wrote:What's your problem?My problem is that you're taking away precious time that could have been used on the next release (due tomorrow, but postponed because people fail to ask question in a correct way). I hope you understand. You get what y

Re: [iText-questions] iTextSharp - Extract images

2013-05-30 Thread iText Software
On Thu, 30 May 2013 10:07:41 +0200, Alessio Balloni wrote:this is why I’m writing to the support.Er... Just to make sure you understand: YOU ARE NOT MAILING TO iText SUPPORT!!!You are mailing to the online mailing list AND THAT'S TOTALLY DIFFERENT.In order for you to write to support, you NEED TO

Re: [iText-questions] iTextSharp - Extract images

2013-05-29 Thread iText Mailing List
On Wed, 29 May 2013 15:01:52 +0200, Alessio Balloni wrote:I know it’s an Image because the class name provided by someone is ImageBut when you read chapter 10 of iText in Action, you discover that the Image class can produce either Image XObject, or Form XObjects.In other words: in some cases, th

Re: [iText-questions] iTextSharp - Extract images

2013-05-29 Thread iText Mailing List
On Wed, 29 May 2013 13:37:33 +0200, Alessio Balloni wrote:Hi all,I use iTextSharp to add an image at the top of some existing pdf document.The image is a QR code image.You say it's an image, as if you were talking about an Image XObject.In reality, it's not an Image XObject, but a Form XObject. B

Re: [iText-questions] ITextSharp doesn´t read this pdf

2013-05-29 Thread Alexis Pigeon
Hi Vishal, On 29 May 2013 13:44, Vishal S D wrote: > I Need help on ligature pdf examples using Itextsharp can any one help > me in this ? Please don't hijack threads from other issues, but rather create your own. Thanks, alexis -

Re: [iText-questions] ITextSharp doesn´t read this pdf

2013-05-29 Thread David Lestón
your questions about iText here Asunto: Re: [iText-questions] ITextSharp doesn´t read this pdf Hi David, Are you actually expecting this snippet of code to do OCR? I've not inspected in detail the PDF you attached, but I think it only consists of images (resulting from the scanning)

Re: [iText-questions] ITextSharp doesn´t read this pdf

2013-05-29 Thread Vishal S D
I Need help on ligature pdf examples using Itextsharp can any one help me in this ? On Wed, May 29, 2013 at 5:02 PM, Alexis Pigeon wrote: > Hi David, > > Are you actually expecting this snippet of code to do OCR? > > I've not inspected in detail the PDF you attached, but I think it only > cons

Re: [iText-questions] ITextSharp doesn´t read this pdf

2013-05-29 Thread Iliadis Yannis
Hi. To extract text from the PDF, first of all there must be any text. What you have is just a pdf with 2 scanned images. 2013/5/29 David Lestón > Sorry, Here is the psf file. > > ** ** > > Thank you > > ** ** > > *De:* David Lestón [mailto:[email protected]] > *Enviado el:* miércol

Re: [iText-questions] ITextSharp doesn´t read this pdf

2013-05-29 Thread Alexis Pigeon
Hi David, Are you actually expecting this snippet of code to do OCR? I've not inspected in detail the PDF you attached, but I think it only consists of images (resulting from the scanning), and no text at all. Could it be that you are making some wrong assumptions about what the text extraction

Re: [iText-questions] iTextSharp 4 download link?

2013-05-10 Thread cdenby
When I try to add the reference in Visual Studio 2003, I get the Cannot add reference - invalid assembly. That's because the library itself is based on .net 2 and isn't able to be added. A further complication here is that I'm building for .net 2 in visual studio 2003 so I'm thinking that I won't b

Re: [iText-questions] iTextSharp 4 download link?

2013-05-09 Thread iText Mailing List
On Thu, 09 May 2013 22:23:36 +0200, cdenby wrote: > I'm in need of testing iTextSharp in visual studio 2003. Although I'm > using > .net 2.0, I can't get the reference established. > The forum seems to indicate that I need version 4 of iTextSharp, but I > can't > seem to find a location that

[iText-questions] iTextSharp 4 download link?

2013-05-09 Thread cdenby
I'm in need of testing iTextSharp in visual studio 2003. Although I'm using .net 2.0, I can't get the reference established. The forum seems to indicate that I need version 4 of iTextSharp, but I can't seem to find a location that I can actually get that version. Where is that version stored? -

Re: [iText-questions] itextSharp 5.4.1 Add Not Working

2013-04-14 Thread iText Info
Op 14/04/2013 17:08, Geoffrey Moore schreef: I did some testing and it appears that the add is not working for the phrase and chunk objects are not working. It adds the first time, but if I call it a 2nd or 3rd time it does not work. It only displays the first text passed in. Below is the tes

[iText-questions] itextSharp 5.4.1 Add Not Working

2013-04-14 Thread Geoffrey Moore
I did some testing and it appears that the add is not working for the phrase and chunk objects are not working. It adds the first time, but if I call it a 2nd or 3rd time it does not work. It only displays the first text passed in. Below is the test code I used in VB.net Dim l_para1 As New Par

Re: [iText-questions] iTextSharp FdfWriter - Status Message Modification

2013-04-13 Thread 1T3XT BVBA
On 12/04/2013 23:24, Potvin, Chet wrote: > Can this simple code change be considered for contribution to the > iText code base? Yes, I'll forward this to our developers. We've just released iText 5.4.1, but your extra lines will probably be added to 5.4.2. ---

[iText-questions] iTextSharp FdfWriter - Status Message Modification

2013-04-12 Thread Potvin, Chet
I would like to be able to use the FdfWriter class to send a Status message back to the AcroForm that is displayed as an Adobe Javascript alert. This allows me to perform server-side validation of some form inputs and return a message to the user if something needs attention. This is similar t

Re: [iText-questions] iTextSharp

2013-03-29 Thread iText Info
Op 29/03/2013 13:24, Dwayne Morrell schreef: Is there a way to extract the text in partitions. Please read this answer: http://stackoverflow.com/questions/7513209/using-locationtextextractionstrategy-in-itextsharp-for-text-coordinate/7515625#7515625 --

Re: [iText-questions] iTextSharp ? - wide charachters

2013-03-12 Thread Paulo Soares
You need a substitution font. Look for AcroFields.AddSubstitutionFont(). thsi assuming you have a static form. If the form is dynamic you'll need XFAWorker. Paulo On Mon, Mar 11, 2013 at 9:04 PM, Paul Hermans wrote: > I am attempting to fillin a form field with the following code: > > > > > sta

[iText-questions] iTextSharp ? - wide charachters

2013-03-11 Thread Paul Hermans
I am attempting to fillin a form field with the following code: stamper.AcroFields.SetField("form1[0].#subform[0].txtName_CN[0]", recipient. Description_Chinese); the recipient.Description_Chinese is = “ 王怡 “ in the VS debug mode, it looks right to me, but in the generated PDF the field

Re: [iText-questions] itextsharp Fonts

2013-03-04 Thread iText Info
Op 4/03/2013 9:36, [email protected] schreef: Hi I found in the below link: http://www.mikesdotnetting.com/Article/81/iTextSharp-Working-with-Fonts that support 14 fonts of type 1. Obviously you didn't read the complete article. For instance: This method will work directly

Re: [iText-questions] itextsharp Fonts

2013-03-04 Thread iText Info
Font class. Kindly let me know whether it supports windows fonts and UniCode fonts. Thanks, Ponraj.M *From:*iText Info [mailto:[email protected]] *Sent:* Monday, March 04, 2013 1:29 PM *To:* [email protected] *Subject:* Re: [iText-questions] itextsharp Fonts Op 4/03/2013

[iText-questions] itextsharp Fonts

2013-03-03 Thread Ponraj.Muthusamy
Hi, Does iTextsharp supports only 14 fonts. If not soCan you please provide me the sample code to support all windows fonts and Unicode fonts. Thanks, Ponraj.M This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and p

[iText-questions] ItextSharp convert html to pdf

2013-03-03 Thread Fede Gimeno
Hi, I'm using your iTextsharp library to create pdf's dinamically in my web site - I'm using vb.net. I have some html text and I want user to be available to download it. So is there an example using itextsharp that create the pdf from html code, and show the "save as" box to the user? Kind Regar

Re: [iText-questions] itextsharp 5.3.5 lack of documentation, signing issue

2013-02-01 Thread Javier Cobo
I beg your pardon. I'm very new to itext and sourceforge, besides, english is not my mother tongue, and although I help myself with a translator, I not always achieve to express myself the right way. Nevertheless, I'll try to be much more polite in next comments. Thank you very much ---

Re: [iText-questions] itextsharp 5.3.5 lack of documentation, signing issue

2013-01-31 Thread 1T3XT BVBA
On 31/01/2013 14:09, Javier Cobo wrote: > Googling a bit more, I came to the great 'Digital Signatures for PDF > documents' by Bruno Lowagie, and I found there's a complete new way to > do signing from version 5.3.5 I would appreciate it if you downloaded the C# port of the examples of this docu

[iText-questions] itextsharp 5.3.5 lack of documentation, signing issue

2013-01-31 Thread Javier Cobo
My first goal is modify an existent pdf into another in wich every page is the same as the original scaled by 90% in height and a box in the remaining 10% (on the bottom of the page). In that box I'm going to write signing information. Finally, I want to digitally sign the resultant file, with

Re: [iText-questions] iTextSharp in trial and production version

2013-01-10 Thread iText Info
Op 10/01/2013 14:46, chandravathi K schreef: > Then don't we need to procure any license to use this in our > Applications? It depends: are you offering your applications for free under the AGPL? If not, chances are you need a license.

Re: [iText-questions] iTextSharp in trial and production version

2013-01-10 Thread chandravathi K
Hi , Then don't we need to procure any license to use this in our Applications?? On Thu, Jan 10, 2013 at 4:27 PM, Alexis Pigeon wrote: > Hi chandravathi, > > > On 10 January 2013 04:56, chandravathi K wrote: > >> Hi Team, >> >> Is there any differences between iTextSharp in trial and producti

Re: [iText-questions] iTextSharp in trial and production version

2013-01-10 Thread Alexis Pigeon
Hi chandravathi, On 10 January 2013 04:56, chandravathi K wrote: > Hi Team, > > Is there any differences between iTextSharp in trial and production > version?? > > If so can you please let us know those. > There's no such thing as trial and production versions of iTextSharp. Just one version th

[iText-questions] iTextSharp in trial and production version

2013-01-09 Thread chandravathi K
Hi Team, Is there any differences between iTextSharp in trial and production version?? If so can you please let us know those. -- Regards, Chandravathi 9866000296 -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 20

Re: [iText-questions] iTextSharp, Powershell and Headers & Footers

2013-01-01 Thread Paulo Soares
You are using an unsupported version (pre 5) but your comment about events and delegates still stands for other cases. I'll investigate the option to have events and delegates. Paulo On Dec 31, 2012 9:09 PM, "Tim Bernhardson" wrote: > Found the problem…iTextSharp implements events in a ‘unusual

Re: [iText-questions] iTextSharp, Powershell and Headers & Footers

2012-12-31 Thread Tim Bernhardson
Found the problem...iTextSharp implements events in a 'unusual/non-standard way' which Powershell does not work with. Powershell expects an event to be declared using the .NET standard of using "public delegate" and "public event" ( see http://msdn.microsoft.com/en-us/library/aa645739(v=vs.71).

Re: [iText-questions] ItextSharp 5.3.5 currupts some signed PDF with PDFAnnotation

2012-12-29 Thread 1T3XT BVBA
On 27/12/2012 17:56, Marcos de Carvalho Monteiro wrote: I'm using ITextSharp version 5.3.5 to PDF signing and annotating. Recently I received just one PDF file which is being corrupted by my annotation procedure specifically from the second page. OK, this is fixed in the Java version (to b

Re: [iText-questions] ItextSharp 5.3.5 currupts some signed PDF with PDFAnnotation

2012-12-29 Thread 1T3XT BVBA
On 27/12/2012 17:56, Marcos de Carvalho Monteiro wrote: I'm using ITextSharp version 5.3.5 to PDF signing and annotating. Recently I received just one PDF file which is being corrupted by my annotation procedure specifically from the second page. I've found the cause. PdfReader has a metho

Re: [iText-questions] ItextSharp 5.3.5 currupts some signed PDF with PDFAnnotation

2012-12-29 Thread 1T3XT BVBA
On 27/12/2012 17:56, Marcos de Carvalho Monteiro wrote: I'm using ITextSharp version 5.3.5 to PDF signing and annotating. Recently I received just one PDF file which is being corrupted by my annotation procedure specifically from the second page. I found the problem, but I don't know how to

Re: [iText-questions] ItextSharp 5.3.5 currupts some signed PDF with PDFAnnotation

2012-12-28 Thread 1T3XT BVBA
On 27/12/2012 17:56, Marcos de Carvalho Monteiro wrote: I'm using ITextSharp version 5.3.5 to PDF signing and annotating. Recently I received just one PDF file which is being corrupted by my annotation procedure specifically from the second page. You're right. It works on the first page; i

[iText-questions] ItextSharp 5.3.5 corrupts signed PDF after a PDFAnnotation

2012-12-27 Thread Marcos de Carvalho Monteiro
I'm using ITextSharp version 5.3.5 to PDF signing and annotating. Recently I received just one signed PDF file which is being corrupted by my annotation procedure specifically from the second page. If you use my code to annotate on first page the problem does not occurs. The code bellow reproduces

Re: [iText-questions] itextsharp and Powershell - creating tables

2012-12-23 Thread Tim Bernhardson
John: Here is some sample code creating a Left Aligned Table with 2 Columns and a Fixed Width: # iTextSharp Defines New-Variable cAlignCenter -value 1 -Option Constant New-Variable cAlignLeft -value 0 -Option Constant $oHdrTable = New-Object iTextSharp.text.pdf.PdfPTable(2) $oHdrTable.TotalWidth

[iText-questions] itextsharp and Powershell - creating tables

2012-12-22 Thread John T Jensen
I am trying to use Powershell and the itextsharp dll to write a script to convert a lot of text documents into PDF. I need to be able to create tables in the PDFs. I can create documents, add text to them, but I cannot figure out how to create tables. Looking at the assembly, looking for publ

[iText-questions] iTextSharp 5.3.4 & PdfSmartCopy

2012-12-09 Thread Vahid Nasiri
Hello, Here is the fix for the new PdfSmartCopy: public class PdfSmartCopy2 : PdfSmartCopy { public PdfSmartCopy2(Document document, Stream os) : base(document, os) { }   /// /// This is a forgotten feature in iTextSharp 5.3.4. /// Actually its PdfSmartCopy is useles

Re: [iText-questions] iTextSharp on Mono

2012-12-06 Thread iText Info
Op 6/12/2012 8:20, [email protected] schreef: > Can I use iTextSharp on Mono ? Several people have done so in the past. -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile

[iText-questions] iTextSharp on Mono

2012-12-05 Thread aszomor
Dear Developers, Can I use iTextSharp on Mono ? Best Regards, Attila. -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve you

Re: [iText-questions] iTextSharp SVN

2012-11-23 Thread James Cloos
> "VN" == Vahid Nasiri writes: VN> It seems iTextSharp SVN's (https://itextsharp.svn.sourceforge.net/svnroot/itextsharp) VN> is not updated to the last version, right? If one goes to the project page (https://sourceforge.net/projects/itextsharp) one finds that that project has updated to th

[iText-questions] iTextSharp, Powershell and Headers & Footers

2012-11-19 Thread Tim Bernhardson
I am working on using iTextSharp in Powershell, and for the most part everything works pretty well, however working with Headers & Footers is a problem I can't seem to get around. Does anyone have some sample code using the Header & Footer Events in Powershell that they could share? Thanks T

[iText-questions] iTextSharp instance of BouncyCastle conflicting with standalone BouncyCastle library

2012-11-13 Thread Marcus Wong
Hello, I am currently using the iTextSharp library (itextsharp.dll version 5.3) inside a DLL written in C#. I also have a need to include the BouncyCastle crypto library (BouncyCastle.CryptoExt.dll version 1.7.4114.6378) to the same project, for the purposes of encrypting non-PDF files. The refere

[iText-questions] iTextSharp SVN

2012-11-12 Thread Vahid Nasiri
Hello, It seems iTextSharp SVN's (https://itextsharp.svn.sourceforge.net/svnroot/itextsharp) is not updated to the last version, right? Thanks, Vahid -- Everyone hates slow websites. So do we. Make your web apps faster wi

Re: [iText-questions] iTextSharp PdfWriter.PrintScalingNone not working

2012-10-30 Thread Craig van Nieuwkerk
I just did a proper test and AddViewerPreference did actually work, so problem solved. :-) On Tue, Oct 30, 2012 at 6:12 PM, 1T3XT BVBA wrote: > On 30/10/2012 2:37, Craig van Nieuwkerk wrote: > > I have changed the code to use AddViewerPreference but it also doesn't > > seem to work > In that cas

Re: [iText-questions] iTextSharp PdfWriter.PrintScalingNone not working

2012-10-30 Thread 1T3XT BVBA
On 30/10/2012 2:37, Craig van Nieuwkerk wrote: > I have changed the code to use AddViewerPreference but it also doesn't > seem to work In that case, something else could be at play. Can we see the PDF? If you inspect it (by opening it in a text editor), do you see the printscaling being set? ---

Re: [iText-questions] iTextSharp PdfWriter.PrintScalingNone not working

2012-10-29 Thread Craig van Nieuwkerk
I have changed the code to use AddViewerPreference but it also doesn't seem to work Document document = new Document(PageSize.A6); PdfWriter writer = PdfWriter.GetInstance(document, File.Open(@"e:\somefile.pdf", FileMode.CreateNew, FileAccess.ReadWrite)); writer.AddViewerP

Re: [iText-questions] iTextSharp PdfWriter.PrintScalingNone not working

2012-10-29 Thread iText Info
Op 28/10/2012 12:00, Craig van Nieuwkerk schreef: writer.ViewerPreferences = PdfWriter.PrintScalingNone; I don't know about iTextSharp, but the corresponding syntax in iText wouldn't work either. The syntax was changed to writer.addViewerPreference(PdfName

[iText-questions] iTextSharp PdfWriter.PrintScalingNone not working

2012-10-28 Thread Craig van Nieuwkerk
I have a fairly simple piece of code Document document = new Document(PageSize.A6); PdfWriter writer = PdfWriter.GetInstance(document, File.Open(@"C:\development\somefile.pdf", FileMode.CreateNew, FileAccess.ReadWrite)); writer.ViewerPreferences = PdfWriter.Prin

Re: [iText-questions] iTextSharp GetCharacterRenderInfos exception

2012-10-13 Thread Alekz !
[email protected] To: [email protected] Date: Fri, 12 Oct 2012 12:32:12 -0400 CC: [email protected] Subject: [iText-questions] iTextSharp GetCharacterRenderInfos exception Hi, I am using the new TextRenderInfo.GetCharacterRenderInfos method within my own ITextExtractionStrategy.But it

[iText-questions] iTextSharp GetCharacterRenderInfos exception

2012-10-13 Thread Chen, Ming
Hi, I am using the new TextRenderInfo.GetCharacterRenderInfos method within my own ITextExtractionStrategy. But it always gives an exception: Unhandled Exception: System.ArgumentOutOfRangeException: Index and length must refer to a location within the string. Parameter name: length at System.

Re: [iText-questions] iTextSharp digital signature using smart card

2012-09-25 Thread Paulo Soares
There's already a class to do that called X509Certificate2Signature.cs. Paulo On Tue, Sep 25, 2012 at 2:09 PM, sanduche wrote: > I would say that this is C# and iTextSharp problem (not supporting digital > signatures out of box with built in classes). > Anyway I solved problem with custom implem

Re: [iText-questions] iTextSharp digital signature using smart card

2012-09-25 Thread sanduche
I would say that this is C# and iTextSharp problem (not supporting digital signatures out of box with built in classes). Anyway I solved problem with custom implementation of IExternalSignature interface, which uses only standard .NET classes for signing. -- View this message in context: ht

Re: [iText-questions] iTextSharp digital signature using smart card

2012-09-25 Thread iText Info
Op 25/09/2012 13:15, sanduche schreef: > C# implementation behaves in different way. I can use standard .NET > libraries to access MSCAPI and get X509Certificate2 object that has > PrivateKey. Problem is that I don't know how to cast/convert/create > Org.BouncyCastle.Crypto.IICipherParameters from

Re: [iText-questions] iTextSharp digital signature using smart card

2012-09-25 Thread sanduche
Java implementation uses regular KeyStore to acces MSCAPI functionality and PrivateKeySignature constructor accepts PrivateKey available from Keystore. C# implementation behaves in different way. I can use standard .NET libraries to access MSCAPI and get X509Certificate2 object that has PrivateKe

Re: [iText-questions] iTextSharp digital signature using smart card

2012-09-25 Thread 1T3XT BVBA
On 25/09/2012 11:13, sanduche wrote: > I would like to sign pdf using iTextSharp and smart card. > PrivateKeySignature constructor requires > Org.BouncyCastle.Crypto.IICipherParameters object but I don't know how to > create it from X509Certificate2.PrivateKey. I found examples which are using > BC

[iText-questions] iTextSharp digital signature using smart card

2012-09-25 Thread sanduche
I would like to sign pdf using iTextSharp and smart card. PrivateKeySignature constructor requires Org.BouncyCastle.Crypto.IICipherParameters object but I don't know how to create it from X509Certificate2.PrivateKey. I found examples which are using BC and PKCS12/DotNet for converting but none wit

Re: [iText-questions] iTextSharp Object Usages

2012-08-06 Thread 1T3XT BVBA
On 6/08/2012 21:01, Gonçalo Martins wrote: Hi everyone.. I'm pretty new C# programmer and iTextSharp programming usage. Can you help me doing something like create a *new* PDF file (the original will be maintained) from an existing one(passing a file path), adding a new page to it with a certa

[iText-questions] iTextSharp Object Usages

2012-08-06 Thread Gonçalo Martins
Hi everyone.. I'm pretty new C# programmer and iTextSharp programming usage. Can you help me doing something like create a new PDF file (the original will be maintained) from an existing one(passing a file path), adding a new page to it with a certain sentence and image added(with the used font

  1   2   3   4   5   6   >