Skip to content

⤵️ This VSTO Add-In extracts the shape attributes' text from a Microsoft Visio file. It is written as VSTO in C#/VB.NET and VBA.

License

Notifications You must be signed in to change notification settings

Visio-projects/Visio-Shape-Extract

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation



This Add-In extracts the shape attributes' text from a Microsoft Visio file.

VB.NET & VBA versions included 🆕 I'm currently working on the C# version.

Donate Join the chat at https://gitter.im/MicrosoftVisioShapeExtract/Lobby License: MIT Latest Release Github commits (since latest release) GitHub issues

MyToolbar


Table of Contents


Install

Instructions for installation of VBA and VSTO versions.

VBA

How to install the VBA version

  1. Download the VBA Add-In file download VBA.

VSTO

How to install the VSTO version

  1. Download AnthonyDuguid.pfx And Install At Root Level download Key
  2. Download and run the setup.exe file. TODO: publish .NET to GitHub

Dependencies

Software Dependency Project
Microsoft Visual Studio Solution VSTO
Microsoft Office Developer Tools Solution VSTO
Microsoft Visio Project VBA, VSTO
Visual Basic for Applications Code VBA
Extensible Markup Language (XML) Ribbon VBA, VSTO
Snagit Read Me VBA, VSTO
Badges (Library, Custom, Star/Fork) Read Me VBA, VSTO

Glossary of Terms

Term Meaning
COM Component Object Model (COM) is a binary-interface standard for software components introduced by Microsoft in 1993. It is used to enable inter-process communication and dynamic object creation in a large range of programming languages. COM is the basis for several other Microsoft technologies and frameworks, including OLE, OLE Automation, ActiveX, COM+, DCOM, the Windows shell, DirectX, UMDF and Windows Runtime.
VBA Visual Basic for Applications (VBA) is an implementation of Microsoft's event-driven programming language Visual Basic 6 and uses the Visual Basic Runtime Library. However, VBA code normally can only run within a host application, rather than as a standalone program. VBA can, however, control one application from another using OLE Automation. VBA can use, but not create, ActiveX/COM DLLs, and later versions add support for class modules.
VSTO Visual Studio Tools for Office (VSTO) is a set of development tools available in the form of a Visual Studio add-in (project templates) and a runtime that allows Microsoft Office 2003 and later versions of Office applications to host the .NET Framework Common Language Runtime (CLR) to expose their functionality via .NET.
XML Extensible Markup Language (XML) is a markup language that defines a set of rules for encoding documents in a format that is both human-readable and machine-readable.The design goals of XML emphasize simplicity, generality, and usability across the Internet. It is a textual data format with strong support via Unicode for different human languages. Although the design of XML focuses on documents, the language is widely used for the representation of arbitrary data structures such as those used in web services.

Functionality

This Visio ribbon named “Shape Extract” is inserted after the “Home” tab when Visio opens. Listed below is the detailed functionality of this application and its components.

Actions (Group)

Export Shapes (Button)

  • Exports all the attribute values from each shape to a .csv file

Open Folder (Button)

  • Opens the export folder

Open File (Button)

  • Open the export file

Options (Group)

Add-In Settings (Button)

VSTO
  • Types of VSTO Settings
    • Application Settings
      • These settings can only be changed in the project and need to be redeployed
      • They will appear disabled in the form
    • User Settings
      • These settings can be changed by the end-user
      • They will appear enabled in the form

Help (Group)

help

How To... (Button)

  • Opens the how to guide in a browser

Report Issue (Button)

  • Opens the new issue page in a browser

New Version Is Available (Button)

  • This button is visible if the version of the Add-In is different from the one in the Read Me page. It will download a new version from the site when pressed.

About (Group)

about

Add-in Name (Label)

  • The application name with the version

Release Date (Label)

  • The release date of the application

Copyright (Label)

  • The author’s name