how can I do that by pdf stamper ?-- Alawi AlbaityJeddah - KSAMobile : +966506660442
I am trying to draw a dashed line using the setline dash method with the
followng code:
.
cb.setColorStroke(lcolor.getAWTColor());
cb.setLineWidth(width);
cb.setLineJoin(2);
cb.setLineCap(1);
.
.
.
cb.setLineDash(10.f,7.2f,0f);
cb.stroke();
The PDF is generated but I get and i
Thanks for the reply.
But I want to know how to corelate the llx, lly, urx, ury values to
x,y cordinates so that I can use it in addImage method.
Suppose I am getting llx, lly, urx, ury values are 13.6,34.56,65.8,133
What will be the corresponding x,y cordinates?
When I used the same value in addI
Hi;
Worked great. For others that need this, it's PdfAction.gotoLocalPage(name,
false) - no idea why false but it works and true does not.
Thanks - dave
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Paulo
Soares
Sent: Thursday, May 12, 2005 12:12 PM
T
getFieldPositions
public float[] getFieldPositions(java.lang.String name)Gets the field box
positions in the document. The return is an array of float multiple of 5.
For each of this groups the values are: [page, llx, lly, urx, ury].
Parameters:
name - the field name
Returns:
the p
Bruno,
you're right. Thanks for the tip. Now everything works fine!
Citando Bruno Lowagie <[EMAIL PROTECTED]>:
otaviofcs wrote:
Hy all, I'm using itext1.2.1 and it seems to me that is a wonderfull
project. The main problem is that i've got some problems while
retrieving images from a https site to
Still waiting for the answer to my question.
Or rather how to convert the getFieldPositions() cordinates to the x,y
cordinates.
So that I can use the stamper.getOverContent(1).addImage method.
Thanks
RK
On 5/11/05, R K <[EMAIL PROTECTED]> wrote:
> Requirement:
> I have a acrofield (logo) in a pd
Put the image inside a Chunk and add the Chunk to the Paragraph. Note that
if the image is too big it won't show.
- Original Message -
From: "Jerry Heinz" <[EMAIL PROTECTED]>
To:
Sent: Thursday, May 12, 2005 7:22 PM
Subject: [iText-questions] Image in Paragraph in PdfPCell
I'm having s
I'm having some trouble with the following code:
PdfPTable t = new PdfPTable();
t.addCell(new PdfPCell(new Paragraph(new Chunk("Sam";
Paragraph p = new Paragraph();
Properties attributes = new Properties();
attributes.put (ElementTags.URL,"C:/temp/3044770_EE3.gif");
try {
p.add(Image.
\u00b0
- Original Message -
From: "Nandu" <[EMAIL PROTECTED]>
To:
Sent: Thursday, May 12, 2005 5:46 PM
Subject: [iText-questions] Superscript string
> Hi,
>
> In the PDF document that I am generating, I need to write text like
"Temperature
> varies between 25 degrees C to 75 degrees C"
iText can't rasterize pdfs.
- Original Message -
From: "Sasa Perovic" <[EMAIL PROTECTED]>
To:
Sent: Thursday, May 12, 2005 6:01 PM
Subject: [iText-questions] Can iText return an Image or BufferedImage object
from a PDF page/document
Hi there,
I just started looking into iText documenta
- Original Message -
From: "David Thielen" <[EMAIL PROTECTED]>
To: "itext"
Sent: Thursday, May 12, 2005 6:19 PM
Subject: [iText-questions] Local goto, no chunks
> Hi;
>
>
>
> I use the low-level methods in iText (ie do all my own layout). I need to
do
> a local goto. Is this the best w
At 12:38 PM 5/12/2005, franco morelli wrote:
Is it possible to convert files from PDF v1.4 to PDF v1.3?
Depends on what you mean by "convert"...and what tools you have
available.
Simply changing the version number is a single byte in the
PDF. "Transcoding" certain PDF features
Hi,
In the PDF document that I am generating, I need to write text like "Temperature
varies between 25 degrees C to 75 degrees C". Instead of writing the word
'degrees' we usually put a superscript in the form of a small circle. What is
the string equivalent for this ?
Thanks,
Nandu
--
Is it possible to convert files from PDF v1.4 to PDF v1.3?
Thanks, Franco
---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracl
Hi;
I use the low-level methods in iText (ie do all my own layout). I need to do
a local goto. Is this the best way:
PdfWriter writer = PdfWriter.getInstance(pdfDoc, new
BufferedOutputStream(file));
PdfContentByte cb = writer.getDirectContent();
String name = "dave";
PdfDestination de
Hi there,
I just started looking into iText documentation, and would like
to ask one question.
Is it possible to use iText to open a PDF document, and then
return an Image or BufferedImage object back to my code?
I would like for example to open PDF on the first page (or a
specific page)
Hi
Thanks to the work of Jose Hurtado the RtfWriter2 has gained the ability to
show the total number of pages.
New functionality:
* RtfTotalPageNumber class provides the total number of pages.
The rtf tutorial has also been updated to include an example of the use of
RtfTotalPageNumber.
Gree
> -Original Message-
> From: Jose Hurtado [mailto:[EMAIL PROTECTED]
> Sent: Thursday, May 12, 2005 3:48 PM
> To: Paulo Soares
> Subject: iText - RtfTotalPageNumber class
>
> I develop this.. maybe can be useful for iText.
>
> How-to use:
>
> Document document = new Document(P
The results are correct but you also have to apply the page rotation to
the rectangle.
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Wahaj
> Sent: Thursday, May 12, 2005 11:30 AM
> To: itext-questions@lists.sourceforge.net
> Subject: [iText-qu
What happens when you open it in V5?
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Dante Notari
> Sent: Thursday, May 12, 2005 1:38 PM
> To: itext-questions@lists.sourceforge.net
> Subject: [iText-questions] Acrobat Version compatibility
>
>
Samatha Boda wrote:
Hi,
Can you please clarify my doubt? How can I display some header text
in all pages other than front page. If I use onendpage to display it
will also display in the first page, but I don't want to display in
the first page.
In onEndPage a PdfWriter object writer is passe
Hi,
Can you please clarify my doubt? How can I display
some header text in all pages other than front page. If I use onendpage
to display it will also display in the first page, but I don't want to
display in the first page.
Thanks,
Samatha Boda
309-751-6133
Hi All,
I'm fetching the widget's coordinates in the form of PdfArray with four
float values of PdfNumber for the attached PDF which is created using iText.
My fetched values are:
Rectangle (ComboBox 'fmCombos') is: 295.0, 250.0, 275.0, 350.0
Rectangle (TextField 'fmDickens') is: 295.0, 10
Thanks for the help and the tips. Looks like it works ok. I also
determined that I was running an older version of iText that insertPage was
not included.
Regards,
Bill Sanders
NearStar, Inc.
www.nearstar.com
Office: (972) 355-2236 x206
NearStar Technical Support: (972) 355-2236 x202
**CON
All,
I have a template which I PdfStamper (filling fields, drawing
rectangles, inserting pages from a document created with itext).
Before being PdfStamper'd the pdf opens fine with Reader V5, after
being PdfStamper'd it requires V7.
Any idea why and how I can workaround this ?
Thanks,
D.
At 11:26 PM 5/11/2005, wang yun wrote:
Is it possible for PDFReader to output the string that
contains javasript? Or, how can I get that data block
thats contains javascript?
JavaScripts in a PDF lives ALL OVER THE PLACE...They aren't
collected into a single data object (or collection of o
Paulo,
not a big deal if you know what the deal is.
Maybe a note in the docu for PdfStamper.setFormFlattening(true) would
do for now.
Thanks,
D.
--- Paulo Soares <[EMAIL PROTECTED]> wrote:
> It's a half bug. If you insert all the pages you need before calling
> PdfStamp.getAcroFields() it will
It's a half bug. If you insert all the pages you need before calling
PdfStamp.getAcroFields() it will work. I'll have to see if it's worth
fixing or having a note in the documentation as a "feature".
Best Regards,
Paulo Soares
> -Original Message-
> From: Dante Notari [mailto:[EMAIL PROT
hi,
I want to do add following text like in a phrase object..
"This is testing line 1 here comes something
which we will display in well format This is
which we will display in well format"
I want to set it in this way
" This is testing line 1 here comes
something which we
This is a test email for subscribing.
---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Dante Notari
> Sent: Thursday, May 12, 2005 3:29 AM
> To: Bill Sanders; itext-questions@lists.sourceforge.net
> Subject: Re: [iText-questions] Interleaving 2 PDF's together
>
>
> A word of warni
otaviofcs wrote:
Hy all,
I'm using itext1.2.1 and it seems to me that is a wonderfull project. The
main problem is that i've got some problems while retrieving images from a
https site to put into a PdfPCell in a PdfPTable. The image URL is fine (i
tested) and the whole project, that is workin
33 matches
Mail list logo