Hello,
I generate a PDF document with lots of data.
Here is some sample code:
String docName = Tools.get_tmp_path()+System.currentTimeMillis()+".pdf";
PdfWriter writer = PdfWriter.getInstance(document, new
FileOutputStream(docName));
writer.setPageEvent(new PdfPageEventHelper() {
public voi
Now I use Paragraph instead of Phrase in my cells and I do not set the
leading. That is my solution ;-)
thanks
Marcus
-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just ab
Hello,
here is some example code for my problem:
com.lowagie.text.Document document = new
com.lowagie.text.Document();
String doc1 = "RtfWriter.rtf";
String doc2 = "RtfWriter2.rtf";
com.lowagie.text.r
The document type I create is RTF.
In itext 1.4.4 I use the class RtfWriter and in iText 2.1.x the class
RtfWriter2.
That is the only difference I suppose.
- Original Message -
From: "Howard Shank" <[EMAIL PROTECTED]>
To: "Post all your questions about iText here"
Sent: Tuesday, June 2
Hello,
has anyone tried my example? The problem is the distance between two lines
that are separated by "\n". in itext 1.4.4 everything is normal but in itext
2.1.x the distance is about 16pt.
best regards
Marcus
- Original Message -
From: <[EMAIL PROTECTED]>
To: "Post all your questi
Hello,
here an example:
Table table = new Table(1);
Cell cell = new Cell(new Phrase("texttexttext\ntexttexttext\ntexttexttext",
FontFactory.getFont("Arial",
10,
com.lowagie.text.Font.NORMAL)));
cell.setHor
Hello,
I generate a RTF document with iText 2.1.2u.
I create a table and add many cells to it. When a cell contains a "\n" iText
does not generate a normal line distance but a distince liek this: at least
16pt.
What can I do to get a normal line distance?
best regards
Marcus
Germany
---
Thanks Paulo,
but why is it possible to use Helvecita in Rtf???
I just changed the following in RtfWriter.java (method writeFontList()):
case Font.HEVETICA:
os.write(fontSwiss);
os.write(escape);
os.write(fontCharset);
os.write(os, 0);
os.write(delimiter);
//os.write(font
Hello,
when I generate a pdf with text in Helvetica, it is not Helvetica but Arial.
What is the solution? I really need Helvetica ...
Thanks a lot
best regards
Marcus
Germany
-
SF.Net email is sponsored by:
Check out the
Hello,
I downloaded the itext sources. to compile it, I downloaded also the
bouncycastle jar files.
I integrated the itext sources and the bouncycastle jars in my test project.
when I run my test project as a jar file I get the following error:
Exception in thread "main" java.lang.SecurityExcep
Hello,
ich want to generate a rtf file with Helvetica as font. But when I open the
doc in MS Word, it says the font is Arial.
here my source:
Cell c = new Cell(new Phrase("text", FontFactory.getFont("Helvetica", 11,
com.lowagie.text.Font.BOLD)));
Does anybody has a solution for this?
regards,
Ma
11 matches
Mail list logo