[iText-questions] PdfWriter and text annotations

2013-07-10 Thread Bassini Massimo
Hi everyone. I'm facing a case that I don't understand... I have a PDF with some writable text annotations. I do "some work" with this PDF and everything seems to work fine. Finally I have to save it PDF/A-2B format and I use the PdfAWriter class (I've found some code examples and generally it wor

[iText-questions] PdfWriter-Servlet generated pdf in Child Window- Need to check if the window is active or closed.

2012-09-26 Thread Brijoy Janardhanan
Hello We are using a Secured Application where the pdf generated will be opened in a separate window. (Servlet Call made to generate pdf- onclick of a button). While the main window is active, i want to know if the child window is closed or not. (The child window is iText generated pdf - i see onl

Re: [iText-questions] pdfWriter and pdfReader is missing all Markup & Annotation objects when using via template

2012-08-31 Thread iText Info
Op 30/08/2012 22:31, Hakan Usakli schreef: > I own the itext in action 2nd edition book and the code below is written > with guidance from the book - pages 90,91 (adding objects from template and > wrapping into an image for easier transformation) You are using the code from chapter 6, which you c

[iText-questions] pdfWriter and pdfReader is missing all Markup & Annotation objects when using via template

2012-08-30 Thread Hakan Usakli
Hello experts, below code tested on itextsharp 5.2.1 and 5.3.2 with same result. All markups (lines, polygons, text, arrows) done on top of the original content are MISSING in the output file. content itself is fine and the code works with no errors. PDFs with no markup & annotation content work f

Re: [iText-questions] PdfWriter throws Exception for Page Number when creating larger pdf files

2011-10-08 Thread Amedee Van Gasse
On Sat, October 8, 2011 08:45, 1T3XT BVBA wrote: > On 7/10/2011 20:55, vfeki wrote: >> I have managed to copy namedDestinations with PdfWriter and add new >> ones, >> but then I don't get all the links working correctly. > In that case, I don't understand the question. You have some links > working

Re: [iText-questions] PdfWriter throws Exception for Page Number when creating larger pdf files

2011-10-07 Thread 1T3XT BVBA
On 7/10/2011 20:55, vfeki wrote: > I have managed to copy namedDestinations with PdfWriter and add new ones, > but then I don't get all the links working correctly. In that case, I don't understand the question. You have some links working, and others not. We're looking at the problem from a dista

Re: [iText-questions] PdfWriter throws Exception for Page Number when creating larger pdf files

2011-10-07 Thread vfeki
or... can I use maybe still PdfCopy to add named destinations, just have then a problem with the offset parameter - I have tried to set it as 0 - will not work. Adding actions are fine, but that is not what I need. Anyone, any help on this please!!! Thanks!! -- View this message in cont

Re: [iText-questions] PdfWriter throws Exception for Page Number when creating larger pdf files

2011-10-07 Thread vfeki
Hi, I'm using PDFCopy, because the main thing I need to do is to insert additional NamedDestinations with specific names, and preserve all the existing NamedDestinations, Links, Bookmarks etc. I have looked at these examples from the Book of course, but did not find the solution to what I need. I

Re: [iText-questions] PdfWriter throws Exception for Page Number when creating larger pdf files

2011-10-07 Thread 1T3XT BVBA
On 7/10/2011 17:02, vfeki wrote: > Hi, > > I am using PDF Copy to create a copy of the existing PDF document that has > annotations (links I need), bookmarks etc. And you're not doing it correctly! Why do you do this: cb.AddTemplate(page1, 1, 1); and at the same time this: writer.AddPage(page1); T

[iText-questions] PdfWriter throws Exception for Page Number when creating larger pdf files

2011-10-07 Thread vfeki
Hi, I am using PDF Copy to create a copy of the existing PDF document that has annotations (links I need), bookmarks etc. Everything works great for smaller documents, but for larger ones when closing the Document I get the Error like the following: Error Message: " The page 569 was requested bu

Re: [iText-questions] PdfWriter doesn't write Arabic properly

2011-02-17 Thread 1T3XT BVBA
Op 17/02/2011 14:28, Mohammed Farrag schreef: bf = BaseFont.createFont("/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType/Arial.ttf", BaseFont.IDENTITY_H, true); I'm not sure if arial.ttf has the arabic characters; I usually use arialuni.ttf for non-Western languages. public Ele

Re: [iText-questions] PdfWriter doesn't write Arabic properly

2011-02-17 Thread Mohammed Farrag
bf = BaseFont.createFont("/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType/Arial.ttf", BaseFont.IDENTITY_H, true); On Thu, Feb 17, 2011 at 3:16 PM, Mohammed Farrag < [email protected]> wrote: > public Element newParagraph(String text, int alignment, Font font) { > >

Re: [iText-questions] PdfWriter doesn't write Arabic properly

2011-02-17 Thread Mohammed Farrag
public Element newParagraph(String text, int alignment, Font font) { Paragraph p = new Paragraph(text, font); p.setAlignment(alignment); return p; } On Thu, Feb 17, 2011 at 2:45 PM, 1T3XT BVBA wrote: > Op 17/02/2011 12:40, Mohammed Farrag schreef: > > Hi , > > > > I

Re: [iText-questions] PdfWriter doesn't write Arabic properly

2011-02-17 Thread 1T3XT BVBA
Op 17/02/2011 12:40, Mohammed Farrag schreef: > Hi , > > I tried to write Arabic content to pdf file using > PdfWriter(document,FileoutPutStream), but when I opened the pdf file > some of lines is over another lines so it is unreadable. You're not giving us sufficient info. Which font are you usi

[iText-questions] PdfWriter doesn't write Arabic properly

2011-02-17 Thread Mohammed Farrag
Hi , I tried to write Arabic content to pdf file using PdfWriter(document,FileoutPutStream), but when I opened the pdf file some of lines is over another lines so it is unreadable. Snippet : PdfWriter.getInstance(document, new FileOutputStream("file.pdf"); document.open(); MultiColumnText mct = n

[iText-questions] PdfWriter with PdfCopy Capabilities

2007-05-22 Thread quantass
Hi, can anyone help me with this issue? Currently writing a program that creates a PDF dynamically and based on that concatenates some files at the end. There are also internal links (created with set local destination etc.) that point to the concatenated files. PdfReader reader = new PdfRea

Re: [iText-questions] PdfWriter#setViewerPreferences(PdfWriter.PageModeUseOutlines) is not work

2007-04-15 Thread Bruno Lowagie
[EMAIL PROTECTED] wrote: > I use itext-2.0.1.jar . > PdfWriter#setViewerPreferences(PdfWriter.PageModeUseOutlines) is not > work. > But it work in itext-1.4.7.jar. > > Is it bug? If it is, please provide a small standalone sample that demonstrates the bug. My first guess is that you compiled you

[iText-questions] PdfWriter#setViewerPreferences(PdfWriter.PageModeUseOutlines) is not work

2007-04-14 Thread sinh
I use itext-2.0.1.jar . PdfWriter#setViewerPreferences(PdfWriter.PageModeUseOutlines) is not work. But it work in itext-1.4.7.jar. Is it bug? - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE

Re: [iText-questions] PdfWriter - unwanted page break after table

2006-10-31 Thread Paulo Soares
That's all explained in http://itextdocs.lowagie.com/tutorial/objects/tables/index.html. Paulo - Original Message - From: "Andrea Lombardoni" <[EMAIL PROTECTED]> To: Sent: Tuesday, October 31, 2006 10:36 PM Subject: Re: [iText-questions] PdfWriter - unwanted p

Re: [iText-questions] PdfWriter - unwanted page break after table

2006-10-31 Thread Andrea Lombardoni
orge.net] On > > Behalf Of Andrea Lombardoni > > Sent: Tuesday, October 31, 2006 4:35 PM > > To: itext-questions lists.sourceforge.net > > Subject: [iText-questions] PdfWriter - unwanted page break after table > > > > I am using itext-1.4.6.jar and I am e

[iText-questions] PdfWriter - unwanted page break after table

2006-10-31 Thread Andrea Lombardoni
I am using itext-1.4.6.jar and I am experiencing the following problem. When using the PdfWriter, after a table is split between two pages, an unwanted page break occurs. The content resumes on the new page. Am I doing something wrong or is this a bug? This was reported also here: http://thread

Re: [iText-questions] PdfWriter - unwanted page break after table

2006-10-31 Thread Paulo Soares
Table is not supported anymore, use PdfPTable. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Andrea Lombardoni > Sent: Tuesday, October 31, 2006 4:35 PM > To: [email protected] > Subject: [iText

Re: [iText-questions] PdfWriter sets wrong output intents info

2006-09-22 Thread Paulo Soares
You're right, it's switched. The fix is in the CVS. Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of M.-Leander Reimer > Sent: Friday, September 22, 2006 1:40 PM > To: [email protected]

[iText-questions] PdfWriter sets wrong output intents info

2006-09-22 Thread M.-Leander Reimer
Title: PdfWriter sets wrong output intents info Hi Bruno and Paulo, I found that the output intents info written in PdfWriter is slightly wrong. In line 2508 in class PdfWriter in the setOutputIntents method it says out.put(PdfName.INFO, new PdfString(registryName, PdfObject.TEXT_UNIC

RE: [iText-questions] PdfWriter / PdfStamper / PdfCopy

2005-04-14 Thread Paulo Soares
> Behalf Of Bruno Lowagie > Sent: Thursday, April 14, 2005 2:12 PM > To: '[email protected]' > Subject: [iText-questions] PdfWriter / PdfStamper / PdfCopy > > The chapter is still under construction, but for those who need it: > http://itext.sourcef

[iText-questions] PdfWriter / PdfStamper / PdfCopy

2005-04-14 Thread Bruno Lowagie
The chapter is still under construction, but for those who need it: http://itext.sourceforge.net/tutorial/general/copystamp/ BTW: can anyone point me to the example Paulo posted on setting the printscaling in the ViewerPreferences? I searched the mailinglist, but only found Leonard's reference to p

[iText-questions] pdfwriter and xobjects

2004-09-24 Thread Carsten Hammer
Hi, are there any problems to expect using XObjects using some RIPs? I had this question some time ago using some Fiery RIPs and after some time they fixed some bugs in their software and new Fierys now work. But now I again have problems on a different RIP based on Adobes PDFLib (using Paulos

RE: [iText-questions] PdfWriter Error

2004-07-29 Thread Paulo Soares
9, 2004 2:42 PMTo: [EMAIL PROTECTED]Subject: [iText-questions] PdfWriter Error This code works like a charm to create a html-file, but as soon as I try to use it to create a pdf file I get the previous mentioned error. Document document = new Document(PageSize.A4, 50

[iText-questions] PdfWriter Error

2004-07-29 Thread Joakim Höglund \(Paynova\)
This code works like a charm to create a html-file, but as soon as I try to use it to create a pdf file I get the previous mentioned error. Document document = new Document(PageSize.A4, 50, 25, 25, 10); try {    HtmlWriter.getInstance(document, new FileOutputStream("E:\\Websajte

RE: [iText-questions] PDFWriter and bookmarks and links

2004-03-05 Thread Paulo Soares
to:[EMAIL PROTECTED] On > Behalf Of Hugo Caillet > Sent: Thursday, March 04, 2004 3:56 PM > To: [EMAIL PROTECTED] > Subject: [iText-questions] PDFWriter and bookmarks and links > > Hi All, > > I'm using a PDFWriter to write a new document with somes > pages fro

[iText-questions] PDFWriter and bookmarks and links

2004-03-04 Thread Hugo Caillet
Hi All, I'm using a PDFWriter to write a new document with somes pages from a first document. The problem is that the bookmarks and links from the first document are lost. How can you get the bookmarks and links from the first document and write them with the PDFWriter ? Which class can I use ?

Re: [iText-questions] PdfWriter createInstance performance hit

2003-10-01 Thread Jürgen Lind
rvlet container. No heavy initializations are done as you can check with the command line speed. Best Regards, Paulo Soares - Original Message - From: "Jürgen Lind" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, October 01, 2003 13:04 Subject:

Re: [iText-questions] PdfWriter createInstance performance hit

2003-10-01 Thread Paulo Soares
D]> Sent: Wednesday, October 01, 2003 13:04 Subject: [iText-questions] PdfWriter createInstance performance hit Hi, while playing around with itext for some time to see if it fits in our project, I stumbled over some strange behavior: whenever I create a iText PdfWriter within a servlet, the creation

[iText-questions] PdfWriter createInstance performance hit

2003-10-01 Thread Jürgen Lind
Hi, while playing around with itext for some time to see if it fits in our project, I stumbled over some strange behavior: whenever I create a iText PdfWriter within a servlet, the creation time jumps up to about 10 seconds for the first invocation of createInstance. All subsequent invocations are

[iText-questions] PdfWriter proposal

2003-03-26 Thread Paulo Soares
I attach a PdfWriter with all the inner classes made static and the os access made with getOs() as per Matt/Finn patch. Best regards, Paulo Soares <> PdfWriter.zip Description: Binary data

Re: [iText-questions] Pdfwriter with multiple table Paragrph objects

2002-03-21 Thread Carsten Frewert
On Thu, 21 Mar 2002, [EMAIL PROTECTED] wrote: > eg: If I want to add some paragraph data, one List, few tables in one > single document, it does not work. > > I get > > Error: null Don't get me wrong, but make sure that you call Document.open() before adding any content. Ciao, Carsten

Re: [iText-questions] Pdfwriter with multiple table Paragrph objects

2002-03-21 Thread Bruno Lowagie
Quoting [EMAIL PROTECTED]: > Hello, > > I am facing difficulty in the method document.add when it is called > multiple times in while processing the data. > > eg: If I want to add some paragraph data, one List, few tables in one > single document, it does not work. > > I get > > Error: null

RE: [iText-questions] PDFWriter

2002-01-29 Thread Paulo Soares
gt; To: '[EMAIL PROTECTED]' > Subject: [iText-questions] PDFWriter > > > Code Snapshot: > > Font font= new Font(Font.COURIER, 16, Font.BOLD, new > java.awt.Color(255, 0, 0)); > > trace(LogManager.INFO,methodName, "BEFORE DOC P

[iText-questions] PDFWriter

2002-01-29 Thread Bhagia, Mahesh
Code Snapshot: Font font= new Font(Font.COURIER, 16, Font.BOLD, new java.awt.Color(255, 0, 0)); trace(LogManager.INFO,methodName, "BEFORE DOC PDF SERVLET") ; Document doc = new Document(PageSize.LETTER, 30, 30, 30, 30); trace(LogManager.INFO,met