Archive for the 'Word 2007' Category

Editing Word and Office Documents — in batch

Tuesday, October 23rd, 2007

The file formats in Microsoft Office 2007 for Word, Excel, and PowerPoint (.docx, .xlsx, and .pptx, respectively) are based on ZIP technology. Just change the file extension to .zip, open in WinZip or a similar program and you expose the internals of the files.  And presto, you have XML files (broken into a set of files and folders) that can be edited in Notebpad, or by a batch script, or any other means.

So, what does this mean for you, who need to efficiently manage your content in Word or other Office apps?  You can edit, delete, add or verify information automatically for all files in a folder, for example, without opening individual documents. 

Here is an example (from the user guide for Author Max™):

<dc:title>Author Max™ Toolbar Pro</dc:title>
<dc:subject>User guide</dc:subject> 

So if I wanted to change the metadata field subject (doc property subject in Wordspeak) for many documents, I could write a script that looked in the core.xml file for all Word documents and presto make the change.  (Of course, it might be simpler just to use Author Max™ to enforce rules for document properties and styles in the first place.)

Here’s another example, also taken from the Author Max documentation.

< ...w:val="center"/>© 2007 Method M Ltd. (All rights reserved)…

So if I wanted to change the footer for many documents to be left aligned, and the copyright year to be 2008, all that would be needed is to write a script that looked in the footer3.xml file for all Word documents and presto make the change.  (Of course, it might be simpler just to use Author Max™ to enforce rules for headers and footers in the first place.)  Need help implementing this or other Word functionality? Hey, that’s what our e-mail is for (info at methodm dot com).

Best wishes for clear, efficient and great writing!
Katriel

Word 2007 - Working in Compatibility Mode

Wednesday, August 8th, 2007

If you will be using any fancy Word 2007 features (see the previous post for a listing), and sharing your Word files with users of Word 2003 or earlier versions, you should consider working in compatibility mode,

Compatibility mode ensures that content created in 2007 can be opened/editing in 2003.  For example, when you choose “Insert SmartArt” in compatibility mode, the 2003 diagramming tool appears. (When not in compatibility mode, the content created by the 2007 SmartArt diagramming tool will not be fully editable in Word 2003).

Compatibility mode limits some features of 2007.  Compatibility mode is automatically enabled when your open a *.doc file.  (The words “Compatibility Mode” display in Word’s title bar.)   You can switch from compatibility mode to full functionality for any document by selecting Convert from the Office Start Button.
Katriel

Word 2007 and Word 2003 Compatibility Issues

Wednesday, August 8th, 2007

Congratulations, you have Microsoft Word 2007.  Excellent choice.  But, you have to share files with less evolved colleagues still using Word 2003 (or, gasp, an even earlier version).  The bad news is that while Microsoft has a free download that enables Office 2003 users to open Office 2007 files, you may experience some disruptions.  Microsoft’s compatibility checker sometimes refers to these issues with a message that includes the phrase ”you may experience some minor loss of fidelity”.  Well, minor is subjective - so here is a listing of issues (from Microsoft TechNet) that you should be aware of.

The next post will describe how to use Compatibility Mode when writing/editing in Word 2007 to proactively avoid these issues. 

Name
Description
Compatibility Mode Behavior
Math
Equation building is new to Office Word 2007.
Equations are represented as non-editable images. These images are refreshed when the document is converted. The Equations UI is disabled in compatibility mode.
Themes
Themes are new to Office Word 2007.
Themes are permanently converted to styles. The Themes UI is disabled in compatibility mode.
Colors (Theme Chunk)
Themes are new to Office Word 2007.
Themes are permanently converted to styles. The Themes UI is disabled in compatibility mode.
Font (Theme Chunk)
Themes are new to Office Word 2007.
Themes are permanently converted to styles. The Themes UI is disabled in compatibility mode.
Effects (Theme Chunk)
Themes are new to Office Word 2007.
Themes are permanently converted to styles. The Themes UI is disabled in compatibility mode.
Content Controls
Content controls are new to Office Word 2007.
Content controls are permanently converted to static text. The Content Controls UI is disabled in compatibility mode.
Tracked Moves
Tracked moves are new to Office Word 2007.
Tracked moves are permanently converted to “Insert” and “Delete.”
Major/Minor Fonts
Major/minor fonts are new to Office Word 2007.
Major and minor fonts are permanently converted to static formatting.
Relative Text Boxes
The ability to set the position of a text box relative to some part of a document. Relative text boxes are new to Office Word 2007.
Relative positioning of text boxes is permanently converted to absolute positioning.
Margin Tabs
Margin tabs are new to Office Word 2007.
Margin tabs are permanently converted to absolutely defined tabs.
Bibliography
New to Office Word 2007.
Bibiliographies are permanently converted to static text.
Citations
New to Office Word 2007.
Citations are permanently converted to static text.
Placeholder text
New to Office Word 2007..
Placeholder text is permanently converted to static text.
Office Art 2007
Office Art engine is improved upon in the 2007 Office release.
All Office Art 2007 objects are converted to Office 97–2003 objects. These objects are refreshed when the document is converted. When a user selects SmartArt in Office Word 2007, the Diagram Gallery from Word 2003 appears.
SmartArt Diagram
Some diagrams are new to the 2007 Office release.
Diagrams in the 2007 Office release are converted to non-editable images. When the document is converted, these images are refreshed to 2007 Office release again. When a user selects SmartArt in Office Word 2007, the Diagram Gallery from Word 2003 appears.
Custom XML Data store
New to the Open XML Formats, custom-defined XML information can be stored as a separate component within the Open XML Formats, to help organizations include content from their own data sources, using their own languages.
The XML data store is removed during conversion, and XML data and content within XML bindings are permanently converted to text.
Vertical Text Box Alignment
Vertical text box alignment of center or bottom are new to Office Word 2007.
Vertical text box alignment of center or bottom is permanently converted to top vertical text box alignment.
Office Charts
Charts can now exist as native objects in Office Word 2007.
Office charts are converted to Excel OLE objects. These objects are refreshed when the document is converted back to 2007 full functionality mode. When a user selects Charts in Office Word 2007, the Diagram Gallery from Word 2003 appears.
ActiveX
Active X controls can be added to Word documents to deliver enhanced functionality.
Disabled ActiveX controls are converted to their image representation when saved to a downlevel file type or opened in a downlevel application verison through the converter.

Katriel