Visual Studio and select 'MFC Class from Typelib'. To generate new interfaces for Word interop communications you should use the Add New Class wizard in Zotero talks to Word via js-ctype bindings These commands are received in zotero-service.js Protocol is used to issue commands to Zotero process from Word.
#Zotero word add in download code#
In VBA macro code you will find that SendMessage dot template UI Word for Windows 2003 is needed. RibbonUI can be edited by extracting the dotm file or using the Custom UI editor. Word templates have support for custom macrosĪnd adding UI elements to call the macros, which is how the extension is implemented on Word. Start by opening the dotm/dot template in Word. Go to Debug->Compile Project to ensure there are no code errors.Go to View->Macros->View Macros (Ribbonized Word) or Tools->Macros->View Macros (Word 2003) and click "Edit" for one of the Zotero macros.Open the template from inside Microsoft Word.Word 2007 (for the ribbonized dotm template).Otherwise older versions of Word may fail to function properly. Templates should be built with the oldest version of Word to be supported.Set to Win32 target in dropdown to the right of Release dropdown.Set to Release configuration in the dropdown in the toolbar.Change imports.h to point to the appropriate files (may be in different places with newer Office).Open build/zoteroWinWordIntegration/zoteroWinWordIntegration.sln.Microsoft Office (previously build with 2010, but newer versions should work).Windows XP C++ libraries (install in VS by right-clicking the project and selecting "Install Missing Features").This is a Firefox add-on that consists of a library written in C++ that communicates with Microsoft Word out of process using OLE Automation, a js-ctypes wrapper for said library, and a template that is installed into Microsoft Word to communicate with Zotero.