> Also, I'd think that flow.getElementsByTypeName("ParagraphElement") should 
> return an array of the ParagraphElements in the flow. This does not seem to 
> work. It retruns an empty array in my tests. Am I going about it wrong, or is 
> this a bug?

Okay. This was my error. This: flow.getElementsByTypeName("ParagraphElement") 
Should be this: flow.getElementsByTypeName("p") 

I think the docs should be clearer on what to specify here. I propose the 
following:

Instead of: Returns all elements that have typeName set to typeNameValue.
 
Returns all elements that have typeName as the TextFlow markup tag set to 
typeNameValue. 

Reply via email to