Welcome to MSDN Blogs Sign in | Join | Help

A Word 2007 Redaction Tool

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

Published Monday, September 22, 2008 6:50 PM by wrdblog

Comments

# car insurance » A Word 2007 Redaction Tool

Monday, September 22, 2008 9:00 PM by car insurance » A Word 2007 Redaction Tool

# re: A Word 2007 Redaction Tool

ah ha!! i have been waiting for this! during office 2007 testing,  I remember Microsoft actually had the 2007 redaction add-in version available, in beta, to download. later, it was even listed microsoft.com/download but then pulled completely.. I called up Microsoft at the time and they could see it listed in downloads, but no download.. god knows why Microsoft office team didn't ever release the redaction tool... - perhaps you could let me know why?!

Tuesday, September 23, 2008 4:42 AM by william dowell

# re: A Word 2007 Redaction Tool

Great! Haven´t heard of it till today but always wondered how people made it. Thanks for the info and the link. Although I don´t use word every day it´s really helpful!

Thursday, September 25, 2008 10:30 AM by Billigflug

# re: A Word 2007 Redaction Tool

A thought for a v2.0 release--how about allowing the redaction tool to randomly vary the scale or spacing of (i.e. expand or condense) redacted text? This would enhance the effect of redaction, as the number of characters and thus potentially the content behind the black box could no longer be imputed from its width.

Friday, September 26, 2008 10:24 PM by faramond

# Microsoft Team Blogs - 22sept to 28 sept 2008

196 Microsoft Team blogs searched, 97 blogs have new articles in the past 7 days. 218 new articles found...

Monday, September 29, 2008 10:18 AM by Shahed Khan (MVP C#)

# re: A Word 2007 Redaction Tool

@faramond

Another solution would simply be to have each redacted word/space be the same width (say, four characters), which would achieve the same result.

Tuesday, September 30, 2008 5:09 AM by fixed

# re: A Word 2007 Redaction Tool

@faramond

That's actually exactly how it works - it applies a +/- 15% factor to the width of text it's redacting. Interesting idea about making that user-configurable, though..

@fixed

Maybe something user could specify also, though that would change the layout of the file pretty drastically (so it might not be for everyone).

Thursday, October 02, 2008 1:25 AM by Tristan

# re: A Word 2007 Redaction Tool

Word 2007 goes (not responding) with an attempt to Find or Replace two carriage returns ^p^p, something we did often in older versions.  ^p works fine so there is a work around (change all ^p to &&, change all &&&& to &- or something else.  Change all && to space.  Change all &- to ^p

I did a search and found nothing on this blog that gave a clue that this was a problem.  Is it?

 Or is this blog output only with no real input?

Thursday, October 02, 2008 9:55 PM by mikefirth

# re: A Word 2007 Redaction Tool

Friday, October 03, 2008 1:04 PM by wrdblog

# re: Word 2007

Microsoft Word 2007 Team:

This is on a different topic.

Please tell me how to change the font size and color of the "Comment" function.

I have scanned the Internet extensively for this information, but have not found anything that addresses this particular problem.

Thank You

Sunday, October 05, 2008 10:47 AM by Richard

# re: A Word 2007 Redaction Tool

@mikefirth:

Unfortunately this is a known bug of Word 2007 and I don't think there's a fix available.

Sunday, October 05, 2008 3:07 PM by StefanWord2K

# re: A Word 2007 Redaction Tool

Richard - Click on the little arrow in the lower right hand corner of the Styles Gallery on the Home Tab. Click Options at the bottom of the pane that opens. Select All Styles and sort it Alphabetically. Find the Comment Text style in the pane. Modify that style.

-Jonathan

Monday, October 06, 2008 1:08 PM by wrdblog

# re: A Word 2007 Comment Text

To Jonathan:

I am deeply grateful for you responding to my question about changing the font size of the "Comments" in Word 2007.

I tried to follow your instructions to the letter, but when I did a "test run," I was not able to change the size of the text.

If there are any pre-conditions involved in this change, would you please let me know. I really want to fix this problem; it has bothered me for 9 months.

Thanks for your help!!!

--Richard

Monday, October 06, 2008 6:28 PM by Richard

# re: A Word 2007 Comment Text

To Jonathan:

I am deeply grateful for you responding to my question about changing the font size of the "Comments" in Word 2007.

I tried to follow your instructions to the letter, but when I did a "test run," I was not able to change the size of the text.

If there are any pre-conditions involved in this change, would you please let me know. I really want to fix this problem; it has bothered me for 9 months.

Thanks for your help!!!

--Richard

Monday, October 06, 2008 6:28 PM by Richard

# re: A Word 2007 Redaction Tool

Hi Richard – If you turn on the Reviewing Pane [Review Tab, Tracking Chunk, Reviewing Pane Button] you’ll see the increased font size there. It is not possible to increase the size of the text in comment balloons. Hope this helps.

-Jonathan (MS)

Monday, October 06, 2008 7:32 PM by wrdblog

# re: A Word 2007 Comment Function

To: Jonathan

Thank you once again for responding to me re: the Comment function text-size issue. I appreciated your taking the time to give me the precise information I sought.

However, I  must confess that I'm a little bit disappointed in Microsoft for dropping the ability to change the font text size in the Comments. In my older version of Word (Word 97)

it is possible and relatively easy to change the size of the Comment text as it appears in the right margin. In the 2007 edition, you can only see the increased font size by turning on the Reviewing Pane (vertically on the left-hand size or horizontally on the bottom of the screen).

Would you please convey my disappointment with Microsoft to the appropriate managers or programmers?  At least to me, it makes little or no sense that Microsoft would retain this ability in 1997 software and then eliminate or omit it ten years later in 2007.

Once again, thank you for responding to my two postings on the Comment text issue.

Best regards,

Richard

Monday, October 06, 2008 8:43 PM by Richard

# re: A Word 2007 Redaction Tool

Hi Richard – I dug into this a bit more and you can change the font size within comment balloons by changing the Balloon Text style. Sorry for the run around.

-Jonathan (MS)

Monday, October 06, 2008 9:14 PM by wrdblog

# Balloon Text in Word 2007

To: Jonathan,

I owe you an apology. I followed the latest directions you gave me in regard to altering the "Balloon Text" and it worked like a charm. I increased the font size and changed the font type, and I had no problems creating these alterations inside the actual Comment balloons on the right-hand margin.

Thank you so much for digging further into this issue and solving this puzzle. I am in your debt. If there is anyone I can write to convey my appreciation, please let me know. Please feel free to forward this message to anyone on your team.

Richard

Washington, DC

8:30 PM, Tuesday Night

Tuesday, October 07, 2008 8:34 PM by Richard

# re: A Word 2007 Redaction Tool

Hi Richard – Thanks for your kind words, I really appreciate it.

To help us better address scenarios like this in the future, do you mind if I ask why you needed to increase the font size and change the font type in comment balloons? No worries if you are not at liberty to share.

-Jonathan (MS)

Tuesday, October 07, 2008 8:55 PM by wrdblog

# re: Comment Tool in Word 2007 Tool

Jonathan:

Once again, please allow me to thank you for solving this problem for me.

You asked why I wanted to or needed to increase the font size and the font type.

The answer is that I am an editor of manuscripts by those whose first language is not English. Most of these writers are university students or scholar.

Although the "track changes" function provides perhaps a quicker and more direct way to correct a manuscript, the "Comments" function provides a better medium for explaining why a certain sentence does not work in the English language or why a word choice is awkward.

As long as there are relatively few "comments" on each page, I prefer to give "comments" in a larger size and in a more standard font so that this feedback can be read easily on the recipient's laptop computer screen. So, for example, I like to use a 12 or 14 point font size, and I prefer a standard academic font such as New Times Roman.

I hope the above material answers your question. Thanks again for all of your help.

Richard

Wednesday, October 08, 2008 9:08 AM by Richard
New Comments to this post are disabled
 
Page view tracker