Exporting document through command line (Doc. Composer)

To export documents created by Document Composer through command line:

  1. Browse the scripts folder under the Visual Paradigm installation directory. For Mac users, you can find the scripts folder in the Visual Paradigm package by right clicking on it and then selecting Show Package Contents. Then look in Contents\Resources\app\scripts for the scripts folder.
  2. Copy the script file ExportDocComposer and paste to the bin folder of Visual Paradigm installation directory.
  3. Start the command prompt.
  4. Navigate to the bin folder of Visual Paradigm installation directory.
  5. Execute the script by supplying the required parameters. For example:
    ExportDocComposer.bat -project "C:\Demo\Demo.vpp" -diagram "Doc1" -out "C:\Demo\Output" -type word

    Below is a description of parameters:
    Parameter Description Example
    -project Project path
    C:\Demo\Demo.vpp
    -diagram
    The name of the document(s) to be exported. You can provide a list of diagram like "Doc1" "Doc2", or enter "*" to export all document, or enter @diagramlist.txt to let the batch read the diagram list from file diagramlist.txt placed in bin folder.
    "Doc1" "Doc2"
    -out The folder to store the exported file
    C:\Demo\Output\
    -type
    Type of document to generate. Here are the possible options:
    • html
    • pdf
    • word
    word
    Parameters for ExportDocComposer

Related Resources

The following resources may help you to learn more about the topic discussed in this page.

 
11. Executing operations with Apache Ant Table of Contents 13. Committing project to server
 

Technical Support

Have technical issues or suggestions? Please contact Visual Paradigm Support Team.

Sales Support

Have questions related to registration, licensing or payment? Feel free to contact Visual Paradigm Sales Team.

Discussion Forum

Share your suggestions of opinions at VP Discussion Forum.