[iText-questions] SetCharacterSpacing broken when using Right Align

2013-07-05 Thread Craig van Nieuwkerk
I have a table with two cells. The first cell is left aligned and the second cell is right aligned. I also want to change the character spacing of the text. I have found that changing the character spacing breaks the alignment so the right align text ends up outside the boundaries if the table. I

[iText-questions] Header position wrong after switching from A4 Landscape to Portrait

2012-11-07 Thread Craig Poxon
cluding a table } document.close() I've tried different combinations of setting the heading before and after the newpage and the use of resetheader but no change. What is the correct way of doing

[iText-questions] Header position wrong after switching from A4 Landscape to Portrait

2012-11-07 Thread Craig Poxon
Firstly, I'm using DroidText (http://code.google.com/p/droidtext/) the Android port of iText 2.17. I have mixed pagesize documents in my App. starting off with a rotated (landscape) page and occasionally switching to portrait for one page before switching back again. Every page has a header and a

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 > > se

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

2012-10-29 Thread Craig van Nieuwkerk
text text text text", new Font(Font.NORMAL, 12))); document.Close(); Craig On Mon, Oct 29, 2012 at 7:26 PM, iText Info wrote: > Op 28/10/2012 12:00, Craig van Nieuwkerk schreef: > > writer.ViewerPreferences = PdfWriter.PrintScalingNone; > > > I don

[iText-questions] iTextSharp PdfWriter.PrintScalingNone not working

2012-10-28 Thread Craig van Nieuwkerk
I want to set the viewer print scaling to none. However after executing this code and opening the PDF and Adobe Acrobat and clicking the print button 'Print Scaling' field on the popup print dialog is set to 'Fit to Printable Area' not 'None'. Am I doing som

Re: [iText-questions] Washed out (transparent) image

2012-01-18 Thread Craig Edwards
. So, how do I go about raising a defect or ticket? I looked on the www.itextpdf.com<http://www.itextpdf.com> site for somewhere to raise it, but can't seem to find it. I am happy to provide my image and sample code. Thanks a lot. Craig From: Bill Ensley [mailto:b...@bearprinting.com

Re: [iText-questions] Washed out (transparent) image

2012-01-18 Thread Craig Edwards
like it should. It just doesn't display as it should when drawn on the page. I thought it might be my Acrobat Reader (v9) but it also looks washed out on my mac using Preview. I'm stymied... any other thoughts? Craig From: Bill Ensley [mailto:b...@bearprinting.com] Sent: Thursday, 1

Re: [iText-questions] Washed out (transparent) image

2012-01-17 Thread Craig Edwards
ways appears in the way you suggest. Thanks. Craig From: Leonard Rosenthol [mailto:lrose...@adobe.com] Sent: Tuesday, 17 January 2012 3:15 PM To: Post here Subject: Re: [iText-questions] Washed out (transparent) image The problem isn't color, it appears that you are downsampling the resolut

Re: [iText-questions] PDF Stamper creates damaged file?

2011-03-02 Thread Craig Hodder
te: Monday, February 28, 2011, 2:29 PM Create the doc to a MemoryStream, set the content length and output the MemoryStream to the Response.OutputStream. IE is very picky, Firefox will do better.   Paulo - Original Message ----- From: Craig Hodder To: iText-questions@lists.sourceforge

[iText-questions] PDF Stamper creates damaged file?

2011-02-28 Thread Craig Hodder
Hi guys. Taking 1T3XT BVBA's advice, I'm trying to walk through using PDFStamper just to output a pdf file that is copied from another pdf. Here's what I have: Protected Sub GeneratePDFWithText(ByVal sender As Object, ByVal e As EventArgs) Dim fileName As String = "pdfDocument" &

Re: [iText-questions] Adding Fonts to PDFs

2011-02-25 Thread Craig Hodder
ay, February 25, 2011, 11:44 AM > Op 25/02/2011 19:30, Craig Hodder > schreef: > > Greetings to all. > > > > I am wondering how I might add to the font lists used > by the BaseFont element in the code; I have a custom font > that I would like to use to add text to a P

[iText-questions] Adding Fonts to PDFs

2011-02-25 Thread Craig Hodder
Greetings to all. I am wondering how I might add to the font lists used by the BaseFont element in the code; I have a custom font that I would like to use to add text to a PDF with. Thank you in advance and I apologise if this seems ignorant. Craig Hodder ShadesOfKnight at yahoo dot com

[iText-questions] Difficulty in adding plain text to a PDF

2011-02-25 Thread Craig Hodder
DF. But when the downloaded PDF is opened, Adobe claims that the file is damaged and cannot be opened. Have I missed something in how to add the text or properly code the PDF output? Thank you in advance for any assistance you can offer. Craig ShadesOfKnight AT yahoo dot com -

Re: [iText-questions] iText Flattening causing data loss/distortion?

2010-09-01 Thread Craig Garvis
Thanks to Mark Storer for help identifying the files as "Half Baked" PDF files with missing field appearances for fields in the PDF. I am working with a programmatic fix with the "regenerateField" function of the AcroFields object. Is there a way to inspect a file for this defect before attempt

Re: [iText-questions] iText Flattening causing data loss/distortion?

2010-08-23 Thread Craig Garvis
After doing some light reading on the XFA spec and reading the content of the files I'm satisfied that the documents in question are, if anything, static XFA which should rule that out as a possible cause of the problem. Is there anything else that I should look into? -

Re: [iText-questions] iText Flattening causing data loss/distortion?

2010-08-19 Thread Craig Garvis
rer Senior Software Engineer Cardiff.com import legalese.Disclaimer; Disclaimer DisCard = null; > -Original Message- > From: Craig Garvis [mailto:craig.gar...@merge.com] > Sent: Tuesday, August 17, 2010 5:21 PM > To: Post all your questions about iText here > Subject:

Re: [iText-questions] iText Flattening causing data loss/distortion?

2010-08-17 Thread Craig Garvis
ility goes. What version of iText are you using? --Mark Storer Senior Software Engineer Cardiff.com import legalese.Disclaimer; Disclaimer DisCard = null; > -Original Message- > From: Craig Garvis [mailto:craig.gar...@merge.com] > Sent: Thursday, August 12, 2010 11:51 AM >

[iText-questions] iText Flattening causing data loss/distortion?

2010-08-12 Thread Craig Garvis
I am using the iText library in conjunction with a ColdFusion web server to merge a group of PDF files into one document. I enable the document flattening on each PDF and in the general case, the documents are merged without incident. I have found there are some PDF forms that will either no lon

[iText-questions] Using iText with Websphere 6.1 and Java 1.5

2008-09-03 Thread Boyd, Craig
iText, Websphere, Java, or a combination of all three. Thanks, Craig _ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the mes

[iText-questions] DO_NOT_SCROLL TextFields

2007-04-16 Thread Craig
Is there a way that I can retrieve the Text Fields of a pre-existing PDF and use iText to add the DO_NOT_SCROLL property to them. I see examples that work when creating new text fields, but I need to manipulate a text field that's already been created. Thanks, --

[iText-questions] Extract small part of one page to its own file

2007-01-09 Thread Craig
Hello, I have several PDF files that are formatted almost identically. They contain 2 pages each and are meant to be quad-fold brochures. I'd like to be able to extract the left-most quarter of the second page and put it into its own separate PDF file. I'm confident I can put the second page in

[iText-questions] PDF Encryption and Metadata

2006-06-01 Thread Craig
I'm using iText to encrypt PDF documents. The problem I'm running into is that the metadata seems to be encrypted as well. I know Acrobat 6 and later can encrypt a PDF's contents without encrypting the metadata. Does iText support similar functionality? Thanks...

[iText-questions] PdfStamper and ColorSpace

2005-10-04 Thread Craig Dennis
n and color out of a form field? Then I'll just re-write the setField method. I can get the position information. Feel free to write in Java. Thanks a million, --Craig Dennis __ Yahoo! Mail - PC Magazine Editors'

[iText-questions] FW: Consulting opportunity

2004-07-09 Thread Craig Newlander
would I do that? Thanks, Craig > -Original Message- > From: Craig Newlander > > I'm working on a stock option theoretical numbers program and I > need to print out a somewhat complex table structure.I > would like to > print out in landscape and wit

[iText-questions] Re: FontFactory.getFont(...), Text not being bolded/italized

2004-05-13 Thread Craig Fleming
every occurance of getFamilyname() in RtfWriter.java to getFullName(). This works for me, perhaps someone that is in charge of this sort of thing has a better solution. Thanks, Craig /** * Gets the full name as a String. If baseFont is null, then this merely returns the value from * getFamil

[iText-questions] FontFactory.getFont(...), Text not being bolded/italized

2004-05-12 Thread Craig Fleming
have tried this with both Arial and Times New Roman text in case the font had any issues, with the same results. Is this just a case where \b and \i are not being emitted by the document writer? (ie, is this easily fixed? :)) Thanks, Craig

[iText-questions] Concatenating RTFs

2003-12-22 Thread Craig Fleming
iText can do a Document.add(..) sort of thing with it, that would work just as nicely. Thanks, Craig --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free

[iText-questions] PDF Manipulation

2003-06-05 Thread Griffith, Craig
Is it possible to: 1) use itext to convert a color pdf to grayscale? 2) use itext to downsample a pdf to a specified resolution? Thanks in advance, Craig Griffith Programmer/Analyst Commercial Communications Inc. (262)369-6148 Confidentiality Notice: This e-mail message

RE: [iText-questions] Can Itext Support SVG or how can I improve the image quality?

2002-11-12 Thread Craig Earls
ic, and it will not scale cleanly. If your images are already in SVG, then use Batik to translate them to a PdfGraphics2D... Craig P. Earls Senior Software Architect Xpogen, Inc. > -Original Message- > From: Xiaohong Yin [mailto:yinx@;hawaii.edu] > Sent: Tuesday, November 12

RE: [iText-questions] How can I force a section header to the same page as an Image?

2002-11-12 Thread Craig Earls
Tricky!!! I totally missed that in my search. Thanks for the pointer. It worked like a champ. Craig P. Earls Senior Software Architect Xpogen, Inc. > -Original Message- > From: Bruno [mailto:bruno@;lowagie.com] > Sent: Tuesday, November 12, 2002 3:19 AM > To: Craig Earls

[iText-questions] How can I force a section header to the same page as an Image?

2002-11-11 Thread Craig Earls
I am generating a report using several complex diagrams. The diagrams render quite nicely to an ImgTemplate. At one point I have several diagrams that belong in the same chapter. I would like them to be in separate sections. There is no associated text with the diagrams. Here is the code that

RE: [iText-questions] deleting the file

2002-09-29 Thread Craig Earls
Well, assuming you have already created the file as a type java.io.File, then use java.io.File.delete(); > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > Sent: Sunday, September 29, 2002 12:44 PM > To: [EMAIL PROTECTED] > Subject: [iText-questions] deleting the

SOLUTION!! RE: [iText-questions] StartCharMetrics not found in 0.94

2002-09-21 Thread Craig Earls
urceAsStream("com/lowagie/text/pdf/fonts/"+key);? > -----Original Message- > From: Craig Earls > Sent: Saturday, September 21, 2002 1:59 PM > To: Craig Earls; Paulo Soares; [EMAIL PROTECTED] > Subject: RE: [iText-questions] StartCharMetrics not found in 0.94 > > &

RE: [iText-questions] StartCharMetrics not found in 0.94

2002-09-21 Thread Craig Earls
am not using FontFactory.register(). Is this a huge problem? > -Original Message- > From: Craig Earls > Sent: Saturday, September 21, 2002 1:23 PM > To: Craig Earls; Paulo Soares; [EMAIL PROTECTED] > Subject: RE: [iText-questions] StartCharMetrics not found in 0.94 > &

RE: [iText-questions] StartCharMetrics not found in 0.94

2002-09-21 Thread Craig Earls
t. I will continue to look for this, and will attempt to build the source for iText. > -Original Message- > From: Craig Earls > Sent: Saturday, September 21, 2002 11:01 AM > To: Paulo Soares; [EMAIL PROTECTED] > Subject: RE: [iText-questions] StartCharMetrics not found in 0

RE: [iText-questions] StartCharMetrics not found in 0.94

2002-09-19 Thread Craig Earls
d the jar file) . The servers it works on are fairly short (http://192.168.1.100/~cpearls/Sites/RNViewer.jar) Does that explain the difference between 0.94 and 0.92 ? -Original Message- From: Paulo Soares To: Craig Earls; [EMAIL PROTECTED] Sent: 9/19/2002 12:41 PM Subject: RE: [iText-ques

RE: [iText-questions] StartCharMetrics not found in 0.94

2002-09-19 Thread Craig Earls
Original Message- From: Paulo Soares To: Craig Earls; [EMAIL PROTECTED] Sent: 9/19/2002 11:03 AM Subject: RE: [iText-questions] StartCharMetrics not found in 0.94 The fonts are now stored as files inside the jar. I don't know why it doesn't work. Can you give some more details on yo

[iText-questions] StartCharMetrics not found in 0.94

2002-09-19 Thread Craig Earls
ything I need, but I was surprised by the error. Craig Earls --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ iText-questions mailing list [EM

[iText-questions] 'T m' outside text object

2002-02-25 Thread Pardey, Craig
Hi, I'm getting the following error the first time I scroll between the first and second pages of my generated PDF. It says "Illegal operation 'T m' outside text object". Any ideas what might be causing this? I'm using PdfConte

[iText-questions] Get PdfContentByte from Document

2002-02-20 Thread Pardey, Craig
somehow. Craig -- If you have received this e-mail in error or wish to read our e-mail disclaimer statement and monitoring policy, please refer to http://www.drkw.com/disc/email/ or contact the sender

[iText-questions] Tables in Header

2002-02-20 Thread Pardey, Craig
think) doesn't provide any additional information on how to actually do it. Is this possible and if so, how? Regards, Craig Pardey -- If you have received this e-mail in error or wish to read our e-mail disclaimer stat