I have a question in reference to 
https://issues.apache.org/jira/browse/FLEX-34988

It seems like getText() was never implemented for InlineGraphicElements. By 
default it returns an empty string.

In FTE, ContentElement has two properties: text and rawText. text returns the 
text minus any non-text items. rawText returns non-text (such as inline 
graphics) as \uFDEF.

ParagraphElement.getText() uses rawText if the TextBlock for the paragraph 
exists and recursively calls getText() on all the sub elements if it does not. 
This causes the bug mentioned in the JIRA.

There’s two ways to fix this:

1. We can return \uFDEF in getText() of InlineGraphicElement.
2. We can use text rather than rawText in ParagraphElement.

I’m not sure which way is “correct”. I think the first way is more “right”.

Thoughts?

Reply via email to