How to get the coordinate of FlowLeafElement
Hi all.
Now, I'm developping ruby-function, which is not supported currently by TLF, but is supported by InDesign for Japanese.
(Note: I mean "ruby" as east-asian notation. Not programming language. About ruby, see wikipedia.)
To realize it, it's necessary to get the coordinate of FlowLeafElement like SpanElement or LinkElement.
I could have get a FlowLeafElement by method TextFlow.getElementById(id:str), but I don't know how to specify it's coordinate.
Does anyone have good idea?
I think FlowLeafElement.getComputedFontMetrics().emBox will help, but haven't tried.
If you have other approach to realize ruby-function as bi-linear notation, please share it.
Thanks in advance.
