I got this exception while generating PDF of my JFrame.
com.lowagie.text.exceptions.IllegalPdfSyntaxException: Unbalanced
save/restore state operators
Following is the code snipshot of generating pdf.
In that this is the instance of Jframe
Document document = new Document();
try {
Op 11/06/2013 8:59, Gajanand Shendge schreef:
com.lowagie.text.exceptions.IllegalPdfSyntaxException: Unbalanced
save/restore state operators
Was your post an answer or a question?
It's not clear.
Also: you're using a version of iText that is 4 years old (and thus no
longer supported).
Please
Hello all,
I am using itext-1.3.1.jar for generating PDF reports. I have a problem
while trying to display footers.
My code is as below:
Document doc = new Document(PageSize.A4, leftMargin, rightMargin, topMargin,
bottomMargin);
try {
doc.addAuthor(XYZ);
-questions@lists.sourceforge.net
Subject: [iText-questions] iText : problem with footers
Hello all,
I am using itext-1.3.1.jar for generating PDF reports. I have
a problem while trying to display footers.
My code is as below:
Document doc = new Document(PageSize.A4, leftMargin
Hi tharas,
2009/7/6 ...tharas thar...@gmail.com
Hello all,
I am using itext-1.3.1.jar for generating PDF reports. I have a problem
while trying to display footers.
[...]
Some comments :
- iText 1.3.1 is more than 4 years old, you should NOT expect any support
for such an old version. At
Already asked and already answered.
Paulo
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of abhishek agarwal
Sent: Wednesday, February 27, 2008 8:53 AM
To: itext-questions@lists.sourceforge.net
Subject: [iText-questions] iText - Problem
Hi All,
I have created template forms using Adobe professional containing a number of
text fields with font set to one of the Ukrainian fonts. I now stamp the pdf
template with data at run time but the Ukranian letters are lost and not
printed when the stamping is done and only English
It would be helpful to see your PDF.
Paulo
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of abhishek agarwal
Sent: Monday, February 25, 2008 6:25 AM
To: itext-questions@lists.sourceforge.net
Subject: [iText-questions] iText - Problem in filling
Hi All,
I have created template forms using Adobe professional containing a number of
text fields with font set to one of the Ukrainian fonts. I now stamp the pdf
template with data at run time but the Ukranian letters are lost and not
printed when the stamping is done and only English
Dear Sir;
i have a problem when using iText to produced pdf , when i insert header
and footer on each pdf page the header will be override the content of the
page, so i need to know how i can shrunk the pdf content to insert the
header before the content.
Thanks
Hossam Rgaab
It's hard to know what to recommend without knowing what your content is. If
your content is text, then increase the margins on the page until there is
no overlap. If it's an image, scale the image, using the scaleToFit methods
as described in the book.
---Mister Bean
hoss * wrote:
Dear
Hi,
I am using itext to create dynamic web pdf.
For some reason when i add the
Image jpg = Image.getInstance(image.gif);
I get a ExceptionConverter: java.io.IOException: The document has no pages
error.
This works when i save it on a pdf locally, but it doesnt work when I try to do
it
It's probably throwing an exception that you are ignoring.
Paulo
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of [EMAIL PROTECTED]
Sent: Thursday, July 19, 2007 4:12 PM
To: itext-questions@lists.sourceforge.net
Subject: [iText-questions] IText
: [iText-questions] IText problem with images
Hi,
I am using itext to create dynamic web pdf.
For some reason when i add the
Image jpg = Image.getInstance(image.gif);
I get a ExceptionConverter: java.io.IOException: The document
has no pages
error.
This works when i save it on a pdf
yes! you're right.
the problem only exists if we use our special font. we do it like this:
String normalFontName = Frutiger-Cn;
String normalFontFile = externals/fonts/Ftc_.ttf;
String boldFontName = Frutiger-BlackCn;
String boldFontFile =
Patrick Kaegi wrote:
the problem only exists if we use our special font.
I haven't seen that kind of behavior before.
should I send you also the font files?
Frutiger is not a free font. Please don't send it.
I think I have it somewhere at work.
I'll do my test with it tomorrow.
br,
Bruno
Hello all,
I created a pdf document with three tables in it.
The third table should appear on one page. So i set the
Table.setTableFitsPage() to true.
But when i create the document again, the table is split into two parts and
is displayed on two pages.
Thanks,
marcus
That's probably a corruption in your jdk or you need to compile iText
with 1.3.
-Original Message-
From: arse alam [mailto:[EMAIL PROTECTED]
Sent: Monday, February 21, 2005 12:10 PM
To: Paulo Soares
Subject: Re: RE: RE: [iText-questions] iText problem with
Linux(non-gui
What's the full stack trace?
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On
Behalf Of arse alam
Sent: Saturday, February 19, 2005 12:39 PM
To: itext-questions@lists.sourceforge.net
Cc: [EMAIL PROTECTED]
Subject: [iText-questions] iText problem
hi,
i have a problem with a method of itext code when i
compile.
this is the part of class:
i have the problem when i call
getParameterMap().
protected Element
makeHTTPParameterInfoElement(final
HttpServletRequest
req){
Map mapParameters =
null;
mapParameters = new
: Thursday, July 08, 2004 1:14
PMTo: [EMAIL PROTECTED]Subject:
[iText-questions] iText problem
hi,
i have a problem with a method of itext code when
i compile.
this is the part of class:
i have the problem when i call
getParameterMap().
protected Element
]'
Subject: [iText-questions] Itext problem
How could I change the traditional Chinese font widths?
My source code is as the following:
BaseFont bf = BaseFont.createt(/dir1/dir2/kaiu.ttf,
BaseFont.IDENTITY_H, BaseFont.EMBEDDED);
int widths[] = bf.getWidths
[Itext Problem] : Images not displayed correct
Hello together,
hope somebody can help me. I'm using Itext version 0.92.
now i've got the following problem when i'd like to create PDF from an HTML
file.
I'd like to write two images side by side.
I'd tried the following html code:
test 1
table
23 matches
Mail list logo