Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Word Automation - Parsing Formatting Tokens
Message
De
27/03/2003 13:15:15
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
27/03/2003 13:09:29
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00770740
Message ID:
00770869
Vues:
13
>>>I will need to build a table of contents within the document.
>>>
>>>Using Word Automation I have been able to insert WORD codes to make this happen automatically.
>>>
>>>We will wish to have that feature again because the final document will be modified slightly here and there before printing the final version.
>>>
>>>The table of contents will need to reflect those changes.
>>>
>>>Any thoughts on that ?
>>
>>Just a quick idea. Do one in word (manually or with your current code) and saveas HTML. Check HTM created. It would have additional office tags. Get the tags needed and apply.
>>Cetin
>
>
>
>Well, I did that and you are right ... the codes are there for me to inspect.
>That is the good news.
>
>The bad news is that each table of contents entry is comprised of about 25 lines code with numerous style sheet values, etc ...
>
>I would have to take a course on just this topic to deal with it.
>
>Unless I can somehow disregard 95% of that code, I am afraid that is not going to work.
>
>Depending upon some trade-offs here, it might be possible to simply build a table of contents at the very end from within WORD.

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
Ç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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform