Diff and Merge for Microsoft Office DocumentsWe've just released new changes in Plastic SCM integration with several Microsoft Office tools: Word, Excel and PowerPoint.
You'll now be able to diff Word docs, Excel sheets and even PowerPoint presos (restricted to old versions which had support for it).
Now you'll be able to merge Microsoft Word files too... out of the box!
What the new changes are aboutWhen several people are updating and making copies of the same files, multiple versions easily blossom out of control.
Plastic SCM can now compare proprietary file formats including Microsoft Office files.
We released integration with Office in Windows to perform diff and merge for Office documents.
As stated above, now you can use Plastic SCM (default installation) to Microsoft Word document merge.
The new release is also adding diffing capabilities for:
- Excel - Microsoft Excel 2003 and later
- Word - Microsoft Word 2003 and later
- Power Point - Microsoft Power Point 2003 (Microsoft dropped support for diffing after the 2003 release)
How does it look like?
Word DiffThe new diff support for Word files can be applied to the following file types: .doc and .docx files, .rtf files, .txt, and any other format supported by word.
In order to make it run, follow the following steps (don't forget to check the setup steps described below if you're not running a fresh installation):
Select the document that you want to compare (make sure it's been added to source control) and select Plastic SCM Diff Tool on the context menu (alternative just run "diff with previous").
Look at this picture: you can see the changes on the doc.
Excel DiffWe tested it with .xls and .xlsx files. The following example will show you how the Excel diff looks like:
If you want to watch a complete workflow, take a look at the complete flickr gallery. We've added a bunch of screenshots there so you can see it in action.
The following screencast shows how to run a merge of Word files with Plastic SCM.
Setting up Office diff in Plastic SCMThere are several options depending on whether you're just installing Plastic SCM from scratch or updating an existing installation.
New Plastic SCM installationsYou're the lucky one. Plastic SCM comes with everything pre-configured, so just start diffing your office files.
Existing Plastic SCM setupSince your diff and merge tools are already configured, Plastic won't overwrite any configurations to prevent altering manually introduced adjustments.
In case you didn't modify anything on the default diff/merge setup (which is very likely if you're not using any external diff tool), then you'll need to go through the following steps:
- Close Plastic SCM
- Delete client.conf. (Remember it is located on your user's directory, in my case here: C:\Users\pablo\AppData\Local\plastic4\client.conf).
- Launch the configuration wizard again: you can type plastic --configure
Existing Plastic SCM setups with tuned merge scriptsIn case you modified your merge or diff configuration, then don't reset your client.conf but instead follow the instructions below:
Go to preferences, then 'diff and merge tools' in the Plastic SCM GUI. Then, you'll have to add new 'rules' for your files. Remember to move them up so they're the first rules on each category (otherwise the generic tools for binary files will take preference).
Word diff: add the following diff tool as external tool:
Excel diff: add the following diff tool as external tool:
PowerPoint diff: add the following diff tool as external tool:
Word Merge: add the following diff tool as external tool:
"[plasticdir]client\diffscripts\merge-doc.exe" "@destinationfile" "@sourcefile" "@output"
Note: [plasticdir] will be replaced by your own Plastic SCM path