Finding and Correcting Text

Visio 2007 can correct spelling or find and replace all uses of particular words. You can specify whether you want Visio 2007 to search a selection, a page, or the whole diagram. When you search for or check the spelling of text, Visio 2007 searches in all shapes, including these:

  • Text-only shapes

  • Data fields

  • Stencils

  • Custom property fields

  • Text you enter in the Properties dialog box

To search for shapes, type your criteria into the search window located above the Shapes window. You can locate shapes by using names or keywords. For details, see the section titled “Finding the Right Shape” in Chapter 2, “Quickly Formatting Shapes and Designs.”

Finding and Replacing Text

Finding and replacing text in a Visio 2007 diagram works a little differently from your typical word processing document. When Visio 2007 searches for text, it examines text in shapes, in text-only shapes, on stencils, in the Properties box, text within shape data, shape names, user-defined cells (a type of ShapeSheet cell of interest to shape developers), and in data files. You can also search for special characters, such as tabs or line breaks.

When you search for a word or phrase in Visio 2007 using the Find or Replace command, you can define the scope of the search—selected text only, current page, or all pages in the diagram. Visio 2007 searches the text blocks of shapes for the text you specify. When you use the Find command, you can refine the search even more. Table 4-6 shows you the options for searching when you use the Find command.

Table 4-6. Options for Searching
Search LocationDescription
SelectionSearches for text only in the currently selected shapes on the drawing page
Current PageSearches for text on the current page only
All PagesSearches for text on all pages of your diagram
Shape TextSearches the text blocks of all shapes, including text-only shapes
Shape DataSearches for text in the custom property fields of all shapes
Shape NameSearches the Name field of a master shape or instance of a master shape (that is, what you drop on the page). This option is best used when a stencil file is open for editing to check master shape names.
User-Defined CellSearches the formula text in the Value and Prompt cells of the User-Defined Cells section of the ShapeSheet spreadsheet for all shapes

To search for a word or phrase, follow these steps:

1.
Choose Edit, Find; or press Ctrl+F to open the Find dialog box.

2.
In the Find What box, type the word or phrase you want to search for. To search for a special character, click Special, and then select an option.

3.
Under Search In, choose options to control where Visio 2007 searches.

4.
Under Options, select the match options you want, and then click Find Next.

If Visio 2007 locates an occurrence of the search text in a shape, the text is highlighted in the diagram. If the search text is found in a shape name or user-defined cell, the name is displayed in the Found In section of the Find dialog box, and the shape is selected on your drawing page.

5.
To edit the found text, click the Close or Cancel button to close the Find dialog box. Or click Find Next to find its next occurrence.

To replace a word or phrase, follow these steps:

1.
Choose Edit, Replace to open the Replace dialog box.

2.
In the Find What box, type the word or phrase you want to replace. To search for a special character, click Special, and then select an option.

3.
In the Replace With box, type the new word or phrase you want to use. To replace the Find What text with a special character, click Special, and then select an option.

4.
Under Search, select an option to control where Visio 2007 searches.

5.
Under Options, select the match options you want.

6.
To replace all instances of the Find What word or phrase, click Replace All. Otherwise, click Find Next to search for the next occurrence of the text.

If Visio 2007 locates an occurrence of the search text in a shape, the text is highlighted in the diagram.

7.
Click Replace to replace the selection with the text in the Replace With box, and then click Find Next.

Visio 2007 displays a message when it has finished searching.

8.
Click OK, and then click the Close button to close the Replace dialog box.

The commands on the Edit menu aren’t the only commands for searching. Like other Office programs, Visio 2007 includes a task pane for searching in other files on your computer or elsewhere, as well as the Find Shapes command for tracking down elusive shapes. Table 4-7 summarizes the commands you can use to search for text, files, or shapes.

Table 4-7. Commands for Searching in Visio 2007 and Beyond
CommandDescription
Edit FindSearches for a word or phrase in a diagram
Edit, ReplaceSearches for a word or phrase in a diagram and then replaces it with a new word or phrase
View, Task PaneOpens the Basic Search pane, where you can search for text in other files including Office documents on your computer, in network folders, at Microsoft.com, or in Microsoft Outlook
Search window above Shapes windowType text into the window to search for shapes

Checking Spelling

When you check spelling in a diagram, Visio 2007 examines the spelling of text in shapes, including text-only shapes, and data fields. Visio 2007 typically checks the spelling for shapes on the current page only, but you can specify to check selected text only or all pages in a diagram.

Follow these steps to check spelling in a drawing:

1.
Choose Tools, Spelling, or press F7.

If Visio 2007 encounters any words not found in its dictionary, it displays the Spelling dialog box.

2.
If the highlighted suggestion in the Change To box is correct, click Change to replace the misspelled word with this text. Or click Change All to replace every instance of the misspelled word throughout the drawing file. Otherwise, choose a word in the Suggestions box, or type the correct spelling in the Change To box, and then click Change.

3.
If the unrecognized word is spelled correctly, click Ignore to continue the check. Or click Ignore All to ignore all instances of the word in the diagram and continue the check.

4.
If you want to add an unrecognized word to Visio’s spelling dictionary, click Add.

For example, use the Add button to add your company’s name to the dictionary so the spelling checker won’t ask you about it every time.

5.
Click Options to ensure that the spelling options are set the way you want.

When Visio has finished checking spelling (or if it doesn’t find any misspelled words), a message box appears indicating that it has finished checking.

6.
Click OK.

By default the spelling checker checks all text in your drawing. That’s all shapes and all text. You can limit the check by highlighting the text you wish to check and then pressing F7 (or the Spelling button on the Standard toolbar).

Note

By default, Visio 2007 checks your spelling as you type. If a word is misspelled, Visio underlines it with a squiggly red line. Right-click the word to display a shortcut menu that includes suggested corrections of the misspelled word.


Creating Your Own Dictionary

When you check spelling in a diagram, Visio 2007 compares words to its dictionary, a file called Custom.dic. You can add words to this dictionary as you check spelling, but for some diagrams with unusual or industry-specific terms, you might not want to pollute the built-in dictionary. For your personal vocabulary needs, Visio 2007 lets you create a user dictionary for storing words that you want the spelling checker to recognize. When the spelling checker encounters an unrecognized word, you can add it to your user dictionary so that it won’t be listed as a misspelling in the future.

Visio 2007 uses the active dictionary to check spelling. When you create a user dictionary, you add it to the list of active dictionaries. More than one dictionary can be active. Then, when you use the Spelling command, all the active dictionaries, including the user dictionary, appear in the Add Words To box. When you no longer want your user dictionary to appear in this box, you can remove it from the active list. Removing a dictionary doesn’t delete it; it just prevents the dictionary from showing up in the Spelling dialog box, so you can’t add words to it.

Note

Visio 2007 saves dictionaries in c:Users<user>AppDataRoamingMicrosoftUProof.


Follow these steps to create a user dictionary and make it active:

1.
Choose Tools, Spelling, and then click the Spelling Options.

2.
Click the Custom Dictionaries box.

3.
Click New.

4.
In the Create Custom Dictionary window, type a name for the dictionary, and then click Save.

In the Custom Dictionaries window, the dictionary name you created appears.

5.
Click OK to close the Custom Dictionaries dialog box.

The user dictionary has been added to the diagram.

Follow these steps to add words to a user dictionary:

1.
Choose Tools, Spelling, Spelling.

2.
When Visio 2007 encounters a word it doesn’t recognize, click Add to add the word to the user dictionary.

To make a user dictionary inactive, follow these steps:

1.
Choose Tools, Spelling, Spelling Options, and then click Custom Dictionaries.

2.
In the Custom Dictionaries box, remove the check beside the name of your user dictionary.

3.
Click OK.

Note

To reactivate an existing user dictionary, choose Tools, Spelling, Spelling Options, click Custom Dictionary, and place a check mark beside the name of your dictionary.


Turning Off the Spelling Checker

Visio 2007 automatically checks your spelling as you type and displays a wavy red underline under words that it doesn’t recognize. Some people love an interactive spelling checker, and others loathe the interruption. If you’re in the latter camp, you can turn off the spelling checker. That way, you can control when you want Visio 2007 to check your spelling—just press F7.

Turn off the automatic spelling checker as follows:

1.
Choose Tools, Spelling, and Spelling Options.

2.
Clear the Check Spelling As You Type check box, and then click OK.

Automatically Correcting Text as You Type

It used to be only the shapes were smart in Visio. Now text is smart, too, with automatic corrections. Visio 2007 includes many of the AutoCorrect and AutoFormat features that make Word so sweet. Depending on the options you choose, Visio 2007 can automatically correct common typos and capitalization errors and format certain characters as you type. For example, if you start a new sentence with a lowercase letter, Visio 2007 can automatically replace it with an uppercase letter.

Visio 2007 can correct the following typos and formats:

  • Capitalization mistakes When you type too many capital letters in a word, or too few at the start of a sentence or in the name of a day, Visio 2007 fixes the word. For example, VIsio becomes Visio and tuesday becomes Tuesday.

  • Caps Lock errors When you accidentally press the Caps Lock key on your keyboard while typing, Visio 2007 continues to type in lowercase.

  • Formatting fixes Visio 2007 swaps symbol characters for commonly typed letters. For example, some common fractions (3/4) are converted to stacked fraction characters (¾), and two hyphens (- -) become an em dash (—).

What if AutoCorrect “fixes” a word that you typed exactly as intended? When AutoCorrect makes a correction that you don’t want, you can press Ctrl+Z (or choose Edit, Undo) to undo the correction.

Undoing an unwanted correction can be an irritating interruption. You can instead define exceptions to the rules so that, for example, AutoCorrect applies its capitalization rules only to the words you want. Or you can disable the feature altogether and trust the spelling checker to catch your mistakes.

Follow these steps to specify the AutoCorrect options you want:

1.
Choose Tools, AutoCorrect Options.

The AutoCorrect dialog box appears and displays the AutoCorrect tab.

2.
To set capitalization corrections, select or clear the first four check boxes in the dialog box.

3.
To set formatting options, click the AutoFormat As You Type tab.

4.
Select or clear the options you want, and then click OK.

Note

To disable AutoCorrect altogether, clear all of the check boxes in the AutoCorrect dialog box.


Adding AutoCorrect Entries

If the list of built-in AutoCorrect entries doesn’t contain the corrections that you want, you can easily add or edit AutoCorrect entries. For example, you can add an entry to automatically spell out the name of your company when you type an abbreviation.

Follow these steps to add an AutoCorrect entry:

1.
Choose Tools, AutoCorrect Options.

The AutoCorrect dialog box appears and displays the AutoCorrect tab.

2.
Make sure Replace Text As You Type is checked.

3.
In the Replace box, type a word or phrase that you often mistype or misspell, or type the short form of a word that you want AutoCorrect to spell out.

For example, type MS Press.

4.
In the With box, type the correct spelling of the word.

For example, type Microsoft Press.

5.
Click Add. Continue adding entries, or click OK to close the AutoCorrect dialog box.

Specifying Exceptions to the AutoCorrect Rules

You can prevent AutoCorrect from making specific capitalization corrections. When you define an AutoCorrect exception, you specify letters that should not be capitalized. Defining an exception lets you keep the AutoCorrect feature enabled and yet avoid the irritation of undoing unwanted corrections. Otherwise, when AutoCorrect makes an unwanted correction, you must press Ctrl+Z (or choose Edit, Undo) to remove the entire correction and retype the word you want.

Follow these steps to define a capitalization exception:

1.
Select Tools, AutoCorrect Options, and then click Exceptions.

The AutoCorrect Exceptions dialog box appears with the First Letter tab displayed.

2.
To prevent AutoCorrect from capitalizing a word you type after a specific abbreviation, type the abbreviation (including periods) in the Don’t Capitalize After box. Click Add.

3.
To prevent AutoCorrect from correcting a word that contains mixed uppercase and lowercase letters, click the INitial CAps tab. In the Don’t Correct box, type the word, and then click Add. Click OK to return to the AutoCorrect dialog box.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset