Word Processing Formats

James Rea jim at provue.com
Wed Jun 25 21:58:16 PDT 2008


> I thought this approach might work, but I'm stymied by a bug/feature.  
> Selecting characters in a WPSO in a loop to identify their formatting  
> eventually gives the error "Too many nested subroutiines." Where are  
> the nested subroutines here??
> 
> local CNT
> CNT=0
> loop
>      CNT=CNT+1
>      ActiveSuperObject "SetSelection",CNT-1,CNT
> until CNT=200
> 
> If this worked, I could go after more data, but it won't go much over  
> 100 characters. Getting more data drops that down to 30 or 40. Can  
> this be fixed?

I'm suprised by your results, I was going to suggest a technique like
this. I haven't found it yet, but at some point I created a procedure
that used this technique to convert WPSO text into formatted HTML (there
were some limitations on what formatting would be converted, but it did
the basics - font, size, color, bold, italic, centered, right
justification). I definitely had it working with over 100 characters.

Jim Rea
President, ProVUE Development

---------------------------------------------------------------------
---   Celebrating 30 years of software excellence (1978-2008)     ---
---------------------------------------------------------------------
ProVUE Development          (714) 841-7779
18685-A Main Street PMB356  http://www.provue.com/
Huntington Beach, CA 92648  Panorama: Turn information into knowledge
---------------------------------------------------------------------


More information about the Qna mailing list