This project is read-only.
1

Closed

line spacing

description

After redaction, the line spacing is increased.
How do i correct this?

file attachments

Closed May 20, 2010 at 6:31 AM by tristand
marking resolved as the original issue is fixed in 1.2 and chet's install problem appears to be resolved

comments

tristand wrote Mar 30, 2010 at 6:45 PM

This isn't a known issue - can you construct a dummy document (one with no sensitive information) that exhibits this problem and attach it to this issue?

ChetRogers wrote Mar 31, 2010 at 7:43 PM

I now suspect it is a Word 2007 problem because when I copy from document A and paste to new document B the line spacing is messed up until I select paste with target format, which I don’t think I can do with Redacter. Have you any suggestions for how to fix this?

tristand wrote Apr 1, 2010 at 6:17 PM

That shouldn't be affecting the tool, since it does a deep copy of everything in the original file as part of redaction. I'm not sure exactly what the problem is, unfortunately - can you reproduce this in any file you create in Word, or just a specific one?

ChetRogers wrote Apr 1, 2010 at 9:54 PM

sample page from Word 2007, saved as Word 2003 format
line spacing increases when you redact

wrote Apr 1, 2010 at 9:54 PM

ChetRogers wrote Apr 1, 2010 at 9:54 PM

redacted file

wrote Apr 1, 2010 at 9:54 PM

wrote Apr 3, 2010 at 12:50 AM

wrote Apr 3, 2010 at 12:50 AM

wrote Apr 3, 2010 at 12:50 AM

tristand wrote Apr 3, 2010 at 12:52 AM

thanks - i can reproduce the problem and will look at a fix this weekend; in the meantime, you can work around the problem by going to the Developer tab, clicking on Document Template, and unchecking "Update styles based on document template"

wrote Apr 3, 2010 at 12:53 AM

ChetRogers wrote Apr 3, 2010 at 10:10 PM

After unchecking "Update styles based on document template", I sussessfully redacted two documents. For the other two, when I redact I get an error message "An error was encountered while redacting this document."
All four documents are very similar.
I am attaching one of the redacted documents

wrote Apr 3, 2010 at 10:10 PM

wrote Apr 4, 2010 at 11:58 PM

wrote Apr 4, 2010 at 11:58 PM

tristand wrote Apr 4, 2010 at 11:58 PM

for the files that fail to redact, i'm likely going to need some more information - can we try this:
1) open one of the files that error out
2) press CTRL+H to open the Replace dialog
3) using the settings in the attached image (turn on "Use Wildcards", put [A-Za-z0-9] in the Find box, and X in the Replace box), run Replace All

At that point, you shoudl have a file with none of your content, and Xs instead of characters - check that and make sure it's totally cleansed of your data.

If it is, can you see if redaction errors out on that? if it does, can you attach that file? Then I can hopefully diagnose that one.

tristand wrote Apr 4, 2010 at 11:59 PM

attaching image

wrote Apr 4, 2010 at 11:59 PM

ChetRogers wrote Apr 5, 2010 at 2:21 PM

I did this and got 0 replacements ... what do you mean by "the attached image"?

ChetRogers wrote Apr 5, 2010 at 2:31 PM

OK, I got ot right this time, 38,939 replacements, redaction errored out. Here's the document

wrote Apr 5, 2010 at 2:31 PM

tristand wrote Apr 6, 2010 at 1:50 AM

perfect - another good bug. i have a potential fix now, just need to run it through some tests to see if it's the right solution; will look at getting this done by the end of the week and will update here if that changes.

tristand wrote Apr 6, 2010 at 5:55 PM

note that i've split the redaction error into a seperate issue for tracking; this one will cover just the line spacing issue

wrote Apr 7, 2010 at 6:13 AM

wrote Apr 7, 2010 at 5:28 PM

Resolved with changeset 46704.

tristand wrote Apr 7, 2010 at 5:30 PM

Chet, please download 1.2 (it's under "Planned" on the releases tab), and see if this fixes your cases. In my testing, it appears to work, so I'm ready for you to review as well. Thanks!

tristand wrote Apr 7, 2010 at 9:17 PM

** Closed by tristand 4/7/2010 9:28 AM

tristand wrote Apr 7, 2010 at 9:17 PM

leaving open until we confirm the fix

ChetRogers wrote Apr 8, 2010 at 2:53 PM

"An error occured during customization updating" I tried it anyway and got the same error

tristand wrote Apr 8, 2010 at 8:16 PM

can you try uninstalling the old one first, then installing the new version? it should be in Add/Remove Programs as "Word 2007 Redaction Tool".

ChetRogers wrote Apr 8, 2010 at 10:04 PM

removed 1.1, installed 1.2
ot same error during installation and same error when redacting

tristand wrote Apr 9, 2010 at 1:07 AM

can you post the text of the error you received? if you uninstalled and it errored out on install, then the buttons should be missing from the app completely.

ChetRogers wrote Apr 9, 2010 at 2:31 AM

I think it was "An error occured during customization updating"

tristand wrote Apr 9, 2010 at 4:42 AM

hmm - can you uninstall again and restart word, and make sure the Redact group is no longer present, then reinstall? I want to make sure the old version was totally removed.

ChetRogers wrote Apr 9, 2010 at 1:10 PM

same result, see attached file

wrote Apr 9, 2010 at 1:10 PM

tristand wrote Apr 10, 2010 at 1:07 AM

interesting - so it clearly appears that the old version isn't getting properly uninstalled.

Okay, let's try to brute-force remove the solution then..

If you can try this:
  1. Make sure nothing's in Add/Remove Programs from the reinstall attempt (sounds like not). If so, uninstall it.
  2. Search for vstoinstaller.exe on your hard drive (it should be in C:\Program Files\Common Files\microsoft shared\VSTO\9.0). Note that location.
  3. Search for *.vsto and locate the existing copy of the VSTO solution file for the add-in
  4. From the directory in #1, run VSTOinstaller /uninstall <path to the .vsto file>
And then restart Word and see if the add-in is gone, that would be excellent.

If that doesn't work (no .vsto file exists, for example):

Can you search for mage.exe on your machine and run mage -cc from that directory? If you don't have it, you will need to grab it from the Windows SDK from http://download.microsoft.com/.

Once you have it, run mage.exe -cc and check again.

Sorry this is so much trouble - I'm working to figure out why the uninstall erred like this.

tristand wrote Apr 12, 2010 at 11:34 PM

any luck getting either of these to work?

ChetRogers wrote Apr 12, 2010 at 11:55 PM

all results are negative.
http://download.microsoft.com does not have mage.exe
Do you want to remote into my PC? You are straining my techical abilities and patience

ChetRogers wrote Apr 13, 2010 at 12:00 AM

I think our notes crossed, no luck no way

tristand wrote Apr 13, 2010 at 9:36 PM

this project is free and unsupported, so I'm not really set up to offer much more than this, unfortunately. (there are commerical redaction tools available, I believe, if you need guaranteed support)

that said, i think I've found a much simpler way to get the add-in removed so we can reinstall it:
1) Boot Word
2) Go to Word Options (under the Office Button)
3) Click on the Add-Ins item in the list
4) In the Manage drop-down at the bottom of that screen, choose "COM Add-ins" and press Go...
5) In the COM Add-Ins dialog box, select "Word 2007 Redaction Tool" and press Remove to remove it.
 * At this point, should disappear from the list.
6) Close Word and restart it

If the Redact group is gone from the Review tab; then we're back in a good state. Make sure you get the 1.2 version from http://redaction.codeplex.com/releases/view/43169 and reinstall.

ChetRogers wrote Apr 13, 2010 at 10:39 PM

now i don't see Redact in the ribbon

tristand wrote Apr 13, 2010 at 11:41 PM

okay - so just to confirm your current state is that the tool shows up in Add/Remove Programs, but not in Word?

ChetRogers wrote Apr 14, 2010 at 1:43 AM

exactly

tristand wrote Apr 14, 2010 at 1:52 AM

okay - let's try uninstalling from add/remove programs. rebooting, then reinstalling v1.2 (I think there's a bug around this case we're running into)

ChetRogers wrote Apr 15, 2010 at 2:11 PM

NMow everytime I quit Word 2007, I get a message that Word has stopped working. How do I fix this?

ChetRogers wrote Apr 15, 2010 at 5:17 PM

I get an Install error and it does not install in Word. Now everytime I quit Word 2007, I get a message that Word has stopped working. How do I fix this?

wrote Apr 15, 2010 at 5:17 PM

tristand wrote Apr 15, 2010 at 5:42 PM

well this is certainly frustrating, i apologize for that - i don't have any control over the install process (that's all controlled by the app) or this would be easier. if you uninstall it, does the problem on exit go away?

ChetRogers wrote Apr 15, 2010 at 7:28 PM

the installation error prevented installation this time, so it is not installed, but i get the error on exit every time. Do I have a way to repair Word?

tristand wrote Apr 15, 2010 at 9:01 PM

yes, definitely. let's try these three steps in order:

1) re-run my steps from Tue at 1:36 PM and make sure that Word 2007 Redaction Tool is completely removed from the list
2) In Add/Remove Programs. choose Visual Studio Tools for the Office system 3.0 Runtime, right-click and choose Uninstall/Change. From the menu that appears, you should be able to repair.
3) In Add/Remove Programs. choose Microsoft Office, right-click and choose Change. From the menu that appears, you should be able to repair.

tristand wrote Apr 15, 2010 at 9:01 PM

if one of them fixes it, no need to do the others

ChetRogers wrote Apr 15, 2010 at 11:01 PM

  1. nothing there
  2. I did
  3. I did
    Stilll errors on exiting Word

tristand wrote Apr 16, 2010 at 12:28 AM

any chance you got updates installed in the middle of this? given that the add-in isn't there, i did a little searching and maybe it's this problem: http://support.microsoft.com/default.aspx?scid=kb;en-us;940791 as it mentions this: "Word crashes when you try to start or exit Word."

does the fix it for that fix the problem?

tristand wrote May 14, 2010 at 11:29 PM

Chet, is your issue resolved at this point?

wrote May 20, 2010 at 6:31 AM

wrote Feb 21, 2013 at 11:40 PM

wrote May 16, 2013 at 11:39 AM