home *** CD-ROM | disk | FTP | other *** search
/ Sophie's World / SOFIE.iso / pc / tdf / datacard.tdf < prev    next >
Encoding:
Text File  |  1997-03-10  |  19.4 KB  |  510 lines

  1. <Template>
  2.  
  3. <Preprocessed> TRUE 
  4.  
  5. <DefineColors>
  6. <Name>    defaultcolors
  7. <Color>    COLOUR_TEXT_WHITE     RGB 255 255 255     Index     255 
  8. <Color>    COLOUR_TEXT_GREY     RGB 223 223 223     Index     140 <!prefer the following, but it's not in palette 230 230 230>
  9. <Color>    COLOUR_TEXT_ORANGE     RGB 255 165 89         Index     99    <!(as) see-also link> 
  10. <Color>    COLOUR_TEXT_YELLOW     RGB 255 247 145     Index     121    <!(img) jpeg link> 
  11. <Color>    COLOUR_TEXT_GREEN     RGB 197 255 126     Index     112    <!(qu, philosopher) bigquestion paragraphs> 
  12. </DefineColors>     
  13.  
  14.  
  15. <DefineTemplate>
  16. <Name> template <! *** ROOT DATACARD TEMPLATE ***>
  17. <DefineRect>
  18.     <Left>          0
  19.     <Top>           0
  20.     <Width>         640
  21.     <Height>        480
  22. </DefineRect>  
  23.  
  24. <DefinePage>
  25. <Name>                DATACARD_BODYTEXT_PERSPECTIVES <! *** BODYTEXT AREA : PERSPECTIVES ***>
  26. <flags>                AREA_SCROLL_BY_PAGE | AREA_USES_ANTI_ALIASED_TEXT | AREA_SAVE_BG 
  27. <FlowWidth>            231 <! = Width, minus 1 off the left side>
  28. <FlowHeight>        60000
  29. <DefineRect>
  30.     <Left>            50 <! for dib, have to specify this in myths.cpp, 325, original is 323, increase to account for 2 pixel anti-aliasing. >
  31.     <Top>            132 <! 136 is true coordinate>
  32.     <Width>            232
  33.     <Height>        252 <! 244 is true height>
  34. </DefineRect>
  35. </DefinePage>
  36.  
  37. <DefinePage>
  38. <Name>              DATACARD_BODYTEXT_PHILOSOPHERS <! *** BODYTEXT AREA : PHILOSOPHERS ***>
  39. <flags>                AREA_SCROLL_BY_PAGE | AREA_USES_ANTI_ALIASED_TEXT | AREA_SAVE_BG
  40. <FlowWidth>            231 <! = Width, minus 1 off the left side>
  41. <FlowHeight>        60000
  42. <DefineRect>
  43.     <Left>          50
  44.     <Top>            132 <! 136 is true coordinate>
  45.     <Width>         232
  46.     <Height>        252 <! 244 is true height>
  47. </DefineRect>
  48. </DefinePage>    
  49.  
  50. <DefinePage> 
  51. <Name>              DATACARD_BODYTEXT_KEYNOTES <! *** BODYTEXT AREA : KEYNOTES ***>
  52. <flags>                AREA_SCROLL_BY_PAGE | AREA_USES_ANTI_ALIASED_TEXT | AREA_SAVE_BG
  53. <FlowWidth>            231 <! = Width, minus 1 off the left side>
  54. <FlowHeight>        60000
  55. <DefineRect>
  56.     <Left>          50
  57.     <Top>            132 <! 136 is true coordinate>
  58.     <Width>         232
  59.     <Height>        252 <! 244 is true height>
  60. </DefineRect>
  61. </DefinePage>    
  62.  
  63. <DefinePage> 
  64. <Name>              DATACARD_BODYTEXT_TOPICS <! *** BODYTEXT AREA : TOPICS ***>
  65. <flags>                AREA_SCROLL_BY_PAGE | AREA_USES_ANTI_ALIASED_TEXT | AREA_SAVE_BG
  66. <FlowWidth>            231 <! = Width, minus 1 off the left side>
  67. <FlowHeight>        60000
  68. <DefineRect>
  69.     <Left>          50
  70.     <Top>            132 <! 136 is true coordinate>
  71.     <Width>         232
  72.     <Height>        252 <! 244 is true height>
  73. </DefineRect>
  74. </DefinePage>    
  75.  
  76. <DefinePage> 
  77. <Name>              PAGE_RF_CAPTION <! *** XXX: NOT NEEDED - see #ifdef captionXXX in code ***>
  78. <flags>                AREA_SCROLL_BY_PAGE | AREA_USES_ANTI_ALIASED_TEXT | AREA_SAVE_BG
  79. <FlowWidth>            219 <! = Width, minus 1 off the left side>
  80. <FlowHeight>        6000
  81. <DefineRect>
  82.     <Left>          5 <!365>
  83.     <Top>            5 <!80> <! 136 is true coordinate>
  84.     <Width>         5 <!220>
  85.     <Height>        5 <!234> <! 244 is true height>
  86. </DefineRect>
  87. </DefinePage>    
  88.  
  89. <! *** BIQ QUESTION MODE AREAS ***>
  90. <DefinePage> 
  91. <Name>              BQMODE_BODYTEXT_QLIST <! *** BODYTEXT AREA : LIST OF QUESTIONS ***>
  92. <flags>                AREA_SCROLL_BY_PAGE | AREA_USES_ANTI_ALIASED_TEXT | AREA_SAVE_BG
  93. <FlowWidth>         169    <! set it at 2 pixels less than width's>
  94. <FlowHeight>        60000
  95. <DefineRect>
  96.     <Left>          29
  97.     <Top>           152
  98.     <Width>         171
  99.     <Height>        232    
  100. </DefineRect>
  101. </DefinePage>    
  102.  
  103. <DefinePage> 
  104. <Name>              BQMODE_BODYTEXT_QBLURB <! *** BODYTEXT AREA : BLURB OF A QUESTION ***>
  105. <flags>                AREA_SCROLL_BY_PAGE | AREA_USES_ANTI_ALIASED_TEXT | AREA_SAVE_BG
  106. <FlowWidth>         169    <! set it at 2 pixels less than width's>
  107. <FlowHeight>        60000
  108. <DefineRect>
  109.     <Left>          228
  110.     <Top>           152
  111.     <Width>         171
  112.     <Height>        232    
  113. </DefineRect>
  114. </DefinePage>    
  115.  
  116. <DefinePage> 
  117. <Name>              BQMODE_BODYTEXT_RESPONSE <! *** BODYTEXT AREA : QUESTION RESPONSE ***>
  118. <flags>                AREA_SCROLL_BY_PAGE | AREA_USES_ANTI_ALIASED_TEXT | AREA_SAVE_BG
  119. <FlowWidth>         169    <! set it at 2 pixels less than width's>
  120. <FlowHeight>        60000
  121. <DefineRect>
  122.     <Left>          427
  123.     <Top>           152
  124.     <Width>         171
  125.     <Height>        232    
  126. </DefineRect>
  127. </DefinePage>    
  128.  
  129. <DefinePage> 
  130. <Name>              DATACARD_MOVIE_DUMMYAREA <! *** BODYTEXT AREA : BLANK ***>
  131. <flags>                AREA_SCROLL_BY_PAGE | AREA_SAVE_BG | AREA_USES_ANTI_ALIASED_TEXT <!MEMEME> | AREA_EXTERNAL_DISPLAY | AREA_EXTERNAL_FLOW
  132. <FlowWidth>         640 <!263>
  133. <FlowHeight>        480<!60000>
  134. <DefineRect>
  135.     <Left>          0<!45>
  136.     <Top>           0<!138>
  137.     <Width>         640<!265>
  138.     <Height>        480<!240>
  139. </DefineRect>
  140. </DefinePage>    
  141.  
  142. <DefinePage>            
  143. <Name>              BACKGROUND_AREA 
  144. <flags>                AREA_EXTERNAL_FLOW
  145. <FlowWidth>         640
  146. <FlowHeight>        480
  147. <DefineRect>
  148.     <Left>          0
  149.     <Top>           0
  150.     <Width>         640
  151.     <Height>        480     
  152. </DefineRect>
  153. <ListOfDependants> 
  154.      DATACARD_BODYTEXT_PERSPECTIVES
  155.      DATACARD_BODYTEXT_PHILOSOPHERS 
  156.      DATACARD_BODYTEXT_KEYNOTES 
  157.      DATACARD_BODYTEXT_TOPICS 
  158.  
  159.  PAGE_RF_CAPTION 
  160.  
  161.      DATACARD_MOVIE_DUMMYAREA 
  162.  
  163.      BQMODE_BODYTEXT_QLIST 
  164.      BQMODE_BODYTEXT_QBLURB 
  165.      BQMODE_BODYTEXT_RESPONSE 
  166. </DefinePage>    
  167.  
  168. </DefineTemplate> 
  169.  
  170. <DefineTokenMap>
  171. <Name> templateTokenToAreaTokenMap
  172. <TokenToArea>                                                                                          
  173.     article      template 
  174.  
  175.     movie         DATACARD_MOVIE_DUMMYAREA 
  176.  
  177.     persp         DATACARD_BODYTEXT_PERSPECTIVES
  178.     philo         DATACARD_BODYTEXT_PHILOSOPHERS 
  179.     keynotes     DATACARD_BODYTEXT_KEYNOTES
  180.     topics         DATACARD_BODYTEXT_TOPICS 
  181. cap             PAGE_RF_CAPTION 
  182.  
  183.     bigq_list     BQMODE_BODYTEXT_QLIST 
  184.     bigq_blurb     BQMODE_BODYTEXT_QBLURB 
  185.     bigq_answa     BQMODE_BODYTEXT_RESPONSE 
  186. </DefineTokenMap>
  187.  
  188.  
  189. <DefineTokenMap>
  190. <Name>  Common  
  191. <Token> article        <OnStart>   COLOUR_TEXT_GREY<!#> LEFT_ALIGN_TOKEN<!#> BODYTEXT_FONT 
  192.                     <OnEnd>        END_COLOUR_TEXT_GREY<!#> END_LEFT_ALIGN_TOKEN<!#> END_BODYTEXT_FONT
  193. <Token> mhd1        <OnStart>    URL_TOKEN<!#> COLOUR_TEXT_GREY<!#> LEFT_ALIGN_TOKEN<!#> BODYTEXT_FONT 
  194.                     <OnEnd>        END_URL_TOKEN<!#> END_COLOUR_TEXT_GREY<!#> END_LEFT_ALIGN_TOKEN<!#> END_BODYTEXT_FONT
  195. <Token> hd2            <OnStart>    COLOUR_TEXT_WHITE<!#> FONT_BOLD 
  196.                     <OnEnd>        END_COLOUR_TEXT_WHITE<!#> END_FONT_BOLD<!#> HCR_TOKEN<!#> HCR_TOKEN
  197. <Token> hd3            <OnStart>   CTRLINE_TOKEN<!#> COLOUR_TEXT_WHITE<!#> FONT_BOLD 
  198.                     <OnEnd>        END_CTRLINE_TOKEN<!#> END_COLOUR_TEXT_WHITE<!#> END_FONT_BOLD<!#> HCR_TOKEN<!#> HCR_TOKEN
  199. <Token> br            <OnStart>   LEFT_ALIGN_TOKEN<!#> COLOUR_TEXT_GREY<!#> BODYTEXT_FONT 
  200.                     <OnEnd>        END_LEFT_ALIGN_TOKEN<!#> END_COLOUR_TEXT_GREY<!#> END_BODYTEXT_FONT<!#> HCR_TOKEN 
  201. <Token> persp       <OnStart>   COLOUR_TEXT_GREY<!#> LEFT_ALIGN_TOKEN<!#> BODYTEXT_FONT 
  202.                     <OnEnd>        END_COLOUR_TEXT_GREY<!#> END_LEFT_ALIGN_TOKEN<!#> END_BODYTEXT_FONT
  203. <Token> philo        <OnStart>   COLOUR_TEXT_GREY<!#> LEFT_ALIGN_TOKEN<!#> BODYTEXT_FONT 
  204.                     <OnEnd>        END_COLOUR_TEXT_GREY<!#> END_LEFT_ALIGN_TOKEN<!#> END_BODYTEXT_FONT
  205. <Token> keynotes    <OnStart>   COLOUR_TEXT_GREY<!#> LEFT_ALIGN_TOKEN<!#> BODYTEXT_FONT 
  206.                     <OnEnd>        END_COLOUR_TEXT_GREY<!#> END_LEFT_ALIGN_TOKEN<!#> END_BODYTEXT_FONT
  207. <Token> topics      <OnStart>   COLOUR_TEXT_GREY<!#> LEFT_ALIGN_TOKEN<!#> BODYTEXT_FONT 
  208.                     <OnEnd>        END_COLOUR_TEXT_GREY<!#> END_LEFT_ALIGN_TOKEN<!#> END_BODYTEXT_FONT
  209. <Token> img            <OnStart>    URL_TOKEN<!#> COLOUR_TEXT_YELLOW<!#> LEFT_ALIGN_TOKEN<!#> BODYTEXT_FONT 
  210.                     <OnEnd>        END_URL_TOKEN<!#> END_COLOUR_TEXT_YELLOW<!#> END_LEFT_ALIGN_TOKEN<!#> END_BODYTEXT_FONT
  211. <Token> cap            <OnStart>   COLOUR_TEXT_WHITE<!#> <!#> LEFT_ALIGN_TOKEN<!CTRLINE_TOKEN><!#> BODYTEXT_FONT 
  212.                     <OnEnd>        END_COLOUR_TEXT_WHITE<!#> <!#> END_LEFT_ALIGN_TOKEN<!END_CTRLINE_TOKEN><!#> END_BODYTEXT_FONT
  213. <Token> movie        <OnStart>    URL_TOKEN<!#> COLOUR_TEXT_GREY<!#> LEFT_ALIGN_TOKEN<!#> BODYTEXT_FONT 
  214.                     <OnEnd>        END_URL_TOKEN<!#> END_COLOUR_TEXT_GREY<!#> END_LEFT_ALIGN_TOKEN<!#> END_BODYTEXT_FONT
  215.  
  216. <! * * * bigquestion mode tags * * * >
  217. <Token> bq_list        <OnStart>   COLOUR_TEXT_WHITE<!#> LEFT_ALIGN_TOKEN<!#> BODYTEXT_FONT 
  218.                     <OnEnd>        END_COLOUR_TEXT_WHITE<!#> END_LEFT_ALIGN_TOKEN<!#> END_BODYTEXT_FONT
  219. <Token> bq_blurb    <OnStart>   COLOUR_TEXT_WHITE<!#> LEFT_ALIGN_TOKEN<!#> BODYTEXT_FONT 
  220.                     <OnEnd>        END_COLOUR_TEXT_WHITE<!#> END_LEFT_ALIGN_TOKEN<!#> END_BODYTEXT_FONT
  221. <Token> bq_answa    <OnStart>   COLOUR_TEXT_WHITE<!#> LEFT_ALIGN_TOKEN<!#> BODYTEXT_FONT 
  222.                     <OnEnd>        END_COLOUR_TEXT_WHITE<!#> END_LEFT_ALIGN_TOKEN<!#> END_BODYTEXT_FONT
  223. <Token> qu            <OnStart>    URL_TOKEN<!#> COLOUR_TEXT_GREEN<!#> LEFT_ALIGN_TOKEN<!#> BODYTEXT_FONT 
  224.                     <OnEnd>        END_URL_TOKEN<!#> END_COLOUR_TEXT_GREEN<!#> END_LEFT_ALIGN_TOKEN<!#> END_BODYTEXT_FONT<!#> HCR_TOKEN<!#> HCR_TOKEN
  225. <Token> philosopher    <OnStart>    URL_TOKEN<!#> COLOUR_TEXT_GREEN<!#> LEFT_ALIGN_TOKEN<!#> BODYTEXT_FONT 
  226.                     <OnEnd>        END_URL_TOKEN<!#> END_COLOUR_TEXT_GREEN<!#> END_LEFT_ALIGN_TOKEN<!#> END_BODYTEXT_FONT<!#> HCR_TOKEN
  227. <Token> p            <OnStart>   COLOUR_TEXT_GREY<!#> LEFT_ALIGN_TOKEN<!#> BODYTEXT_FONT 
  228.                     <OnEnd>        END_COLOUR_TEXT_GREY<!#> END_LEFT_ALIGN_TOKEN<!#> END_BODYTEXT_FONT<!#> HCR_TOKEN<!#> HCR_TOKEN 
  229. <Token> i            <OnStart>    FONT_ITALIC 
  230.                     <OnEnd>        END_FONT_ITALIC
  231. <Token> as            <OnStart>    URL_TOKEN<!#> COLOUR_TEXT_ORANGE<!#> LEFT_ALIGN_TOKEN<!#> BODYTEXT_FONT 
  232.                     <OnEnd>        END_URL_TOKEN<!#> END_COLOUR_TEXT_ORANGE<!#> END_LEFT_ALIGN_TOKEN<!#> END_BODYTEXT_FONT
  233.  
  234. <! *** XXX - THESE PROBABLY AREN'T NEEDED *** >
  235. <!Token ... img BG_PICTURE>
  236. <!*** IS THIS NEEDED?><Token> col_white    <OnStart>    COLOUR_TEXT_GREY<!#> LEFT_ALIGN_TOKEN<!#> BODYTEXT_FONT 
  237.                     <OnEnd>        END_COLOUR_TEXT_GREY<!#> END_LEFT_ALIGN_TOKEN<!#> END_BODYTEXT_FONT
  238. <!*** IS THIS NEEDED?><Token> ab            <OnStart>    URL_TOKEN<!#> COLOUR_TEXT_YELLOW<!#> LEFT_ALIGN_TOKEN<!#> BODYTEXT_FONT 
  239.                     <OnEnd>        END_URL_TOKEN<!#> END_COLOUR_TEXT_YELLOW<!#> END_LEFT_ALIGN_TOKEN<!#> END_BODYTEXT_FONT
  240. <! * * * 'hd2' replaces 'name' as the heading>
  241. <Token> name        <OnStart>   COLOUR_TEXT_GREY<!#> LEFT_ALIGN_TOKEN<!#> BODYTEXT_FONT 
  242.                     <OnEnd>        END_COLOUR_TEXT_GREY<!#> END_LEFT_ALIGN_TOKEN<!#> END_BODYTEXT_FONT
  243. <! *** NEW TOKENS 5/7/96> 
  244. <! *** ... TOKENS IN 0P500999.CHK: H51SG01_SGML> 
  245. <Token> body        <OnStart>   COLOUR_TEXT_GREY<!#> LEFT_ALIGN_TOKEN<!#> BODYTEXT_FONT 
  246.                     <OnEnd>        END_COLOUR_TEXT_GREY<!#> END_LEFT_ALIGN_TOKEN<!#> END_BODYTEXT_FONT
  247.  
  248. <!*** IS THIS NEEDED?><Token> flash        <OnStart>    COLOUR_TEXT_GREY<!#> LEFT_ALIGN_TOKEN<!#> BODYTEXT_FONT 
  249.                     <OnEnd>        END_COLOUR_TEXT_GREY<!#> END_LEFT_ALIGN_TOKEN<!#> END_BODYTEXT_FONT
  250. <!Email & Gadfly>
  251. <Token> script      <OnStart>   COLOUR_TEXT_GREY<!#> LEFT_ALIGN_TOKEN<!#> BODYTEXT_FONT 
  252.                     <OnEnd>        END_COLOUR_TEXT_GREY<!#> END_LEFT_ALIGN_TOKEN<!#> END_BODYTEXT_FONT
  253. <Token> start       <OnStart>   COLOUR_TEXT_GREY<!#> LEFT_ALIGN_TOKEN<!#> BODYTEXT_FONT 
  254.                     <OnEnd>        END_COLOUR_TEXT_GREY<!#> END_LEFT_ALIGN_TOKEN<!#> END_BODYTEXT_FONT
  255. <Token> dialogue    <OnStart>   COLOUR_TEXT_GREY<!#> LEFT_ALIGN_TOKEN<!#> BODYTEXT_FONT 
  256.                     <OnEnd>        END_COLOUR_TEXT_GREY<!#> END_LEFT_ALIGN_TOKEN<!#> END_BODYTEXT_FONT
  257. <Token> stop        <OnStart>   COLOUR_TEXT_GREY<!#> LEFT_ALIGN_TOKEN<!#> BODYTEXT_FONT 
  258.                     <OnEnd>        END_COLOUR_TEXT_GREY<!#> END_LEFT_ALIGN_TOKEN<!#> END_BODYTEXT_FONT
  259. <Token> paper   <OnStart>        COLOUR_TEXT_GREY<!#> LEFT_ALIGN_TOKEN<!#> BODYTEXT_FONT 
  260.                     <OnEnd>        END_COLOUR_TEXT_GREY<!#> END_LEFT_ALIGN_TOKEN<!#> END_BODYTEXT_FONT
  261. </DefineTokenMap> 
  262.  
  263.  
  264. <! * * * * * * * START PWEB TEMPLATE * * * * * * * > 
  265. <DefineTemplate> 
  266. <Name> PWEB  <! * * * MAIN SUB-TEMPLATE AREA * * * > 
  267. <DefineRect>
  268.     <Left>          0
  269.     <Top>           0
  270.     <Width>         505 <!must fit within main template, therefore must be less than 'MainTemplate(Width) - Left'>
  271.     <Height>        360 <!must fit within main template, therefore must be less than 'MainTemplate(Height) - Top'>
  272. </DefineRect>
  273.  
  274. <DefinePage> 
  275. <Name>              PWEB_FLASHCARD_BODYTEXT
  276. <flags>                AREA_SCROLL_BY_PAGE | AREA_USES_ANTI_ALIASED_TEXT | AREA_SAVE_BG
  277. <FlowWidth>         333    <! set it at 2 pixels less than width's>
  278. <FlowHeight>        60000
  279. <DefineRect>
  280.     <Left>          89
  281.     <Top>           121
  282.     <Width>         333
  283.     <Height>        194
  284. </DefineRect>
  285. </DefinePage>
  286.  
  287. <DefinePage>
  288. <Name>              PWEB_BACK_GROUND  <! * * * MAIN AREA DIMENSIONS ??? * * * >
  289. <flags>                AREA_EXTERNAL_FLOW
  290. <!flags - 28.10.96>            <!AREA_SAVE_BG | AREA_SCROLL_BY_PAGE | AREA_EXTERNAL_FLOW >
  291. <FlowWidth>         640
  292. <FlowHeight>        480
  293. <DefineRect>
  294.     <Left>          0
  295.     <Top>           0
  296.     <Width>         495 <!should fit within the sub-template, therefore should be less than sub-template(Width)>
  297.     <Height>        380 <!should fit within the sub-template, therefore should be less than sub-template(Height)>
  298. </DefineRect>
  299. <ListOfDependants>
  300.     PWEB_FLASHCARD_BODYTEXT 
  301. </DefinePage>
  302.  
  303. </DefineTemplate>
  304.  
  305. <DefineTokenMap>
  306. <Name> PWEBTokenToAreaTokenMap
  307. <TokenToArea> 
  308.     article <!dummy_tag>    PWEB_FLASHCARD_BODYTEXT 
  309.     article <!dummy_tag>    PWEB
  310. </DefineTokenMap> 
  311. <! * * * * * * * END PWEB TEMPLATE * * * * * * * > 
  312.  
  313. <! * * * * * * * START EMAIL TEMPLATE * * * * * * * > 
  314. <DefineTemplate> 
  315. <Name> EMAIL  <! * * * MAIN SUB-TEMPLATE AREA * * * > 
  316. <DefineRect>
  317.     <Left>          0
  318.     <Top>           0
  319.     <Width>         288 <!must fit within main template, therefore must be less than 'MainTemplate(Width) - Left'>
  320.     <Height>        178 <!must fit within main template, therefore must be less than 'MainTemplate(Height) - Top'>
  321. </DefineRect>
  322.  
  323. <DefinePage> 
  324. <Name>              EMAIL_MESSAGE_BODYTEXT
  325. <flags>                AREA_SCROLL_BY_PAGE | AREA_USES_ANTI_ALIASED_TEXT | AREA_SAVE_BG
  326. <FlowWidth>         219 <!227>    <! set it at 2 pixels less than width's>
  327. <FlowHeight>        60000
  328. <DefineRect>
  329.     <Left>          45<!43>
  330.     <Top>           10<!6>
  331.     <Width>         219<!227>
  332.     <Height>        156<!170>
  333. </DefineRect>
  334. </DefinePage>    
  335.  
  336. <DefinePage>
  337. <Name>              EMAIL_TEXT_HIDE_BEHIND
  338. <flags>                AREA_SCROLL_BY_PAGE | AREA_USES_ANTI_ALIASED_TEXT | AREA_SAVE_BG
  339. <FlowWidth>         286    <! set it at 2 pixels less than width's>
  340. <FlowHeight>        60000
  341. <DefineRect>
  342.     <Left>          1
  343.     <Top>           1
  344.     <Width>         286
  345.     <Height>        176
  346. </DefineRect>
  347. </DefinePage>    
  348.  
  349. <DefinePage>            
  350. <Name>              EMAIL_BACK_GROUND  <! * * * MAIN AREA DIMENSIONS ??? * * * >
  351. <flags>                AREA_SAVE_BG | AREA_SCROLL_BY_PAGE | AREA_EXTERNAL_FLOW 
  352. <FlowWidth>         287
  353. <FlowHeight>        60000
  354. <DefineRect>
  355.     <Left>          1
  356.     <Top>           1
  357.     <Width>         287 <!should fit within the sub-template, therefore should be less than sub-template(Width)>
  358.     <Height>        177 <!should fit within the sub-template, therefore should be less than sub-template(Height)>
  359. </DefineRect>   
  360. <ListOfDependants> 
  361.     EMAIL_MESSAGE_BODYTEXT 
  362. </DefinePage>   
  363.  
  364. </DefineTemplate>  
  365.  
  366. <DefineTokenMap>
  367. <Name> EMAILTokenToAreaTokenMap
  368. <TokenToArea> 
  369.     p <!article>    EMAIL_MESSAGE_BODYTEXT 
  370.     article <!dummy_tag>    EMAIL
  371. </DefineTokenMap> 
  372. <! * * * * * * * END EMAIL TEMPLATE * * * * * * * > 
  373.  
  374. <! * * * * * * * START GADFLY TEMPLATE * * * * * * * > 
  375. <DefineTemplate> 
  376. <Name> GADFLY  <! * * * MAIN SUB-TEMPLATE AREA * * * >
  377. <DefineRect>
  378.     <Left>          0
  379.     <Top>           0
  380.     <Width>         505 <!must fit within main template, therefore must be less than 'MainTemplate(Width) - Left'>
  381.     <Height>        360 <!must fit within main template, therefore must be less than 'MainTemplate(Height) - Top'>
  382. </DefineRect>
  383.  
  384. <DefinePage> 
  385. <Name>              GADFLY_MESSAGE_BODYTEXT
  386. <flags>                AREA_SCROLL_BY_PAGE | AREA_USES_ANTI_ALIASED_TEXT | AREA_SAVE_BG
  387. <FlowWidth>         238<!227>    <! set it at 2 pixels less than width's>
  388. <FlowHeight>        60000
  389. <DefineRect>
  390.     <Left>          21
  391.     <Top>           11<!16><!6>
  392.     <Width>         238<!227>
  393.     <Height>        76<!71><!62>
  394. </DefineRect>
  395. </DefinePage>    
  396.  
  397. <DefinePage>            
  398. <Name>              GADFLY_BACK_GROUND  <! * * * MAIN AREA DIMENSIONS ??? * * * >
  399. <flags>                AREA_SAVE_BG | AREA_SCROLL_BY_PAGE | AREA_EXTERNAL_FLOW 
  400. <FlowWidth>         640
  401. <FlowHeight>        480
  402. <DefineRect>
  403.     <Left>          1
  404.     <Top>           1
  405.     <Width>         227 <!should fit within the sub-template, therefore should be less than sub-template(Width)>
  406.     <Height>        62 <!should fit within the sub-template, therefore should be less than sub-template(Height)>
  407. </DefineRect>   
  408. <ListOfDependants> 
  409.     GADFLY_MESSAGE_BODYTEXT 
  410. </DefinePage>   
  411.  
  412. </DefineTemplate>  
  413.  
  414. <DefineTokenMap>
  415. <Name> GADFLYTokenToAreaTokenMap
  416. <TokenToArea> 
  417.      p <!article>            GADFLY_MESSAGE_BODYTEXT 
  418.     article <!dummy_tag>    GADFLY
  419. </DefineTokenMap> 
  420. <! * * * * * * * END GADFLY TEMPLATE * * * * * * * > 
  421.  
  422. <! * * * * * * * START BETWEEN-THE-LINES TEMPLATE * * * * * * * > 
  423. <DefineTemplate> 
  424. <Name> BTLINES  <! * * * MAIN SUB-TEMPLATE AREA * * * >
  425. <DefineRect>
  426.     <Left>          0
  427.     <Top>           0
  428.     <Width>         272 <!must fit within main template, therefore must be less than 'MainTemplate(Width) - Left'>
  429.     <Height>        216 <!must fit within main template, therefore must be less than 'MainTemplate(Height) - Top'>
  430. </DefineRect>
  431.  
  432. <DefinePage> 
  433. <Name>              BTLINES_MESSAGE_BODYTEXT
  434. <flags>                AREA_SCROLL_BY_PAGE | AREA_USES_ANTI_ALIASED_TEXT | AREA_SAVE_BG
  435. <FlowWidth>         270<!271><!188>    <! set it at 2 pixels less than width's>
  436. <FlowHeight>        60000
  437. <DefineRect>
  438.     <Left>          18<!3>
  439.     <Top>           25<!17>
  440.     <Width>         272<!190>
  441.     <Height>        216<!167>
  442. </DefineRect>
  443. </DefinePage>    
  444.  
  445. <DefinePage>            
  446. <Name>              BTLINES_BACK_GROUND  <! * * * MAIN AREA DIMENSIONS ??? * * * >
  447. <flags>                AREA_SAVE_BG | AREA_SCROLL_BY_PAGE | AREA_EXTERNAL_FLOW 
  448. <FlowWidth>         640
  449. <FlowHeight>        480
  450. <DefineRect>
  451.     <Left>          1
  452.     <Top>           1
  453.     <Width>         271 <!should fit within the sub-template, therefore should be less than sub-template(Width)>
  454.     <Height>        210 <!should fit within the sub-template, therefore should be less than sub-template(Height)>
  455. </DefineRect>   
  456. <ListOfDependants> 
  457.     BTLINES_MESSAGE_BODYTEXT 
  458. </DefinePage>   
  459.  
  460. </DefineTemplate>  
  461.  
  462. <DefineTokenMap>
  463. <Name> BTLINESTokenToAreaTokenMap
  464. <TokenToArea> 
  465.      p <!article>            BTLINES_MESSAGE_BODYTEXT 
  466.     article <!dummy_tag>    BTLINES
  467. </DefineTokenMap> 
  468. <! * * * * * * * END BTLINES TEMPLATE * * * * * * * > 
  469.  
  470. <! ------------ define picture styles ------->
  471.  
  472. <! CENTERED  if the display size is not equal to the displayrect then center it>
  473. <! SCALE_TO_FIT if the display size is not equal to the displayrect then scale it to fit >
  474.  
  475. <DefinePictureStyles> 
  476. <Name>    defaultpicturestyles
  477. <Picture> 
  478. <Name> BG_PICTURE 
  479. <Boarder> 
  480.     <Left>         0
  481.     <Top>       0
  482.     <Right>     0
  483.     <Bottom>    0
  484. </Boarder> 
  485. <flags>            KNOWN_DISPLAY_SIZE <!IS_BACK_GROUND | >
  486.  
  487. <! true physical size of the picture>
  488. <NatrualSize>
  489.     <Width>         640 
  490.     <Height>        480 
  491. </NatrualSize> 
  492.  
  493. <! Size to display picture>
  494. <DisplaySize>
  495.     <Width>         640
  496.     <Height>        480
  497. </DisplaySize> 
  498.  
  499. <! DisplayRect the subrect of the natraul picture to be displayed>
  500. <DisplayRect>
  501.     <Left>          0
  502.     <Top>           0
  503.     <Width>         640
  504.     <Height>        480
  505. </DisplayRect>
  506. </Picture> 
  507.  
  508. </DefinePictureStyles> 
  509.  
  510. </Template>