DNG images should be tiff compatible. If it doesn't work then iText doesn't support them.
> -----Original Message----- > From: Kandula, Ravi [mailto:[EMAIL PROTECTED] > Sent: Wednesday, April 13, 2005 10:37 PM > To: Paulo Soares > Cc: [email protected] > Subject: Laoding DGN Drawings File onto PDF > > Hi, > > We are loading images into pdf using Image class if itext API reading > image as byte array from table and is working great for JPG,GIF,TIF. > > Image pdfImage = Image.getInstance(imgbytes); > > Now we want to load DGN files onto PDF. The above code is not > recognizing the format of DGN Drawings File. > > Is there any other way of loading DGN files onto PDF using ITEXT Java > API. > > Any help on this is appreciated. > > Thanks, > Ravi.k. > > > > -----Original Message----- > From: Paulo Soares [mailto:[EMAIL PROTECTED] > Sent: Saturday, April 09, 2005 6:42 PM > To: Kandula, Ravi > Subject: Re: Water mark Chopping the borders of a table > > Table doesn't work with Watermark. Use a PdfPTable or put the image in > an > onStartPage() event in PdfWriter.getDirectContentUnder(). > > ----- Original Message ----- > From: "Kandula, Ravi" <[EMAIL PROTECTED]> > To: "Paulo Soares" <[EMAIL PROTECTED]> > Sent: Tuesday, April 05, 2005 7:43 PM > Subject: Water mark Chopping the borders of a table > > > Hi Paulo, > > I am using itext as a api for generating pdf reports from java > application. > We had tables with borders on the report. These are working fine up > until now. > We added a water mark onto the document and it is chopping off the > borders of the tables where ever it is drawn on the page. > > Is there any thing I had to do inorder to overcome this problem. If so > please let me know, as this is so important that we are > waiting only for > this to move application into production. Here is the code I > am using to > add water mark and table to document. > > Document document = new Document(); > Watermark w = new > Watermark(Image.getInstance("/img/dot_seal_b&w.jpg"), > 150, 280); > document.add(w); > > document.open(); > > Table atable = new Table(3); > atable.setBorderWidth(1); > atable.setPadding(2); > atable.setBorderColor(new Color(0,0,255)); > atable.setWidth(100.f); > > atable.addCell(new Phrase("[X] MUTCD 6-TYPICAL APPLICATION PLAN", > fontfac3)) > atable.addCell(new Phrase("[X] DETAILED TRAFFIC CONTROL PLAN > (ATTACHED)", fontfac3)); > atable.addCell(new Phrase("[ ] COMBINATION TYPICAL > APPLICATION & DETAIL > TRAFFIC CONTROL PLAN (ATTACHED)", fontfac3)); > > > document.add(atable); > > document.close(); > > Thanks, > Ravi..k > > -----Original Message----- > From: Paulo Soares [mailto:[EMAIL PROTECTED] > Sent: Thursday, February 17, 2005 4:55 AM > To: Kandula, Ravi > Subject: RE: [iText-questions] Inserting text into pdf and create new > one > > PdfStamper.addAnnotation() > > > -----Original Message----- > > From: Kandula, Ravi [mailto:[EMAIL PROTECTED] > > Sent: Thursday, February 17, 2005 5:15 AM > > To: Paulo Soares > > Subject: RE: [iText-questions] Inserting text into pdf and > create new > > one > > > > How can i add fields into a pdf template, could you please > reply with > > any sample or atleast a way to do this. > > > > Thanks, > > Ravi > > > > ________________________________ > > > > From: Paulo Soares [mailto:[EMAIL PROTECTED] > > Sent: Fri 2/11/2005 5:47 PM > > To: Kandula, Ravi; [email protected] > > Subject: Re: [iText-questions] Inserting text into pdf and > create new > > one > > > > > > > > For that to work you must have a pdf with a field named > > "ENCROACHMENT". Do you? > > > > ----- Original Message ----- > > From: "Kandula, Ravi" <[EMAIL PROTECTED]> > > To: <[email protected]> > > Sent: Friday, February 11, 2005 7:05 PM > > Subject: [iText-questions] Inserting text into pdf and > create new one > > > > > > Hi, > > > > I am trying to read a template PDF file and replace the > some tags with > > > actual data and create a new pdf file using itext. > > I am using Acroform and acrofields for this. Below is the program I > > had written for accomplishing this. When I tried to the no of fields > > it gave me 0 and it is not changing value of tag. > > > > Is this the correct way of reading a template pdf using acroform. > > > > If so am I doing wrong any where. > > Any help on this would be appreciated. > > > > > > > > import java.io.FileOutputStream; > > import java.io.IOException; > > import com.lowagie.text.*; > > import com.lowagie.text.pdf.*; > > Import java.util.*; > > > > public class EncroachTemplate { > > > > public static void main(String[] args) { > > > > System.out.println("Starting to read pdf template and build new > > pdf"); > > > > try > > { > > PdfReader reader = new > > PdfReader("c:/pdfwriter/General_Encroachment_Test.pdf "); > > PdfStamper stamp = new PdfStamper(reader, new > > FileOutputStream("Test.pdf")); > > > > AcroFields form = stamp.getAcroFields(); > > HashMap formfields = form.getFields(); > > > > System.out.println(" No of fields "+formfields.size() ); > > > > if(formfields.size>0) > > //set the field values in the pdf form > > form.setField("ENCROACHMENT","TEST"); > > > > > > stamp.setFormFlattening(true); > > stamp.close(); > > }catch(Exception e){System.out.println("Error: " + e); } > > > > } > > } > > > > Thanks > > > > > > ------------------------------------------------------- > > SF email is sponsored by - The IT Product Guide Read honest & candid > > reviews on hundreds of IT Products from real users. > > Discover which products truly live up to the hype. Start > reading now. > > http://ads.osdn.com/?ad_ide95&alloc_id396&op=ick > > _______________________________________________ > > iText-questions mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/itext-questions > > > > > > > > > > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions
