Microsoft Measurement
Converter Smart Tag
Measurement
Converter Smart Tag
recognizes commonly used metric and imperial measurement units in a Word
document. You can then convert units from one system to the other, for example
convert miles to kilometers or pints to liters. You can also add new recognized
units and edit conversion rules. The smart tag works with Word
Syntax
of measurement units The
smart tag will recognize measurement units with the following syntax: <float
number><space (optional)><unit name>, for example “
Supported
conversions Most
conversions are simple multiplications by a coefficient. By default, the
Measurement Converter Smart Tag supports the following conversions:
Length |
Area |
Volume |
miles to kilometers |
square
feet to m |
|
kilometers to miles |
m |
|
inches to centimeters |
square
yards to m |
liters to
|
centimeters to inches |
m |
liters to
|
millimeters to inches |
acres to ha (hectare) |
liters to gallons |
feet to centimeters |
ha to acres |
gallons to liters |
centimeters to feet |
acre to m |
oz to deciliters |
meters to feet |
m |
deciliters to oz |
feet to meters |
|
quarts to liters |
yards to meters |
|
liters to quarts |
meters to yards |
|
cubic
feet to m |
|
|
m |
Temperature |
Weight |
Speed |
Celsius to Fahrenheit |
pounds to kg |
mph to km/h |
Fahrenheit to Celsius |
kg to pounds |
km/h to mph |
|
grams to ounces |
|
|
ounces to grams |
|
|
stones to kg |
|
|
kg to stones and pounds |
|
Conversion
precision The Measurement
Converter Smart Tag rounds results of all conversions. Rounding precision
differs between conversion rules. Rounding precision is defined for each
conversion rule as the number of decimal places in the conversion result.
Precision is set to
Use
Excel for more conversions You can use Microsoft Excel for more conversion features. The CONVERT() formula supports a wide range of measurement
conversions in an Excel worksheet. See Excel online help for information how to
enable the CONVERT() formula.
Editing
the list of conversions You can add, remove or modify measurement units that shall be
recognized in Word documents. Measurement Converter Smart Tag reads conversion
rules from a Unicode text file (metconv.txt) when Word is launched. You can
open metconv.txt in Notepad and edit the contents. Each line in the metconv.txt
represents a conversion rule. Each rule is defined by
# |
Field Description |
Field Value |
Example |
Note |
|
Locale for which the unit is recognized |
a) LCID b) “All” if recognized in all languages |
All |
The LCID is an identification number used by Windows to uniquely identify locales and languages. See Microsoft Word 2007 Help or the MSDN Library at http://msdn.microsoft.com for a listing of LCIDs. |
|
Source unit name |
Text |
km |
|
|
Source description |
Text |
kilometer |
You can use the “&” character to define hot keys in the description text. E.g. “kilo&meter” will set “m” as the hot key for this conversion rule. |
|
Space between source unit and number |
“Yes” or “No” |
Yes |
|
|
Is the source unit name case sensitive? |
“Yes” or “No” |
No |
|
|
Destination unit name |
Text |
mi |
|
|
Destination description |
Text |
mile |
You can use the “&” character to define hot keys in the description text. E.g. “mi&le” will set “l” as the hot key for this conversion rule. |
|
Space between destination unit and number |
“Yes” or “No” |
Yes |
|
|
Rounding precision (number of decimal places in the target) |
Integer
value ranging from |
|
|
|
Conversion ratio or formula reference |
a) Float
value ranging from b) “CTOF” (Celsius to Fahrenheit) c) “FTOC” (Fahrenheit to Celsius) d) “KTOSP” (kilograms to stones and pounds). If the formula reference is KTOSP, then the Destination Unit Name contains two strings delimited by “|”: “stones|pounds”. |
|
|
The
Measurement Converter smart tag always supports conversion rules which have
“All” in Field #
Field #
Note: New rules can be added anywhere in
the metconv.txt file. To correct mismatched conversion actions, open the
AutoCorrect dialog from the Options/Proofing menu, and click the Recheck Document button
on the Smart Tags tab.
Number
formats Measurements
in international documents may use various decimal separators and grouping
symbols. The Measurement Converter Smart Tag recognizes numbers that use dot or
comma as the decimal separator; and dot, comma or space as the grouping symbol.
If the correct format cannot be determined from the measurement value alone,
the smart tag will check the current user locale in Control Panel/Regional
Options, and assume that the measurement uses the format defined there. For
example, if the measurement is “