[xep-support] area measurement with rx:pinpoint

Geoff Levner geoff at n-generate.com
Wed Feb 23 08:55:15 PST 2005


We are trying to develop an interactive application using XEP as the 
formatting engine. If we have no way of associating Formatting Objects 
with areas on the screen, the "interactive" part will be very 
limited...

On 23 Feb 2005, at 16:43, David Tolpin wrote:

>>
>> We are looking for a way to determine the rectangular area (or areas) 
>> generated by a given Formatting Object.
>>
>> The only way I can see, for now, is to place <rx:pinpoint> objects 
>> before and after a given Formatting Object, then compare the 
>> positions of the pinpoints in the XEP intermediate output format. 
>> That will indeed give us the height of the area, but not the width: 
>> it seems that pinpoints ignore text alignment, and so are always 
>> placed on the left edge of the area.
>>
>> Does anybody out there know how to position a pinpoint on the right 
>> edge of an area? Or have a better way to do this?
>
> In many cases, the need to do that is a sign of wrong design. What are 
> you trying to accomplish?
>
> David

-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo at renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html



More information about the Xep-support mailing list