[Xerte] Can I get the displayed height of a text clip?

Dave Burnett d_b_burnett at hotmail.com
Thu Mar 4 15:35:53 GMT 2010


I'm trying to write references into the y value of the .rlo
I was hoping to use direct refs.

Tracking currentY would require adding <SCR icons I think.

In the write out, for the y value, I'd like to have something like
some_icon._ytile + 37
  

----------------------------------------
> Subject: RE: [Xerte] Can I get the displayed height of a text clip?
> Date: Thu, 4 Mar 2010 15:27:28 +0000
> From: Julian.Tenney at nottingham.ac.uk
> To: xerte at lists.nottingham.ac.uk
>
> Usually I keep track of something like currentY when the icons are in
> different pages.
>
> -----Original Message-----
> From: xerte-bounces at lists.nottingham.ac.uk
> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett
> Sent: Thursday, March 04, 2010 3:26 PM
> To: Xerte list
> Subject: RE: [Xerte] Can I get the displayed height of a text clip?
>
>
>
> So I need to hand it i65543 in the form of an xmlNode?
> I don't have contiguous icons, so sibling references are not usable.
>
>
> ----------------------------------------
>> Subject: RE: [Xerte] Can I get the displayed height of a text clip?
>> Date: Thu, 4 Mar 2010 15:19:34 +0000
>> From: Julian.Tenney at nottingham.ac.uk
>> To: xerte at lists.nottingham.ac.uk
>>
>> _ytile is a property of the engine, not an icon. It's just a single
>> handy thing for layouts.
>>
>> -----Original Message-----
>> From: xerte-bounces at lists.nottingham.ac.uk
>> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave
> Burnett
>> Sent: Thursday, March 04, 2010 3:16 PM
>> To: Xerte list
>> Subject: RE: [Xerte] Can I get the displayed height of a text clip?
>>
>>
>> Thanks J.
>>
>> Out of curiousity, I thought _ytile was the sum of _height & _y
>>
>> First 2 below read correctly, 3rd is undefined.
>> debug(i65543._height);
>> debug(i65543._y);
>> debug(i65543._ytile);
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> ----------------------------------------
>>> Subject: RE: [Xerte] Can I get the displayed height of a text clip?
>>> Date: Thu, 4 Mar 2010 13:49:14 +0000
>>> From: Julian.Tenney at nottingham.ac.uk
>>> To: xerte at lists.nottingham.ac.uk
>>>
>>> myIcon._height;
>>>
>>> -----Original Message-----
>>> From: xerte-bounces at lists.nottingham.ac.uk
>>> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave
>> Burnett
>>> Sent: Thursday, March 04, 2010 1:43 PM
>>> To: Xerte list
>>> Subject: [Xerte] Can I get the displayed height of a text clip?
>>>
>>>
>>>
>>> i.e. is there any height equivalent to:
>>>
>>> i_text_dummy.getTextWidth()
>>>
>>> ??
>>>
>>> There is no h value in the XML.
>>>
>>> Dave
>>>
>>>
>>>
>>> _________________________________________________________________
>>> Hotmail: Powerful Free email with security by Microsoft.
>>>
>>
> http://clk.atdmt.com/GBL/go/201469230/direct/01/________________________
>>> _______________________
>>> Xerte mailing list
>>> Xerte at lists.nottingham.ac.uk
>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>>> _______________________________________________
>>> Xerte mailing list
>>> Xerte at lists.nottingham.ac.uk
>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>>
>> _________________________________________________________________
>> Hotmail: Free, trusted and rich email service.
>>
> http://clk.atdmt.com/GBL/go/201469228/direct/01/________________________
>> _______________________
>> Xerte mailing list
>> Xerte at lists.nottingham.ac.uk
>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>> _______________________________________________
>> Xerte mailing list
>> Xerte at lists.nottingham.ac.uk
>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>
> _________________________________________________________________
> Hotmail: Free, trusted and rich email service.
> http://clk.atdmt.com/GBL/go/201469228/direct/01/________________________
> _______________________
> Xerte mailing list
> Xerte at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
> _______________________________________________
> Xerte mailing list
> Xerte at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
 		 	   		  
_________________________________________________________________
Hotmail: Powerful Free email with security by Microsoft.
http://clk.atdmt.com/GBL/go/201469230/direct/01/


More information about the Xerte mailing list