Hi,
on a previous reply to one of my post [EMAIL PROTECTED] wrote:
It seems that the TextContentElement method returns a NullPointerException. This is what happen at least with flowPara and flowSpan.
These elements where retrieved from a DOM built based on a SVG file. The file itself render correctly in squiggle and I have checked that the elements themselves are not null.
The methods I have tried are :
- getExtentOfChar
- getEndPositionOfChar
- getNumberOfChars
- getComputedTextLength
They all return the exception. I have not tried the other 'text content' methods.
Any idea?
Oscar
on a previous reply to one of my post [EMAIL PROTECTED] wrote:
<[EMAIL PROTECTED]>>> 'text content' interfaces from the SVG DOM should be fully
>> functional for flow text.
[EMAIL PROTECTED]>
It seems that the TextContentElement method returns a NullPointerException. This is what happen at least with flowPara and flowSpan.
These elements where retrieved from a DOM built based on a SVG file. The file itself render correctly in squiggle and I have checked that the elements themselves are not null.
The methods I have tried are :
- getExtentOfChar
- getEndPositionOfChar
- getNumberOfChars
- getComputedTextLength
They all return the exception. I have not tried the other 'text content' methods.
Any idea?
Oscar
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
