[iText-questions] Get embedded file using collection squema

2013-09-25 Thread Max Pimm
t(i++); PdfDictionary refs = filespec.getAsDict(PdfName.DESC); What am i missing? Thanks Max -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, Ope

[iText-questions] unsubscribe

2009-07-09 Thread Ekstrom, Max
unsubscribe -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity

[iText-questions] Flatting XFA forms

2009-06-12 Thread Ekstrom, Max
ppy to furnish test data or code if that's helpful. Thanks so much in advance. Max Roland Ekstrom Harvard Grants Management (GMAS) -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplifi

Re: [iText-questions] XFA in PDFs

2008-12-05 Thread Ekstrom, Max
orm.setXfa(xfaForm, stamper.getReader(), stamper.getWriter()); ... Any further ideas would be much appreciated--please refer to my original post for the attachments, including standalone test program and test data. Cheers. -maX > -Original Message- > From: Leonard Rosenthol [mailto:

[iText-questions] modifying an XFA form via its XML?

2008-11-06 Thread Ekstrom, Max
does not read THIS_IS_NEW. Is there some additional step I must take to "sync" the XFA with the form's appearance to the enduser? Any help is much appreciated. - Max Roland Ekstrom Senior Software Engi

[iText-questions] Table 'name' does not exist for arial.ttf

2008-01-28 Thread Max Tomlinson
Hi- Still can't resolve this problem. I'm building PDFs on JBoss 4.2.2 under Linux (Suse 10.2). When I try to laod the arial.ttf (found in web-inf) I get the following error: There seems to be a problem with a missing resource. Right now I can only use the built-in fonts (Times Roman etc.) I'm

[iText-questions] Document Exception trying to embed true type font on JBoss under Linux

2008-01-22 Thread Max Tomlinson
t 1.4.7, itext 2.0.6. I've tried one other ttf. No luck. thanks Max- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/v

[iText-questions] DocuementException with embedded arial.ttf in JBOSS under linux

2008-01-22 Thread Max Tomlinson
ear/cps.war/WEB-INF/arial.ttf when I execute the following code: String ff = file.getFile(); try { baseFont = BaseFont.createFont( ff, BaseFont.CP1252, BaseFont.NOT_EMBEDDED); } catch (DocumentException e) { etc. I thoguht arial.ttf could be embedded. Not so? I'm using it

[iText-questions] BuiltinFonts14 and PDFA1A - All the fonts must be embedded

2007-09-10 Thread Max
-> Type1Font(String afmFile, String enc, boolean emb, byte ttfAfm[], byte pfb[]) throws DocumentException, IOException ... if (BuiltinFonts14.containsKey(afmFile)) { embedded = false; ... Is this correct? How is the correc

[iText-questions] Time to load an image

2007-06-12 Thread max
I have an image (size 202 KB) which I would like to load! File file = new File("logo.jpg"); FileInputStream is = new FileInputStream(file); BufferedImage bi = ImageIO.read(is); com.lowagie.text.Image img = com.lowagie.text.Image.getInstance(bi, null); load time: more than 1.5 sec. Why does that

[iText-questions] Time to load an image

2007-06-12 Thread Max
I have an image (size 202 KB) which I would like to load! File file = new File("logo.jpg"); FileInputStream is = new FileInputStream(file); BufferedImage bi = ImageIO.read(is); com.lowagie.text.Image img = com.lowagie.text.Image.getInstance(bi, null); load time: more than 1.5 sec. Why does that

[iText-questions] Time to load an image

2007-06-12 Thread Max
I have an image (size 202 KB) which I would like to load! File file = new File("logo.jpg"); FileInputStream is = new FileInputStream(file); BufferedImage bi = ImageIO.read(is); com.lowagie.text.Image img = com.lowagie.text.Image.getInstance(bi, null); load time: more than 1.5 sec. Why does that

[iText-questions] Time to load an Image

2007-06-12 Thread Max
I have an image (size 202 KB) which I would like to load! File file = new File("logo.jpg"); FileInputStream is = new FileInputStream(file); BufferedImage bi = ImageIO.read(is); com.lowagie.text.Image img = com.lowagie.text.Image.getInstance(bi, null); load time: more than 1.5 sec. Why does that

[iText-questions] BaseFont.getWidths()

2007-02-01 Thread MAX
BaseFont bf = BaseFont.createFont("Helvetica", "winansi", false, false, null, null); int widths[] = bf.getWidths(); for (int k = 0; k < widths.length; ++k) { if (widths[k] != 0) widths[k] = 1000; } bf.setForceWidthsOutput(true); What means 1000? What does the value refer to? What i

Re: [iText-questions] add a image at right bottom in the last page

2006-08-23 Thread max bertolini
ut.println("Exception: " + iOE); } Regards Max - Original Message - From: "Eric Chow" <[EMAIL PROTECTED]> To: Sent: Wednesday, August 23, 2006 11:54 AM Subject: [iText-questions] add a image at right bottom in the last page > Hello, > > How can

Re: [iText-questions] Help on using external TTF font

2006-08-21 Thread max bertolini
Hi Paulo, I just solved the problem this morning in this way: Before: BaseFont ocr = BaseFont.createFont("C:\\usr\\max\\Java\\netBeans\\OCR\\font\\OCRAEXT.TTF", BaseFont.IDENTITY_H, BaseFont.EMBEDDED); After: FontFactory.register("C:\\usr\\max\\Java\\netBeans\\OCR\\fo

[iText-questions] Help on using external TTF font

2006-08-19 Thread max bertolini
FileOutputStream("truetype.pdf"));    document.open();    BaseFont bfComic = BaseFont.createFont("C:\\usr\\max\\Java\\netBeans\\OCR\\font\\OCRAEXT.TTF", BaseFont.IDENTITY_H, BaseFont.EMBEDDED);    Font font = new Font(bfComic, 12);    String text1 = &q

[iText-questions] some questions

2004-05-07 Thread Max Grigoriev
nstance("mypic.gif") im.scalePercent(100, 100); /* or im.scaleAbsolute(actualWidth, actualHeight) */ cell.add(im); Thank's P.S. maybe someone knows about PDFUnit to check if my pdf is what i want to get ot not ? -- Best re

[iText-questions] HTML to PDF.

2004-03-31 Thread Max
I have an HTML table that I wish to convert to PDF. It has between 8 and 13 columns. When I convert using: // step 2: // we create a writer that listens to the document // and directs a XML-stream to a file PdfWriter.getInstance(document, new FileOutputStream("c:/test.pdf")); // step 3: we create

[iText-questions] Images not transparant

2003-10-22 Thread Max Roux
lying structure to show through just fine. However, if the images overlap each other the underlying image is not shown. Am I doing something wrong or is that a setting I'm missing? Any input would be greatly appreciated. Thank You. Max Roux Application Development TAMKO Roofing Products, I

[iText-questions] IE prompts to download PDF servlet

2003-08-06 Thread Max im
Hello, After installing latest patches for IE6, the browser started to prompt with the "File Download" window when requesting doGet() of a servlet that generates PDF on the Internet. Requests to the Local Intranet zone are handled ok. Playing with the Security settings for the Internet zone doe

[iText-questions] Image Problem

2002-02-20 Thread Max Chang
, and it is on the same page. Further images show up on the next page. Could this be related to the bug that was fixed in version 0.41? I am using version 0.83. Also, these are dynamically generated images (both jpegs and pngs)... could that be causing any problems? Thanks