iText Knowledge Base
Search in spaces:
-
How can I log the number of documents / bytes I've processed?
Counter at a time for each JVM. Click How can I log the number of documents / bytes I've processed? if you want to see how to answer
-
Logging mechanism
These examples were written in the context of the question Click How can I log the number of documents / bytes I've processed
-
.Logging mechanism vLatest
These examples were written in the context of the question Click How can I log the number of documents / bytes I've processed
-
Can I change the page count by changing internal metadata?
structure of PDF document. While searching the internet, I've found some nice tools to edit the metadata, so far I haven't found how
-
General questions about iText
and getPageLabelFormats? How to add text at an absolute position on the top of the first page? How can I log the number of documents
-
How can I create a Reader enabled PDF with a signature field that can be signed in Adobe Reader
I've read that I need to Reader enable my document, but I can't find how to do this using iText. Using iText, I've
-
How to add a page number in the header of a PDF/A Level A file?
); canvas.endMarkedContent(); I use this second approach to add several elements. Click How to add a page number in the header of a PDF
-
How do I add XMP metadata to each page of an existing PDF?
So far all the examples seem to involve adding metadata while creating a new Document. I want to take an existing PDF and add
-
How to get the UserUnit from a PDF file?
the default value of the user unit, and I add an example on how to create a document with pages that have a different user unit. Now
-
How can I find the maximum character limit for a text field?
How can I find the maximum character limit for a text field in an AcroForm form? I've researched this problem and I tried
-
How to get the number of characters in a field?
(); Now you can get the int value of maxlen. Important note: not every field has a /MaxLen value. Click How to get the number
-
How can I serve a PDF to a browser without storing a file on the server side?
How can I serve the PDF file to the client without storing the file on the server side and allow the client side to directly
-
How to restrict the number of characters on a single line?
How can I add strings to a single line that is underlined? I am using iText to generate PDFs. In these PDFs, I need to add two
-
How can I crop the pages of an existing PDF document?
I have an existing document of which the pages are too big. How can I crop the pages? Posted on StackOverflow on Apr 12, 2014
-
How to extract a page number from a PDF file?
a minute!" you say, "When I open a PDF in Adobe Reader, I can clearly see a page number in the document!" Yes, you can see that page
-
How can I add a new AcroForm field to a PDF?
fields to a PDF. Is this possible with iText? If so, how can I do this? Posted on StackOverflow on Nov 30, 2014
-
How to convert PdfStamper to a byte array?
= response.getOutputStream(); baos.writeTo(os); If you want a byte[], you can simply do this: byte[] pdfBytes = baos.toByteArray(); I
-
How can I generate a PDF/UA compatible PDF with iText?
. However, I have not been able to find a good example of how to generate a PDF/UA document. Can you provide an example? Posted
-
How can I read Roman page numbers?
of an ebook can have page numbers in the Roman number format. I would like to read these page numbers (instead of the indexed
-
How to get the page number of an arbitrary PDF object?
the object containing the open action. How do I get the page number of that object? PdfReader soPdfItext = null; try
-
How to create a document with unequal page sizes?
); Rectangle two = new Rectangle(700,400); I am creating the PDF like this: Document document = new Document(); PdfWriter writer
-
How to add blank pages while concatenating several PDFs using PdfSmartCopy
concatenating files using PdfSmartCopy? I know PdfWriter can easily add blank pages, but it isn't made for merging a large number
-
How can I add titles of chapters in ColumnText?
Why can I only add a Chapter to the document body and not add a Chapter to create a TOC? I need to make a PDF like
-
Creating and editing PDF 2.0 Documents
PDF 2.0 support to iText! This page details how to create a PDF 2.0 document using iText, and how to take advantage of the new
-
How to convert colored images to black and white?
PNGs and replacing them in the document (the PNG is much smaller than a JPG for black and white format). I've tried varieties