416-621-9348 cgreaves@chrisgreaves.com Visit www.ChrisGreaves.com for this image! Chris_GEDC1894_Head (Small).JPG
Home Site About Services Products

Using Color in Microsoft Word Using Color in Microsoft PowerPoint Compatible Systems Notes on Selections
Acknowledgements WhatFAQ Videos

Color - Home Page

Welcome to Color's Home Page.

Color will speed up and enhance your delivery of Word documents and PowerPoint presentations.

Download, Install it, click on the drop-down list, and say "Wow!".

If you have any questions, please Contact Me ; I personally answer the phone & respond to all email enquiries.

Selection in MicroSoft Word

In MS Word - in the current selection which may span several pages of a document - you get to color all the

Characters

Words

Sentences

Paragraphs

(Strictly speaking within any "story" in the document, since one could be knee-deep in a header or footer)

Selection in MicroSoft PPT

Apply color to all selected characters, words, sentences or paragraphs in the current text box.

Apply color to all selected characters, words, sentences or paragraphs in all selected text boxes in the slide.

Apply color to all selected characters, words, sentences or paragraphs in all selected text boxes in all selected slides.

Apply color to all selected characters, words, sentences or paragraphs in all selected text boxes in all slides in the presentation.

The user's selection can span everything from all slides (Click-Shift-Click on the slide viewer) to a set of slides, a single slide, one or more textboxes within a single slide, part of a single slide (from some point in a paragraph to some other point in (another) paragraph).

While a part of a single textbox within a single slide can be selected, once we cross a text box boundary we can select only complete text boxes, and once we cross a slide boundary we can select only complete slides.

However we are not done, since we can provide, by macro, a means to

Apply color to the first text box in each slide.

Apply color to the first paragraph in the first text box in each slide.

Apply color to the first word in the first paragraph in the first text box in each slide.

Apply color to the first character in the first word in the first paragraph in the first text box in each slide.

We could apply equally well to the second, third etc, but perhaps only the "last" would be of equal use:

Apply color to the last text box in each slide.

Apply color to the last paragraph in the last text box in each slide.

Apply color to the last word in the last paragraph in the last text box in each slide.

Apply color to the last character in the last word in the last paragraph in the last text box in each slide.

Logic

A PowerPoint presentation consists of slides.

A slide consists of one or more shapes

A shape may have a text frame

A text frame consists of one or more paragraphs

A paragraph consists of one or more sentences

A sentence consists of one or more lines

A line consists of one or more words

A word consists of one or more characters.

Note the dichotomy around the text frame.

Items inferior to a text frame are those items to which we apply Font.Color.

All items excepting the text frame or the Presentation can be selected by the end-user.

We make a distinction between

(a) What has been selected and

(b) To what sort of unit color is being applied.

We know that if one selects, say, a shape, then PowerPoint assumes all the text within that shape. That is, each selectable item above the text frame level implies that entire text frames are involved in the operation.

The user elects to select some part of a presentation, and then chooses one of five macros, to color units of Paragraphs, Sentences, Lines, Words or Characters, known as the PSLWC switch.

If the user has elected to color characters and the user has selected a few characters within a text frame, the code known as "Process all Characters In the Selection" will be a straightforward simple loop along the characters within the selection

If the user has elected to color words, and yet the selection does not cover more than one word, then the code known as "Process all Words In the Selection" will be a straightforward application of color to the single word represented by the selection.

If the user has elected to color lines, and yet the selection does not cover more than one line, then the code known as "Process all Lines In the Selection" will be a straightforward application of color to the single line represented by the selection.

If the user has elected to color sentences, and yet the selection does not cover more than one sentence, then the code known as "Process all Sentences In the Selection" will be a straightforward application of color to the single sentence represented by the selection.

If the user has elected to color paragraphs, and yet the selection does not cover more than one paragraph, then the code known as "Process all Paragraphs In the Selection" will be a straightforward application of color to the single paragraph represented by the selection.

Color Words

If the user has elected to color characters and the user has selected a few characters within a text frame, the code known as "Process all Characters In the Selection" will be a straightforward simple loop along the characters within the selection

If the user has elected to color words, and yet the selection does not cover more than one word, then the code known as "Process all Words In the Selection" will be a straightforward application of color to the single word represented by the selection.

If the user has elected to color lines, and yet the selection does not cover more than one line, then the code known as "Process all Lines In the Selection" will be a straightforward application of color to the single line represented by the selection.

If the user has elected to color sentences, and yet the selection does not cover more than one sentence, then the code known as "Process all Sentences In the Selection" will be a straightforward application of color to the single sentence represented by the selection.

If the user has elected to color paragraphs, and yet the selection does not cover more than one paragraph, then the code known as "Process all Paragraphs In the Selection" will be a straightforward application of color to the single paragraph represented by the selection.


Loading

Toronto and Mississauga, Thursday, March 18, 2010 7:57 PM

Copyright © 1996-2010 Chris Greaves. All Rights Reserved.