Word Add-In Source?
Does anyone know if the source code for the Word Add-In is available? Specifically, I'm looking for what I assume is hidden VB that is within the Zotero.dot file.
The tools are great, but I'd like to add an option to insert a full bibliographical cite in the style of ones choosing without using the word/zotero endnote/footnote functionality.
The footnote/endnote feature is amazing, but there are times where it is much more than I need. Sometimes, I just want to put a citation at the end of a paragraph, or research bullet. The "Insert Citation" button merely inserts references and then adds a full footnote or endnote using word features. I'd like to add a "Insert full citation" button, that mirrors the functionality, but inserts the full citation. I imagine this will be a pretty simple project if the source code is available.
Any suggestions appreciated. Especially curious if there is a way to do what I'd like without messing with the Add-In.
Steven
The tools are great, but I'd like to add an option to insert a full bibliographical cite in the style of ones choosing without using the word/zotero endnote/footnote functionality.
The footnote/endnote feature is amazing, but there are times where it is much more than I need. Sometimes, I just want to put a citation at the end of a paragraph, or research bullet. The "Insert Citation" button merely inserts references and then adds a full footnote or endnote using word features. I'd like to add a "Insert full citation" button, that mirrors the functionality, but inserts the full citation. I imagine this will be a pretty simple project if the source code is available.
Any suggestions appreciated. Especially curious if there is a way to do what I'd like without messing with the Add-In.
Steven
This is an old discussion that has not been active in a long time. Instead of commenting here, you should start a new discussion. If you think the content of this discussion is still relevant, you can link to it from your new discussion.
But the source is at https://www.zotero.org/trac/browser/integration/xpcom, if you still want to explore.
Thanks for the quick reply. You're right, and that's what I've been doing. I'm still going to check out the source though!
Best,
Steven
The VB functions merely point to functions stored within Mozilla, so it would require alterations to the plug-in at a more fundamental level than I am capable of at the moment.
https://www.zotero.org/svn/extension/trunk/chrome/content/zotero/xpcom/integration.js
The source for the WinWord abstraction layer is at:
https://www.zotero.org/svn/integration/xpcom/WinWord/trunk/build/
but I think that you could probably implement the functionality you describe using insertField(), setText(), and removeCode(), in which case you wouldn't need to modify the abstraction layer at all and you could just modify Zotero.dot and integration.js to add a new command (and it would work across platforms). There is interface documentation for the abstraction layer at:
https://www.zotero.org/svn/extension/trunk/idl/zoteroIntegration.idl