[iText-questions] higher res graphics

2003-10-06 Thread Chris
material and 72dpi just doesn't cut it, especially when enlarged. Thanks, Chris --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ iText-questions ma

Re: [iText-questions] adding several pdfs causes problems (broken, corrupt?)

2007-10-24 Thread Chris
ing pdf files into another and have a new one as an outcome? This "get number of pages of pdf" and add each page to the result seemed not very intuitive to me. But i am a itext newbie anyway :) Thanks again, Chris > > Paulo > >> -Original Message- >&g

[iText-questions] Tool Tips before and after resultWriter.addPage(page)

2008-02-08 Thread Chris
not an expert in designing the form with adobe creator or whatsoever. Any idea? Thanks, Chris - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio

[iText-questions] Extracting text location for highlighting in reader

2006-03-09 Thread chris
culate the offsets? -- Chris --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding

Re: [iText-questions] Extracting text location for highlighting in reader

2006-03-09 Thread chris
this looks like it might actually fly :) -- Chris Searle [EMAIL PROTECTED] --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime d

[iText-questions] Functionality

2004-08-31 Thread Chris
(basically just has etc... around the text).     Chris Buchanan

[iText-questions] Binary Compatibility 2.0.1 to 2.1.x

2009-10-14 Thread Chris
It seems that iText 2.1.x is no longer compatible with classes built against iText 2.0.1. java.lang.NoSuchMethodError: com.lowagie.text.pdf.BaseFont.getCharBBox(C)[I What's the chance of us getting that method signature back into iText? ---

[iText-questions] Get Text for Font

2011-10-02 Thread chris
I have a PDF that I want to open, read, and collect the blocks of text that are in a specific font. They are actually in a barcode font. I tried the sample of how to "list fonts" and see that my font is in the list. I want to find the objects that have tha tfont applied and get the text. Sorry

[iText-questions] Get Text for Font

2011-10-02 Thread chris
I have a PDF that I want to open, read, and collect the blocks of text that are in a specific font. They are actually in a barcode font. I tried the sample of how to "list fonts" and see that my font is in the list. I want to find the objects that have tha tfont applied and get the text. Thanks

[iText-questions] iText & EPS

2003-04-04 Thread Chris Thompson
Hey, I was wondering has anyone had any luck with using EPS format images with the iText lib, or even java in general. I need to use vector based images with iText, and was trying to avoid WMF, although it looks like the way to go. Cheers, Chris -- This email and any files transmitted

[iText-questions] Sizing of a pdf

2003-06-05 Thread Chris Faulkner
I was using SVG and Batik to composite the two overlapping images but i wanted to remove this and just add the images together with iText. Thanks Chris --- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugge

RE: [iText-questions] Sizing of a pdf

2003-06-05 Thread Chris Faulkner
com.lowagie.text.pdf.codec.PngImage ( pis ); Image myim = Image.getInstance( ); How do I use getInstance with my decoded PngImage so as to maintain compression ? Thanks Chris -Original Message- From: Paulo Soares [mailto:[EMAIL PROTECTED] Sent: 05 June 2003 10:31 To: 'Chris Faulkner'; [EMAIL PROTECTED] S

[iText-questions] meaning of fields

2003-06-01 Thread Chris Faulkner
me ! Is there a field that can prevent document saving in the same way that you can prevent printing ? Thanks all Chris --- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/7

RE: [iText-questions] meaning of fields

2003-06-01 Thread Chris Faulkner
or knowledgeable user from capturing the data in other ways, 90% of people would not know how to save the file if there was no save button. So I just wondered whether you could turn off the save button. That's all. If it isn't possible, just say so. If there is one

[iText-questions] display anchor at exact position

2003-06-14 Thread Chris Faulkner
Hello I am placing text at exact positions on my page with PdfContentByte, showTextAligned. I would like to add an anchor in this way - is there any way to position an anchor at an exact position on the page ? Thanks Chris Faulkner

RE: [iText-questions] display anchor at exact position

2003-06-14 Thread Chris Faulkner
text colour. How to do this ? And how can I make the text underlined ? Thanks Chris` -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Bruno Sent: 14 June 2003 13:12 To: Chris Faulkner Cc: [EMAIL PROTECTED] Subject: Re: [iText-questions] display anchor at

[iText-questions] Adding SVG images to table cells

2003-07-22 Thread Chris Farmer
we need to be able to accommodate HTML also, so if it’s at all possible, I’d prefer to keep using this.  I know I can use Batik to rasterize the SVG into another format, then add THAT image to the cell, but I want to preserve the vector quality of the image as much as possible.   Thanks, Chris          

[iText-questions] Adding svg images to a table, revisited

2003-07-28 Thread Chris Farmer
) in my cells.  Where am I screwing up here (efficiency aside… I’d just like something to work first!)?  My code is pasted below.     Thanks, Chris         // “writer” is a valid PdfWriter object and was created with // the Document object I’m adding the Table and Cells to.  It // was

RE: [iText-questions] Adding svg images to a table, revisited

2003-07-29 Thread Chris Farmer
code where my current non-functional code was. This code works great in a stand-alone application, but it also doesn't show any images in my table. What could possibly interfere with this code which works in an application all by itself? Thanks, Chris Document d = new Document(); PdfWriter wr

RE: [iText-questions] Adding svg images to a table, revisited

2003-07-29 Thread Chris Farmer
Here's the file that was generated by my code snippet. This was using the svg file from my previous post. It's a 2 x 2 table, where the bottom right cell should (I think) contain the rendered svg image. Thanks for your help, Chris -Original Message- From: Paulo Soar

[iText-questions] ArrayIndexOutOfBoundsException when masking an image

2003-07-29 Thread Chris . Rauschuber
raster.getSamples(0, n, width, 1, band, bandArray[n]); } return bandArray; } Thanks, Chris --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available no

Re: [iText-questions] ArrayIndexOutOfBoundsException when masking an image

2003-07-29 Thread Chris . Rauschuber
? Thanks for your help, Chris "Paulo S

Re: [iText-questions] ArrayIndexOutOfBoundsException when masking an image

2003-07-30 Thread Chris . Rauschuber
Hi Paulo, Thanks for your help. I converted the JPEG to a PNG and got a better result. The masked image is still a little sketchy, but I think it is good enough. Thanks again, Chris

RE: [iText-questions] Any plans to support tif files for Image?

2003-07-31 Thread Chris Farmer
Check out this message from Paulo from this list on 7/22 describing the tiff support: TIFF flavors supported: Compression - no compression, packbits, lzw, deflate, ccitt Photometric - bw, rgb, separated (cymk), indexed Bit depth - 1, 2, 4, 8 iccprofile is used if present Not supported - planar

[iText-questions] PDF Fonts are jumbled

2003-08-04 Thread Chris Yeo
happened. It seems that the jumbled occur during scrolling of the pdf document. I have also tried a large document that is not merged and it doesn't have this problem. Thanks and Regards, Chris --- This SF.Net email sponsored by: Free pre-

[iText-questions] Table header colspan and nested tables

2003-08-08 Thread Chris Farmer
t really know how to set the colspan based on this. When the nested Table is in the FIRST column in the outermost table, the header cell always looks fine. Can anyone suggest a way to get my header cell to span the correct number of columns? I've attached two small and simple ex

[iText-questions] Writing to a PdfTemplate with an arbitrary Font

2003-09-18 Thread Chris Farmer
ion from a Font object (family, style, color, size) in order to write to a PdfTemplate? I can get the color and size, but I'm having trouble figuring out how to get the family and style (italic, bold, etc.). Thanks, Chris --- This

RE: [iText-questions] Writing to a PdfTemplate with an arbitrary Font

2003-09-19 Thread Chris Farmer
getFamilyname() method don't return anything, and the family() method returns -1 (which I believe isn't of any use). My first question is whether I can get enough information out of any Font object to create the appropriate BaseFont as well as set the appropriate color, etc. Can I do th

[iText-questions] Title in PDF documents

2004-04-30 Thread Chris Farmer
PdfStamper here, because I don’t know the filename the writer is writing to.  I just have a generic output stream.     Thanks, Chris                    

[iText-questions] Setting a title on an open document

2004-05-01 Thread Chris Farmer
pen a PdfReader on it, then set the title and close it again? I know what the title should be from the point at which I open the document, so is there a way I can add this info during creation of the document? I feel like I must be missing something here.

RE: [iText-questions] Setting a title on an open document

2004-05-03 Thread Chris Farmer
but it doesn't affect the title bar. Is there any way to convince Acrobat (Reader) to show the document title in the Windows title bar? I don't think I've ever seen it, but I thought there might be at least some custom script that might make it happen. Thanks, Chris -Ori

[iText-questions] Guttering in iText

2004-06-01 Thread Chris Boulter
Hello, Does iText support guttering in its generated docs? Guttering is where left-right margins are 'mirrored' to help with double-sided printing and binding. I haven't found any reference to this in the docs, so I suspect not. Many thanks. -- [EMAIL PROTECTED] -

[iText-questions] Adding bookmarks for concatenated PDF results in duplicate entries?

2008-10-07 Thread Chris Ulbright
First of all, thank you to everyone posting answers on this list. I'm creating a document that is comprised of multiple existing PDF documents. The existing documents do not have bookmarks associated with them. I build the bookmark list for each document as I process it. The resulting PDF seems

[iText-questions] Recreating links.

2008-10-08 Thread Chris Richards
the iText archives that I need to scan the final document for the links (annotations) and reproduce them. I can't find any information on how to do this. Does anyone have any ideas? Any help is appreciated. Thanks

[iText-questions] Itext e-book doesn't provide information - copy anchors and destinations to another document.

2008-10-08 Thread Chris Richards
nt to another, they are usually told to look at the PDF or Itext reference book. The iText reference book does not provice enough information to be able to do that, and the Adobe PDF reference doesn't tell you how to use iText. Any help is appreciated. Th

Re: [iText-questions] Itext e-book doesn't provide information - copy anchors and destinations to another document.

2008-10-09 Thread Chris Richards
} } The links don't work even when I include a whole document , I get the error message : "The documents page tree contains an invalid node" The original document is generated using iText, and uses Anchors to create the links. So nothing out of the norm such as JS actions. Th

[iText-questions] PdfStamper doesn't follow 'numeric' format 'decimal places' setting

2008-10-14 Thread Bordeman, Chris
lds af = stamper.AcroFields; for (int i = 0; i < fieldValues.Length; i++) { fvp = fieldValues[i]; af.SetField(fvp.Field, fvp.Value); } } finally { if (stamper != null

Re: [iText-questions] PdfStamper doesn't follow 'numeric'format'decimal places' setting

2008-10-14 Thread Bordeman, Chris
functions, and turn th8at inot something you can use. This was from 2005 and I'm guessing iText somehow accomodates for this now, or maybe the PDF spec now handles formatting natively without javascript? In any case it's not working too well for me at least. Chris

Re: [iText-questions] PdfStamper doesn'tfollow 'numeric'format'decimal places' setting

2008-10-15 Thread Bordeman, Chris
OK thanks for your input Paulo. Anyone else take a stab? Chris Bordeman -Original Message- From: Paulo Soares [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 15, 2008 3:45 AM To: Post all your questions about iText here Subject: Re: [iText-questions] PdfStamper doesn'tf

Re: [iText-questions] PdfStamper doesn'tfollow 'numeric'format'decimal places' setting

2008-10-15 Thread Bordeman, Chris
ecimal formatting handled by PDF properties now, or is it still handled by javascript? Or was that never actually the case? Chris Bordeman -Original Message- From: Paulo Soares [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 15, 2008 3:45 AM To: Post all your questions about iText

[iText-questions] Is there a way to set field values without losing formatting?

2008-10-17 Thread Bordeman, Chris
Is there any class or method to do this in iText? Failing that, assuming I'm NOT using flattening, is there a way to reapply formatting after using PdfStamper's SetField()? - This SF.Net email is sponsored by the Moblin Your

Re: [iText-questions] Is there a way to set field values without losingformatting?

2008-10-17 Thread Bordeman, Chris
OK, short of this, does anyone know how to read the formatting of a field, esp. numeric and decimal formatting beforehand so it can be applied via the SetField(field, value, format)? The input PDFs are unknown and won't be using any 'custom' formatting, just the standard stuff in

[iText-questions] shrink PDF to smallest size like Acrobat 'Save As' command

2008-10-27 Thread Bordeman, Chris
s there a way to get this size optimizing functionality in iText? Thanks. Chris - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK &

Re: [iText-questions] shrink PDF to smallest size like Acrobat 'SaveAs' command

2008-10-27 Thread Bordeman, Chris
If this functionality isn't available in iText is it available in other toolkits? Chris -Original Message- From: Bordeman, Chris [mailto:[EMAIL PROTECTED] Sent: Monday, October 27, 2008 9:47 AM To: Post all your questions about iText here Subject: [iText-questions] shrink P

[iText-questions] Capabilities regarding fonts/font sizes in PdfOutline

2008-10-28 Thread Kish, Chris
27;ve done here? Thanks! Chris olineNew = new PdfOutline ( olineParent, (PdfAction) null, bmNew.Text ); olineNew.set

[iText-questions] Add TextField to multiple pages

2009-03-04 Thread Bordeman, Chris
the first page. How can this be done? Thanks! Chris -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies

[iText-questions] Scaling pages when merging PDFs

2009-03-05 Thread Chris Hannemann
pages. Can I scale the imported page to 8.5x11 during or after import? I do not know what the original size will be since they vary. I am using PDFCopy PdfImportedPage page = copy.getImportedPage(reader, oldP); Thanks Chris Hannemann Senior Business Analyst Rath Gibson

Re: [iText-questions] Add TextField to multiple pages

2009-03-05 Thread Bordeman, Chris
Thanks. Chris -Original Message- From: 1T3XT info [mailto:i...@1t3xt.info] Sent: Thursday, March 05, 2009 3:21 AM To: Post all your questions about iText here Subject: Re: [iText-questions] Add TextField to multiple pages Bordeman, Chris wrote: > for (int pageno = 1; pag

[iText-questions] using HTMLWorker.parseToList to add content to a PDF document, getting a blank page at the end

2009-03-06 Thread Chris Fleischmann
Howdy folks, I'm using iText 2.1.4 and am using the following code to add HTML input to my PDF document... Paragraph pg1 = new Paragraph(); StyleSheet styles = new StyleSheet(); styles.loadTagStyle("ol", "leading", "16,0"); try {

Re: [iText-questions] using HTMLWorker.parseToList to add content to a PDF document, getting a blank page at the end

2009-03-07 Thread Chris Fleischmann
Yes, thanks, sorry for the posting, I realise the mistake I have/had made... Thanks for your example, and response though. 1T3XT info wrote: > > Chris Fleischmann wrote: >> Which works great, the HTML input is added to my document as I would >> hope, >> however at

[iText-questions] Some content not copied when concatenating PDFs

2009-04-11 Thread Chris Bourke
I'm concatenating a bunch of PDFs together using the excellent examples provided by the iText book and online. In particular I'm importing PdfImportedPage and then transforming/scaling them using the addTemplate. Everything is fine, except some of the original PDFs have "stamps" on them that are

[iText-questions] Followup: Some content not copied when concatenating PDFs

2009-04-13 Thread Chris Bourke
A follow up to my previous email: the the content seems to be a simple PDF annotation as described in chapter 15 of the iText in Action book. The book mentions that some annotations are supported and others are not. However, this annotation seems to be a simple text annotation (defined as a popup

Re: [iText-questions] Followup: Some content not copied when concatenating PDFs

2009-04-14 Thread Chris Bourke
> In PDF, you have content in the content stream. > You can find this content by looking at the /Content key in the Page > dictionary. You also have annotations. You can find them in the /Annots > key in the Page dictionary. Annotations, such as links, pop-ups,... ARE > NOT PART OF THE CONTENT. > >

[iText-questions] Set field horizontal alignment using AcroFields

2009-04-24 Thread Bordeman, Chris
I have the AcroFields object, can't figure out how to change the horizontal alignment for all fields w/ a certain name... Thanks! -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensi

Re: [iText-questions] Set field horizontal alignment using AcroFields

2009-04-24 Thread Bordeman, Chris
Never mind. See now. -Original Message- From: Bordeman, Chris [mailto:chris.borde...@wolterskluwer.com] Sent: Friday, April 24, 2009 1:12 PM To: Post all your questions about iText here Subject: [iText-questions] Set field horizontal alignment using AcroFields I have the AcroFields

[iText-questions] Setting 'auto' font using AcroFields object

2009-04-24 Thread Bordeman, Chris
How can this be done? I see how to set the font but nothing about using the 'Auto' choice presented by Acrobat. Many thanks again... Chris -- Crystal Reports - New Free Runtime and 30 Day Trial Check o

Re: [iText-questions] Setting 'auto' font using AcroFields object

2009-04-24 Thread Bordeman, Chris
Just to clarify, I'm referring to the automatic font SIZE. The actual font is known. -Original Message- From: Bordeman, Chris [mailto:chris.borde...@wolterskluwer.com] Sent: Friday, April 24, 2009 3:24 PM To: Post all your questions about iText here Subject: [iText-questions] Se

Re: [iText-questions] Setting 'auto' font using AcroFields object

2009-04-24 Thread Bordeman, Chris
Well, looks like a 0 size does the trick. Thanks anyway. -Original Message- From: Bordeman, Chris [mailto:chris.borde...@wolterskluwer.com] Sent: Friday, April 24, 2009 3:31 PM To: Post all your questions about iText here Subject: Re: [iText-questions] Setting 'auto'

Re: [iText-questions] Set field horizontal alignmentusing AcroFields

2009-04-24 Thread Bordeman, Chris
Does acrofieldsobj.SetFieldProperty(_Name, "fflags", PdfFormField.Q_CENTER, null); not work? Chris -Original Message- From: 1T3XT info [mailto:i...@1t3xt.info] Sent: Friday, April 24, 2009 2:59 PM To: Post all your questions about iText here Subject: Re: [iText-questions]

[iText-questions] When forced, iText Auto font size does not match Acrobat's calculated size

2009-05-01 Thread Bordeman, Chris
Hello all. Using iTextSharp 4.1.1. I'm forcing some acrofields to font size 0 with field flattening like so: acrofieldsobj.SetFieldProperty("myfield", "textsize", 0, null); The problem is after flattening iText seems to have calculated a final font size considerably larger than if I had inst

Re: [iText-questions] When forced, iText Auto font size does not match Acrobat's calculated size

2009-05-01 Thread Bordeman, Chris
Ok, it looks like the entire field data does in fact fit in the field, so maybe iText is calculating the max font size correctly. Either way, I need it to calculate smaller so it matches Acrobat... Any ideas? From: Bordeman, Chris [mailto:chris.borde

[iText-questions] Determine whether font size exceeds acrofield capacity

2009-05-01 Thread Bordeman, Chris
I need to determine for a particular field (I have Acrofield object) whether a given font size would cause a certain string value to be too large to fit. How can this be done? -- Register Now & Save for Velocity, the Web

[iText-questions] How to remove the 'Limit of [] characters' acrofield option

2009-05-07 Thread Bordeman, Chris
I need to remove the 'Limit of [] characters' acrofield option using PdfStamper so that all the data I put in it fits. How can this be done? Thanks! Chris Bordeman -- The NEW KODAK i700 Series Scanners del

Re: [iText-questions] How to remove the 'Limit of [] characters' acrofield option

2009-05-13 Thread Bordeman, Chris
about iText here Subject: Re: [iText-questions] How to remove the 'Limit of [] characters' acrofield option Bordeman, Chris wrote: > I need to remove the 'Limit of [] characters' acrofield option using > PdfStamper so that all the data I put in it fits. I have no idea what

Re: [iText-questions] How to remove the 'Limit of []characters' acrofield option

2009-05-13 Thread Bordeman, Chris
version on AcroFields.setField(). Paulo > -Original Message- > From: Bordeman, Chris [mailto:chris.borde...@wolterskluwer.com] > Sent: Wednesday, May 13, 2009 5:35 PM > To: Post all your questions about iText here > Subject: Re: [iText-questions] How to remove the &

[iText-questions] Why doesn't this code work?

2009-05-20 Thread Bordeman, Chris
acrofieldsobj.SetFieldProperty(_Name, "fflags", PdfFormField.Q_RIGHT, null); It returns true but then I flatten the fields and the field comes out left aligned... -- Crystal Reports - New Free Runtime and 30 Day Trial Che

Re: [iText-questions] Why doesn't this code work?

2009-05-21 Thread Bordeman, Chris
your questions about iText here Subject: Re: [iText-questions] Why doesn't this code work? Bordeman, Chris wrote: > acrofieldsobj.SetFieldProperty(_Name, "fflags", PdfFormField.Q_RIGHT, > null); > > It returns true but then I flatten the fields and the field comes out

[iText-questions] Recall: Why doesn't this code work?

2009-05-21 Thread Bordeman, Chris
Bordeman, Chris would like to recall the message, "[iText-questions] Why doesn't this code work?". -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side dev

Re: [iText-questions] Why doesn't this code work?

2009-05-21 Thread Bordeman, Chris
code work? Hi Chris, 2009/5/21 Bordeman, Chris My apologies. I did read the response, just got busy on other things and by the time I came back it had slipped my mind. Did you get a chance to create an example? Errr... Have you read the whole messa

[iText-questions] chunk object + multiple lines + setGenericTag - how to???

2008-01-13 Thread Chris Fleischmann
Hi Folks, I am hoping you can help me work out the following situation... I have a Chunk object that spans over multiple lines... I have the setGenericTag method attached to the chunk ovhect where I was hoping I could get the "rect" object (for the complete chunk object)... /** * Draws

Re: [iText-questions] chunk object + multiple lines + setGenericTag - how to???

2008-01-14 Thread Chris Fleischmann
Thank you, that has worked Thanks again, Chris Bruno Lowagie (iText) wrote: > > Chris Fleischmann wrote: >> I have a Chunk object that spans over multiple lines... I have the >> setGenericTag method attached to the chunk ovhect where I was hoping I >> could >&

[iText-questions] finding the position of xobject in an existing pdf

2008-02-14 Thread chris glace
I'm trying to find the position of an xobject in an existing pdf file. I'm wondering if there is a way to use stream.get(PdfName. . . to return the location of the object. The code I'm using is as follows. for (int i = 1; i < reader.getXrefSize(); i++) { PdfObject pdfobj

Re: [iText-questions] finding the position of xobject in an existing pdf

2008-02-15 Thread chris glace
Right, is there not a way to obtain the transformation matrix for the image? On Feb 15, 2008, at 2:48 AM, 1T3XT info wrote: > chris glace wrote: >> I'm trying to find the position of an xobject in an existing pdf >> file. >> I'm wondering if there is a way to us

Re: [iText-questions] finding the position of xobject in an existing pdf

2008-02-15 Thread chris glace
Looks like thats exactly what I have to do. . . well at least I know its not as easy as I had planned. On Feb 15, 2008, at 9:58 AM, 1T3XT info wrote: > chris glace wrote: >> Right, is there not a way to obtain the transformation matrix for the >> image? > > I think you

[iText-questions] xobjects

2008-02-22 Thread chris glace
Don't know if anyone remembers but I posted awhile ago about finding the CTM for xobjects. I was able to find the CTM for some xobjects but others returned null. I'm never able to find the the CTM for images. If anyone could help that would be awesome. PdfReader reader = new PdfReader("five

Re: [iText-questions] xobjects

2008-02-22 Thread chris glace
Leonard > > On Feb 22, 2008, at 5:34 AM, chris glace wrote: > >> Don't know if anyone remembers but I posted awhile ago about finding >> the CTM for xobjects. I was able to find the CTM for some xobjects >> but others returned null. I'm never able t

[iText-questions] finding all font sizes in document

2008-04-11 Thread chris glace
Is there a way to find the font sizes used in the PDF? I read through the PDF reference and it seems Tf should tell the Text size used. Here is my code. byte[] b = r.getPageContent(1); PdfContentParser cp = new PdfContentParser(new PRTokeniser(b)); ArrayList a = new ArrayList(); while (!cp.p

[iText-questions] frame a block of text?

2008-04-30 Thread Chris Bourke
I've only just recently picked up iText, so I'm new, but I couldn't find this answer after a long while on google/faqs. Coming from a latex background I want to get the same behaviour as a \fbox{text here} command. I've tried some hackish ways of doing this: defining a 1x1 table and adding a

[iText-questions] Table of Contents

2008-06-02 Thread Chris Bourke
I've added sections and subsections (cool auto-numbering by the way) to a document and I now want to insert a table of contents. After searching around I could only find one reference that said it was difficult and you needed to know the number of pages in advance. Is this true? How can I

[iText-questions] add external pdf to a *section*

2008-06-02 Thread Chris Bourke
t, the above code actually compiles, but it throws a "Insertion of Illegal Element" exception. Any help? --- Chris Bourke [EMAIL PROTECTED] http://www.cse.unl.edu/~cbourke --

[iText-questions] Combine PDFs

2008-06-06 Thread Chris Hannemann
First, this is my second day of working with itext and it looks really cool. I have the itext book and started down a path to combine some PDFs but after more reading I think I may be using the wrong clssses. I started with PdfCopy but I want to manipulate the files as I add the PDFs so I am

[iText-questions] Insert existing PDF stored as a blob

2008-06-23 Thread Chris Bourke
I can successfully insert (several) existing PDFs into a document (though page by page) from files. However, I want to insert a PDF that is stored as a blog directly from a database. Do I *have* to write it out to a temp file and then open it (via PdfReader) or is there an easier, more direc

[iText-questions] HTMLWorker: rowspan

2008-06-26 Thread Chris Bourke
row. Is there a possible fix? --- Chris Bourke [EMAIL PROTECTED] http://www.cse.unl.edu/~cbourke - Check out the new SourceForge.net Marketplace. It's the best place to buy or

[iText-questions] Appropriate LGPL announcement?

2008-07-01 Thread Chris Bourke
I'm using iText in a webapp and want to respect the LGPL license by announcing that i'm using iText with a link to the iText home page. Are there any suggested wording/announcement that I can use? - Sponsored by: SourceFo

[iText-questions] How can we create PDF document which contains html(html tags like pre, bold etc) using itextsharp

2008-07-10 Thread Chris Anderson
in dt.Columns) { string columnName = column.ColumnName; datatable.DefaultCell.BackgroundColor = Color.WHITE; Phrase phrase = new Phrase(row[columnName].ToString(), FontFactory.GetFont("Arial", 8)); datatable.AddCell(phrase); } } d

Re: [iText-questions] rowspan & colspan in HTMLWorker

2008-07-21 Thread Chris Bourke
> krishna tara wrote: >> Here I have one more doubt i.e. I have one simple html page called >> hello.html with some text only. Here I want to read the text from html >> and display under this created table. Is it possible in iText? If yes >> how can I do this? > > With HTMLWorker. > -- > This ans

[iText-questions] PDF Packages in Acrobat 8

2008-07-30 Thread Chris Richards
deal with multiple signed documents in the pdf? And can you sign the whole document, including all the signed documents? Thanks chris Scientific Analysis Laboratories Ltd aim to provide

[iText-questions] How do i unsubscribe to this list?

2008-08-21 Thread Chris Richards
On Thursday 21 August 2008 15:28:35 Leonard Rosenthol wrote: > Be aware that JHOVE is NOT a complete verifier - and it says so it > their documentation. It's certainly something that one could use as a > "first pass", but don't rely on it. > > Leonard > > On Aug 21, 2008, at 9:55 AM, Sheila M. Mor

[iText-questions] Invalid PDF generated

2005-07-18 Thread Chris Wilson
lly in both directions, so it's much too narrow. Does anyone know how to fix that? If I replace the third line with the following: PdfPCell bar = new PdfPCell(new Phrase("foo")); then it doesn't crash. Any ideas? I'm using the iText 1.3 jar library. Cheers, C

[iText-questions] Invalid PDF generated

2005-07-19 Thread Chris Wilson
ly in both directions, so it's much too narrow. Does anyone know how to fix that? If I replace the third line with the following: PdfPCell bar = new PdfPCell(new Phrase("foo")); then it doesn't crash. Any ideas? I'm using the iText 1.3 jar library. Cheers, C

RE: [iText-questions] Invalid PDF generated (fwd)

2005-07-19 Thread Chris Wilson
ce it displays this confusing message box, it doesn't seem very "silent" to me :-) Any ideas on how to avoid the message? Cheers, Chris. -- _ ___ __ _ / __/ / ,__(_)_ | Chris Wilson < at qwirx.com> - Cambs UK | / (_/ ,\/ _/ /_ \ | Security/C/C++/Java/Perl/SQL/HTML

RE: [iText-questions] Invalid PDF generated

2005-07-19 Thread Chris Wilson
y "silent" to me :-) Any ideas on how to avoid the message? Cheers, Chris. -- _ ___ __ _ / __/ / ,__(_)_ | Chris Wilson < at qwirx.com> - Cambs UK | / (_/ ,\/ _/ /_ \ | Security/C/C++/Java/Perl/SQL/HTML Developer

Re: [iText-questions] Invalid PDF generated

2005-07-19 Thread Chris Wilson
ss that the text "foo" will only occupy some proportion of the space, and make a two-column fixed-width table, but there are no guarantees). Thanks for your help! Cheers, Chris. -- _ ___ __ _ / __/ / ,__(_)_ | Chris Wilson < at qwirx.com> - Cambs UK | / (_/ ,

Re: [iText-questions] Print dialog

2005-07-27 Thread Chris Wilson
Hi Paulo, PdfWriter writer = ...; writer.setOpenAction(new PdfAction(PdfAction.PRINTDIALOG)); That's really useful, thanks! Could it be added to the examples documentation please? (alongside the javascript auto print example). Cheers, Chris. -- _ ___ __ _ / __/ / ,__(_)_ |

[iText-questions] Problems copying artwork, form fields, and images

2005-08-02 Thread Chris Miller
Hello, I am trying to merge a) pdf artwork b) a separate form field file and c) images into a single pdf. Eventually, this will have to support multi-page documents, but for now let's assume everything is merging together onto one page. I have tried numerous ways of doing it but have had no luc

[iText-questions] Form field text shifting after setField?

2005-08-31 Thread Chris Miller
nd iText has been great, this is the last hurdle I've got to overcome so any help would be much appreciated. Thanks! - Chris Miller - President/CEO AdSoft Direct, Inc. 1-888-3-ADSOFT (1-888-323-7638) Offi

RE: [iText-questions] Form field text shifting after setField?

2005-08-31 Thread Chris Miller
suggest a viable alternative. Thanks Paulo. At 06:15 AM 8/31/2005, you wrote: >The form field text layout is not even the same across Acrobat versions. > >> -Original Message- >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] On >> Behalf Of Chris Miller

Re: [iText-questions] Form field text shifting after setField?

2005-09-01 Thread Chris Miller
7;s not exact and if you go to newer Acrobat versions >it's even worse. You can change or duplicate TextField to suit your needs >or, better yet, as you are flattening just get the coordinates of the field >and write the text directly on it. > >- Original Message - >From

Re: [iText-questions] Text shifting in multiline form text fields after setField

2005-09-06 Thread Chris Miller
00 hours into this single problem with absolutely no >progress. We were suppose to unveil our new site two weeks ago, but a last >minute discovery of iText's inability to handle multiline text fields was >like running into a brick wall. I am trying to tak

[iText-questions] using setExtraMargin() with an existing form field

2005-09-13 Thread Chris Miller
i hope not) Please advise. Thanks, Chris Miller --- Chris Miller - President/CEO AdSoft Direct, Inc. Office: (925) 251-0566 Cell: (510) 504-5006 4780 Chabot Drive, Ste #120 Pleasanton

  1   2   3   >