Skip to content

Instantly share code, notes, and snippets.

@loveablecabbage
Forked from dtjohnso/convert.sh
Created June 15, 2024 13:43
Show Gist options
  • Save loveablecabbage/8922d836b3da48f205a841381fa0a074 to your computer and use it in GitHub Desktop.
Save loveablecabbage/8922d836b3da48f205a841381fa0a074 to your computer and use it in GitHub Desktop.
Converting Visio templates (VSS) to Open Document Graphics (ODG)
# Once you've done this you can then convert the VSS files to ODG files. It produces a picture per page, some of the layout is up the creek, but you have the image now.
vss2odg Oracle-Server-Blade.vss Oracle-Server-Blade.odg
# Converting Visio templates (VSS) to Open Document Graphics (ODG)
# From http://theengguy.blogspot.com/2013/06/although-open-office-or-libre-has-visio.html
# Although Open Office or Libre has Visio support, it doesn't work on recent templates (.vss files) as they are wrappered EMF/WMF files, you need vss2odg which comes as part of writerperfect.
# To install on Ubuntu/Debian Linux (suspect you actually only need libvisio and libboost, but I've included the other libraries writerperfect expects):
sudo apt-get install libboost-dev
sudo apt-get install git
sudo apt-get install automake
sudo apt-get install libtools
sudo apt-get install doxygen
sudo apt-get install libcppunit-dev
sudo apt-get install gperf
sudo apt-get install libicu-dev
sudo apt-get install gnome-common
sudo apt-get install gtk-doc-tools
mkdir Code
cd Code
git clone git://git.code.sf.net/p/libwpd/librevenge
cd librevenge
./autogen.sh
./configure
make all
sudo make install
cd ..
git clone git://git.code.sf.net/p/libwpd/libodfgen libwpd-libodfgen
cd libpwd-libodfgen
./autogen.sh
./configure
make all
sudo make install
cd ..
git clone git://git.code.sf.net/p/libwpd/libabw libabw
cd libabw
./autogen.sh
./configure
make all
sudo make install
cd ..
git clone git://git.code.sf.net/p/libwpd/libcdr libcdr
cd libcdr
./autogen.sh
./configure
make all
sudo make install
cd ..
git clone git://git.code.sf.net/p/libebook/code libebook-code
cd libebook-code
./autogen.sh
./configure
make all
sudo make install
cd ..
git clone git://git.code.sf.net/p/libepubgen/code libepubgen-code
cd libepubgen-code
./autogen.sh
./configure
make all
sudo make install
cd ..
git clone git://gerrit.libreoffice.org/libetonyek libetonyek
cd libetonyek
./autogen.sh
./configure
make all
sudo make install
cd ..
git clone git://gerrit.libreoffice.org/libfreehand libfreehand
cd libfreehand
./autogen.sh
./configure
make all
sudo make install
cd ..
git clone git://gerrit.libreoffice.org/libfreehand libfreehand
cd libfreehand
./autogen.sh
./configure
make all
sudo make install
cd ..
git clone https://github.com/GNOME/libgsf.git
cd libgsf
./autogen.sh
./configure
make all
sudo make install
cd ..
git clone git://gerrit.libreoffice.org/libmspub.git
cd libmspub
./autogen.sh
./configure
make all
sudo make install
cd ..
git clone git://git.code.sf.net/p/libmwaw/libmwaw libmwaw-libmwaw
cd libmwaw-libmwaw
./autogen.sh
./configure
make all
sudo make install
cd ..
git clone git://gerrit.libreoffice.org/libvisio
cd libvisio
./autogen.sh
./configure
make all
sudo make install
cd ..
git clone git://git.code.sf.net/p/libwpd/code libwpd-code
cd libwpd-code
./autogen.sh
./configure
make all
sudo make install
cd ..
git clone git://git.code.sf.net/p/libwpg/code libwpg-code
cd libwpg-code
./autogen.sh
./configure
make all
sudo make install
cd ..
git clone git://git.code.sf.net/p/libwps/code libwps-code
cd libwps-code
./autogen.sh
./configure
make all
sudo make install
cd ..
git clone git://gerrit.libreoffice.org/libpagemaker.git
cd libpagemaker
./autogen.sh
./configure
make all
sudo make install
cd ..
cd ..
git clone git://git.code.sf.net/p/libwpd/writerperfect libwpd-writerperfect
cd libwpd-writerperfect/
./autogen.sh
./configure
make all
sudo make install
sudo ldconfig -v
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment