A Word 2007 Redaction Tool
Update: Links updated to v1.0 version of the tool [12.4.08 5pm PST]
As someone who cares a lot about programmability in Word, I'm always looking for ways to showcase how powerful our object model is, and how it can be used to build really great solutions. With that in mind, I've been looking into ways to create a Word 2007 version of the Word 2003 Redaction Add-In, as we know that it's been an issue for some of our users that this add-in isn't available for Word 2007.
To that end, I'm really excited to announce the release of an open source Word 2007 Redaction Tool project on CodePlex: http://www.codeplex.com/redaction.
This isn't something supported by Microsoft, but this updated version of the tool, rewritten for Word 2007, provides the same mark and redact capabilities as the previous tool and now natively integrates with Word 2007. Once installed, it appears as a Redact group on the Review tab:
The current release is a v0.9 Beta release – it's functionally complete but I wanted to get it out there and get some public testing/feedback before I call it "done". If you are interested, please give it a try and provide feedback through the CodePlex site if you encounter bugs/have feature requests/etc. I hope to release an official "v1" version very shortly, based on feedback from users of this Beta version.
Important Notes:
- This add-in uses the latest versions of VSTOv3 and .NET 3.5, so Setup may require a reboot to install those components.
- As an open source project, the code is there for those who want to inspect/change it (contributors are welcome).
- This add-in isn't supported by Microsoft; it's something built in response to the clear need demonstrated through the volume of questions we get about the Redaction Tool, and I'll try to work on it as much as I can (but as I said above, the source is there so that you can see/change it if you have a problem).
Creating tools like this one is one of my favorite things to do – it showcases the power of Word and how that doesn't stop with the features that we ship out of the box.
What's Redaction, Anyway?
If you're not familiar with the word, you've probably seen it done – documents with black highlighting over names, places, etc. that's meant to be kept private even if the document itself is made public, e.g.:
The Redaction Tool enables that process of removing specific parts of text (redaction) to occur right from within Word. So I can select the regions of text I don't want in the final document, and press Mark to specify that they should be redacted, like this:
Then, once I've marked everything I want to remove, I can redact the document and the marked regions are replaced. This isn't just highlighting: if I copy out the text into another application, like Notepad, you can see that I cannot get the original test back – it's been replaced with garbage characters:
By doing this, I can release my document but keep the sensitive parts private.
Tristan