I believe we answered this question for you by explaining that it was a
difficult problem and that it would require you to learn the internals of PDF
in order to make it work.
I recommend that you look into “marked content” and the use of the content
parser.
Leonard
From: Rahul Soni [mailto:r
Hello All,
I have one problem with PdfPTable Requirement is such like I have to stamp pdf
file with some text like TEST within the rectangle box. So for this requirement
I have used PdfPTable and created one table with once column and added once
cell in it and in the cell i have written TEST. T
Xavier,
Does this pom.xml simply provide access to the pre-built jars? I see nothing
that seems to refer to the process of building (but that could be just my
ignorance of maven.)
Peter
On 20/01/2010, at 10:51 PM, Xavier Le Vourch wrote:
> As I'm the one who added the maven pom.xml file and t
Now that I've done a bit more playing, here is what I've seemed to come across.
I can do the following:
public void processLetter2( String pdfLetter )
{
try
{
//-- create a new file, removing the directory /letters from the
file name
String sub = Stri
Absolutely. Check out PdfStamper.getOverContent().
You might end up composing your text-etc in a separate Document, saving it to a
ByteArrayOutputStream and importing those pages as templates onto the existing
page content.
--Mark Storer
Senior Software Engineer
Cardiff.com
#include
t
I went through *exactly* the same source review last month when I started
hitting it. I was quite happy to see that iText actually sets the rotation
in the page dictionary (I needed it for constructing unit tests), but I
agree that the way it happens is a bit hard to follow. If you think about
i
Looking through the Rectangle.rotate() -> Pdf-structures-in-the-output code, I
think we might have An Issue. Woah woah woah... let me check the trunk instead
of my red-headed-stepchild-branch of 2.0.whatever-it-was.
Rectangle.rotate() { // yep, no changes
Rectangle rect = new Rectangle(
Hi all,
I wonder whether it is possible to make one signature visible on more
than one location.
In my specific case I would like to make it visible on all pages.
But if I call the setVisibleSignature more than once for one
PdfSignatureAppearance, it ends up showing up only once at the last
lo
Show us your PDF. We'll poke around and see what we can see. You might be
building the form inefficiently, in which case a code change on your end may
produce similar results. Might not, too... but we can't tell unless we see a
PDF.
--Mark Storer
Senior Software Engineer
Cardiff.com
#
Hello,
could anyone download the ttf font?. Any help would be very
appreciated since It seems that a Barcode 128 can´t be generated using
fonts.
Regards,
Claudia.
On Sat, Jan 9, 2010 at 9:58 AM, Claudia Murialdo wrote:
> Sorry about the previous link it doesn't work, I uploaded the barcode here
As I'm the one who added the maven pom.xml file and the automatic sync
to the maven repositories, I'll have a look at it and update the group
identifier to reflect the package name change. This should not be too
difficult to implement so Maven users can also get iText 5.0.
Best Regards,
Xavier L
I've found a solution thanx to Michael. In the post of the
here
http://old.nabble.com/Problem-with-PdfReader.eliminateSharedStreams%28%29-in-concert-with-appending-PdfStamper-to26734822.html
He says that if he works with RandomAccessFileOrArray then everything goes
OK.
Hence, I did this change
alexrait,
alexrait wrote:
> Is there any way to manually fix the pdf, like reading it as a text file,
> finding and replacing the incorrect content?
You can fix it quite easily by replacing the false references in the
/Contents array by the original ones. Unfortunately this way you invalidate
t
Is there any way to manually fix the pdf, like reading it as a text file,
finding and replacing the incorrect content?
Now, I've noticed that even if I sign first time on the last page with
"append" flag turned on, it won't show the signature
mkl wrote:
>
> alexrait,
>
>
> alexrait wrote:
alexrait,
alexrait wrote:
> Here is the full function that signs.
>
> public static void SignPDF(Stream instream, Stream outstream,
> X509Certificate2 xcer, bool IsVisible,
> string imageLocation, int[] rectangle, int page)
> {
> [...]
> Rect
It happens with any file...
Here is the full function that signs.
public static void SignPDF(Stream instream, Stream outstream,
X509Certificate2 xcer, bool IsVisible,
string imageLocation, int[] rectangle, int page)
{
Org.BouncyCastle.X509.X509Certificate[] chain
1T3XT info wrote:
> mkl wrote:
>> That wont be too big a problem. As iText changes substantially, it would
>> be
>> very much ok to publish the new iText artifacts using a different group
>> identifier which may very well be com.itextpdf instead of the former
>> com.lowagie. Additionally the main
alexrait,
alexrait wrote:
> First I create a PdfStamper with the append parameter set to true.
> I use the SetVisibleSignature method with the page parameter set to "1".
> It works as expected if I sign the document once or more.
>
> Setting the page to "2" or any other page shows the signature
mkl wrote:
>> We'll update the POM if necessary, but we expect the Maven
>> users to tell us what they need.
>
> That wont be too big a problem. As iText changes substantially, it would be
> very much ok to publish the new iText artifacts using a different group
> identifier which may very well be
Bruno,
1T3XT info wrote:
> We can't have Maven update from the old versions to 5.0
> because that would break everything.
>
> What we need, is a new project at Maven that no longer
> uses the com.lowagie packages, but the com.itextpdf packages.
>
> I'm not a Maven user (I've followed a course,
Yes, use the importPage and page template features.
Details in the iText book.
-Original Message-
From: ra...@libero.it [mailto:ra...@libero.it]
Sent: Wednesday, January 20, 2010 9:25 AM
To: itext-questions@lists.sourceforge.net
Subject: [iText-questions] Adding text to an existing PDF
No, iText doesn't have the full complement of features in the PDF Optimizer in
Adobe Acrobat.
I would, however, beware of any PDF that small since it would imply that you
have NOT embedded any fonts - and that may be an issue...
Leonard
From: sean_pars...@bcbsok.com [mailto:sean_pars...@bcbsok
ra...@libero.it wrote:
> Is it possible to use an existing PDF like it was a blank sheet and add the
> text and graphical components to it?
It's called superimposing, and iText is used to achieve this in many
projects.
> I'm looking around since some days now
You probably overlooked the obviou
mkl wrote:
> Peter,
>
>
> Peter B. West wrote:
>> Now, maybe you can tell me why there is a pom.xml file in there?
>
> While not being built the Maven way, iText is published in Maven
> repositories for use by Maven projects. And being helpfull, the iText
> developers already maintain a pom file
Hello list
I have this problem, I've been given one PDF with just a background image on
it and I have to write on it some text.
The first solutions I adopted had been to get the image they originally used
for the PDF, and use it to compose a brand new PDF with the content I need in
it. It near
Is there any way to reduce the size of these files? The file I'm
generating winds up being anywhere from 250 to 300K in size. I can open
the file in Acrobat, and select Optimize, and it shrinks it to ~32K. Does
iText have a way to do this that I'm missing? I've set
writer.setFullCompression
First I create a PdfStamper with the append parameter set to true.
I use the SetVisibleSignature method with the page parameter set to "1".
It works as expected if I sign the document once or more.
Setting the page to "2" or any other page shows the signature at the
signatures tab on the left, bu
Peter,
Peter B. West wrote:
> Now, maybe you can tell me why there is a pom.xml file in there?
While not being built the Maven way, iText is published in Maven
repositories for use by Maven projects. And being helpfull, the iText
developers already maintain a pom file for the iText artifacts co
Mark asked me to write up a little something...
Font formats (TrueType, Type 1 and OpenType) each have their own way of
specifying font width information. These values are in EM's (the theoretically
width of an 'M') and vary between the formats - but there are standard
conversions between em's
29 matches
Mail list logo