home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C!T ROM 5
/
ctrom5b.zip
/
ctrom5b
/
DOS
/
GRAFISCH
/
ORCHIS11
/
CHAPT3.TXT
< prev
next >
Wrap
Text File
|
1994-12-05
|
12KB
|
248 lines
<Chapter 3: Properties>
If you want to change the properties of a box or a line of text, then
you will need to use the PROPERTIES command in the top menu. Every box and
every text line has an associated sheet of properties, and these
properties can be set independently in every box and line in the chart.
Initially, these properties have default values that apply to the entire
chart. These defaults are established through the DEFAULTS command <[4.3]>
in the DEFINE-FORM menu. However, you can individualize any box or text
line by using the PROPERTIES command.
For example, you may want to use a larger type size for boxes higher
in the chart, display fewer lines per box at lower levels, orient some
branches horizontally and others vertically, or use type face or color to
distinguish certain boxes from the others.
When you invoke the PROPERTIES command, a property sheet is displayed
in the chart window. This sheet shows the properties of the current box.
Default property values are displayed in red within square brackets.
Non-defaults are displayed in gold without brackets.
You can also display property sheets for each line of text in the
current box by using the NEXT-LINE <[3.1]> and FORMER-LINE <[3.2]>
commands (or the PGDN and PGUP keys). Note that property sheets for lines
and those for boxes differ. Certain properties, such as COLOR, appear in
both types of sheet. Others appear in one type of sheet only. For example,
BRANCH-TYPE, which controls how the daughters of a box are to be arranged,
is a property of boxes only; DIVIDE-BELOW, which draws a horizontal line
to separate a text line from those below it, is a property of text lines
and not of boxes.
The illustration <[FIG04]> shows a portion of the property sheet for
a box and a portion of the sheet for one its lines.
Each sheet is a list of fields. Each field is labeled with a property
name (for example, COLOR) and contains that property value (for example,
RED). To change a property, click on the current value with the cursor,
or, on the keyboard, type the underlined character in the property name.
LINE-WEIGHT <[3.8]>, TYPE-SIZE <[3.13]>, and TYPE-WIDTH <[3.14]> are
numerical properties. After selecting one of these, enter a new value via
the keyboard (using the open square bracket key to represent the default
value) and press ENTER. When you select one of the other properties, a
pop-up menu appears displaying the possible values for that property
(including "[DEFAULT]"). Make a selection either by clicking on the value
that you want with the cursor, or by typing the underlined character in
the value name.
Note that the first field in each sheet (CHANGING) is not itself a
property, but rather controls which boxes are affected by changes to the
sheet. (See <[3.3]>).
<Section 3.1: Next Line>
Use the NEXT-LINE command to display the property sheet for the line
below the current line. If a box property sheet is currently displayed,
NEXT-LINE switches to the sheet for the first text line of that box.
<Section 3.2: Former Line>
Use the FORMER-LINE command to display the property sheet for the
line above the current line. If the property sheet of the first line is
currently displayed, FORMER-LINE switches to the sheet for the box as a
whole.
<Section 3.3: Changing>
The CHANGING field is not associated with a property, but rather
controls which boxes will be affected by changes to the current sheet. The
values for this field are:
This box only
This box and below
Boxes at this depth
This depth and below
Boxes at this height
This height and below
This box and sisters
Sisters and below
The depth of a box is its distance down from the top of the chart. The
height of a box is its distance up from the bottom. See <[FIG05]>. The
root of the chart has a depth of one. The leaves of the chart have a
height of one.
For example, to change the color of every box in the chart to purple,
display the property sheet of the top box in the chart, set CHANGING to
"This box and below", and then set COLOR to "Purple". The top box and all
boxes below it (in other words, every box in the chart) will now be
colored purple.
As another example, it is easy to construct a chart in which the
branches are horizontal except for the lowest level, for which the
branches are vertical. This popular chart design is shown in the
illustration <[FIG06]>. To construct it, start with a horizontal chart,
select any box of height two (one level up from a leaf), display its
property sheet, set CHANGING to "Boxes at this height", and, finally, set
BRANCH-TYPE to "Vertical".
<Section 3.4: Branch Type>
The BRANCH-TYPE property of a box determines the arrangement in which
the daughters of the box are drawn. This property has three possible
values. In a HORIZONTAL branch, the daughters are drawn from left to
right, all on the same level under their parent box. In a VERTICAL branch,
the daughters line up vertically under their parent. In a TWO-SIDE branch,
the daughters form two vertical columns. The three values for BRANCH-TYPE
are shown in the illustration <[FIG01]>.
Note that changing the BRANCH-TYPE of a leaf will have no effect
unless daughters are subsequently attached to it.
<Section 3.5: Divide Below>
DIVIDE-BELOW is a property of text lines. It has two possible values.
If the value is YES, then a horizontal line is drawn beneath the text to
separate it from the text lines below. If the value is NO, then a dividing
horizontal line is not drawn.
Note that changing the DIVIDE-BELOW value of the last text line in a
box will have no effect unless additional lines are subsequently appended
to the box.
<Section 3.6: Hidden Line>
HIDDEN-LINE is a property of text lines. All boxes in a chart have
the same number of lines in their entry forms. The HIDDEN-LINE property
makes it possible for boxes to have different numbers of lines in
displayed or printed chart output.
There are three possible values. If the value is YES, then the text
line is suppressed when the chart is being drawn for display, printing, or
export. If the value is NO, then the text line is included in the chart.
Even if the line contains no characters, an empty region of the chart will
still be allocated for it. If the value is IF-BLANK, then the text line
will be shown except that no space is reserved if the line is empty. The
line is hidden if blank.
<Section 3.7: Drop Shadow>
DROP-SHADOW is a property of boxes. It has two possible values. If
the value is YES, then a dark band is drawn at the right and bottom of the
box in imitation of a shadow, as if the box were raised and illuminated
from the upper left. If the value is NO, then the shadow is not drawn.
<Section 3.8: Line Weight>
LINE-WEIGHT is a property of boxes. It has a numerical value which
controls the thickness of the frame rectangle around the box, of the
DIVIDE-BELOW lines, if any, and of the link lines connecting the box to
its daughters. LINE-WEIGHT is expressed in printer pixels. If you specify
a value of 0, all of these lines will be invisible. A value of 1 produces
the thinnest possible lines.
<Section 3.9: Equal Size>
EQUAL-SIZE is a property of boxes. It is used to guarantee that a
chosen set of boxes (possibly every box in the chart) will all have the
same physical size. There a four possible values: YES, NO, WIDTH-ONLY, and
HEIGHT-ONLY. The YES setting marks a box for both width and height
equalization. All boxes marked YES or WIDTH-ONLY will have the same
horizontal size (namely as wide as needed to accommodate the longest text
string in any of these boxes). All boxes marked YES or HEIGHT-ONLY will
have the same vertical size.
<Section 3.10: Hide Frame>
HIDE-FRAME is a property of boxes. It has two possible values. If the
value is YES, then the frame rectangle around the box and the DIVIDE-BELOW
lines, if any, are not drawn. If the value is NO, then these lines are
drawn.
Note that setting the LINE-WEIGHT <[3.8]> property to 0, also makes
the frame invisible, but doing so removes the link lines as well.
<Section 3.11: Assistant>
ASSISTANT is a property of boxes. It determines whether a box is to
be drawn in the assistant position under its parent, that is, above all
other daughters and to the left of the vertical link line under the
parent. (See the accompanying illustration <[FIG07]>.) If the value is
YES, the box is drawn in the assistant position. If it is NO, the box is
drawn in its normal position as a daughter of its parent. Note that
changing this property in a box that has no parent will have no effect
unless the box is subsequently moved under a parent.
Note that assistants do not have to be leaves in the org chart tree.
They can have daughters and even assistants of their own. In such a case,
the entire branch headed by an assistant box is drawn in the assistant
position.
<Section 3.12: Type Face>
TYPE-FACE is a property of both boxes and text lines. For a text
line, it controls the font in which that line is drawn. For a box, it
controls the font of all the text lines in the box except those lines that
have a non-default TYPE-FACE property of their own. The tables below list
the available ORCHIS fonts and the corresponding fonts used to represent
them during PostScript and EPS output.
These fonts are available in the shareware and registered versions:
Orchis font: PostScript font:
Boric Times
Salem Helvetica
Script ZapfChancery
Bopface Bookman
Beamof Palatino
English AvantGarde
These fonts are available in the registered version only:
Medford AvantGarde
Hello Helvetica
Boric Italic Times Italic
Boric Bold Times Bold
Boric Light Times
Boric X-bold Times Bold
Script Bold ZapfChancery
Hello Light Helvetica
<Section 3.13: Type Size>
TYPE-SIZE is a property of both boxes and text lines. For a text
line, it controls the height of the characters in that line. For a box, it
controls the height of all text lines in the box except those lines that
have a non-default TYPE-SIZE property of their own. The value of TYPE-SIZE
is a number expressing this height in points. One inch equals seventy-two
points.
<Section 3.14: Type Width>
TYPE-WIDTH is a property of both boxes and text lines. For a text
line, it controls the width of the characters in that line. For a box, it
controls the width of all text lines in the box except those lines that
have a non-default TYPE-WIDTH of their own. The value of TYPE-WIDTH is a
number expressing the width as a percentage of the normal width for text
of the given type size. Reducing the TYPE-WIDTH value narrows the
characters; increasing it makes them wider.
<Section 3.15: Justify>
JUSTIFY is a property of both boxes and text lines. For a text line,
it controls the justification of the text in that line. For a box, it
controls the justification of all text lines in the box except those lines
that have a non-default justification of their own. There are five
possible values: LEFT, RIGHT, CENTER, EVEN, and AUTOMATIC. The first four
of these are shown in the accompanying illustration <[FIG08]>.
If the value is AUTOMATIC, then ORCHIS will choose a justification
(LEFT, RIGHT, CENTER, or EVEN) as appropriate, depending on the context of
the box in its chart.
<Section 3.16: Color>
COLOR is a property of both boxes and text lines. For a text line, it
controls the color in which that text is drawn. For a box, it controls the
color of the frame rectangle, the DIVIDE-BELOW lines, the links to
daughter boxes, and the color of all text lines in the box except those
lines that have a non-default color of their own. The nominal COLOR values
are: BLACK, RED, BLUE, YELLOW, GREEN, BROWN, MAGENTA, CYAN, ORANGE, LIME,
GRAY, PINK, PURPLE, GOLD, and OLIVE. The actual colors rendered will
depend on the characteristics of your display and printer.