Giter Site home page Giter Site logo

visio2pdf's Introduction

visio2pdf

Converts all Visio files in folder recurisvely to PDF.

Requirements:

Microsoft Visio
python3
pywin32 (use pip install -r requirements.txt)

Command Line Reference:

usage: python3 .\visio2pdf.py [-h] [--input DIR] [--output DIR] [--collapse]

Export Visio Files to PDF

optional arguments:
  -h, --help            show this help message and exit
  --input DIR, -i DIR   The directory to recursively search for Visio files (Defaults to current directory).
  --output DIR, -o DIR  The directory to save the exported files. (Defaults to current directory)
  --collapse, -c        Save files to root of output directory / do not preserve folder structure
  --vsd, -v             Convert all .vsd files in input directory to .vsdx format, and save in output directory
  --pdf, -p             Convert all .vsdx files in input directory to PDF, and save in output directory

Typical Usage

In order to recursively convert Visio files within a folder, use the --input flag followed by the full path to that folder. This tool will then save the converted files to the directory specified by the --output flag, which could be the same as --input.

If the --collapse flag is used, this will mean that even if there are multiple nested folder in the input directory, all converted files will be saved the the root/top-level of the output directory.

Generally, when working with folders that contain older .vsd formatted Visio project files, the --vsd flag will have to be used first in order to convert the files to the .vsdx format, which will then be able to be converted to .pdf using the --pdf flag.

visio2pdf's People

Contributors

egalletta avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.