Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Word Automation - Parsing Formatting Tokens
Message
From
28/03/2003 03:55:32
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
27/03/2003 13:38:41
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00770740
Message ID:
00771208
Views:
13
>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform