Hi Andreas,
you'll have to use JAI to do the conversion from YCbCr to RGB and then
iText to convert to PDF. This should work, but please take the performance
impact of these operations into consideration. You don't have any problems
if this only runs in some kind of batch processing with no one
Paulo is right of course. I found the line in my code.
Von:Benjamin Rein
An: Post all your questions about iText here
Datum: 26.01.2012 16:05
Betreff:[iText-questions] Antwort: PdfpTable does not line up with
leftjustified text
Hi,
try to explicitly set the
Hi,
try to explicitly set the left borderwidth of all elements inside the
table to 0 (e.g. PdfPCells). I think I could solve it this way. I newer
versions this behaviour is the same I think.
Please read the keyword article (http://itextpdf.com/themes/keywords.php)
and/or the book about text mod
Hi,
you have to add the footer content with the class ColumnText in simulation
mode (check http://itextpdf.com/themes/keywords.php#C). This has to be
done before adding the other content above the footer to the page
(onEndPage method is too late). With this tool you know how much space is
need
In addition to the error Keith found there is another one. You've missed
to include the second last line of coding in the if clause with the
special handling for images with different dpi values.
***
'if images have a different resolution (dpi value) for
x and y the scaling
Hi Hugh,
this is a working solution for Java. You just have to convert it to C#.
if (img != null) {
// scale if too big to fit on page
if (img.getScaledWidth() > PageSize.A4.getWidth() ||
img.getScaledHeight() > PageSize.A4.getHeight()) {
// if images have a dif
xed it. Doing a quick migration of a few projects
form version 1.3.1 to 5.1.1.
Thanks so much for getting back, I appreciate it a lot.
Pierre
From: Benjamin Rein [mailto:r...@viessmann.com]
Sent: 29 November 2011 07:54
To: Post all your questions about iText here
Subject: [iText-questio
Hi Pierre,
I had a bug with splitting of PDFPTable some time ago. It was one big
table over multiple pages. When the space occupied by the content on one
page hits a special height, the full content of the splitted row is
printed on the next page again. This is due to internal rounding problems
Hi,
since V5.0.0 the classes Table and Cell have been removed. See
http://www.itextpdf.com/history/?branch=50&node=500
You've to use PdfPTable and PdfPCell instead. Have a look at the API docs
to convert your existing code.
Best regards
Benjamin
Von:Bipin Mallik
An: iText-questions@
Hi,
if you cannot give more memory to the process with the java -Xmx (e.g.
-Xmx1800M) param there are 2 approaches in general.
1. optimise code or use case when possible
2. use 64bit OS + 64bit JVM with -Xmx param > 2GB
Best regards
Benjamin
Von:LA
An: itext-questions@lists.sourcefo
Hi John,
in the pre 5.x versions there is an ant target for building the javadoc
from source. I've never needed this in 5.x. But it's worth the try. So
download the source release and check the build.xml.
Best regards
Benjamin
Von:
"Hinkamp, John J, (Johnny), CTR, AUTEC"
An:
Datum:
30.09.2
Here is another hint: http://www.bouncycastle.org/documentation.html
You could have looked this one up yourself by using the keywords Paulo
gave you (i.e. bouncycastle policy file).
Best regards
Benjamin
Von:
Rhino
An:
Post all your questions about iText here
Datum:
19.01.2010 14:19
Betreff
he fly. Is there an
option
to save it additionaly?
Benjamin Rein wrote:
>
> If you use FileOutputStream like this I would guess the PDF is saved in
> the Java working or temp directory. Just look into that one and check if
> the PDF is saved. Please take a look at the FileOutpu
If you use FileOutputStream like this I would guess the PDF is saved in
the Java working or temp directory. Just look into that one and check if
the PDF is saved. Please take a look at the FileOutputStream Java API docs
for other alternatives.
Best regards
Benjamin
Von:
ostpower
An:
itext-q
Hi Jason,
you stumbled over the differences of text and composite mode.
Example:
http://1t3xt.info/tutorials/keywords/index.php?page=keyword&id=312
That's one reason to buy the book. Explained very well in there ;)
Best Regards
Benjamin
Von:
Jason Baginski
An:
Datum:
09.12.2009 03:51
Betr
What methods do you use to add elements to the page of the PDF with the
false vertical position? I've experienced that the vertical position is
reliable only when using document.add(...). I don't know if this is by
design or caused by using the iText API incorrectly in my app.
Best regards
Benj
Hi tamtam18,
you won't get constantly good results when you change beetween absolute
and automatic positioning on one page. The page could look good for some
content, but you never can be sure for all content. The only exception I
can think of is a page content with automatic positioning and ad
Hi,
please check which version of Acrobat Reader you are using. Do you set the
PDF version manually when generating the PDF? What version is it?
Best regards
Benjamin
Fenil Parikh
19.03.2009 06:52
Bitte antworten an
fe...@arionsystems.com; Bitte antworten an
Post all your questions about iT
I've not looked into the commercial solution, but it sounds like you could
do this yourself with OpenOffice. Google for Open Office UNO API.
Best regards
Benjamin
1T3XT info
04.03.2009 13:47
Bitte antworten an
Post all your questions about iText here
An
Post all your questions about iTex
Hi,
please post all questions to the list. I don't have any experience with
Adobe Livecycle*. Maybe your question is offtopic here, but this should be
decided by someone with more experience in this area.
Best Regards
Benjamin
- Weitergeleitet von Benjamin Rein/Allendorf/VIESSMANN/
Maybe the text about the mailing list should be enhanced stating the fact
that mails from not registered addresses first have to be approved by an
admin.
At the moment it could be unclear if not read carefully.
"iText has a very active mailing-list. If you don't want to register
rightaway, you
Hi,
try to identify which fonts you are using on the Win32 machine and put the
*.ttf files in the classpath on the iSeries. For testing purposes you can
put them in your project. Try to generate the pdf again. If it works, you
can be sure that it's a font issue.
Best regards
Benjamin
Cody S
http://en.wikipedia.org/wiki/GNU_Lesser_General_Public_License
Best regards
Benjamin
Cool The Breezer
20.02.2009 10:10
Bitte antworten an
techcool.ku...@yahoo.com; Bitte antworten an
Post all your questions about iText here
An
Post all your questions about iText here
Kopie
Thema
Re: [i
amea.de
To: Post all your questions about iText here
Sent: Thursday, February 12, 2009 4:12 PM
Subject: Re: [iText-questions] Antwort: PdfPTable: How to get a
repeatingBackgroundimage in a Cell
Hi,
Thanks for your help, but I didn't see how it works.
best regards
Markus
- Orig
irst one.
Best regards
Benjamin
Benjamin Rein
12.02.2009 16:04
Bitte antworten an
Post all your questions about iText here
An
Post all your questions about iText here
Kopie
Thema
[iText-questions] Antwort: PdfPTable: How to get a repeating
Backgroundimage in a Cell
Hi,
the class
Hi,
the class you're looking for is called PdfPTableEvent.
example (last one on this page):
http://stderr.org/doc/libitext-java-doc/www/tutorial/ch12.html
Best regards
Benjamin
12.02.2009 12:30
Bitte antworten an
Post all your questions about iText here
An
"Post all your questions about
Hi Phil,
here is your answer
http://www.nabble.com/Saving-PDF-files-with-Reader-Extension-td7330698.html
Best regards
Benjamin
Phill Edwards
12.02.2009 10:27
Bitte antworten an
Post all your questions about iText here
An
itext-questions@lists.sourceforge.net
Kopie
Thema
[iText-question
I think it would be way easier to use a PDF printer with grayscale setting
to accomplish your requirement. I don't know if its possible, but you try
to use the OpenOffice UNO API to load and convert the PDF.
Best regards
Benjamin
Leonard Rosenthol
11.02.2009 20:13
Bitte antworten an
Post al
Hi Sainath,
there a two different ways to create PdfPCells. Text mode and composite
mode. You've used text mode. There the attributes of the paragraph are
ignored. With composite mode these attributes are respected and you can
use the getDefaultCell feature of PDFPTable.
Have a look at this e
Hi,
we had this discussion a few days ago.
http://www.nabble.com/Convert-an-existing-PDF-to-PDF-A%2C-and-sign-it-td21578384.html#a21578384
Best regards
Benjamin
RWendi
03.02.2009 05:59
Bitte antworten an
Post all your questions about iText here
An
itext-questions@lists.sourceforge.net
K
Hi Dhakshin,
OpenOffice.org in server mode can convert all documents that can be read
by it to e.g. pdf or odt. To get more information google for the words
open office uno api.
Best Regards
Benjamin
Alexis Pigeon
02.02.2009 12:10
Bitte antworten an
Post all your questions about iText here
Hi Kevin,
please have a look at the following tutorial:
http://stderr.org/doc/libitext-java-doc/www/tutorial/ch10.html
Example 7 deals exactly with your problem.
Best Regards
Benjamin
Kevin Logue
21.01.2009 15:39
Bitte antworten an
Post all your questions about iText here
An
itext-ques
Hi Charlie,
I think it's possible to let iText do the splitting work automatically,
but I don't know if it's the best way.
Couldn't you just call Document.newPage() after adding a complete data set
to the document?
For doing the newPage automatically you have to add a Chunk with
GenericTag as
Hi,
you can use OpenOffice.org in server mode for this problem. In server mode
OpenOffice is launched without GUI and listens to TCP connections. Java
API docs for OpenOffice classes that are needed for making the connection
are available at OpenOffice.org
Best Regards
Benjamin
1T3XT info
Hi Matthias,
the short answer is no. For a detailed explanation look at Re:
[iText-questions] HELP PLEASE! PdfReader.removeUsageRights(). It was
posted yesterday at 8:25 p.m. by Paulo (<[EMAIL PROTECTED]>).
Best Regards,
Benjamin
Matthias Uhler <[EMAIL PROTECTED]>
05.12.2008 11:58
Bitte ant
Hi,
just have a look at the java API docs Classloader.
getResourceAsStream(...). I use this method to insert a gif image which is
contained inside the war file. Development OS is Win XP. Production is
AIX.
Best Regards
Benjamin
"Alexis Pigeon" <[EMAIL PROTECTED]>
03.12.2008 11:38
Bitte antw
Hi,
the solution you are looking for is the class ColumnText (in particular
the methods addElement and go(true)). Just have a look at chapter 7
"constructing columns" in iText in Action.
Best Regards
Benjamin
Tobias van Treeck <[EMAIL PROTECTED]>
18.11.2008 19:08
Bitte antworten an
Post al
Hi,
just look at this example:
http://stderr.org/doc/libitext-java-doc/www/tutorial/ch06.html
I'm wondering what you exactly mean with "damaging the integrity of the
data".
Best Regards
Benjamin
"Mukherjee, Sankar" <[EMAIL PROTECTED]>
18.11.2008 19:23
Bitte antworten an
Post all your quest
be
done without changing iText. A (ugly) workaround is to have a generic tag
event placed in the last char of the last paragraph to mark the validity
of the cell event.
Paulo
> -Original Message-----
> From: Benjamin Rein [mailto:[EMAIL PROTECTED]
> Sent: Monday, September 29, 200
I can see a problem here. Have a variable in your code to
keep track of the number of times the event was called. If it's the second
time just ignore.
Paulo
> -Original Message-
> From: Benjamin Rein [mailto:[EMAIL PROTECTED]
> Sent: Friday, September 26, 2008 1:22 PM
before.
Best Regards,
Benjamin Rein
Benjamin Rein <[EMAIL PROTECTED]>
26.09.2008 14:11
Bitte antworten an
Post all your questions about iText here
An
Post all your questions about iText here
Kopie
Thema
[iText-questions] Antwort: Re: PdfPCellEvent and Pagebreak Problem
Hi
e for this? Thanks very much.
Best Regards,
Benjamin Rein
Paulo Soares <[EMAIL PROTECTED]>
26.09.2008 13:27
Bitte antworten an
Post all your questions about iText here
An
Post all your questions about iText here
Kopie
Thema
Re: [iText-questions] PdfPCellEvent and Pagebreak Problem
alled only once for
every Paragraph ignoring the number of pages which the Paragraph needs to
be completely displayed. Is there any chance to achieve this with
PdfPCellEvent or should I rather use something else?
Thanks in advance.
Best Regards,
Benjamin
Hi Joe,
I'm not absolutely sure, but I think it's maybe a similar problem like one
I had some time ago. Please check the dpi x and y values for TIFFs that
work and ones that don't work. If the dpi values for x and y axis are
different, you have to respect that while scaling the image. I use
Ir
Hi there,
I had a problem scaling TIF images with the Image.scaleToFit method. The
effect was that the image proportions were changed i.e. text was not
readable, because it was compressed from the right and left side.
Searching the archive I found a hint from Paulo (Subject: Converting TIF
to
Bruno Lowagie wrote:
> It's explained well, and you're not doing anything wrong.
> It's just that iText is designed to do what you describe
> (show the content as soon as possible) and nobody seems
> to have the time to implement something that would make
> iText behave the way you want it.
> br,
>
ou in advance.
Best regards,
Benjamin Rein
Benjamin Rein <[EMAIL PROTECTED]>
19.02.2007 16:21
Gesendet von: [EMAIL PROTECTED]
Bitte antworten an
Post all your questions about iText here
An
itext-questions@lists.sourceforge.net
Kopie
Thema
[iText-questions] Pagebreak problem after ch
on to my
problem. References to the book are welcome, when you can point me to
anything that leads to a solution.
Thank you very much in advance.
Best regards,
Benjamin Rein
-
Take Surveys. Earn Cash. Influence the Future of I
48 matches
Mail list logo