Discussion:
[iText-questions] Reading the absolute position of a form field
Krishna Kishore .J
2005-09-12 05:28:14 UTC
Permalink
Hi All,

I am trying to retrieve the absolute position of the form field on the pdf.

I have to access the form field ,get its absolute position and replace the form field with an image.

I've gone thro' the mailing archieve, but could'nt find any clue.

Can any one give some info on how to achieve this.


Thanks in advance,
Krishna Kishore
Bruno Lowagie
2005-09-12 05:56:32 UTC
Permalink
Post by Krishna Kishore .J
Hi All,
I am trying to retrieve the absolute position of the form field on the pdf.
See the ListFields example here:
http://itextdocs.lowagie.com/tutorial/forms/
br,
Bruno
Krishna Kishore .J
2005-09-12 08:59:20 UTC
Permalink
Hi Paulo,

Thanks for your feedback.

But AcroFields.getFieldPositions() is returning 5 values in the array of
float.

How should i interpret this, eg: i want the x,y positions of the form field.

Pls suggest me a way to achieve this using AcroFields.getFieldPositions() .

Thanks
Krishna Kishore

----- Original Message -----
From: "Paulo Soares" <***@consiste.pt>
To: "Bruno Lowagie" <***@lowagie.com>; "Krishna Kishore .J"
<***@ceiindia.com>; <itext-***@lists.sourceforge.net>
Sent: Monday, September 12, 2005 4:20 PM
Subject: RE: [iText-questions] Re: Reading the absolute position of a form
field


ListFields use PRAcroForm that is an obsolete way to get field
information. Field information should come from AcroFields. In this
specific case see AcroFields.getFieldPositions().
-----Original Message-----
Behalf Of Bruno Lowagie
Sent: Monday, September 12, 2005 8:56 AM
Subject: [iText-questions] Re: Reading the absolute position
of a form field
Post by Krishna Kishore .J
Hi All,
I am trying to retrieve the absolute position of the form
field on the pdf.
http://itextdocs.lowagie.com/tutorial/forms/
br,
Bruno
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development
Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams *
Testing & QA
Security * Process Improvement & Measurement *
http://www.sqe.com/bsce5sf
_______________________________________________
iText-questions mailing list
https://lists.sourceforge.net/lists/listinfo/itext-questions
Krishna Kishore .J
2005-09-12 09:15:28 UTC
Permalink
Got it !!!
Thanks
Krishna Kishore
----- Original Message -----
From: "Paulo Soares" <***@consiste.pt>
To: "Krishna Kishore .J" <***@ceiindia.com>; "Bruno Lowagie"
<***@lowagie.com>; <itext-***@lists.sourceforge.net>
Sent: Monday, September 12, 2005 4:29 PM
Subject: RE: [iText-questions] Re: Reading the absolute position of a form
field


Ever thought at looking at the javadocs?
-----Original Message-----
Sent: Monday, September 12, 2005 11:45 AM
Subject: Re: [iText-questions] Re: Reading the absolute
position of a form field
Hi Paulo,
Thanks for your feedback.
But AcroFields.getFieldPositions() is returning 5 values in
the array of
float.
How should i interpret this, eg: i want the x,y positions of
the form field.
Pls suggest me a way to achieve this using
AcroFields.getFieldPositions() .
Thanks
Krishna Kishore
----- Original Message -----
Sent: Monday, September 12, 2005 4:20 PM
Subject: RE: [iText-questions] Re: Reading the absolute
position of a form
field
ListFields use PRAcroForm that is an obsolete way to get field
information. Field information should come from AcroFields. In this
specific case see AcroFields.getFieldPositions().
-----Original Message-----
Behalf Of Bruno Lowagie
Sent: Monday, September 12, 2005 8:56 AM
Subject: [iText-questions] Re: Reading the absolute position
of a form field
Post by Krishna Kishore .J
Hi All,
I am trying to retrieve the absolute position of the form
field on the pdf.
http://itextdocs.lowagie.com/tutorial/forms/
br,
Bruno
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development
Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams *
Testing & QA
Security * Process Improvement & Measurement *
http://www.sqe.com/bsce5sf
_______________________________________________
iText-questions mailing list
https://lists.sourceforge.net/lists/listinfo/itext-questions
joel
2016-04-30 12:35:21 UTC
Permalink
Hi Krishna, please can you share your solution to this problem? i am also
facing the same problem, i have to find absolute position of a field and
replace it with an image.

your assistace will be highly appreciated,

anyone who can assist,please pitch in.

thanks in advance.



--
View this message in context: http://itext.2136553.n4.nabble.com/Reading-the-absolute-position-of-a-form-field-tp2137647p4661028.html
Sent from the iText mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
iText-questions mailing list
iText-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php
mkl
2016-05-03 06:51:10 UTC
Permalink
Joel,
Post by joel
Hi Krishna, please can you share your solution to this problem? i am also
facing the same problem, i have to find absolute position of a field and
replace it with an image.
your assistace will be highly appreciated,
anyone who can assist,please pitch in.
nabble both clearly indicated to you that

a) this group is essentially a mailing list frontend. How do you expect
people on the mailing list to make any sense out of your message? And that

b) the message you replied to is from 2005. After 11 years solutions may
very well not apply to current iText versions anymore.

Furthermore, public iText support essentially has been moved to
stackoverflow. Thus, you may want to create a question there concerning your
problem and describe it clearly enough, including your pivotal code as far
as you got, so people do not need to remember some mails from the obscure
past to help you.

Regards,

Michael





--
View this message in context: http://itext.2136553.n4.nabble.com/Reading-the-absolute-position-of-a-form-field-tp2137647p4661030.html
Sent from the iText mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
iText-questions mailing list
iText-***@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php
Paulo Soares
2005-09-12 12:10:25 UTC
Permalink
ListFields use PRAcroForm that is an obsolete way to get field
information. Field information should come from AcroFields. In this
specific case see AcroFields.getFieldPositions().
-----Original Message-----
Behalf Of Bruno Lowagie
Sent: Monday, September 12, 2005 8:56 AM
Subject: [iText-questions] Re: Reading the absolute position
of a form field
Post by Krishna Kishore .J
Hi All,
I am trying to retrieve the absolute position of the form
field on the pdf.
http://itextdocs.lowagie.com/tutorial/forms/
br,
Bruno
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development
Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams *
Testing & QA
Security * Process Improvement & Measurement *
http://www.sqe.com/bsce5sf
_______________________________________________
iText-questions mailing list
https://lists.sourceforge.net/lists/listinfo/itext-questions
Paulo Soares
2005-09-12 12:11:23 UTC
Permalink
Ever thought at looking at the javadocs?
-----Original Message-----
Sent: Monday, September 12, 2005 11:45 AM
Subject: Re: [iText-questions] Re: Reading the absolute
position of a form field
Hi Paulo,
Thanks for your feedback.
But AcroFields.getFieldPositions() is returning 5 values in
the array of
float.
How should i interpret this, eg: i want the x,y positions of
the form field.
Pls suggest me a way to achieve this using
AcroFields.getFieldPositions() .
Thanks
Krishna Kishore
----- Original Message -----
Sent: Monday, September 12, 2005 4:20 PM
Subject: RE: [iText-questions] Re: Reading the absolute
position of a form
field
ListFields use PRAcroForm that is an obsolete way to get field
information. Field information should come from AcroFields. In this
specific case see AcroFields.getFieldPositions().
-----Original Message-----
Behalf Of Bruno Lowagie
Sent: Monday, September 12, 2005 8:56 AM
Subject: [iText-questions] Re: Reading the absolute position
of a form field
Post by Krishna Kishore .J
Hi All,
I am trying to retrieve the absolute position of the form
field on the pdf.
http://itextdocs.lowagie.com/tutorial/forms/
br,
Bruno
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development
Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams *
Testing & QA
Security * Process Improvement & Measurement *
http://www.sqe.com/bsce5sf
_______________________________________________
iText-questions mailing list
https://lists.sourceforge.net/lists/listinfo/itext-questions
Loading...