[iText-questions] BaseFont.isFontSpecific() == true; text uses 0xF0xx form

2010-12-17 Thread David Thielen
Hi all; Found an interesting issue - posted so others can find via Google. If a font is set to BaseFont.isFontSpecific() then the string passed in must have the chars on the range 0x00 - 0xFF. If the text is in the form 0xF0__ then it will not display them (Word uses this approach). So if it's

Re: [iText-questions] How to retrieve page margins?

2010-12-17 Thread qplace
1T3XT BVBA 1t3xt.info> writes: > > You were able to get the MediaBox and CropBox rectangle (p150); you > were able to get the field positions (p264). What more do you need? > I don't understand the question. According to you, what is missing > in the book? First, let me thank

[iText-questions] Apend pdf, tiff, jpg or other images to a master pdf

2010-12-17 Thread tim clark
All I had a task recently to create a master customer electronic billing document the first document was a multipage pdf invoice the subsequent documents were scanned 1 page images in a variety of images formats. Each master customer billing pdf document was later combine into a single batch pdf d

Re: [iText-questions] Text search in a pdf with swf object embedded

2010-12-17 Thread 1T3XT BVBA
Op 17/12/2010 14:55, Leonard Rosenthol schreef: > No, Acrobat/Reader do not search SWFs. > > And for future reference, I am now the "PDF Architect" at Adobe. So it's now > all my fault ;). 1T3XT takes paper copy of "iText in Action" book, strikes the words "technical standards evangelist" on pag

Re: [iText-questions] Text search in a pdf with swf object embedded

2010-12-17 Thread Leonard Rosenthol
No, Acrobat/Reader do not search SWFs. And for future reference, I am now the "PDF Architect" at Adobe. So it's now all my fault ;). -Original Message- From: Matteo [mailto:interesa...@gmail.com] Sent: Friday, December 17, 2010 8:30 AM To: itext-questions@lists.sourceforge.net Subject:

Re: [iText-questions] Text search in a pdf with swf object embedded

2010-12-17 Thread 1T3XT BVBA
Op 17/12/2010 14:29, Matteo schreef: > Hi all, > I have created a PDF from a swf file containing some text. The text is > selectable inside the pdf BUT I cannot search for a world using the find > function. It would surprise me if Adobe Reader's search function was able to search inside the embedd

Re: [iText-questions] How can i change the margins of a pdf that there previously?

2010-12-17 Thread 1T3XT BVBA
Op 17/12/2010 14:02, pepepg schreef: > HI, I need to change the margins of a pdf that there previously, You probably mean that you want to change the page boundaries such as the MediaBox and the CropBox. That's explained on p441 of the Second Edition of "iText in Action". I don't know where you fo

[iText-questions] Text search in a pdf with swf object embedded

2010-12-17 Thread Matteo
Hi all, I have created a PDF from a swf file containing some text. The text is selectable inside the pdf BUT I cannot search for a world using the find function. There is a way to make the text inside the swf searchable by adobe reader? Thanks, Matteo -- View this message in context: http://ite

[iText-questions] How can i change the margins of a pdf that there previously?

2010-12-17 Thread pepepg
HI, I need to change the margins of a pdf that there previously, I've tried PdfStamper and also PdfCopy, but have not succeeded. This is the code: private ByteArrayOutputStream formateaDocumento(ByteArrayInputStream input) throws DocumentException, IOException { ByteArrayOutputStrea

Re: [iText-questions] How to retrieve page margins?

2010-12-17 Thread 1T3XT BVBA
Op 17/12/2010 12:15, qplace schreef: Thank you for the quick reply. I checked Rectangle.Left value as it is returned from PdfReader.GetPageSize and PdfReader.GetCropBox. Indeed, the document in question produced negative "left" property in both rectangles, and the documents where I had no issues

Re: [iText-questions] How to retrieve page margins?

2010-12-17 Thread qplace
1T3XT BVBA 1t3xt.info> writes: > > Op 17/12/2010 11:43, qplace schreef: > > Thank you for the reply. That is what I am using to determine field > > coordinates, call to getFieldPositions. For most of the pdf documents that I > > tested it works fine. > OK. > > There is one document, however,

Re: [iText-questions] How to retrieve page margins?

2010-12-17 Thread 1T3XT BVBA
Op 17/12/2010 11:43, qplace schreef: > Thank you for the reply. That is what I am using to determine field > coordinates, call to getFieldPositions. For most of the pdf documents that I > tested it works fine. OK. > There is one document, however, where this method > returns 0 for the left coordi

Re: [iText-questions] How to retrieve page margins?

2010-12-17 Thread qplace
17/12/2010 4:13, qplace: > > How to retrieve the page margins from the existing document? .. > > Using "TextMarginFinder" apparently retrievs the margins of the existing text > > on a page. My situation is that the document I am reading have only fields and > > no text... 1T3XT BVBA 1t3xt.info

Re: [iText-questions] DottedLineSeparator Questions

2010-12-17 Thread 1T3XT BVBA
Op 16/12/2010 19:27, Bob Barnes schreef: > Hi all, > > Does anyone have any suggestions for using the DottedLineSeparator or > subclassing it to create better looking 'dots'? I've tried playing with line > width and a few other settings, but it still looks 'pixelated', especially > when the

Re: [iText-questions] How to retrieve page margins?

2010-12-17 Thread 1T3XT BVBA
Op 17/12/2010 4:13, qplace schreef: > How to retrieve the page margins from the existing document? > > I have PdfReader instance which I am using to get the page rectangle. I don't > see the method that returns the margin sizes for the page. Is there such a > method and how can I get the margins fo

Re: [iText-questions] Apend pdf, tiff, jpg or othe rimages to a master pdf

2010-12-17 Thread 1T3XT BVBA
Op 17/12/2010 9:13, tim clark schreef: > Can anyone drop a hint as to how you can use the > iTextSharp.text.pdf.PdfSmartCopy to append images > & create a new page in the pdfcopy document Download chapter 6 of the Second Edition of "iText in Action" from this page: http://affiliate.manning.com/

[iText-questions] Apend pdf, tiff, jpg or othe rimages to a master pdf

2010-12-17 Thread tim clark
All I had a task recently to create a master customer electronic billing document the first document was a multipage pdf invoice the subsequent documents were scanned 1 page images in a variety of images formats. Each master customer billing pdf document was later combine into a single batch pdf