Re: [iText-questions] Error reading TIFF Image

2010-08-24 Thread mkl
Adam, Adam Mork wrote: > Hi Illiadis, > > So you and mkl are definitely right, the files I were pointing to show up > as JPEG when I open them in notepad, but that is because google sites is > converting them when I upload them. If I look at the original files in > notepad, they do not appear to

Re: [iText-questions] Error reading TIFF Image

2010-08-24 Thread Adam Mork
Hi Illiadis, So you and mkl are definitely right, the files I were pointing to show up as JPEG when I open them in notepad, but that is because google sites is converting them when I upload them. If I look at the original files in notepad, they do not appear to be jpegs. I zipped up these two f

Re: [iText-questions] iText-questions Digest, Vol 51, Issue 76

2010-08-24 Thread Adam Mork
Hi Illiadis, So you and mkl are definitely right, the files I were pointing to show up as JPEG when I open them in notepad, but that is because google sites is converting them when I upload them. If I look at the original files in notepad, they do not appear to be jpegs. I zipped up these two f

Re: [iText-questions] Spam: URGENT: add font .ttf from an external file

2010-08-24 Thread Mark Storer
I suggest reading the documentation: http://api.itextpdf.com/ This will get you started: http://api.itextpdf.com/com/itextpdf/text/FontFactory.html#register(java .lang.String) --Mark Storer Senior Software Engineer Cardiff.com import legalese.Disclaimer; Disclaimer DisCard = null; > -

Re: [iText-questions] PDF gets sent as XML in email in IE file -> sendas page option

2010-08-24 Thread Mark Storer
Let see if I have this right: 1) A random PDF, sent through your app, gets sent as XML. 2) A pdf, modified by iText (PdfStamper), gets sent as XML. Is this correct? --Mark Storer Senior Software Engineer Cardiff.com import legalese.Disclaimer; Disclaimer DisCard = null; > -Orig

Re: [iText-questions] Error reading TIFF Image

2010-08-24 Thread Iliadis Yannis
If you open the file with a text editor you will see that at the coupler of first bytes JFIF is written. It stands for Jpeg File Interchange Format. So it is a jpeg image and not tiff. 2010/8/24 Adam Mork > Hi MKL, > > Ok, thanks for looking at that. What are you doing to determine the file > ty

Re: [iText-questions] Phrase leading property

2010-08-24 Thread Brian Akehurst
Well here are the Phrase constructors from the example:- Phrase phrase1 = new Phrase(text, new Font(Font.HELVETICA, 12)); Phrase phrase2 = new Phrase(new Chunk(text, new Font(Font.TIMES_ROMAN, 24))); Phrase phrase3 = new Phrase(text, new Font(Font.COURIER, 8)); Phrase phrase4 = new Phrase(te

Re: [iText-questions] Error reading TIFF Image

2010-08-24 Thread Adam Mork
Hi MKL, Ok, thanks for looking at that. What are you doing to determine the file type of the images ? -Original Message- From: itext-questions-requ...@lists.sourceforge.net [mailto:itext-questions-requ...@lists.sourceforge.net] Sent: Tuesday, August 24, 2010 12:26 AM To: itext-questions

Re: [iText-questions] Phrase leading property

2010-08-24 Thread 1T3XT info
On 24/08/2010 17:43, Brian Akehurst wrote: > I construct a paragraph with a number of phrases each one of which has a > Leading property passed in its constructor. As I understand it the Leading > is the spacing between the lines. The Paragraph also has a Leading property > and a Multiplied leadi

Re: [iText-questions] How to set line-spacing (leading) in ColumnText with irregular columns

2010-08-24 Thread 1T3XT info
On 24/08/2010 15:40, Jan Douwe wrote: > I'm pulling my hairs out for two days now and there's nothing left... As I had Eclipse open, and as I said that only a couple of lines were involved, I made those changes, and uploaded them to SVN. The changes are in the trunk. -- This answer is provided by

Re: [iText-questions] Phrase leading property

2010-08-24 Thread Brian Akehurst
I construct a paragraph with a number of phrases each one of which has a Leading property passed in its constructor. As I understand it the Leading is the spacing between the lines. The Paragraph also has a Leading property and a Multiplied leading property, the later changing line spacing based

Re: [iText-questions] How to set line-spacing (leading) in ColumnText with irregular columns

2010-08-24 Thread 1T3XT info
On 24/08/2010 15:40, Jan Douwe wrote: > Hi, > > First off thanks for this great project! Nice piece of work Bruno! > > I have a question regarding the line-spacing (leading) in ColumnText > with irregular columns (text mode). > Using the "Irregular columns" sample from page 203 as a base, I added >

Re: [iText-questions] Phrase leading property

2010-08-24 Thread 1T3XT info
On 24/08/2010 17:08, Brian Akehurst wrote: > Hi, > > Can anyone point me to an email or piece of documentation or to tell me > the precise use of the Leading value in the Phrase? I would like to > understand how and when it is used in the rendering of a paragraph and > how it interacts with other F

Re: [iText-questions] Scroll detail section only

2010-08-24 Thread 1T3XT info
On 24/08/2010 16:51, Hendricks, Kevin wrote: > Hello, > > I was wondering if iTextSharp has the ability to keep the page > headers/footers and group headers/footers static while only having the > detail section scroll via a scrollbar? > > The report in question will have a header/footer, group head

[iText-questions] Phrase leading property

2010-08-24 Thread Brian Akehurst
Hi, Can anyone point me to an email or piece of documentation or to tell me the precise use of the Leading value in the Phrase? I would like to understand how and when it is used in the rendering of a paragraph and how it interacts with other Font and or Paragraph properties. Thanks Brian

Re: [iText-questions] Changing Submitbutton Url

2010-08-24 Thread 1T3XT info
On 24/08/2010 16:41, jimko wrote: > > I have already tried with this code... I don't know why but it return me a > null object in "PdfDictionary action"... and the code thrown a exception in > the row... > > Maybe I have done a bad # translation in c#... below my manipulatePdf code This, in combin

[iText-questions] Scroll detail section only

2010-08-24 Thread Hendricks, Kevin
Hello, I was wondering if iTextSharp has the ability to keep the page headers/footers and group headers/footers static while only having the detail section scroll via a scrollbar? The report in question will have a header/footer, group header/footer, with columns of numbers in the detail se

Re: [iText-questions] Changing Submitbutton Url

2010-08-24 Thread jimko
I have already tried with this code... I don't know why but it return me a null object in "PdfDictionary action"... and the code thrown a exception in the row... Maybe I have done a bad # translation in c#... below my manipulatePdf code: public void manipulatePdf(String src, String dest) {

[iText-questions] How to set line-spacing (leading) in ColumnText with irregular columns

2010-08-24 Thread Jan Douwe
Hi, First off thanks for this great project! Nice piece of work Bruno! I have a question regarding the line-spacing (leading) in ColumnText with irregular columns (text mode). Using the "Irregular columns" sample from page 203 as a base, I added some code to set the font of the phrase i want to a

Re: [iText-questions] Changing Submitbutton Url

2010-08-24 Thread 1T3XT info
On 24/08/2010 13:48, jimko wrote: > > Hi all, > > I'm trying to edit a pdf form that should change address of submission > through a windows form, written in c#. Look at the manipulatePdf() method in this example: http://itextpdf.com/examples/index.php?page=example&id=239 -- This answer is provid

[iText-questions] iTextSharp form flattening losing metadata

2010-08-24 Thread Margo Noreen
I've downloaded the latest iTextSharp DLL (5.0.4) to test out in a .net app. We have pretty simple code that simply flattens the form fields on an existing PDF and sets the security The gist of the code simply does this: . . . int x = ~iTextSharp.text.pdf.PdfWriter.AllowModi

Re: [iText-questions] URGENT: add font .ttf from an external file

2010-08-24 Thread 1T3XT info
On 24/08/2010 12:09, Andrea Maestrello wrote: > Hi, > I searched the forum with poor results. > As object, I need to use a font (courier.ttf) present in the project > folder (using NetBeans) but I do not understand how. Use the BaseFont class. -- This answer is provided by 1T3XT BVBA http://www.1

Re: [iText-questions] The document has been changed since it was created and these rights are no longer valid

2010-08-24 Thread rajeev2012
Hi, I tried with the source placed in 'Trunk' and it worked. Paulo and Keith, Thanks a lot, if I face any further issue, i will disturb you again on the same ;-) Thank you Rajeev -- View this message in context: http://itext-general.2136553.n4.nabble.com/iText-IKVM-C-stream-to-browser-i

Re: [iText-questions] The document has been changed since it was created and these rights are no longer valid

2010-08-24 Thread rajeev2012
Hi, I am not sure what did you (Paulo) mean by 'That also worked but I decided ', do you mean, you were able to insert data in the given file (please see complete thread) through .NET without an issue ??? Nevertheless, I am getting the same error with the latest dll (as Keith suggested). I h

[iText-questions] Changing Submitbutton Url

2010-08-24 Thread jimko
Hi all, I'm trying to edit a pdf form that should change address of submission through a windows form, written in c#. below my pseudo code: PdfReader reader = new PdfReader("C:\\template.pdf"); PdfStamper stamper = new PdfStamper(reader, new FileStream("C:\\result.pdf",

Re: [iText-questions] The document has been changed since it was created and these rights are no longer valid

2010-08-24 Thread Paulo Soares
That also worked but I decided to have the same as in Java, just one thing to fix if some other "special" output requirement is needed by Adobe. Paulo - Original Message - From: Keith O To: itext-questions@lists.sourceforge.net Sent: Tuesday, August 24, 2010 2:57 AM Subject:

[iText-questions] URGENT: add font .ttf from an external file

2010-08-24 Thread Andrea Maestrello
Hi, I searched the forum with poor results. As object, I need to use a font (courier.ttf) present in the project folder (using NetBeans) but I do not understand how. Thanks AndreaPaZZO -- Andrea Maestrello -- Sell apps to

Re: [iText-questions] The document has been changed since it was created and these rights are no longer valid

2010-08-24 Thread rajeev2012
Thank You Sir, I will download, will do the needful and will update you on the same. Regards Rajeev -- View this message in context: http://itext-general.2136553.n4.nabble.com/iText-IKVM-C-stream-to-browser-issues-tp2167197p2336410.html Sent from the iText - General mailing list archive at Nab

Re: [iText-questions] The document has been changed since it was created and these rights are no longer valid

2010-08-24 Thread Keith O
Hi, > I am sorry but I couldn't understand last few posts., will it be possible > (or not possible) to read/write the given PDF through .NET ? > > Would you please elaborate, what do i need to change in my script (.NET) to > meet my requirement ? The PDF is OK and your script can be used as-is.

Re: [iText-questions] The document has been changed since it was created and these rights are no longer valid

2010-08-24 Thread rajeev2012
Hi I am sorry but I couldn't understand last few posts., will it be possible (or not possible) to read/write the given PDF through .NET ? Would you please elaborate, what do i need to change in my script (.NET) to meet my requirement ? Regards Rajeev -- View this message in context: http:

[iText-questions] pdf layer removal

2010-08-24 Thread jaakovj
Hi, I encountered a similar issue, I need to remove a pdflayer using iText. Have you successfully removed a layer? Can you help with some stream change code (or your solution if possible)?? Thanks!! -- Sell apps to millio

Re: [iText-questions] Every text in Hebrew not written to the pdf.How can I create pdf with Hebrew text?

2010-08-24 Thread 1T3XT info
On 24/08/2010 9:33, yaf...@harel-ins.co.il wrote: > > I create PDF file by use in ITEXT: Wow, we're receiving the same mail three times. See one of the previous threads for the answer. -- This answer is provided by 1T3XT BVBA http://www.1t3xt.com/ - http://www.1t3xt.info

Re: [iText-questions] Every text in Hebrew not written to the pdf.How can I create pdf with Hebrew text?

2010-08-24 Thread 1T3XT info
On 24/08/2010 9:18, yaf...@harel-ins.co.il wrote: > Every text in Hebrew not written to the pdf. > > How can I create pdf with Hebrew text? It shows that you didn't read the documentation. You are facing two problems here: 1. You are using Helvetica, not embedded in the PDF. This font doesn't

[iText-questions] Every text in Hebrew not written to the pdf.How can I create pdf with Hebrew text?

2010-08-24 Thread yaffam
I create PDF file by use in ITEXT: Document document=new Document(); PdfWriter writer=PdfWriter.getInstance(document,new FileOutputStream("hello.pdf")); document.open(); document.add(new Paragraph("hello")); document.add(new Paragraph("שלום")); document.close(); but

[iText-questions] Every text in Hebrew not written to the pdf.How can I create pdf with Hebrew text?

2010-08-24 Thread yaffam
I create PDF file by use in ITEXT: Document document=new Document(); PdfWriter writer=PdfWriter.getInstance(document,new FileOutputStream("hello.pdf")); document.open(); document.add(new Paragraph("hello")); document.add(new Paragraph("שלום")); document.close(); b

[iText-questions] Every text in Hebrew not written to the pdf.How can I create pdf with Hebrew text?

2010-08-24 Thread yaffam
I create PDF file by use in ITEXT: Document document=new Document(); PdfWriter writer=PdfWriter.getInstance(document,new FileOutputStream("hello.pdf")); document.open(); document.add(new Paragraph("hello")); document.add(new Paragraph("שלום")); document.close(); but

Re: [iText-questions] The document has been changed since it was created and these rights are no longer valid

2010-08-24 Thread 1T3XT info
On 24/08/2010 1:46, Paulo Soares wrote: > The problem was with the XML serializer in .NET that did not preserved > the whitespaces correctly in some cases. It's fixed in the SVN. That's great news! Thanks! -- Sell apps to