Anda di halaman 1dari 7

CREATING WORDOUTPUT TEMPLATES

This document explains how a user can create his own word output
templates. The template consists of tags organized as a tree structure. The
tags can contain other tags and can have their own attributes.

There can be different kinds of tags. Some represents the insert


position of slide, contents etc, some represent the item objects, some the
insert pattern for the items, some represents the slide types, some
represents the pattern for answer key of question slides etc

The opening and closing braces associated with the tags in the word document
is given below
• [* The opening braces for find block and find
insert position
• *] The closing braces for a find block and find
insert position
• [<item-name>[ The opening braces for a find item (object
insert pattern)
• ]<item-name>] The closing braces for a find item (object
insert pattern

SLIDE TAGS
These tags represents the template for a particular slide type. If any
of these tags are not present, those types of slides wont get inserted

cwoMultChQuestion
The template for the multiple choice question slide.
Usage Example :-
[*cwoMultChQuestion[*cwoQuestionTitle*]

[*cwoQuestionQuestion*]
[*cwoBlockInsert*]

[*cwoTemplates
[ANN[{ cwoAnswerText
]ANN]
cwoTemplates*]
cwoMultChQuestion*]

cwoCapturedSlide
The template for a captured slide.

cwoContentSlide
The template for a content (image, colored or blank slide).

cwoMultAnsQuestion
The template for the multiple answer question slide.

cwoFillBlankQuestion
The template for the fill-in-the-blank question slide
cwoTFQuestion
The template for the true/false question slide.

cwoFillBlankQuestion
The template for the fill-in-the-blank question slide

cwoShortAnsQuestion
The template for the short answer question slide.

cwoMatchQuestion
The template for the match the following question slide.

cwoLikertQuestion
The template for the likert question slide.

INSERT POSITION TAGS

cwoSlideInsert
This tag represents the insert position for the slides. This tag
is mandatory, else slides wont be inserted.
Example Usage :- Insert [*cwoSlideInsert*] tag in the template where
the user wanted the slides to be inserted

cwoContentInsert
This tag represents the position to insert the content blocks. This
should be a child of TIMEBLOCK.

Example Usage :- inserting [TIMEBLOCK[ [*cwoContentInsert*]


]TIMEBLOCK] in the template document will print the contents one after
other separated by white space.

OTHER TAGS

cwoDefaultItemTemplates
This tag contains the default templates used for all items in all
slides. Each type of slide (such as cwoCapturedSlide, cwoTFQuestion
etc) can override these templates by providing their own. Each template
represents how one item will be output – a caption, highlight, text
animation, multiple choice answer, etc.

cwoTemplates
Represents block of templates used in the slide. This tag can be
a child of cwoDefaultItemTemplates, cwoCapturedSlide, cwoTFQuestion,
cwoContentSlide, cwoLikertQuestion, cwoMultChAnswerKey,
cwoShortAnsQuestion, cwoFillBlankQuestion, cwoMultAnsQuestion
cwoMultChQuestion etc.

Example Usage :-

[*cwoTemplates

[TIMEBLOCK[ [*cwoContentInsert*] ]TIMEBLOCK]

[C1[cwoCaption]C1]
[CN[cwoCaption]CN]

cwoTemplates*]

The cwoTemplates in the above mentioned example woudn’t print any


of the objects except text captions objects.

TIMEBLOCK
The content/timeline block in a slide. This tag should be a child
of cwoTemplates tag. If this tag is not present, slide contents wont be
inserted.
Open tag :- [TIMEBLOCK[
Close tag :- ]TIMEBLOCK]
cwoSlideBackground
Represents the backgound image of the slide. This tag can be a
child of cwoCapturedSlide, cwoTFQuestion, cwoContentSlide,
cwoLikertQuestion, cwoMultChAnswerKey, cwoShortAnsQuestion,
cwoFillBlankQuestion, cwoMultAnsQuestion cwoMultChQuestion etc.
Normally this is used for cwoCapturedSlide and cwoContentSlide. User
can specify the size of the background image as shown in the example

Usage Example :- [*cwoSlideBackground*][282x216]. This code will insert


backgound image of width 282 and height 216 into the printed output.

cwoInsertDetails
This tag should be the first tag in the template. If this tag is
present, details of the project and each slide will be inserted.

cwoBlockInsert
Represents the location to insert content blocks. This tag should
be a mandatory child of cwoCapturedSlide, cwoTFQuestion,
cwoContentSlide, cwoLikertQuestion, cwoMultChAnswerKey,
cwoShortAnsQuestion, cwoFillBlankQuestion, cwoMultAnsQuestion and
cwoMultChQuestion.

cwoSlideNumber
The tag represents the number of the slide. This tag can be a
child of cwoCapturedSlide, cwoTFQuestion, cwoContentSlide,
cwoLikertQuestion, cwoMultChAnswerKey, cwoShortAnsQuestion,
cwoFillBlankQuestion, cwoMultAnsQuestion cwoMultChQuestion etc.

NODEFAULT
This tag to indicate that this slide's templates do not use the
default templates. This should be a child of cwoTemplate tag.
Usage Example :- [*cwoTemplates
[NODEFAULT[ ]NODEFAULT]
cwoTemplates*]

OBJECT TAGS

The following tags represents the item objects.


• cwoCaption : This tag represents the caption object.
• cwoImage : This tag represents the image object. User can
specify the percentage size of the image by adding the tag as shown in
the example
Usage Example :- [*cwoImage*][50%] .
• cwoTextAni : Represents the text of the Text Animation
• cwoHighlight : Represents the highlight frame. Similar to
images, user can specify the size of highlight box.
• cwoCC : Closed caption text
• cwoZoomSource : Zoom Source Image

OBJECT INSERT PATTERN


These tags represent the object insert patterns. All the object insert
pattern tags should be the children of cwoTemplates tag.

• C1 : The pattern for the first text caption open and close
blocks
Usage Example :- [C1[ cwoCaption ]C1]

• CN : The pattern for the all other text captions open and close
blocks
Usage Example :- [CN[ cwoCaption ]CN]

• I1 : The pattern for the first image items open and close blocks
Usage Example :- [I1[ [*cwoImage*][50%] ]I1]

• IN : The pattern for the all other image items open and close
blocks
Usage Example :- [IN[ [*cwoImage*][50%] ]IN]

• ROLLC : The pattern for the rollover caption item open and
close blocks

Usage Example :- [ROLLC[ [*cwoHighlight*] – cwoCaption ]ROLLC].


This above code prints highlight frame(rollover area) followed by
the text caption(rollover caption) separated by a hyphen.

• ROLLI : The pattern for the rollover image item open and
close blocks
Usage Example :- [ROLLI[ [*cwoHighlight*][50%] –
[*cwoHighlight*][50%] ]ROLLI].

This above code prints highlight frame(rollover area) followed by


the image(rollover image) separated by a hyphen.

• TA1 : The pattern for the first text animation open and
close blocks
Usage Example :- [TA1 [ cwoTextAni ]TA1]

• TAN : The pattern for the all other text animations open and
close blocks
Usage Example :- [TAN [cwoTextAni]TAN]
• CC1 : The pattern for the first closed caption open and
close blocks
Usage Example :- [CC1[ cwoCC ]CC1]

• CCN : The pattern for the all other closed captions open and
close blocks
Usage Example :- [CCN[ cwoCC ]CCN]

• HL : The pattern for the highlight object open and close blocks
Usage Example :- [HL[ [*cwoHighlight*] ]HL]

• SUCS : The pattern for the Success feedback open and close blocks
Usage Example :- [SUCS[ cwoCaption ]SUCS]

• FAIL: The pattern for the Faliure feedback open and close blocks
Usage Example :- [FAIL [ cwoCaption ] FAIL]

• HINT: The pattern for the Hint feedback open and close blocks
Usage Example :- [HINT [ cwoCaption ] HINT]

• INCM : The pattern for the Incomplete feedback open and close
blocks
Usage Example :- [INCM [ cwoCaption ] INCM]

• RETR : The pattern for the Retry feedback open and close blocks
Usage Example :- [RETR [ cwoCaption ] RETR]

• ZOOM : The pattern for the Zoom open and close blocks

QUESTION SLIDE RELATED TAGS

cwoQuestionQuestion

Represents the question string. This tag can be a child of,


cwoTFQuestion, cwoLikertQuestion, cwoMultChAnswerKey,
cwoShortAnsQuestion, cwoFillBlankQuestion, cwoMultAnsQuestion and
cwoMultChQuestion.

cwoQuestionTitle

Represents the question title. This tag can be a child of,


cwoTFQuestion, cwoLikertQuestion, cwoMultChAnswerKey,
cwoShortAnsQuestion, cwoFillBlankQuestion, cwoMultAnsQuestion and
cwoMultChQuestion.

cwoAnswerNumber
Represents the answer number.

cwoAnswerText
Represents the answer text.

cwoLikertHeader
This tag represents the header of the likert scale
cwoLikertItem
Represents the item to rate on the likert scale

cwoQuestionInsert
The location in an answer key to insert question blocks

cwoFillBlankPhrase
The fill in the blank phrase.

cwoMatchItem
The matching item in the matching question slide

cwoMatchCol2
The matching column in the matching question slide

cwoMatchCorrect
The correct match in the matching question slide.

QUESTION SLIDE OBJECTS INSERT PATTERN


All the object insert pattern tags should be the children of
cwoTemplates tag.
• AN1 : The pattern wrapping the first answer
Usage Example :- [AN1[ cwoAnswerNumber: cwoAnswerText ]AN1]

• ANN : The pattern wrapping the other answers


Usage Example :- [ANN[, cwoAnswerText ]ANN]

• ANC1 : The pattern wrapping the first correct answer


Usage Example :- [ANC1 [cwoAnswerText ] ANC1]

• ANCN : The pattern wrapping the other correct answers


Usage Example :- [ANCN[ cwoAnswerText ]ANCN]

• ANEND : The pattern wrapping an answer end - the end pattern


for a sequence of answers
Usage Example :- [ANEND [ cwoAnswerText ] ANEND]

• AL1 : Alternate pattern for wrapping the first answer where


there is more than one in a question type
Usage Example :- [AL1[ cwoAnswerNumber: cwoAnswerText ]AL1]

• ALN : Alternate pattern for wrapping the other answers


where there is more than one in a question type
Usage Example :- [ALN [, cwoAnswerText ] ALN]

• ALC1 : Alternate pattern for wrapping the first correct


answer where there is more than one in a question type
Usage Example :- [ALC1 [cwoAnswerText ] ALC1]

• ALCN : Alternate pattern for wrapping the other correct


answers where there is more than one in a question type
Usage Example :- [ALCN [ cwoAnswerText ] ALCN]
• LKH2, LKH3, LKH4, LKH5 : Represents the pattern for likert
header open and close blocks. LKH2 represents the pattern for
inserting the header for 2 level choice, LKH3 fpr 3 level ans so on.
Usage Example :- [LKH2[ cwoLikertHeader ]LKH2]

• LKT2, LKT3, LKT4, LKT5 : Represents the pattern for likert


item open and close blocks
Usage Example :- [LKT2[cwoLikertItem { { ]LKT2]

• MCH : Represents the pattern for match the following column


header.
Usage Example :- [MCH[cwoMatchItem cwoMatchCol2
]MCH]

• MIA : The pattern for match items.


Usage Example :- [MIA[cwoMatchItem cwoMatchCol2
]MIA]

ANSWER KEY OF QUESTION SLIDES

cwoAnswerKey
The template for the answer key for the document.

cwoMultChAnswerKey
The template for the answer key of the mutiple choice question
slide.

cwoMultAnsAnswerKey
The template for the answer key of the mutiple answer question
slide.

cwoTFAnswerKey
The template for the answer key of the true/false question slide.

cwoFillBlankAnswerKey
The template for the answer key of the fill-in-the-blank question
slide.
cwoShortAnswerKey
The template for the answer key of the short answer question
slide.

cwoMatchAnswerKey
The template for the answer key of the match the following
question slide.