Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Word Templates
Message
De
01/05/2005 08:20:33
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
30/04/2005 15:43:29
Jill Derickson
Software Specialties
Saipan, CNMI
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Versions des environnements
Visual FoxPro:
VFP 9
Database:
Visual FoxPro
Divers
Thread ID:
01009933
Message ID:
01009992
Vues:
23
>Hi,
>
>I am distributing example MS-WORD templates w/my application. The templates contain bookmarks that my code will use to insert data when creating documents.
>
>OC, my normal.dot has formatting set that * I * want to use, that i don't necessarily want the end user to have in their documents (for instance, my normal style paragraph has "6 pt. after" set).
>
>How to i set up the templates so that it doesn't reflect my normal.dot? do i have to change normal.dot to create the templates?
>
>Thanks...j

Hi Jill, long time no see!

You can have additional templates, other than "normal.dot". For example, you can have a template called "example1.dot", which you send to the end-user.

To create the template, create a new document, and when you save it, save it as type "Template" (or is it "Word Template"? - I have it in Spanish here).

The templates are stored in the folder specified under "Tools | Options | File locations | Personal templates".

You can either distribute the template to the end-user as is ("example1.dot"), or rename it, overwriting the user's normal.dot template. I suggest keeping a separate template, so as not to interfere with the users' normal activity (outside of your program). In any case, the template should be saved in the template folder on the user's computer.

For automation, the command to create a document has the option of specifying a template.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform