Export each diagram in a project to a separate word File with Doc.Composer template


#1

Hi guys,

Here is what i have :
1-a lots of business process diagrams in a project (about 1000 diagrams !!!)
2- a Doc.Composer template that extract some information from a business process diagram

Here is what i need :
export each diagram info into a separate word file

Here is what i do already :
Run my template separately for each diagram

Problem :
it is a very time-consuming process because i have to run template separately for each diagram i.e i should do a repetitive process one thousand times !!!

Do you have any idea about how to do this with an automatic approach ?


#2

I’m not fully familiar with the way Visual Paradigm perform exports (yet) but there are a few ways in which I can see this working…

The most easiest solution I can come up with is to assign a keyboard shortcut:

Select the ‘Window’ tab and then click “Application options”, this will open the screen as shown above. Click on ‘keys’ and then simply enter ‘doc’ (without the quotes) into the search bar (see example above). This will show the export option you need.

Click on it, then click on ‘binding’ entry field at the bottom, then click the keyboard combination which you want to use. Be sure that you don’t get any warnings about conflicts. I discovered that control-alt-e should be usable here.

Then click apply, click ok and you’ll probably be asked to restart the program. Afterwards you should be able to start your export using this keyboard combination.

The second option which I can think of is a plugin. However I need to get back to you on that one because although I do know which class I’d need to use (DocumentationManager) I’ll need to check a few things for myself first.

Hope this can help you so far!


#3

Hi ShelLuser,
Thanks for your solution but its not what i’m looking for !!
If you want to learn about Doc.Composer templates please visit the below links :
What is Doc. Composer Template Language

Doc. Composer Writer’s Guide