Doug James wrote:
Is it possible to write a generic iText document and be able to deliver
both HTML and PDF based on the users choice? I would like to write it
once and be able to provide 2 different links one to the HTML output and
one to the PDF output.
One of the first projects that used
Bruno Lowagie wrote:
I noticed two problems:
1) you added the image to the writer instead of the document.
2) you added large parts of the text outside the page area.
I will send you the slightly altered code and a resulting PDF
to your personal mail address.
The mail to your personal mail add
Hi All,
We are using iText with success in our web application, but now need to
include an image in the resulting PDF.
We are using XML to create the report to allow division of labour, but have
hit a snag - to include the image it seem straightfoward enough to use the
image tag, but how ca
Hi:
I came back with my question but this time with a pdf
file and java sample code:
Save the java code in TestCheckboxesFlattening.java
and save the pdf attachment in the same folder with
the java file, then compile and run the sample. The
ouput pdf file (test_checkbox_output.pdf) doesn't
contai
Hello,
I need help adding items to a List Box in an AcroForm.
I can add text to TextFields but I cant figure out how to add items in
List Boxes.
Any ideas.?
Thank you in advance.
---
SF.Net email is sponsored by: Discover Easy Linux Migratio
Hello,
I need help adding items to a List Box in an AcroForm.
I can add text to TextFields but I cant figure out how to add items in
List Boxes.
Any ideas.?
Thank you in advance.
---
SF.Net email is sponsored by: Discover Easy Linux Migratio
Hello All,
I create a pdf file which has many pages. Each page
has a table( the table header is repeated in every
page) Now I would like to also have an image in every
page, may be sitting on the top of every page or
sitting in table header. I could not find a way to do
so..Please guide me to the c
Is there is a way to strip text from a pdf document. Preferable with
the page numbers.
The reason I am asking is because I need to hightlight pdf document in
the browser.
I am creating an xml file according to
http://partners.adobe.com/public/developer/en/pdf/HighlightFileFormat.pdf
specifications.
Sorry, my math was backwards (from memory), this is the real code we use:
int left = labelSheet.left;
int top = labelSheet.top;
for(int c=0;c -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Bill
> Ensley
> Sent: Tuesday, June 28
Hi,
is it possible to put some verticall text in versions 1.X. How?
(because in newer versions some old Java generate pdfs wrong, and I
dont want to re-code :( old files)
Normal text:
template = cb.createTemplate(templateWidth, templateHeight);
bf = BaseFont.createFont(BaseFont.HELVETICA, BaseF
Thanks Bruno.
Avery Label 5260 that I am looking build is basically 3 cols and 10 rows (30
cells ) in each page (H=1" and W=2.63" and Paper size=8.5"X11").
The different formats can be found from various resources but the most
common is from a word doc
--Open a MS WORD doc (I am using version 1
Hanes Jedidiah A1C AU/SCIE wrote:
Hey,
New to posting stuff wasn't sure how to reply and need to attached this
image for you to use. Just place it in the C drive or you can change the
path to wherever you put it. Not sure if this works I'm not familiar with
creating the pdf files outside of m
Avery themselves have the measurements available, but
the best thing to do ( I think anyway, we use it everyday ) is
to use PdfGraphics2D and loop through the rows and cols
and translate the graphics object therefore not requiring
the knowledge of each x,y coordinate:
int top = labelSheet.top;
int
Jay Parashar wrote:
I wanted some helping in generating mailing labels (Avery 5260). Any idea,
code examples, how to achieve that?
Where can one find the specs of Avery Labels?
I found sites selling the labels, describing the size of a label,
but I didn't find the margins needed, etc...
br,
Br
Thanks.
Yes...a pdfptable will be used...and possibly with absolute positioning.
Because its very tedious (to use exact positioning using the co-ordinate
system) I was wondering if someone already has some boiler plate code
examples. I am sure someone must have generated labels with iText. It would
[EMAIL PROTECTED] wrote:
May be,i want to generate pdf very fast,and it will be very good to use
template file,not to draw 10 times the same pdf with differnt data,but to use
once pictured file and only put new information in fixed place.It will be grait.
As I understood your previous remar
Jay Parashar wrote:
>I wanted some helping in generating mailing labels (Avery 5260). Any idea,
>code examples, how to achieve that?
>
>Thanks
>Jay
>
>
>---
>SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
>from IBM. Find s
Yan Bob wrote:
I see in the tutorial that the PdfStamper object can change the
contents of one existing PDF. I want to add text at the end of each
line of an existing PDF file. I think that it's not possible with
PdfStamper..?? What are the objects or methods that can do this??
If you know t
I wanted some helping in generating mailing labels (Avery 5260). Any idea,
code examples, how to achieve that?
Thanks
Jay
---
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, strai
[EMAIL PROTECTED] wrote:
Hi again.The problem is that i add data in text.Example:My name is. in
template file,in files it will be My name is Olga,so i can't use AcroForm or
FormFields.
Then PDF is the wrong format for your template file.
You should consider another format. (XML?)
br,
Brian wrote:
All I want to do is :
Do a search , pull back a list of files that match my
search. (I've got this), next have the documents in my
result be links that when clicked, generate a pdf of
that returned document.
So you have the code to achieve the above in a standalone example.
Wh
[EMAIL PROTECTED] wrote:
Hi.
I have a pdf file,which i want to use as template.Then i want to generate 10
new pdf files which will look as template file but with new data.For example in
template file - Name: ,in other files Name:Olga and etc.Can i use
parameters in template file,and then
Hi.
I have a pdf file,which i want to use as template.Then i want to generate 10
new pdf files which will look as template file but with new data.For example in
template file - Name: ,in other files Name:Olga and etc.Can i use
parameters in template file,and then add instead of parametr-ne
Hey,
New to posting stuff wasn't sure how to reply and need to attached this
image for you to use. Just place it in the C drive or you can change the
path to wherever you put it. Not sure if this works I'm not familiar with
creating the pdf files outside of my system. It compiled and executed j
This is probably very simple, however I must be over
looking it.
All I want to do is :
Do a search , pull back a list of files that match my
search. (I've got this), next have the documents in my
result be links that when clicked, generate a pdf of
that returned document.
What I'm missing, no
Is it possible to write a generic iText document and be able to deliver
both HTML and PDF based on the users choice? I would like to write it
once and be able to provide 2 different links one to the HTML output and
one to the PDF output.
Thanks!
Doug James
Software Engineer
Benefitfocus.com, In
Bob Bob wrote:
If I use PDF Files, can I do this??
Yes, you can postprocess PDF files.
Depending on your specific needs, you can use (a combination of)
PdfReader, PdfImportedPage, PdfWriter, PdfStamper, PdfCopy,...
More info can be found here:
http://itextdocs.lowagie.com/tutorial/general/co
Gareth Edwards wrote:
Do you know if it is possible to have two versions of itext running on
the same J2EE instance?
Having two different versions of iText in the same JVM, can lead to
different errors that are hard for us to debug.
br,
Bruno
---
Bhupendra Mehta wrote:
I have retrieved a PDF document from a Domino database and read it
into a ByteArrayOutputStream (BAOS).
You need the byte array from this OutputStream to construct a PdfReader
object.
http://itextdocs.lowagie.com/docs/com/lowagie/text/pdf/PdfReader.html#PdfReader(byte[
29 matches
Mail list logo