Hi ,
I've downloaded the latest version of itext and built it ie 5.2.2 and have an
issue with bullet points and ordered lists in pdf document generation.
I have a html document which I generate a pdf from using the HTMLWorker to
parse the html.
sample html :
This is in bold
Arial.
, Jan 20, 2011 at 11:28 AM, Patrick Dürsteler wrote:
> Hello
>
> Thanks for your help! My Question was more if there is an function in iText
> to remove a such a pattern. I'm really new to iText and Java.
> I'm more common with PostScript and PDF Syntax.
> If you think
Hello schreef
The Position is correct,I've verified with getOverContent and the content
get to the right position!
Especially documents form google docs make problems, so no scanns! And I
think this PDF's were made with iText!?
Regards
Patrick
On Wed, Jan 19, 2011 at 4:36 PM, 1T
iginal 1/2 letter size pages to one sheet)
Is there an easy way to do so with the addPage method?
Thanks a lot
Patrick
--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enter
and it is there.
Do you have any clue ?
Here is my code:
private void buildPDFDocument()
throws Exception {
File pdfFile = new File ("/home/patrick/Bureau/compo/bulletin" +
this.documentCount + ".pdf");
File backgroundFile = new File
("/home
Sorry about that. I attached the target.pdf.
The target.pdf will also be generated, if you execute my test program.
Thanks!
>>> Leonard Rosenthol 17.11.2009 13:42 >>>
Can you please post a target.pdf?
-Original Message-
From: Patrick Hartmann [mailto:patrick.hartm..
). Could you please inform me on this matter?
Thank you.
Best Regards,
Patrick
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and
On Tuesday 28 April 2009 08.23:11 Patrick Valsecchi wrote:
> Hi,
>
> The attached code produces some strange results. It writes some text and
> draws a GIF with some transparent pixels over it. If you look at it on the
> screen, it looks good. If you print it, you get a big b
https://lists.sourceforge.net/lists/listinfo/itext-questions
> >>
> >>
> >>
> >> Buy the iText book: http://www.1t3xt.com/docs/book.php
> >>
> >> Check the site with examples before you ask questions:
> >> http://www.1t3xt.info/examples/
>
versions 8 and 9 and both are showing the same
behavior. But with kpdf, the printed results are correct.
I'm using iText version 2.1.5.
Do you guys have any idea on what may be wrong? My guess: Acrobat, but what
can we do?
Thanks.
--
Patrick Valsecchi
Senior Software Engineer
Campt
d=2543141&group_id=15255&atid=115255
Thanks a bunch.
--
Patrick Valsecchi
Senior Software Engineer
Camptocamp Suisse SA
http://www.camptocamp.com
+41 21 619 1030
--
This SF.net email is sponsored by:
SourcForge Comm
OK, I've fixed the bug. Please look at the patch attached to the bug report.
On Monday 17 November 2008 13.51:40 Patrick Valsecchi wrote:
> Hi,
>
> I have created a bug report:
> https://sourceforge.net/tracker/index.php?func=detail&aid=2305344&group_id=
>15255&am
Hi,
I have created a bug report:
https://sourceforge.net/tracker/index.php?func=detail&aid=2305344&group_id=15255&atid=115255
Thanks.
On Wednesday 05 November 2008 09.03:05 Paulo Soares wrote:
> I'll have a look next week.
>
> Paulo
>
> - Original Message
with both kpdf 0.5.8 and acroread 8.1.2.
Looks like a bug in iText.
Thanks.
--
Patrick Valsecchi
import com.lowagie.text.Document;
import com.lowagie.text.DocumentException;
import com.lowagie.text.Image;
import com.lowagie.text.pdf.PdfWriter;
import java.io.FileOutputStream;
i
, but
it does the trick.
There is nothing critical with this... I just wanted to give you guys a heads
up.
Thanks for the nice work.
--
Patrick Valsecchi
-
This SF.Net email is sponsored by the Moblin Your Move Develo
Have a nice weekend.
--
Patrick Valsecchi
Senior Software Engineer
Camptocamp Suisse SA
http://www.camptocamp.com
+41 21 619 1030
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest
On Friday 12 September 2008 16.39:29 Paulo Soares wrote:
> PdfPTable can't be added to any element.
But the comment in the code?
I don't do it just for fun, I do it for being able to display the total page
number of my PDF document in the middle of a phrase. The phrase can be inside
a table and
Hi,
On Friday 12 September 2008 11.44:39 Paulo Soares wrote:
> There are lots of layers when using complex objects. You should draw your
> background with PdfPCellEvent, probably.
Works great, but not when the PdfPTable is added into a Phrase. It acts like
the table was never added... but if I l
On Friday 12 September 2008 11.44:39 Paulo Soares wrote:
> There are lots of layers when using complex objects. You should draw your
> background with PdfPCellEvent, probably.
That is a good workaround. I didn't read the whole book, but maybe I should
have...
Thanks.
---
unctionalities:
- it would be cool to have an event sent after the chunk is drawn
- it would be cool to have the setGenericTag method on the Element class
instead of only the Chunk class.
CU and thanks
--
Patrick Valsecchi
Senior Software Engineer
Camptocamp Suisse SA
http://www.cam
Hi,
On Monday 23 June 2008 15.19:56 Paulo Soares wrote:
> I'm aware of the SF trackers but I forgot about this. I think that there
> is/was a problem with Acrobat with 1 bit indexed images. Does it happen
> in Acrobat 8?
I doubt it's a reader problem.
Bug visible with all those linux viewers:
Hi,
I tried to report a bug [1] on SF, the only place I found to report bugs for
iText. But I got no answer.
What is the official way to report bugs for iText? I found nothing in the FAQ.
Thanks.
[1]
http://sourceforge.net/tracker/index.php?func=detail&aid=1995715&group_id=15255&atid=115255
and cancelled by user." + newline);
}
}
}
This will burst the source PDF file into 152 PDF files of one page each. I
need to name them properly.
Pat,
Patrick O. Thurman
Stephen F. Austin State
Hi all,
I have an image for my header and footer. The problem I am having is
that there is no spacing between the start of the page and the image.
I have tried using
header.setSpacingBefore() for the PdfPTable that I am using to attach
header but I don't seem to get it (see attached
I am getting the following error message:
com.lowagie.text.DocumentException: Table 'name' does not exist in
C:\pdfFonts\ARIALN.TTF
And it originates failing on:
File fArialNarrow = new File("C:\pdfFonts\ARIALN.TTF ");
BaseFont baseFont =
BaseFont.createFont(fArialNarrow.
How can I prevent text from going into the footer area? I have a footer
and I am adding data from the Database which varies in length so when
there is too much info, some of it goes into the footer are and not to
the next page
I still have this "problem".
Has nobody an idea?
Thanks
Patrick Hartmann
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No li
Hi
I create a new PDF either with PdfWriter or PdfStamper and add an
annotation/PdfAnnotation.
Is it afterwards possible, to either remove or edit this annotation?
Thanks
Patrick Hartmann
-
This SF.net email is sponsored
Hi,
Is there a way of adding text to an existing PDF. If for instance the
existing PDF has a blank field for student Name and I want to add text
to that.
e.g Student name: ___
Address: ___
Any other text
--
I am struggling to add documents using RTF. Can someone please provide a
basic example on how to merge documents using importRtfDocument.
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay
Hi,
I can create a PDF document and then add other PDF documents and make it
one document (i.e. consolidate the documents). Now I am using RTF, is
there a way I can do the same thing. Any ideas?
-
Take Surveys. Earn Ca
transformation that supports forms? (apache fop does not)
Thanks for your answers!
If I extend the SAXiTextHandler I can make the code available if someone is
interessted in it.
Greeting Patrick
___
Viren-Scan für Ihren PC
iText here
Subject: Re: [iText-questions] Alignment of footer Text
Patrick Mugabe wrote:
> I am using the folllowing code to add a header and footer. It works
fine
> except that I am failing to align the text on the footer even after
> using setAlignment(Element.ALIGN_MIDDLE);
There'
I am using the folllowing code to add a header and footer. It works fine
except that I am failing to align the text on the footer even after
using setAlignment(Element.ALIGN_MIDDLE);
Is there something I am missing? Please assist
public void onEndPage(PdfWriter writer, Document documen
I am using the folllowing code to add a header and footer. It works fine
except that I am failing to align the text on the footer even after
using setAlignment(Element.ALIGN_MIDDLE);
Is there something I am missing? Please assist
public void onEndPage(PdfWriter writer, Document documen
dCell(cell);
Hope that answers your question
Kind Regards,
______
Patrick Mugabe
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jose
Gutierrez
Sent: Monday, November 27, 2006 8:34 PM
To: itext-questions@lists.sourceforge.net
Subject: [iText-questions] Font size in a ta
ok! me again! i think now we have the solution:
it's the font size which makes the problem.
try this code:
public class PdfTest {
public static void main(String[] args) {
Document document = new Document();
try {
PdfWriter.getInstance(document, new
FileOutpu
e this with these fonts you can reproduce the 'bug'.
should I send you also the font files?
thanks for you help
patrick
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay
the code looks like this:
Paragraph paragraph = new Paragraph();
paragraph.add(new Phrase("foo ", normalFont);
paragraph.add(new Phrase("bold", boldFont);
paragraph.add(new Phrase(" bar", normalFont);
document.add(paragraph);
and the text looks like this if "bar" begins on a new line:
foo bold
patrick
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and
on se) {
> System.err.println(se.getMessage());
> }
> document.close();
>return(blob);
> }
> }
>
>
>
> Pat,
>
>
>
>
>
>
>
>
> Patrick O. Thurman
> Stephen F. Austin State University
> Information Technology Services
> Data Base Administrator
> Phon
System.err.println(de.getMessage());
} catch (SQLException se) {
System.err.println(se.getMessage());
}
document.close();
return(blob);
}
}
Pat,
Patrick O. Thurman
Stephen F. Austin State University
Information
= cb.createTemplate(25, 25);
.
.
.
.
document.add(new Paragraph(11, lineText[i], fontDefFont));
.
.
.
.
document.close();
.
.
.
.
try {
vBytes = vRetBlob.setBytes(0, baosPDF.toByteArray());
}
catch (SQLException se) {
System.out.println("generatePDFDocumentBytes >> " + se);
}
Return(vRetBlob
4: we grab the ContentByte and do some stuff with it
PdfContentByte cb = writer.getDirectContent();
//
// we create a PdfTemplate
PdfTemplate template = cb.createTemplate(25, 25);
// if (createCoverPage) {
//genCoverPage;
System.out.println(sdf.format(new java.util.Da
Does:
new RandomAccessFile("PORA$DATA:[PORADATA.PDF]GuestVpnTemplate.pdf")
work?
Does:
new File("PORA$DATA:[PORADATA.PDF]GuestVpnTemplate.pdf").isFile()
return true?
Paulo
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]
tracking down the error or what is causing it.
Pat,
Patrick O. Thurman
DBAIII
Stephen F. Austin State University
[EMAIL PROTECTED]
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done q
tion e) {
System.out.println("33 " + e);
}
catch (FileNotFoundException e) {
System.out.println("4 " + e);
}
return true;
}
Pat
Patrick O. Thurman
Stephen F. A
ht place and the OS security
> is correct.
>
>
> pat
>
>
>> You may produce your PdfReader from a byte array and output the result
>> to a ByteArrayOutputStream.
>
> Paulo
>
>> -Original Message-
>> From: [EMAIL PROTECTED]
>> [mailto:[E
-Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Patrick O. Thurman
> Sent: Tuesday, October 31, 2006 4:20 PM
> To: itext-questions@lists.sourceforge.net
> Subject: [iText-questions] java.io.IOException when tring to
> read PDFtemplate
ocedure within the
database. I believe that this is a Oracle DB problem, but I cannot find the
difference between test and prod to solve the problem. I believe this in
NOT a security/priviledge problem, but some thing different, maybe file type
or..
aseFont, 8);
Cell cell = new Cell(new Phrase("Make me bold", colfont));
table.addCell(cell);
Kind Regards,
______
Patrick Mugabe
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
sachit dahal
Sent: Thursday, October 26, 2006 1:09 PM
I am adding a header and footer to my PDF document. When it rolls to the
next page the footer is added but the header isn't. The header is an
image and it appears on the first page. On the next page it adds double
lines with text in it. I don't know what's causing that.
It displays the following ch
Thanks Bruno, it works.
I enjoy using iText.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Bruno Lowagie (iText)
Sent: Tuesday, October 24, 2006 11:52 AM
To: Post all your questions about iText here
Subject: Re: [iText-questions] Positioning
Patrick
Below is a sample of my code. I want to position this image at
the top of the page and I can't seem to get it right. It positions it t
the bottom of the page. How do I resolve this.
Image img = Image.getInstance("c:\\iText\\logo.jpg");
img.setAbsolutePosition(0,0);
P
Phrase(cb + "",
FontFactory.getFont(FontFactory.TIMES_ROMAN, 7, Font.NORMAL));
HeaderFooter footer = new HeaderFooter(frPhraseImg, true);
document.setFooter(footer);
}catch(Exception ex){
}
}
Kind Regards,
______
Patr
Hi,I am using PDFCopy to attach selected documents to the cover page I generate from my database data. The documents I am attaching are standard but then I need to add a footer to these documents that matches my cover page. Any idea how I would go about this.
Please assist.-- Kind Regards,Patrick
Eps.main(TestEps.java:13)
=-=-=-=-=-=-= build/test script =-=-=-=-=-=-=
#!/bin/sh
javac -cp itext-1.4.5.jar TestEps.java
java -Djava.awt.headless=true -Dcom.apple.backgroundOnly=true -cp
itext-1.4.5.jar:. TestEps
=-=-=-=-=-=-=-=-=-=-=-=-=-=
--
Patrick Middleton
OneStep Solutions plc
351 London R
I can produce PDF files on the OS file system with no problems and they
appear in the directory that I can read and write to from java or Oracle's
UTL_FILE PLSQL package. I have placed my images in that directory and I
they do not appear in the PDF file.
The idea of loading the images into the
Hello all,
More info hoping for more help. I have loaded the iText.jar into my
Oracle 10g Database. I am also running my java class as a stored procedure
from within the database. To read and write to the OS file system from java
I must place files in a directory defined to Oracle. I placed t
p a newbie
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Patrick O. Thurman
> Sent: Monday, September 25, 2006 5:06 PM
> To: itext-questions@lists.sourceforge.net
> Subject: [iText-questions] Help a newbie
>
>
>
Hello all,
I need an image in my PDF. I have all the code,
but I do not know where to place the images(on disk)
Can someone please help?
Thanks in advance,
Pat,
Patrick O. Thurman
Stephen F.
Austin State
University
Information Technology Services
Data
Hi,I am using iText for creating PDF files. How do I set the font for the table cells or for the whole document.I have no problem with paragraphs-- Kind Regards,Patrick M
-
Take Surveys. Earn Cash. Influence the Future of IT
; is shown when the pdf is shown, and such pdf
file can't be printed by printer. Such image is retrieved from oracle database
as jfiff format, and can't be save as a .jpg file.
So, what can i do, thanks a lot for your kindly at
Hi,I want to add an image footer to my document. How do I do that with iText. I have gone through the documentation and I can't seem to find a way.
-
Using Tomcat but need to do more? Need to support web services, security?
Get
It works very well!
Thanks a lot
Regards,
Patrick
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Paulo Soares
> Sent: Sunday, 27 August 2006 17:52
> To: Post all your questions about iText here
> Subject: Re: [iText-questi
document without closing the outputstream?
Thanks a lot for any suggestion.
Regards,
Patrick
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated techno
I created a form using Adobe Live Cycle Designer 7. The PDF that it
creates is %PDF-1.6. iTextSharp is not returning the correct the tab
order of the form fields in this PDF, however.
I see that AcroFields.cs is setting an item's tab order simply from its
index position in the annots.ArrayList
I've forgotten my password, used to signup to list. Is
there any way I can either unsubscribe, or change to
daily digest?
thanks
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
lean, and I would prefer to
avoid:
Dim oBitmap As New
Bitmap(sTiffPath)oBitmap.Save(sTiffPath & ".tif")oImage =
iTextSharp.text.Image.GetInstance(sTiffPath & ".tif")
Do you have any Idea
how I can identify & fix what, in the Tiff file, is generating this
er
Got a workaround anyway... just added
String currentJavascript =
stamp.getReader().getJavaScript();
StringBuffer sb = new StringBuffer(currentJavascript);
To get around overwriting the javascript functions
embedded in the form, bit naff though.
-patrick
change the command
From document.add(new
Paragraph(12, line, fontDefFont));
To document.add(new
Paragraph(10 line, fontDefFont));
It will all fit on one page but the
font is also smaller. How do you set the leading parm
When you allow variable font sizes?
Patrick O. Thurman
Hi,
I have created a nice PDF-document that contains multiple
large table.
I now want the users to be able to hide/display these tables
separatably.
Is this possible with Itext?
Should I use Layers?
P.J.
Help
Is it possible to add a 'mailto:' ‘link’ with Itext I added some email-adresses in a table. I want the user to be able to click on them, after wich the email-client is started. Regards Patrick Janssen
ment).
I have also tried with a getResouceAsStream but it is worse: the whole image
is replaced by a black square.
Can someone help me please? Thanks.
Patrick
ItextImageProblem.GIF
Description: GIF image
Hi,
I’m been playing with images inside a table (mostly
jpg-format)
Now I want to put a pdf-image inside a pdf-cell.
Is this possble??
Greetz
P; Janssen
the IText api?
Any pointers, greatly appreciated.
Thanks
-patrick
Start your day with Yahoo! - make it your home page
http://www.yahoo.com/r/hs
---
SF.Net email is Sponsored b
I had a similar problem. Here's the high level code of
how I got around it... we're serving the pdfs out
through a bog standard servlet.
ServletOutputStream out = resp.getOutputStream();
ByteArrayOutputStream baos = new
ByteArrayOutputStream();
PdfReader inputPDF = new PdfReader(docBytes);
Hello all,
 I am new to iText.
I have used other Java Libs for generating PDF files.
I want to convert ASCII Printed report files to PDF and
maintain paging, spacing, and fonts.
Any samples or info would be great. Here is a sample of the
input file.
Thanks for your ti
efine the placeholder for an iteration in the xml-file and how I have
to fill this element in the servlet.
Regards Patrick
---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt
" else more.", new
Font(Font.HELVETICA, 12)));
doc.add(phc);
cell.add(phc);
thanks,
patrick
---
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from Think
ay to
just showText() without setting the alignment or positioning? If I do
have to supply the positioning, then my guess is top-most left-most part
of the page is (0,0)? Then I'll have to take in account the margins and
the full text width of a line minus the margin size. This cou
the PdfDictionary it's getting null.
PdfDictionary appDic =
(PdfDictionary)PdfReader.getPdfObject(merged.get(PdfName.AP));
This does not happen when the call to
partialFormFlattening is omitted.
Any help greatly appreciated,
thanks
-patrick
P.S. Here's my whole code snippet.
p
getDirectContent();
// draw a rectangle
cb.setRGBColorStroke(0x00, 0x00, 0xFF);
cb.rectangle(100, 700, 100, 100);
cb.stroke();
// create the annotation on top of the rectangle
Annotation annot = new Annotation(100f, 700f, 200f, 800f, "http://www.lowagie.com");
document.add(annot);
T
CR 'image + hidden text' on image pdfs, text that does not display, but allows searching and copy & paste ).
The output must be a no-longer-searchable pdf file with no means of selecting & copying text.
Is there any function in iText that allows this ?
Thanks,
Patrick
Patrick W
Acrobat to build the folder name ?
Thanks, Patrick
-
Legal Notice: This electronic mail and its
attachments are intended solely for the person(s) to whom they are addressed and
contain information which is confidential or otherwise protected
algorithm and exact parameters used by Acrobat to build the folder name ?
Thanks,
Patrick
-
Legal Notice: This electronic mail and its attachments are intended solely for the person(s) to whom they are addressed and contain information which is
the API the method is Table.addCell(Cell,int Row,int Column);
(this part works fine anyway)
The problem lies with the setWidths() methods. It seems to always create
errors if a table has more than 2 columns.. Anyone have similar problems?
Any help is greatly
column.
But according to the API the method is Table.addCell(Cell,int Row,int Column);
My code also works perfectly if I take the setWidths() part away.
Any further ideas?
Thanks a lot! Patrick
---
The SF.Net email is sponsored by Eclipse
ll("RECHNUNGSBETRAG");
Cell bruttoCell = new Cell(Double.toString(totalBrutto));
bruttoCell.setBorderWidth(0);
items.addCell(bruttoCell,4,3);
document.add(items);
But everytime I run it I get the error message "Wrong number of columns".
mber X keeps its (default?) font and
size. The result is that it looks quite ugly: "Page" in size 8 while the
number X has size 10. Is there a way to change this?
Regards,
Patrick Hancke
---
This sf.net email is sponsored by:Thi
ter off write C code from scratch since it
requires so many things just to print one document. Any suggestions are
greatly appreciated!!
Thanks,
Patrick Dezenzio
---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven
91 matches
Mail list logo