And the fact that in managed forms it is impossible to be thrown out. The new concept of "refuse to modal windows" forced me to completely sort out the templates and make a separate assembly, in which the methodal windows causing methods are not used. I rewrote the templates for it, then the managed application appeared and I supplemented the templates under UV. Gradually customizing the standard templates for themselves, I made a very convenient mechanism that my listeners constantly asked me. They helped themselves very much not to zabe the syntax like the fact that somewhere you need to type the selected (), but somewhere cool (). I started using the first templates in 2000 by version 7.7. Yours faithfully, Vladimir Milkin (teacher and developer). The resulting file with the DOTX extension for software creation of documents. We draw up the whole document in the same style (inserting the right fields):Īnd finally, we save this document as a Word template (with the DOTX extension): Click "OK" and the document inserts the "MergeField" type field with the name "Number":ħ. In the dialog that opens, select the type of "Mergefield" field and write the name of the field (by which we will be found in 1C programmatically) - "Number":Ħ. Go to the "Insert" tab and choose "Express blocks" - "field. Then set the cursor to the place where the value will be inserted programmatically (let it be the account number):Ĥ. First of all, create a regular Word document.ģ. Now we will create such a template together in Word 2007, or rather, I will show the principle myself.ġ. And then the program is ready to send bills to pay. So - we can once create a template of this account, prescribe in it id, date, organization, inn, kpp.
In this lesson, we will learn how to create Word templates with predefined named fields, which can be further filling out software from 1C ().įor example, we have a typical form of an account for payment that we exhibit buyers.