Yes, not really an iText question. Why don't you pass the request object
into the PdfPageSignature constructor?
Brian
On 9/10/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hi Bruno and Paul,
I have this code that produces an onEndPage event (i.e. putting the page
number) on each page.
Hello all,
I'd like to apply annotations at specified locations on a pdf page,
but I'd like to transform the coordinate system beforehand. I've
tried both PdfContentByte.SetTextMatrix and PdfContentByte.ConcatCTM
(with arguments (0, -1, 1, 0, 0, img.Width), which should rotate it
270 degrees and
On 6/22/07, Ethan King [EMAIL PROTECTED] wrote:
Image img = Image.getInstance(bm, null, true);
The program justs sits there using 99% of the cpu. I have let it run as
long as 20 minutes without it ever finishing or giving me an error. I would
expect this kind of operation to take just
On 5/24/07, Adam Leszinski [EMAIL PROTECTED] wrote:
The short: Basically looking to stamp a PDF template on the fly and present
it to the user without having all these resulting generated PDFs with
sequence numbers to clean up. User wants to download a PDF, we stamp it with
a sequence number,
On 5/22/07, Bruno Lowagie (iText) [EMAIL PROTECTED] wrote:
The option I would have used (and probably already proposed on the
mailing list in the past),
[...]
Thanks for the tip. It worked out pretty nicely.
Brian
-
This
I've prepared an example on how to sign with smartcards with iTextSharp and
.NET 2.0. This example also shows how to use external signatures. The
example is at
http://itextpdf.sourceforge.net/howtosign.html#signextitextsharp.
Paulo
Thanks! I can't wait to try it out.
Brian
Hello all,
My pdf has bookmarks, but the customer would like it to have a table
of contents so that they can navigate the document even when it's in
paper form. I'd like to form lines where the name of the section is
aligned left, the page number is aligned right (or with a tab stop far
to the
On 5/9/07, PR, Rajesh (GE Infra, Energy) [EMAIL PROTECTED] wrote:
My requirement is that, i should be able to generate a pdf in both
English and Spanish. How do i do such stuff?
What does this mean? A single PDF in two languages? Your first
question should be does the PDF format support the
On 4/26/07, Kuwik Jeff F Contr AFRS/RSID [EMAIL PROTECTED] wrote:
I am currently using a 3rd party tool to generate a document, this document
needs to be turned into a PDF. I have a function that can write out the
document to an OutputStream. Is there anyway to take this outputstream and
The error message is:
Exception in thread AWT-EventQueue-0 java.lang.NoSuchFieldError: HALFTONE
at com.lowagie.text.pdf.PdfHalftone.init(Unknown Source)
not HHALFTONE as showed the previos message.
Maybe you're running against the wrong version of iText (i.e. not the
version you added
On 4/19/07, mister bean [EMAIL PROTECTED] wrote:
I can't vouch for this font (I don't use it) so I don't know if it fulfills
your requirements of a small embedded size. Perhaps Pablo or another forum
member can speak to this. Good luck.
My post and Paulo's response from a few weeks ago may be
Is there a way in iText to avoid having to manually parse the raw bytes
returned from PdfReader.getPageContent() in order to get the text on a page?
There's the PRTokeniser class, but you should be aware of the
potential difficulties involved in trying to extract text from a PDF
(unexpected
Are there any tools provided by iText that will allow me to quickly extract a
specified number range of pages from a large existing PDF document and
output to a new PDF document containing only the specified pages.??
I was thinking about using the PdfCopy class for this
That's pretty much a
On 4/8/07, David Powell [EMAIL PROTECTED] wrote:
I have a list of words and the coordinates (i.e. llx,lly, urx, ury) of the
position of each word in the PDF. The coordinate values are specified at a
resolution of 1200 PPI. I converted the coordinate values to PDF default
resolution of 72 PPI
Font font = new Font(Font.COURIER, 10, Font.BOLD);
When i compile my project, i get the following error:
Error 4 'System.Drawing.Font' does not contain a definition for 'COURIER'
C:\Myassemblies\Chapter1_iText\Chapter1_iText\Form1.cs
120 43 Chapter1_iText
You want an instance of
Now what I am attempting to
do is to read each word and its coordinate from the text file and
place that particular word in the image-based PDF document at the
location specified by the coordinates of that word.
Yes, what you are doing is the right way to approach the problem.
Using
Thank you - i will look at my references but I'm certain I don't use
System.Drawing.Font.
If so, is there somethign else I might be doing wrong??
You can attach your source file if you like, but the compiler isn't
pulling a System.Drawing namespace reference out of thin air. In any
event,
Could someone help me to figure out how to check if a form field is
required?
I can only find ways to make a field required using API, but not to verify
if a field is required.
Take a look at the Ff entry in the field's PdfDictionary. The second
bit tells if it's required or not. See
How do i open an existing PDF file if
open(String pathToPDFile); is not allowed...
thanks.
please understand im new with iText.
What does not allowed mean? Is the file read-only on disk? You
should get an exception explaining the situation.
Is there any reason that iText doesn't include a decoder for
CCITTFaxDecode filters? (I'm looking at
PdfReader.GetStreamBytes(PRStream, RandomAccessFileOrArray)). I
notice that there is a TIFFFaxDecoder class for reading in compressed
Tiff files. How hard would it be to get one to call the
I notice that there is a TIFFFaxDecoder class for reading in compressed
Tiff files. How hard would it be to get one to call the other? Are
the algorithms identical or just similar? Is there anything I should
know before I try to implement it myself?
GetStreamBytes() is there to decode
I can't crash Acrobat 8 on either Mac or Windows with the enclosed
document.
If someone has a document that can reliably crash Acrobat - PLEASE
send it to me so we can fix Acrobat.
Leonard
Adobe Systems
The one he attached crashes Reader 8.0.0.456 for me 9 times out of 10
(Win XP, dual
itextsharp (and itext) is undergoing some major changes in the crypto area
(see the CVS) and when the next release is out I'll prepare some examples on
how to sign using certificates from the Windows certificate store supporting
non exportable private keys like those coming from smartcards.
Hello!
I'm a newbie on itext and i'd like to know if it's possible to extract
plain text from an existing PDF document!
Further i'd like to know if it's possible to extract all hyperlinks (http://,
https://, ftp://, mailto:)??
What Bruno says is true, but I've had pretty good success
Hi All,
I'm looking into adding stamp annotations to my pdf documents. The
source for the stamps will be a bitmap file. I've read the relevant
section of the spec, and below is the code I've come up with. The pdf
that comes out does have an annotation in the specified location - you
can tell
It's almost right.
Thanks a lot! That fixed it.
stampImg.SetAbsolutePosition(0, 0);
Why do you set it to 0,0? Is this the image's position relative to
the annotation position?
Brian
-
Take Surveys. Earn Cash.
Hello!
Can I create PDF with signing permition onlly?
Thanks.
I think you want to grant the AllowFillIn permission. Table 3.20 (in
the version I'm looking at) of the Pdf spec lays out exactly what each
permission flag means. You can cross-reference those with the
PdfReader source file to
I have a sqlserver blob field that contains a pdf file,
I need to retrieve the document and display it on a new web page,using asp.net
1.0 C#.
This has nothing to do with iText. Just get the data and send it back
to the browser.
Actually I am not meant to forge a signed PDF.
Example: 1 pdf contains 2 pages and has signed in each pages.
User needs to split the pdf become 2 pdf instead.
I can managed spliting it become 2 pdf but reliazed the signature is
missing.
when you split a document you are altering it.
We want to load the images as file from UI and pass to back-end as file
object and then want to use something like
Image.getInstance (File file) to create images.
[...]
There is Image.getInstance(String filename) and Image.getInstance(URL url)
in API, but they would require class loader to
Hello everybody,
I'm looking into applying a signature to a pdf using iTextSharp, when
the certificate is a *non-exportable* Windows Certificate. Since I
can't get the PublicKey for this type of Certificate, I'm basing it on
the code in Appendix D of the book. The code runs, but the signature
31 matches
Mail list logo