Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Word Automation - Parsing Formatting Tokens
Message
De
28/03/2003 03:55:32
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
27/03/2003 13:38:41
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00770740
Message ID:
00771208
Vues:
14
>>Rereading your TOC problem, I think I misunderstood. You weren't after putiing some word fields in doc, but creating a TOC. Yes in that case I'd just saveas doc and then create TOC via automation.
>>Cetin
>
>
>Well, I am not clear on the sequence of events here.
>Is this your thinking ?
>
>Create the HTML file.
>Create a WORD automation object.
>Open the HTML file using automation.
>Save the HTML file as a DOC using automation.
>Create the TOC using automation.
>
>If so, the implementation of that last step does not present itself as trivial. I will have to ponder that. But I think it could be doable.
>Might be able to insert some tags for later search and replace process to get the proper codes in there. Not sure.

Yes it was the sequence I thought. For TOC if styles are used it would be easy to create TOC at one shot. Unfortunately TOC is something that I never wrote some sample code for ref. IOW while saying easy I only 'think' it'd be, not tried :)
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform