version 1.1, 2003/06/10 19:29:26
|
version 1.2, 2005/02/24 22:26:25
|
Line 2
|
Line 2
|
|
|
|
|
\begin{itemize} |
\begin{itemize} |
\item \textbf{labelgroup}\index{labelgroup}: One required, multiple allowed. |
\item \textbf{labelgroup}\index{labelgroup}: One is required, but multiple are allowed. |
Declares a group of locations and labels associated with them. Possible |
This declares a group of locations and labels associated with them. Possible |
attributes are: |
attributes are: |
|
|
\begin{itemize} |
\begin{itemize} |
\item \textbf{name}\index{name}: This is the name of the group. A hash |
\item \textbf{name}\index{name}: This is the name of the group. A hash |
with this name will be generated holding the mappings for later use |
with this name will be generated holding the mappings for later use |
in the problem. For each location a value will be set for which label |
in the problem. For each location a value will be set for which label |
is there, (EX. \$hash\{'1'\}=''TEXT-2''). For locations with values |
is there (EX. \$hash\{'1'\}=''TEXT-2''). For locations with values, |
the hash will contain 2 items, a location to value mapping (\$hash\{'value\_1'\}=10), |
the hash will contain 2 items, a location to value mapping (\$hash\{'value\_1'\}=10), |
and a label to value mapping (\$hash\{'labelvalue\_2'\}=10). For all |
and a label to value mapping (\$hash\{'labelvalue\_2'\}=10). For all |
image style of labels there will also be a label description to label |
image style of labels there will also be a label description to label |
URL mapping (\$hash\{'image\_2'\}=IMG-URL). Also the entry \textbf{numlocations} |
URL mapping (\$hash\{'image\_2'\}=IMG-URL). The entry \textbf{numlocations} |
will be set to the total number of locations that exist. (Note that |
will also be set to the total number of locations that exist (Note: locations and labels start counting from one.) |
locations and labels start counting from 1.) |
|
\item \textbf{type}\index{type}: the type of labels in this group, either |
\item \textbf{type}\index{type}: the type of labels in this group, either |
'\textbf{image}' or '\textbf{text}' |
'\textbf{image}' or '\textbf{text}' |
\item \textbf{location}\index{location}: declares a location on the image |
\item \textbf{location}\index{location}: declares a location on the image |