5.26.20.3. Insertion of “Image Markers” inside .docx and .pptx documents

<< Click to Display Table of Contents >>

Navigation:  5. Detailed description of the Actions > 5.26. Output Actions > 5.26.20. Write in Docx and Pptx >

5.26.20.3. Insertion of “Image Markers” inside .docx and .pptx documents

 
Anatella automatically replaces a serie of specific images inside your .docx/.pptx template documents. These images are your “Image Markers”. These “marker images” have specific filenames that must match the names given inside the parameter P4 of the clip1199 writeDoc action. These “marker images” must be inserted inside your document following a very specific procedure:

 

Insertion of “Marker Images” inside a .docx document
 

 

1.Open your .docx document with MS-Word and position your cursor where you want to insert your “marker image”.

2.Inside the “Insert” toolbar in MS-Word number1 , click on “Quick Parts”, number2 and select “Field”: number3

 

clip1200

 
 

3.Inside the list on the left column, select “IncludePicture”.number1

IMPORTANT: Inside the “Field options” on the right column, check the checkbox named “Data not stored with document”. number2

Inside Filename parameter the middle column, select an image filepath number3 . The filename of this image is the name of your “Image Marker”. Click Ok. number4

 

clip1201

 

 

In the example above we choosed (as our image filepath), the filepath “C:\soft\TIMi\bin\ officeTemplates\TIMi_img1.png”. This means that the name of the “Image Marker” related to this image is “TIMi_img1” and we need to set “TIMi_img1” inside the parameter P4 here      so that Anatella is able to change this image.
 

clip1202

 

 
You’ll find a prepared set of images (with meaningful  filenames) to help you design your templates inside the directory “<TIMi_install_dir>/bin/officeTemplates” (at this point, you can really use any image content and any image filename but these images might still help you):
 

 

clip1203

 

4.We now see inside MS-Word:

 

 

clip1204

 

 
Insertion of “Marker Images” inside a .pptx document

 

1.Open your .pptx document with MS-PowerPoint and go to the slide where you want to insert your “marker image”.

2.Inside the “Insert” toolbar in MS-PowerPoint number1 , click on “Pictures”, number2 and select “This Device…”: number3

 

clip1205

 

 

3.Inside the file browser window, select an image file. The filename of this image is the name of your “Image Marker”. In the example here below, the “Image Marker” is “TIMi_img1”. This means that we need to set “TIMi_img1” inside the parameter P4 here  
 

clip1206
 
so that Anatella is able to change this image.

 

4.IMPORTANT: Click on the clip1208 arrow (inside the “insert” button) number1 and select “Link to File”. number2
 

Do not simply click the “Insert” button directly: you must click on “Link to File” sub-option.
 
clip1207

5.We now see inside MS-PowerPoint:

 

clip1209