RE: Signature Positioning.

2005-11-17 Thread Riz Virk

Hello Hari,

It sounds like you're using some API already for adding the signature
block, right? 
Whichever API you're using to add the signature block *might* have some
methods to do this already I would think.
 
If you're looking for an open source tool, I'm not sure which one would
do this (though I believe xpdf has this functionality if you're
comfortable with C++).

Our company, CambridgeDocs, has commercial products which allow you to
read the x,y coordinates of text runs on the page of a PDF.  This is
done by converting the page to XML using our xDoc Converter product, or
by using our  Java PDF API to cycle through the text runs on the page
and get their x,y coordinates.  

In any case, it doesn't really seem like an fop issue and so we should
take the discussion off-line.

Thanks
Riz


---
Rizwan Virk
CTO
CambridgeDocs
www.cambridgedocs.com
617-905-3518
[EMAIL PROTECTED]
personal: [EMAIL PROTECTED]
 

-Original Message-
From: Hariprasad Davanagere [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 17, 2005 12:16 PM
To: fop-users@xmlgraphics.apache.org
Subject: RE: Signature Positioning.

hi Riz,
Yes i am trying to add the signature block AFTER the PDF has already
been generated?

I have a line of text just above the position where the signauture has
to appear. I am not aware of the method to get the co-ordinates of this
text.

Could you please guide me how to..?

Hari


~Contribution is not by invitation but by initiative
Hariprasad N Davanagere 19929 Sweetgum
Cir, #23Germantown, MD - 20874
C - (757) 348 3647 H - (???) !!! 
~ 




>From: "Riz Virk" <[EMAIL PROTECTED]>
>Reply-To: fop-users@xmlgraphics.apache.org
>To: 
>Subject: RE: Signature Positioning.
>Date: Thu, 17 Nov 2005 12:06:38 -0500
>
>
>
>Are you saying that you want to add the signature block AFTER the PDF 
>has already been generated?
>
>Or as part of the xml to PDF process using fop?
>
>We had a client at one point who wanted to add the signature block 
>after the PDF was generated.
>We had them look for specific text in the PDF (at a later time), get 
>its x,y coordinates, and then put the signature at x,y coordinates 
>relative to that, using our java PDF API, if that's what you're looking
for.
>
>Thanks
>Riz
>
>
>
>---
>Rizwan Virk
>CTO
>CambridgeDocs
>www.cambridgedocs.com
>617-905-3518
>[EMAIL PROTECTED]
>personal: [EMAIL PROTECTED]
>
>
>-Original Message-
>From: Hariprasad Davanagere [mailto:[EMAIL PROTECTED]
>Sent: Thursday, November 17, 2005 11:53 AM
>To: fop-users@xmlgraphics.apache.org
>Subject: Signature Positioning.
>
>Hi All,
>I am facing problems positioning the signature block in my PDF. I have 
>a line of text right above the signature block in the PDF. Is it 
>possible for me search for this text, get its co-ordinates and then 
>place the signature relatively ??
>
>The contents of the PDF may vary and hence i cannot use any absolute 
>coordinates, e.g from the bottom of the page.
>Need some guidance in this regard,
>
>Thanks in advance,
>Hari
>
>
>~color=#339900>Contribution is not by invitation but by initiative 
>Hariprasad N Davanagere 19929 Sweetgum

>Cir, #23Germantown, MD - 20874
>C - (757) 348 3647 H - (???) !!!
>~ 
>
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>-
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Signature Positioning.

2005-11-17 Thread Hariprasad Davanagere

hi Riz,
Yes i am trying to add the signature block AFTER the PDF has already been 
generated?


I have a line of text just above the position where the signauture has to 
appear. I am not aware of the method to get the co-ordinates of this text.


Could you please guide me how to..?

Hari


~color=#339900>Contribution is not by invitation but by initiative 
Hariprasad N Davanagere 19929 Sweetgum Cir, 
#23Germantown, MD - 20874
C - (757) 348 3647 H - (???) !!! 
~ 






From: "Riz Virk" <[EMAIL PROTECTED]>
Reply-To: fop-users@xmlgraphics.apache.org
To: 
Subject: RE: Signature Positioning.
Date: Thu, 17 Nov 2005 12:06:38 -0500



Are you saying that you want to add the signature block AFTER the PDF
has already been generated?

Or as part of the xml to PDF process using fop?

We had a client at one point who wanted to add the signature block after
the PDF was generated.
We had them look for specific text in the PDF (at a later time), get its
x,y coordinates, and then put the signature at x,y coordinates relative
to that, using our java PDF API, if that's what you're looking for.

Thanks
Riz



---
Rizwan Virk
CTO
CambridgeDocs
www.cambridgedocs.com
617-905-3518
[EMAIL PROTECTED]
personal: [EMAIL PROTECTED]


-Original Message-
From: Hariprasad Davanagere [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 17, 2005 11:53 AM
To: fop-users@xmlgraphics.apache.org
Subject: Signature Positioning.

Hi All,
I am facing problems positioning the signature block in my PDF. I have a
line of text right above the signature block in the PDF. Is it possible
for me search for this text, get its co-ordinates and then place the
signature relatively ??

The contents of the PDF may vary and hence i cannot use any absolute
coordinates, e.g from the bottom of the page.
Need some guidance in this regard,

Thanks in advance,
Hari


~Contribution is not by invitation but by initiative
Hariprasad N Davanagere 19929 Sweetgum
Cir, #23Germantown, MD - 20874
C - (757) 348 3647 H - (???) !!!
~ 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Signature Positioning.

2005-11-17 Thread Hariprasad Davanagere

Hi,
Thankyou for the quick response. I am sorry to have not described my problem 
correctly.
The text above the signature block is not the problem, but the other text 
which show up in the document before this signature block may vary moving 
the block from its position. I am finding it hard to get the new position 
(co-ordinates) of the signature block, which i require for 
SignatureAppearance.SetVisibleSignature().


Thanks
Hari


~color=#339900>Contribution is not by invitation but by initiative 
Hariprasad N Davanagere 19929 Sweetgum Cir, 
#23Germantown, MD - 20874
C - (757) 348 3647 H - (???) !!! 
~ 






From: "Christian Loock" <[EMAIL PROTECTED]>
Reply-To: fop-users@xmlgraphics.apache.org
To: 
Subject: RE: Signature Positioning.
Date: Thu, 17 Nov 2005 17:58:14 +0100

You could use the space-before attribute on the signature block so the
space between the block before is everytime the same.

-Original Message-
From: Hariprasad Davanagere [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 17, 2005 5:53 PM
To: fop-users@xmlgraphics.apache.org
Subject: Signature Positioning.

Hi All,
I am facing problems positioning the signature block in my PDF. I have a
line of text right above the signature block in the PDF. Is it possible
for me search for this text, get its co-ordinates and then place the
signature relatively ??

The contents of the PDF may vary and hence i cannot use any absolute
coordinates, e.g from the bottom of the page.
Need some guidance in this regard,

Thanks in advance,
Hari


~Contribution is not by invitation but by initiative
Hariprasad N Davanagere 19929 Sweetgum
Cir, #23Germantown, MD - 20874
C - (757) 348 3647 H - (???) !!!
~ 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Signature Positioning.

2005-11-17 Thread Riz Virk


Are you saying that you want to add the signature block AFTER the PDF
has already been generated?

Or as part of the xml to PDF process using fop?

We had a client at one point who wanted to add the signature block after
the PDF was generated.  
We had them look for specific text in the PDF (at a later time), get its
x,y coordinates, and then put the signature at x,y coordinates relative
to that, using our java PDF API, if that's what you're looking for.

Thanks
Riz
 


---
Rizwan Virk
CTO
CambridgeDocs
www.cambridgedocs.com
617-905-3518
[EMAIL PROTECTED]
personal: [EMAIL PROTECTED]
 

-Original Message-
From: Hariprasad Davanagere [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 17, 2005 11:53 AM
To: fop-users@xmlgraphics.apache.org
Subject: Signature Positioning.

Hi All,
I am facing problems positioning the signature block in my PDF. I have a
line of text right above the signature block in the PDF. Is it possible
for me search for this text, get its co-ordinates and then place the
signature relatively ??

The contents of the PDF may vary and hence i cannot use any absolute
coordinates, e.g from the bottom of the page.
Need some guidance in this regard,

Thanks in advance,
Hari


~Contribution is not by invitation but by initiative
Hariprasad N Davanagere 19929 Sweetgum
Cir, #23Germantown, MD - 20874
C - (757) 348 3647 H - (???) !!! 
~ 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Signature Positioning.

2005-11-17 Thread Christian Loock
You could use the space-before attribute on the signature block so the
space between the block before is everytime the same. 

-Original Message-
From: Hariprasad Davanagere [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 17, 2005 5:53 PM
To: fop-users@xmlgraphics.apache.org
Subject: Signature Positioning.

Hi All,
I am facing problems positioning the signature block in my PDF. I have a
line of text right above the signature block in the PDF. Is it possible
for me search for this text, get its co-ordinates and then place the
signature relatively ??

The contents of the PDF may vary and hence i cannot use any absolute
coordinates, e.g from the bottom of the page.
Need some guidance in this regard,

Thanks in advance,
Hari


~Contribution is not by invitation but by initiative
Hariprasad N Davanagere 19929 Sweetgum
Cir, #23Germantown, MD - 20874
C - (757) 348 3647 H - (???) !!! 
~ 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Signature Positioning.

2005-11-17 Thread JBryant
Hi, Hari,

One approach to this problem is to put that line of text and the signature 
block into two rows in a table and then specify keep-together="always" on 
both rows.

You could also set break-before="page" on that line, so as to always have 
that line and the signature block on its own page (a common practice in 
legal documents, in my experience).

Those possibilities sidestep your actual question, but I'm assuming that 
your goal is to keep a leader paragraph with the signature block.

FWIW

Jay Bryant
Bryant Communication Services
(presently consulting at Synergistic Solution Technologies)




"Hariprasad Davanagere" <[EMAIL PROTECTED]> 
11/17/2005 10:52 AM
Please respond to
fop-users@xmlgraphics.apache.org


To
fop-users@xmlgraphics.apache.org
cc

Subject
Signature Positioning.






Hi All,
I am facing problems positioning the signature block in my PDF. I have a 
line of text right above the signature block in the PDF. Is it possible 
for 
me search for this text, get its co-ordinates and then place the signature 

relatively ??

The contents of the PDF may vary and hence i cannot use any absolute 
coordinates, e.g from the bottom of the page.
Need some guidance in this regard,

Thanks in advance,
Hari


~Contribution is not by invitation but by initiative 
Hariprasad N Davanagere 19929 Sweetgum 
Cir, 
#23Germantown, MD - 20874
C - (757) 348 3647 H - (???) !!! 
~ 



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]