Information Technology Topic

Combining Documents and Block Operations

  1. Read notes
  2. Flashcards
  3. Quiz
  4. Confident

Study focus - 3 things

  1. Documents are combined by copy and paste, or by inserting material from another document either as an independent copy or as a link that updates when the source changes
  2. A block is any selected stretch of text, and the block operations are copy, cut and move, paste, delete and format
  3. Copying leaves the original in place, moving by cut and paste leaves no copy behind, and a paragraph count is a quick way to check what an operation did

Section 1Why combine documents?

Often the text you need already exists in another file. A club secretary wants last term's rules inside this term's newsletter. A group project needs three members' pages in one report. You could retype the text, but that wastes time and brings in new typing mistakes. You could copy and paste it, which is quick, but if the original is later changed, every pasted copy has to be updated by hand. Here's the trick: decide first whether the borrowed text will change. If it will, you want a way to keep it tied to its source.

Section 2Combining by copy and paste

The simplest way to combine content is to copy it from one document and paste it into another. This also works for text copied from a web page. Open both documents, select the text in the source, copy it, click where it should go in the destination, and paste. Pasted text normally keeps its original formatting. If you want it to take the formatting of the place it lands, use paste unformatted. If you do not like the result, undo reverses the paste.

Section 3Inserting material: as a copy or as a link

Another way to combine documents is to insert material from another document. It can be inserted in two ways. As a copy: the text is independent. It never changes when the source changes. As a link: the text stays tied to the source and updates when the source changes. It is shown as a protected section, so changes are made in the source document and not in the section itself. Easy to mix up: a copy is a snapshot; a link is a live window. Graphics and some other object types cannot be inserted this way, so they are combined by copy and paste instead.

Section 4What is a block?

A block is any selected stretch of text: a word, a sentence, a paragraph, several paragraphs or a whole page. Block operations are the things you can do to that selection. The operations are copy, cut or move, paste, delete and formatting. Formatting means bold, italic, underline, font size and so on, applied to the selected block only. You must select the block first. Nothing is applied to text that has not been selected.

Section 5Selecting a block

The usual way is to click and drag across the text. The keyboard can also be used: switch on an extend-selection mode and press the arrow keys to stretch the selection. Separate pieces of text that are not next to each other can be selected together by holding a modifier key while selecting each piece. A vertical or rectangular block that cuts across several lines can be selected with a block-selection mode. Watch out: the exact clicks and keys differ between programs, so check how yours behaves, but the idea of selecting first, then acting, is the same everywhere.

Section 6Copy, move and delete

Copy puts a duplicate of the block on the clipboard. The original stays where it is, so after pasting there are two copies. Move is done with cut and paste. Cut removes the block and paste puts it somewhere else, so no copy is left behind. Text can also be moved or copied by dragging it; dragging while holding a modifier key copies instead of moves. Delete removes the block and does not paste it anywhere. A quick check helps: count the paragraphs before and after. Copy adds paragraphs, delete takes them away, and move leaves the count the same.

Section 7A worked pattern for a school project

Imagine a Portmore group building one report. Each member has a file with 4 paragraphs. Copy each file's text into a new document one after another: 4 + 4 + 4 = 12 paragraphs. If one member's paragraphs should come first, select that block, cut it and paste it at the top. The count stays 12. If an introduction is needed in two files, insert it as a link from one master file. Then a correction in the master shows up in both. Save the combined document with a new name so the originals stay safe.

Examples

A Portmore youth club prepares a newsletter. Document A, the sports report, has 4 paragraphs (A1 to A4). Document B, the notices, has 3 paragraphs (B1 to B3). (a) The editor copies all of B and pastes it at the end of A. State how many paragraphs A and B have now. (b) She then moves paragraph 6 of A to the top using cut and paste. Name that paragraph and state how many paragraphs A has. (c) She finally deletes the block made of paragraphs 3 and 4. State the paragraphs left, in order.

(a) Copy leaves the original, so B still has 3 paragraphs. A gains 3 and now has 4 + 3 = 7 paragraphs, in the order A1, A2, A3, A4, B1, B2, B3. (b) Paragraph 6 is B2. Cutting it and pasting it at the top is a move, so nothing is added: A still has 7 paragraphs, in the order B2, A1, A2, A3, A4, B1, B3. (c) In that order, paragraphs 3 and 4 are A2 and A3. Deleting the block removes 2 paragraphs, so 7 - 2 = 5 remain: B2, A1, A4, B1, B3.

A tennis club in Mandeville keeps its rules in one document with 6 paragraphs. Rule 3 says the fee is J$1,500. Newsletter X has 3 paragraphs of its own and the rules inserted as a copy. Newsletter Y has 3 paragraphs of its own and the rules inserted as a link. (a) State how many paragraphs each newsletter has. (b) The club then changes the fee in the rules document to J$1,800 and adds a seventh rule. State what each newsletter now shows for the fee and how many paragraphs each has. (c) Justify when the link is the better choice.

(a) Each newsletter has 3 + 6 = 9 paragraphs. (b) Newsletter X holds an independent copy, so it still shows J$1,500 and still has 9 paragraphs. Newsletter Y is linked, so it updates: it shows J$1,800 and has 3 + 7 = 10 paragraphs. Only one of the two newsletters picked up the change. (c) Choose a link when the same text appears in several documents and will probably change, so you correct it once in the source. Choose a copy when the text should stay exactly as it was on the day, for example a record of last year's fee. A linked section is protected, so changes are made in the source document.

Now let's water it

Session runs notes to flashcards to quiz back-to-back.

Where this comes from