Chapter 10

Editing Documents

9781118826232-co1001.tif

To be productive with Windows, you need to know how to work with documents. In this chapter, you learn what documents are, as well as how to create, save, open, edit, and print documents.

Understanding Documents

Create a Document

Save a Document

Open a Document

Edit Document Text

Change the Text Font

Find Text

Replace Text

Insert Special Symbols

Make a Copy of a Document

Print a Document

Understanding Documents

Documents are files that you create or edit yourself. The four examples shown here are the basic document types that you can create by using the programs that come with Windows.

Text Document

9781118826232-fg1001.tif

A text document is one that includes only the characters that you see on your keyboard, plus a few others. A text document contains no special formatting, such as colored text or bold formatting, although you can change the font. In Windows, you normally use the Notepad program to create text documents.

Word Processing Document

9781118826232-fg1002.tif

A word processing document contains text and other symbols, and you can format those characters to improve the look of the document. For example, you can change the size, color, and typeface, and you can make words bold or italic. In Windows, you use the WordPad program to create word processing — or Rich Text Format — documents.

Drawing

9781118826232-fg1003.tif

A drawing in this context is a digital image you create using special “tools” that create lines, boxes, polygons, special effects, and free-form shapes. In Windows, you use the Paint program to create drawings.

Create a Document

When you are ready to create something using Windows, in most cases you begin by launching a program and then using that program to create a new document to hold your work. Many Windows programs (such as WordPad and Paint) create a new document for you automatically when you begin the program. However, you can also use these programs to create another new document after you have started the program.

Create a Document

9781118826232-fg1005.tif

000 Click File.

000 Click New

9781118826232-fg1006.tif

A If the program supports more than one type of file, the program asks which type you want to create.

Note: Some programs display a dialog box with a list of document types.

000 Click the document type you want.

The program creates the new document.

Note: In most programs, you can also press 9781118826232-ctrl.tif+9781118826232-n.tif to create a new document.

Save a Document

After you create a document and make any changes to it, you can save the document to preserve your work. When you work on a document, Windows stores the changes in your computer's memory. However, Windows erases the contents of your PC's memory each time you shut down or restart the computer. This means that the changes you have made to your document are lost when you turn off or restart your PC. Saving the document preserves your changes on your computer's hard drive.

Save a Document

9781118826232-fg1007.tif

000 Click File.

000 Click Save.

Note: In most programs, you can also press 9781118826232-ctrl.tif+9781118826232-s.tif or click Save (9781118826232-ma028.tif).

Note: If you saved the document previously, your changes are now preserved. You do not need to follow the rest of the steps in this section.

If this is a new document that you have never saved before, the Save As dialog box appears.

9781118826232-fg1008.tif

000 Click Documents.

Note: In most programs, the Documents library is selected automatically when you save a document.

9781118826232-fg1009.tif

A Windows opens the Documents library.

000 Click in the File name text box and type the name you want to use for the document.

Note: The name you type can be up to 255 characters long, but it cannot include the following characters: < >, ?: “ \ *.

000 Click Save.

9781118826232-fg1010.tif

B The filename you typed appears in the program's title bar.

Open a Document

To work with a document that you have saved in the past, you typically need to open the document in the program that you used to create it. When you save a document, you save its contents to your PC's hard drive, and those contents are stored in a separate file. When you open the document using the same application that you used to save it, Windows loads the file's contents into memory and displays the document in the application. You can then view or edit the document as needed.

Open a Document

000 Start the program you want to work with.

9781118826232-fg1011.tif

000 File

A If you see the document you want in a list of the most recently used documents on the File menu, click the name to open it. You can then skip the rest of the steps in this section.

000 Click Open.

Note: In most programs, you can also press 9781118826232-ctrl.tif+9781118826232-o.tif or click Open (9781118826232-ma027.tif).

The Open dialog box appears.

9781118826232-fg1012.tif

000 Click Documents.

Note: In most programs, the Documents library is selected automatically when you open a document.

B If you want to open the document from some other folder, click here, click your username, and then double-click the folder.

9781118826232-fg1013.tif

C The document appears in the program window.

000 Windows opens the Documents library.

000 Click Open.

9781118826232-fg1014.tif

D The document appears in the program window.

Edit Document Text

When you work with a character-based file, such as a text or word processing document or an e-mail message, you need to know the basic techniques for editing, selecting, copying, and moving text. Text you enter into a document is rarely perfect the first time through. The text likely contains errors that require correcting, or words, sentences, or paragraphs that appear in the wrong place. To get your document text the way you want it, you need to know how to edit text, including deleting characters, selecting the text you want to work with, and copying and moving text.

Edit Document Text

Delete Characters

9781118826232-fg1015.tif

000 Click immediately to the left of the first character you want to delete.

A The cursor appears before the character.

9781118826232-fg1016.tif

000 Press delete.tif until you have deleted all the characters you want.

Note: An alternative method is to click immediately to the right of the last character you want to delete and then press bksp.tif until you have deleted all the characters you want.

Note: If you make a mistake, immediately press 9781118826232-ctrl.tif+9781118826232-z.tif or click Undo (9781118826232-ma029.tif). Alternatively, click Edit and then click Undo.

Select Text for Editing

9781118826232-fg1017.tif

000 Click and drag across the text you want to select.

9781118826232-fg1018.tif

000 Release the mouse button.

B The program highlights the selected text.

Edit Document Text (continued)

After you select some text, you can then copy or move the text to another location in your document. Copying text is often a useful way to save work instead of typing it from scratch. Likewise, if you need a similar passage in another part of the document, you can copy the original and then edit the copy as needed. If you enter a passage of text in the wrong position within the document, you can fix that by moving the text to the correct location.

Edit Document Text (continued)

Copy Text

000 Select the text you want to copy.

9781118826232-fg1019.tif

000 Click Copy (9781118826232-ma031.tif)

A In WordPad, you display the Clipboard options by clicking the Home tab.

Note: In most programs, you can also press 9781118826232-ctrl.tif+9781118826232-c.tif or click the Edit menu and then click Copy.

9781118826232-fg1020.tif

000 Click inside the document at the position where you want the copy of the text to appear.

The cursor appears in the position you click.

000 Click Paste (9781118826232-ma032.tif).

Note: In most programs, you can also press 9781118826232-ctrl.tif+9781118826232-v.tif or click the Edit menu and then click Paste.

B The program inserts a copy of the selected text at the cursor position.

Move Text

9781118826232-fg1021.tif

000 Select the text you want to move.

000 Click Cut (9781118826232-ma030.tif)

C In WordPad, you display the Clipboard options by clicking the Home tab.

Note: In most programs, you can also press 9781118826232-ctrl.tif+9781118826232-x.tif or click the Edit menu and then click Cut.

The program removes the text from the document.

9781118826232-fg1022.tif

000 Click inside the document at the position where you want to move the text.

The cursor appears at the position you clicked.

000 Click Paste (9781118826232-ma032.tif).

Note: In most programs, you can also press 9781118826232-ctrl.tif+9781118826232-v.tif, or click the Edit menu and then click Paste.

D The program inserts the text at the cursor position.

Change the Text Font

When you work in a word processing document, you can add visual appeal by changing the font formatting. The font formatting includes attributes such as the typeface, style, size, or special effects. A typeface — also called a font — is a distinctive character design that you can apply to the selected text in a document. The type style refers to formatting applied to text, such as bold or italics. The type size refers to the height of each character, which is measured in points; 72 points equal one inch. Special effects are styles that change the appearance of the text. The most common examples are underline and strikethrough.

Change the Text Font

9781118826232-fg1023.tif

000 Select the text you want to format.

9781118826232-fg1024.tif

000 Display the font options.

A In WordPad, you display the font options by clicking the Home tab.

Note: In many other programs, you display the font options by clicking Format in the menu bar and then clicking the Font command.

9781118826232-fg1025.tif

000 In the Font list, click 9781118826232-ma006.tif and then click the typeface you want.

000 In the Size list, click the type size you want.

9781118826232-fg1026.tif

000 For bold text, click Bold (9781118826232-ma033.tif).

000 For italics, click Italic (9781118826232-ma034.tif).

000 For underlining, click Underline (9781118826232-ma035.tif).

000 For color, click the Font color 9781118826232-ma006.tif and then click a color.

B The program applies the font formatting to the selected text.

Note: Here are some shortcuts that work in most programs: For bold, press 9781118826232-ctrl.tif+9781118826232-b.tif; for italics, press 9781118826232-ctrl.tif+9781118826232-i.tif; for underline, press 9781118826232-ctrl.tif+9781118826232-u.tif.

Find Text

In large documents, when you need to find specific text, you can save a lot of time by using the program's Find feature. In short documents that contain only a few dozen or even a few hundred words, finding a specific word or phrase is usually not difficult. However, many documents contain hundreds or even thousands of words, so finding a word or phrase becomes much more difficult and time consuming. You can work around this problem by using the Find feature, which searches the entire document in the blink of an eye.

Find Text

9781118826232-fg1027.tif

000 Click Find (9781118826232-ma055.tif).

A In WordPad, you display the Editing options by clicking the Home tab.

Note: In many programs, you run the Find command by clicking Edit in the menu bar and then clicking the Find command, or by pressing 9781118826232-ctrl.tif+9781118826232-f.tif.

The Find dialog box appears.

9781118826232-fg1028.tif

000 Click in the Find what text box and type the text you want to find.

000 Click Find Next.

B The program selects the next instance of the search text.

Note: If the search text does not exist in the document, the program displays a dialog box to let you know.

9781118826232-fg1029.tif

000 If the selected instance is not the one you want, click Find Next until the program finds the correct instance.

000 Click Close (9781118826232-ma007.tif) to close the Find dialog box.

9781118826232-fg1030.tif

C The program leaves the found text selected.

Replace Text

You can make it easier to replace multiple instances of one word with another by taking advantage of the program's Replace feature. Do you need to replace a word or part of a word with some other text? If you have several instances to replace, you can save time and do a more accurate job if you let the program's Replace feature replace the word for you. Most programs that work with text — including the Windows WordPad and Notepad programs — have the Replace feature.

Replace Text

9781118826232-fg1031.tif

000 Click Replace 9781118826232-ma056.tif

A In WordPad, you display the Editing options by clicking the Home tab.

Note: In many programs, you run the Replace command by clicking Edit in the menu bar and then clicking the Replace command, or by pressing 9781118826232-ctrl.tif+9781118826232-h.tif.

The Replace dialog box appears.

9781118826232-fg1032.tif

000 Click in the Find what text box, and type the text you want to find.

000 Click in the Replace with text box, and type the text you want to use as the replacement.

000 Click Find Next.

9781118826232-fg1033.tif

B The program selects the next instance of the search text.

Note: If the search text does not exist in the document, the program displays a dialog box to let you know.

000 If the selected instance is not the one you want, click Find Next until the program finds the correct instance.

000 Click Replace.

9781118826232-fg1034.tif

C The program replaces the selected text with the replacement text.

D The program selects the next instance of the search text.

000 Repeat steps 5 and 6 until you have replaced all the instances you want to replace.

000 Click Close (9781118826232-ma007.tif) to close the Replace dialog box.

Insert Special Symbols

You can make your documents more readable and more useful by inserting special symbols that are not available via your keyboard. The keyboard is home to a large number of letters, numbers, and symbols. However, the keyboard is missing some useful characters. For example, it is missing the foreign characters in words such as café and Köln. Similarly, your writing might require mathematical symbols such as ÷ and ½, financial symbols such as ¢ and ¥, or commercial symbols such as © and ®. These and many more symbols are available in Windows via the Character Map program.

Insert Special Symbols

9781118826232-fg1035.tif

000 On the Start screen, type char.

000 Click Character Map.

The Character Map window appears.

9781118826232-fg1036.tif

000 Click the symbol you want.

000 Click Select

A Character Map adds the symbol to the Characters to Copy text box.

000 Click Copy

000 Click Close (9781118826232-ma007.tif) to shut down Character Map after you choose all the characters you want.

9781118826232-fg1037.tif

000 In your document, position the cursor where you want to insert the symbol.

B In WordPad, you can display the Clipboard options by clicking the Home tab.

000 Click Paste (9781118826232-ma032.tif).

9781118826232-fg1038.tif

C The program inserts the symbol.

Make a Copy of a Document

When you need to create a document that is nearly identical to an existing document, instead of creating the new document from scratch, you can save time by making a copy of the existing document and then modifying the copy as needed. For example, you might have a résumé cover letter that you want to modify for a different job application. Similarly, this year's conference agenda is likely to be similar to last year's conference. Instead of creating these new documents from scratch, it is much faster to copy the original document and then edit the copy as needed.

Make a Copy of a Document

9781118826232-fg1039.tif

000 Start the program you want to work with and open the original document.

000 Click File.

000 Click Save as.

The Save As dialog box appears.

9781118826232-fg1040.tif

000 Click Documents.

Note: In most programs, the Documents library is selected automatically when you run the Save As command.

9781118826232-fg1041.tif

A Windows opens the Documents library.

000 Click in the File name text box and type the name you want to use for the copy.

Note: The name you type can be up to 255 characters long, but it cannot include the following characters: < > , ? : “ \ *.

000 Click Save.

The program closes the original document and opens the copy you just created.

9781118826232-fg1042.tif

B The filename you typed appears in the program's title bar.

Print a Document

When you need a hard copy of your document to file or to distribute to someone else, you can obtain it by sending the document to your printer. Most applications that deal with documents also come with a Print command. When you run this command, the Print dialog box appears. You use the Print dialog box to choose the printer you want to use as well as to specify how many copies you want to print. Many Print dialog boxes also enable you to see a preview of your document before printing it.

Print a Document

000 Turn on your printer.

9781118826232-fg1043.tif

000 Open the document you want to print.

9781118826232-fg1044.tif

000 Click File.

000 Click Print.

Note: In many programs, you can select the Print command by pressing 9781118826232-ctrl.tif+9781118826232-p.tif or by clicking Print (9781118826232-ma036.tif).

The Print dialog box appears.

9781118826232-fg1045.tif

Note: The layout of the Print dialog box varies from program to program. The WordPad version shown here is a typical example.

000 If you have more than one printer, click the printer you want to use.

000 Use the Number of copies spin button (9781118826232-ma019.tif) to specify the number of copies to print.

000 Click Print.

9781118826232-fg1046.tif

A Windows prints the document. The print icon (9781118826232-ma054.tif) appears in the taskbar's notification area while the document prints.