Exetools  

Go Back   Exetools > General > General Discussion

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #15  
Old 01-01-2014, 23:52
TechLord TechLord is offline
Banned User
 
Join Date: Mar 2005
Location: 10 Steps Ahead of You
Posts: 759
Rept. Given: 384
Rept. Rcvd 247 Times in 112 Posts
Thanks Given: 789
Thanks Rcvd at 2,022 Times in 571 Posts
TechLord Reputation: 200-299 TechLord Reputation: 200-299 TechLord Reputation: 200-299
This is what I did.

1. Create a .docx file with MS Word 2010, write dummy text in it and save it as example.docx.
2. Rename the .docx file to .zip. When Windows warns that changing extension of file may not make the program work, just agree.
3. Open the newly renamed example.zip file in Winrar. You can clearly see a lot of xml documents in the .zip file.
4. Find a folder named "word" in the zippped example.zip. It can be seen clearly in Winrar. In that "word" folder, can be seen an xml file named "document.xml".
Double-click on the document.xml file. This contains the text in the body of the word document . You can use the search function in notepad to find the text you want to change. Then change it, save it, and when it asks if you want to update in the archive, then agree.
5. Similarly, there is a folder called "docProps" in the created .zip file.
It contains the file "core.xml" in it.This file contains the author information etc. You can edit it and save it as the .zip file.
6. Finally, rename the .zip file to .docx again. Then you can open it again in MS-Word and you can see that the changes you made are visible in MS-Word.

This does not work with .doc files. Only with .docx files.

Hope this helps.
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need a tool(+) rootra General Discussion 1 05-06-2004 17:47


All times are GMT +8. The time now is 23:59.


Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX, chessgod101
( Since 1998 )