V5_app.xsd 53 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. Licensed Materials - Property of IBM
  4. IBM Cognos Products: rspec
  5. (C) Copyright IBM Corp. 2003, 2014
  6. US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  7. -->
  8. <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:rspec="http://developer.cognos.com/schemas/report/7.0/" xmlns:rspecExtension="http://developer.cognos.com/schemas/rspecExtension/" elementFormDefault="qualified" attributeFormDefault="unqualified">
  9. <xs:include schemaLocation="V5_layout.xsd"/>
  10. <xs:group name="applicationElements">
  11. <xs:choice>
  12. <xs:element ref="appDeck"/>
  13. <xs:element ref="appTabControl"/>
  14. <xs:element ref="appButton"/>
  15. <xs:element ref="appButtonBar"/>
  16. <xs:element ref="appToggleButtonBar"/>
  17. <xs:element ref="appDropDownList"/>
  18. <xs:element ref="appListBox"/>
  19. <xs:element ref="appRadioButtonGroup"/>
  20. <xs:element ref="appCheckboxGroup"/>
  21. <xs:element ref="appDataDropDownList"/>
  22. <xs:element ref="appDataListBox"/>
  23. <xs:element ref="appDataButtonBar"/>
  24. <xs:element ref="appDataToggleButtonBar"/>
  25. <xs:element ref="appDataCheckboxGroup"/>
  26. <xs:element ref="appDataRadioButtonGroup"/>
  27. <xs:element ref="appDataDeck"/>
  28. <xs:element ref="appDataTabControl"/>
  29. <xs:element ref="appListSummary"/>
  30. <xs:element ref="appVariableTextItem"/>
  31. </xs:choice>
  32. </xs:group>
  33. <!---->
  34. <!--Static Controls-->
  35. <xs:element name="appDeck">
  36. <xs:annotation>
  37. <xs:documentation source="rn_added_7.0"/>
  38. <xs:documentation>The appSelectBasedOnVariable is used to determine which card to show.</xs:documentation>
  39. </xs:annotation>
  40. <xs:complexType>
  41. <xs:all>
  42. <xs:element ref="appCardDefinition"/>
  43. <xs:element name="appCards">
  44. <xs:annotation>
  45. <xs:documentation source="rn_added_7.0"/>
  46. <xs:documentation>Each card in the deck needs a corresponding row in the static data table.</xs:documentation>
  47. </xs:annotation>
  48. <xs:complexType>
  49. <xs:sequence>
  50. <xs:element name="appCard" maxOccurs="unbounded">
  51. <xs:annotation>
  52. <xs:documentation source="rn_added_7.0"/>
  53. </xs:annotation>
  54. <xs:complexType>
  55. <xs:all>
  56. <xs:element ref="contents"/>
  57. <xs:element ref="XMLAttributes" minOccurs="0"/>
  58. </xs:all>
  59. </xs:complexType>
  60. </xs:element>
  61. </xs:sequence>
  62. </xs:complexType>
  63. </xs:element>
  64. <xs:element ref="appDataSource"/>
  65. <xs:element name="appDefaultCard" minOccurs="0">
  66. <xs:annotation>
  67. <xs:documentation source="rn_added_7.0"/>
  68. <xs:documentation>Card to display when no other card matches for the current variable state.</xs:documentation>
  69. </xs:annotation>
  70. <xs:complexType>
  71. <xs:all>
  72. <xs:element ref="contents"/>
  73. <xs:element ref="style" minOccurs="0"/>
  74. <xs:element ref="conditionalStyleRefs" minOccurs="0"/>
  75. <xs:element ref="XMLAttributes" minOccurs="0"/>
  76. </xs:all>
  77. </xs:complexType>
  78. </xs:element>
  79. <xs:element ref="appContainerSelect" minOccurs="0"/>
  80. <xs:element ref="conditionalRender" minOccurs="0"/>
  81. <xs:element ref="XMLAttributes" minOccurs="0"/>
  82. </xs:all>
  83. <xs:attribute name="name" type="xs:string" use="required"/>
  84. <xs:attributeGroup ref="AppDeckControlAttributes"/>
  85. </xs:complexType>
  86. </xs:element>
  87. <xs:element name="appTabControl">
  88. <xs:annotation>
  89. <xs:documentation source="rn_added_7.0"/>
  90. </xs:annotation>
  91. <xs:complexType>
  92. <xs:all>
  93. <xs:element ref="appTabDefinition"/>
  94. <xs:element name="appTabDeck">
  95. <xs:annotation>
  96. <xs:documentation source="rn_added_7.0"/>
  97. </xs:annotation>
  98. <xs:complexType>
  99. <xs:all>
  100. <xs:element name="appTabCards">
  101. <xs:annotation>
  102. <xs:documentation source="rn_added_7.0"/>
  103. </xs:annotation>
  104. <xs:complexType>
  105. <xs:sequence>
  106. <xs:element ref="appTabCard" maxOccurs="unbounded"/>
  107. </xs:sequence>
  108. </xs:complexType>
  109. </xs:element>
  110. <xs:element ref="XMLAttributes" minOccurs="0"/>
  111. </xs:all>
  112. </xs:complexType>
  113. </xs:element>
  114. <xs:element ref="appDataSource"/>
  115. <xs:element ref="appContainerSelect" minOccurs="0"/>
  116. <xs:element ref="appOnSelectSetVariableValues" minOccurs="0"/>
  117. <xs:element ref="conditionalRender" minOccurs="0"/>
  118. <xs:element ref="XMLAttributes" minOccurs="0"/>
  119. </xs:all>
  120. <xs:attributeGroup ref="AppControlAttributes"/>
  121. <xs:attributeGroup ref="AppTabControlAttributes"/>
  122. </xs:complexType>
  123. </xs:element>
  124. <xs:element name="appButton">
  125. <xs:annotation>
  126. <xs:documentation source="rn_added_7.0"/>
  127. </xs:annotation>
  128. <xs:complexType>
  129. <xs:all>
  130. <xs:element ref="appButtonDefinition"/>
  131. <xs:element ref="appDataSource"/>
  132. <xs:element ref="appOnSelectSetVariableValues" minOccurs="0"/>
  133. <xs:element ref="appControlEnabled" minOccurs="0"/>
  134. <xs:element ref="conditionalRender" minOccurs="0"/>
  135. <xs:element ref="XMLAttributes" minOccurs="0"/>
  136. </xs:all>
  137. <xs:attributeGroup ref="AppControlAttributes"/>
  138. <xs:attribute name="width" type="CSSLength" use="optional"/>
  139. </xs:complexType>
  140. </xs:element>
  141. <xs:element name="appButtonBar">
  142. <xs:annotation>
  143. <xs:documentation source="rn_added_7.0"/>
  144. </xs:annotation>
  145. <xs:complexType>
  146. <xs:all>
  147. <xs:element ref="appButtonDefinition"/>
  148. <xs:element ref="appDataSource"/>
  149. <xs:element ref="appOnSelectSetVariableValues" minOccurs="0"/>
  150. <xs:element ref="appContainerSelect" minOccurs="0"/>
  151. <xs:element ref="appControlEnabled" minOccurs="0"/>
  152. <xs:element ref="conditionalRender" minOccurs="0"/>
  153. <xs:element ref="XMLAttributes" minOccurs="0"/>
  154. </xs:all>
  155. <xs:attributeGroup ref="AppControlAttributes"/>
  156. <xs:attributeGroup ref="AppButtonBarAttributes"/>
  157. </xs:complexType>
  158. </xs:element>
  159. <xs:element name="appToggleButtonBar">
  160. <xs:annotation>
  161. <xs:documentation source="rn_added_7.0"/>
  162. </xs:annotation>
  163. <xs:complexType>
  164. <xs:all>
  165. <xs:element ref="appButtonDefinition"/>
  166. <xs:element ref="appDataSource"/>
  167. <xs:element ref="appContainerSelect" minOccurs="0">
  168. <xs:annotation>
  169. <xs:documentation>Selects items in the container based on the value evaluated for the condition defined for each item.
  170. In the case of single select containers the first item evaluating to true is selected.</xs:documentation>
  171. </xs:annotation>
  172. </xs:element>
  173. <xs:element ref="appOnSelectSetVariableValues" minOccurs="0"/>
  174. <xs:element ref="appControlEnabled" minOccurs="0"/>
  175. <xs:element ref="conditionalRender" minOccurs="0"/>
  176. <xs:element ref="XMLAttributes" minOccurs="0"/>
  177. </xs:all>
  178. <xs:attributeGroup ref="AppControlAttributes"/>
  179. <xs:attributeGroup ref="AppButtonBarAttributes"/>
  180. </xs:complexType>
  181. </xs:element>
  182. <xs:element name="appRadioButtonGroup">
  183. <xs:annotation>
  184. <xs:documentation source="rn_added_7.0"/>
  185. </xs:annotation>
  186. <xs:complexType>
  187. <xs:all>
  188. <xs:element ref="appRadioButtonDefinition"/>
  189. <xs:element ref="appDataSource"/>
  190. <xs:element ref="appContainerSelect" minOccurs="0"/>
  191. <xs:element ref="appOnSelectSetVariableValues" minOccurs="0"/>
  192. <xs:element ref="appControlEnabled" minOccurs="0"/>
  193. <xs:element ref="conditionalRender" minOccurs="0"/>
  194. <xs:element ref="appContainerFilter" minOccurs="0"/>
  195. <xs:element ref="XMLAttributes" minOccurs="0"/>
  196. </xs:all>
  197. <xs:attributeGroup ref="AppControlAttributes"/>
  198. <xs:attributeGroup ref="AppRadioButtonGroupAttributes"/>
  199. <xs:attribute name="textColor" type="ColorType"/>
  200. </xs:complexType>
  201. </xs:element>
  202. <xs:element name="appCheckboxGroup">
  203. <xs:annotation>
  204. <xs:documentation source="rn_added_7.0"/>
  205. </xs:annotation>
  206. <xs:complexType>
  207. <xs:all>
  208. <xs:element ref="appCheckboxDefinition"/>
  209. <xs:element ref="appDataSource"/>
  210. <xs:element ref="appOnSelectSetVariableValues" minOccurs="0"/>
  211. <xs:element ref="appContainerSelect" minOccurs="0"/>
  212. <xs:element ref="appControlEnabled" minOccurs="0"/>
  213. <xs:element ref="conditionalRender" minOccurs="0"/>
  214. <xs:element ref="appContainerFilter" minOccurs="0"/>
  215. <xs:element ref="XMLAttributes" minOccurs="0"/>
  216. </xs:all>
  217. <xs:attributeGroup ref="AppControlAttributes"/>
  218. <xs:attributeGroup ref="AppCheckboxGroupAttributes"/>
  219. <xs:attribute name="textColor" type="ColorType"/>
  220. </xs:complexType>
  221. </xs:element>
  222. <xs:element name="appDropDownList">
  223. <xs:annotation>
  224. <xs:documentation source="rn_added_7.0"/>
  225. </xs:annotation>
  226. <xs:complexType>
  227. <xs:all>
  228. <xs:element ref="appListItemDefinition"/>
  229. <xs:element ref="appDataSource"/>
  230. <xs:element ref="appNoValueListItem" minOccurs="0"/>
  231. <xs:element ref="appContainerSelect" minOccurs="0"/>
  232. <xs:element ref="appContainerFilter" minOccurs="0"/>
  233. <xs:element ref="appOnSelectSetVariableValues" minOccurs="0"/>
  234. <xs:element ref="appControlEnabled" minOccurs="0"/>
  235. <xs:element ref="conditionalRender" minOccurs="0"/>
  236. <xs:element ref="XMLAttributes" minOccurs="0"/>
  237. </xs:all>
  238. <xs:attributeGroup ref="AppControlAttributes"/>
  239. <xs:attributeGroup ref="AppDropDownListAttributes"/>
  240. <xs:attribute name="showIcon" type="xs:boolean" default="false"/>
  241. </xs:complexType>
  242. </xs:element>
  243. <xs:element name="appListBox">
  244. <xs:annotation>
  245. <xs:documentation source="rn_added_7.0"/>
  246. </xs:annotation>
  247. <xs:complexType>
  248. <xs:all>
  249. <xs:element ref="appListItemDefinition"/>
  250. <xs:element ref="appDataSource">
  251. <xs:annotation>
  252. <xs:documentation>Represents the rows of values that will be associated with each item in a static control (e.g. list item in a list box). </xs:documentation>
  253. </xs:annotation>
  254. </xs:element>
  255. <xs:element ref="appNoValueListItem" minOccurs="0"/>
  256. <xs:element ref="appContainerSelect" minOccurs="0">
  257. <xs:annotation>
  258. <xs:documentation>Selects an item in the control or container based on the value of the variable. e.g. select a row in a list, select a named list item from drop down, select a named tab from a tab control.</xs:documentation>
  259. </xs:annotation>
  260. </xs:element>
  261. <xs:element ref="appContainerFilter" minOccurs="0"/>
  262. <xs:element ref="appOnSelectSetVariableValues" minOccurs="0"/>
  263. <xs:element ref="appControlEnabled" minOccurs="0"/>
  264. <xs:element ref="conditionalRender" minOccurs="0"/>
  265. <xs:element ref="XMLAttributes" minOccurs="0"/>
  266. </xs:all>
  267. <xs:attributeGroup ref="AppControlAttributes"/>
  268. <xs:attributeGroup ref="AppListBoxAttributes"/>
  269. </xs:complexType>
  270. </xs:element>
  271. <!---->
  272. <!--Dynamic Controls-->
  273. <xs:element name="appDataDropDownList">
  274. <xs:annotation>
  275. <xs:documentation source="rn_added_7.0"/>
  276. </xs:annotation>
  277. <xs:complexType>
  278. <xs:all>
  279. <xs:element ref="appListItemDefinition" minOccurs="0"/>
  280. <xs:element ref="appNoValueListItem" minOccurs="0"/>
  281. <xs:element ref="appContainerSelect" minOccurs="0"/>
  282. <xs:element ref="appContainerFilter" minOccurs="0"/>
  283. <xs:element ref="appOnSelectSetVariableValues" minOccurs="0"/>
  284. <xs:element ref="appControlEnabled" minOccurs="0"/>
  285. <xs:element ref="masterDetailLinks" minOccurs="0"/>
  286. <xs:element ref="sortList" minOccurs="0"/>
  287. <xs:element ref="listSuppress" minOccurs="0"/>
  288. <xs:element ref="conditionalRender" minOccurs="0"/>
  289. <xs:element ref="XMLAttributes" minOccurs="0"/>
  290. </xs:all>
  291. <xs:attributeGroup ref="AppControlAttributes"/>
  292. <xs:attribute name="refQuery" type="xs:string" use="required"/>
  293. <xs:attributeGroup ref="AppDropDownListAttributes"/>
  294. <xs:attribute name="showIcon" type="xs:boolean" default="false"/>
  295. </xs:complexType>
  296. </xs:element>
  297. <xs:element name="appDataListBox">
  298. <xs:annotation>
  299. <xs:documentation source="rn_added_7.0"/>
  300. </xs:annotation>
  301. <xs:complexType>
  302. <xs:all>
  303. <xs:element ref="appListItemDefinition" minOccurs="0"/>
  304. <xs:element ref="appNoValueListItem" minOccurs="0"/>
  305. <xs:element ref="appContainerSelect" minOccurs="0"/>
  306. <xs:element ref="appContainerFilter" minOccurs="0"/>
  307. <xs:element ref="appOnSelectSetVariableValues" minOccurs="0"/>
  308. <xs:element ref="appControlEnabled" minOccurs="0"/>
  309. <xs:element ref="masterDetailLinks" minOccurs="0"/>
  310. <xs:element ref="sortList" minOccurs="0"/>
  311. <xs:element ref="listSuppress" minOccurs="0"/>
  312. <xs:element ref="conditionalRender" minOccurs="0"/>
  313. <xs:element ref="XMLAttributes" minOccurs="0"/>
  314. </xs:all>
  315. <xs:attributeGroup ref="AppControlAttributes"/>
  316. <xs:attribute name="refQuery" type="xs:string" use="required"/>
  317. <xs:attributeGroup ref="AppListBoxAttributes"/>
  318. </xs:complexType>
  319. </xs:element>
  320. <xs:element name="appDataDeck">
  321. <xs:annotation>
  322. <xs:documentation source="rn_added_7.0"/>
  323. <xs:documentation>The appSelectBasedOnVariable is used to determine which card to show.
  324. Any data items that are in the card contents are treated like properties of the lowest level group.</xs:documentation>
  325. </xs:annotation>
  326. <xs:complexType>
  327. <xs:all>
  328. <xs:element ref="appCardDefinition" minOccurs="0"/>
  329. <xs:element name="appDataCard">
  330. <xs:annotation>
  331. <xs:documentation source="rn_added_7.0"/>
  332. </xs:annotation>
  333. <xs:complexType>
  334. <xs:all>
  335. <xs:element ref="contents"/>
  336. <xs:element ref="XMLAttributes" minOccurs="0"/>
  337. </xs:all>
  338. </xs:complexType>
  339. </xs:element>
  340. <xs:element name="appDataDefaultCard" minOccurs="0">
  341. <xs:annotation>
  342. <xs:documentation source="rn_added_7.0"/>
  343. <xs:documentation>Card to display when no other card matches for the current variable state.</xs:documentation>
  344. </xs:annotation>
  345. <xs:complexType>
  346. <xs:all>
  347. <xs:element ref="contents"/>
  348. <xs:element ref="style" minOccurs="0"/>
  349. <xs:element ref="conditionalStyleRefs" minOccurs="0"/>
  350. <xs:element ref="XMLAttributes" minOccurs="0"/>
  351. </xs:all>
  352. </xs:complexType>
  353. </xs:element>
  354. <xs:element ref="appContainerSelect" minOccurs="0"/>
  355. <xs:element ref="masterDetailLinks" minOccurs="0"/>
  356. <xs:element ref="sortList" minOccurs="0"/>
  357. <xs:element ref="listSuppress" minOccurs="0"/>
  358. <xs:element ref="conditionalRender" minOccurs="0"/>
  359. <xs:element ref="XMLAttributes" minOccurs="0"/>
  360. </xs:all>
  361. <xs:attribute name="name" type="xs:string" use="required"/>
  362. <xs:attribute name="refQuery" type="xs:string" use="required"/>
  363. <xs:attributeGroup ref="AppDeckControlAttributes"/>
  364. </xs:complexType>
  365. </xs:element>
  366. <xs:element name="appDataTabControl">
  367. <xs:annotation>
  368. <xs:documentation source="rn_added_7.0"/>
  369. </xs:annotation>
  370. <xs:complexType>
  371. <xs:all>
  372. <xs:element ref="appTabDefinition" minOccurs="0"/>
  373. <xs:element name="appDataTabDeck">
  374. <xs:annotation>
  375. <xs:documentation source="rn_added_7.0"/>
  376. </xs:annotation>
  377. <xs:complexType>
  378. <xs:all>
  379. <xs:element name="appDataTabCard">
  380. <xs:annotation>
  381. <xs:documentation source="rn_added_7.0"/>
  382. </xs:annotation>
  383. <xs:complexType>
  384. <xs:all>
  385. <xs:element ref="contents"/>
  386. <xs:element ref="XMLAttributes" minOccurs="0"/>
  387. </xs:all>
  388. </xs:complexType>
  389. </xs:element>
  390. <xs:element ref="XMLAttributes" minOccurs="0"/>
  391. </xs:all>
  392. </xs:complexType>
  393. </xs:element>
  394. <xs:element ref="appContainerSelect" minOccurs="0"/>
  395. <xs:element ref="appOnSelectSetVariableValues" minOccurs="0"/>
  396. <xs:element ref="masterDetailLinks" minOccurs="0"/>
  397. <xs:element ref="sortList" minOccurs="0"/>
  398. <xs:element ref="listSuppress" minOccurs="0"/>
  399. <xs:element ref="conditionalRender" minOccurs="0"/>
  400. <xs:element ref="XMLAttributes" minOccurs="0"/>
  401. </xs:all>
  402. <xs:attributeGroup ref="AppControlAttributes"/>
  403. <xs:attribute name="refQuery" type="xs:string" use="required"/>
  404. <xs:attributeGroup ref="AppTabControlAttributes"/>
  405. </xs:complexType>
  406. </xs:element>
  407. <xs:element name="appDataButtonBar">
  408. <xs:annotation>
  409. <xs:documentation source="rn_added_7.0"/>
  410. </xs:annotation>
  411. <xs:complexType>
  412. <xs:all>
  413. <xs:element ref="appButtonDefinition" minOccurs="0"/>
  414. <xs:element ref="appOnSelectSetVariableValues" minOccurs="0"/>
  415. <xs:element ref="appContainerSelect" minOccurs="0"/>
  416. <xs:element ref="appControlEnabled" minOccurs="0"/>
  417. <xs:element ref="masterDetailLinks" minOccurs="0"/>
  418. <xs:element ref="sortList" minOccurs="0"/>
  419. <xs:element ref="listSuppress" minOccurs="0"/>
  420. <xs:element ref="conditionalRender" minOccurs="0"/>
  421. <xs:element ref="XMLAttributes" minOccurs="0"/>
  422. </xs:all>
  423. <xs:attributeGroup ref="AppControlAttributes"/>
  424. <xs:attribute name="refQuery" type="xs:string" use="required"/>
  425. <xs:attributeGroup ref="AppButtonBarAttributes"/>
  426. </xs:complexType>
  427. </xs:element>
  428. <xs:element name="appDataToggleButtonBar">
  429. <xs:annotation>
  430. <xs:documentation source="rn_added_7.0"/>
  431. </xs:annotation>
  432. <xs:complexType>
  433. <xs:all>
  434. <xs:element ref="appButtonDefinition" minOccurs="0"/>
  435. <xs:element ref="appContainerSelect" minOccurs="0">
  436. <xs:annotation>
  437. <xs:documentation>Selects items in the container based on the value evaluated for the condition defined for each item.
  438. In the case of single select containers the first item evaluating to true is selected.</xs:documentation>
  439. </xs:annotation>
  440. </xs:element>
  441. <xs:element ref="appOnSelectSetVariableValues" minOccurs="0"/>
  442. <xs:element ref="appControlEnabled" minOccurs="0"/>
  443. <xs:element ref="masterDetailLinks" minOccurs="0"/>
  444. <xs:element ref="sortList" minOccurs="0"/>
  445. <xs:element ref="listSuppress" minOccurs="0"/>
  446. <xs:element ref="conditionalRender" minOccurs="0"/>
  447. <xs:element ref="XMLAttributes" minOccurs="0"/>
  448. </xs:all>
  449. <xs:attributeGroup ref="AppControlAttributes"/>
  450. <xs:attribute name="refQuery" type="xs:string" use="required"/>
  451. <xs:attributeGroup ref="AppButtonBarAttributes"/>
  452. </xs:complexType>
  453. </xs:element>
  454. <xs:element name="appDataRadioButtonGroup">
  455. <xs:annotation>
  456. <xs:documentation source="rn_added_7.0"/>
  457. </xs:annotation>
  458. <xs:complexType>
  459. <xs:all>
  460. <xs:element ref="appRadioButtonDefinition" minOccurs="0"/>
  461. <xs:element ref="appContainerSelect" minOccurs="0"/>
  462. <xs:element ref="appOnSelectSetVariableValues" minOccurs="0"/>
  463. <xs:element ref="appControlEnabled" minOccurs="0"/>
  464. <xs:element ref="masterDetailLinks" minOccurs="0"/>
  465. <xs:element ref="sortList" minOccurs="0"/>
  466. <xs:element ref="listSuppress" minOccurs="0"/>
  467. <xs:element ref="conditionalRender" minOccurs="0"/>
  468. <xs:element ref="appContainerFilter" minOccurs="0"/>
  469. <xs:element ref="XMLAttributes" minOccurs="0"/>
  470. </xs:all>
  471. <xs:attributeGroup ref="AppControlAttributes"/>
  472. <xs:attribute name="refQuery" type="xs:string" use="required"/>
  473. <xs:attributeGroup ref="AppRadioButtonGroupAttributes"/>
  474. <xs:attribute name="textColor" type="ColorType"/>
  475. </xs:complexType>
  476. </xs:element>
  477. <xs:element name="appDataCheckboxGroup">
  478. <xs:annotation>
  479. <xs:documentation source="rn_added_7.0"/>
  480. </xs:annotation>
  481. <xs:complexType>
  482. <xs:all>
  483. <xs:element ref="appCheckboxDefinition" minOccurs="0"/>
  484. <xs:element ref="appOnSelectSetVariableValues" minOccurs="0"/>
  485. <xs:element ref="appContainerSelect" minOccurs="0"/>
  486. <xs:element ref="appControlEnabled" minOccurs="0"/>
  487. <xs:element ref="masterDetailLinks" minOccurs="0"/>
  488. <xs:element ref="sortList" minOccurs="0"/>
  489. <xs:element ref="listSuppress" minOccurs="0"/>
  490. <xs:element ref="conditionalRender" minOccurs="0"/>
  491. <xs:element ref="appContainerFilter" minOccurs="0"/>
  492. <xs:element ref="XMLAttributes" minOccurs="0"/>
  493. </xs:all>
  494. <xs:attributeGroup ref="AppControlAttributes"/>
  495. <xs:attribute name="refQuery" type="xs:string" use="required"/>
  496. <xs:attributeGroup ref="AppCheckboxGroupAttributes"/>
  497. <xs:attribute name="textColor" type="ColorType"/>
  498. </xs:complexType>
  499. </xs:element>
  500. <!---->
  501. <!--Application conditional elements-->
  502. <xs:element name="appContainerFilter">
  503. <xs:annotation>
  504. <xs:documentation source="rn_added_7.0"/>
  505. <xs:documentation>Filters items in the container based on the value evalulated for the condition defined for each item.</xs:documentation>
  506. </xs:annotation>
  507. <xs:complexType>
  508. <xs:all>
  509. <xs:element ref="appCondition"/>
  510. </xs:all>
  511. </xs:complexType>
  512. </xs:element>
  513. <xs:element name="appContainerSelect">
  514. <xs:annotation>
  515. <xs:documentation source="rn_added_7.0"/>
  516. <xs:documentation>Selects items in the container based on the value evalulated for the condition defined for each item.
  517. In the case of single select containers the first item evaluating to true is selected.</xs:documentation>
  518. </xs:annotation>
  519. <xs:complexType>
  520. <xs:all>
  521. <xs:element ref="appCondition"/>
  522. </xs:all>
  523. </xs:complexType>
  524. </xs:element>
  525. <xs:group name="appConditionElement">
  526. <xs:choice>
  527. <xs:element name="appConditionAnd">
  528. <xs:annotation>
  529. <xs:documentation source="rn_added_7.0"/>
  530. </xs:annotation>
  531. <xs:complexType>
  532. <xs:sequence>
  533. <xs:group ref="appConditionElement" minOccurs="2" maxOccurs="unbounded"/>
  534. </xs:sequence>
  535. </xs:complexType>
  536. </xs:element>
  537. <xs:element name="appConditionOr">
  538. <xs:annotation>
  539. <xs:documentation source="rn_added_7.0"/>
  540. </xs:annotation>
  541. <xs:complexType>
  542. <xs:sequence>
  543. <xs:group ref="appConditionElement" minOccurs="2" maxOccurs="unbounded"/>
  544. </xs:sequence>
  545. </xs:complexType>
  546. </xs:element>
  547. <xs:element name="appConditionNot">
  548. <xs:annotation>
  549. <xs:documentation source="rn_added_7.0"/>
  550. </xs:annotation>
  551. <xs:complexType>
  552. <xs:group ref="appConditionElement"/>
  553. </xs:complexType>
  554. </xs:element>
  555. <xs:element name="appConditionDataItemComparison">
  556. <xs:annotation>
  557. <xs:documentation source="rn_added_7.0"/>
  558. <xs:documentation>Compares the current data item value to the app variable value(s). This is interpreted a (data item) operator (variable). By default, if the app variable has no value, then this term is dropped from the expression.</xs:documentation>
  559. </xs:annotation>
  560. <xs:complexType>
  561. <xs:attribute name="refAppVariable" type="xs:string" use="required"/>
  562. <xs:attribute name="refDataItem" type="xs:string" use="required"/>
  563. <xs:attributeGroup ref="AppConditionOperator"/>
  564. <xs:attribute name="dropIfValueIsEmpty" type="xs:boolean" default="true"/>
  565. </xs:complexType>
  566. </xs:element>
  567. <xs:element name="appConditionConstantComparison">
  568. <xs:annotation>
  569. <xs:documentation source="rn_added_7.0"/>
  570. <xs:documentation>Compares the app variable value to a constant.</xs:documentation>
  571. </xs:annotation>
  572. <xs:complexType>
  573. <xs:all>
  574. <xs:element ref="appVariableValue"/>
  575. </xs:all>
  576. <xs:attribute name="refAppVariable" type="xs:string" use="required"/>
  577. <xs:attributeGroup ref="AppConditionOperator"/>
  578. <xs:attribute name="dropIfValueIsEmpty" type="xs:boolean" default="true"/>
  579. </xs:complexType>
  580. </xs:element>
  581. <xs:element name="appConditionIsVariableEmpty">
  582. <xs:annotation>
  583. <xs:documentation source="rn_added_7.0"/>
  584. <xs:documentation>Tests the app variable to see if there is no value set. This is not the same as having a value of 0 or empty string.</xs:documentation>
  585. </xs:annotation>
  586. <xs:complexType>
  587. <xs:attribute name="refAppVariable" type="xs:string" use="required"/>
  588. </xs:complexType>
  589. </xs:element>
  590. <xs:element name="appConditionIsDataItemEmpty">
  591. <xs:annotation>
  592. <xs:documentation source="rn_added_7.0"/>
  593. <xs:documentation>Tests the data item value at the current row to see if there is no available. This is not the same as having a value of 0 or empty string.</xs:documentation>
  594. </xs:annotation>
  595. <xs:complexType>
  596. <xs:attribute name="refDataItem" type="xs:string" use="required"/>
  597. </xs:complexType>
  598. </xs:element>
  599. <xs:element name="appConditionDataItemConstantComparison">
  600. <xs:annotation>
  601. <xs:documentation source="rn_added_7.0"/>
  602. <xs:documentation>Compares the data item value at the current row to a constant.</xs:documentation>
  603. </xs:annotation>
  604. <xs:complexType>
  605. <xs:all>
  606. <xs:element ref="appVariableValue"/>
  607. </xs:all>
  608. <xs:attribute name="refDataItem" type="xs:string" use="required"/>
  609. <xs:attributeGroup ref="AppConditionOperator"/>
  610. </xs:complexType>
  611. </xs:element>
  612. </xs:choice>
  613. </xs:group>
  614. <xs:element name="appCondition">
  615. <xs:annotation>
  616. <xs:documentation source="rn_added_7.0"/>
  617. </xs:annotation>
  618. <xs:complexType>
  619. <xs:group ref="appConditionElement"/>
  620. </xs:complexType>
  621. </xs:element>
  622. <!---->
  623. <!--Output summaries-->
  624. <xs:element name="appListSummary">
  625. <xs:annotation>
  626. <xs:documentation source="rn_added_7.0"/>
  627. <xs:documentation>Acts like a textItem and should be used in a list overall or group header/footer cell.
  628. Will summarize all the values found for the referenced data item in that grouping.
  629. From the style element, it will support all of the CSS styles that apply to textItem. For dataFormat it will only support a subset we implement in the app.</xs:documentation>
  630. </xs:annotation>
  631. <xs:complexType>
  632. <xs:all>
  633. <xs:element ref="style" minOccurs="0"/>
  634. <xs:element ref="XMLAttributes" minOccurs="0"/>
  635. </xs:all>
  636. <xs:attribute name="refDataItem" type="xs:string" use="required"/>
  637. <xs:attribute name="summaryMethod" default="total">
  638. <xs:simpleType>
  639. <xs:restriction base="xs:string">
  640. <xs:enumeration value="total"/>
  641. <xs:enumeration value="minimum"/>
  642. <xs:enumeration value="maximum"/>
  643. <xs:enumeration value="average"/>
  644. <xs:enumeration value="count"/>
  645. </xs:restriction>
  646. </xs:simpleType>
  647. </xs:attribute>
  648. </xs:complexType>
  649. </xs:element>
  650. <xs:element name="appCrosstabSummary">
  651. <xs:annotation>
  652. <xs:documentation source="rn_added_7.0"/>
  653. <xs:documentation>Acts like a crosstabNodeMember, but any fact cells associated to this will summarizes the preceding values in the output at the current nesting level.
  654. From style, the CSS supported will be the same as supported for crosstabNodeMember. dataFormat will be a subset, same for factCell.</xs:documentation>
  655. </xs:annotation>
  656. <xs:complexType>
  657. <xs:all>
  658. <xs:element ref="contents"/>
  659. <xs:element ref="style" minOccurs="0"/>
  660. <xs:element ref="factCell" minOccurs="0"/>
  661. <xs:element ref="XMLAttributes" minOccurs="0"/>
  662. <xs:element ref="appCrosstabNodeMemberProperties" minOccurs="0"/>
  663. </xs:all>
  664. <xs:attribute name="refDataItem" type="xs:string" use="required"/>
  665. <xs:attribute name="appSolveOrder" type="xs:positiveInteger" default="1"/>
  666. <xs:attribute name="edgeLocation" type="xs:string">
  667. <xs:annotation>
  668. <xs:documentation>Uniquely identifies a node member or spacer on an edge of the crosstab. This attribute is used by the crosstabIntersection element to uniquely identify the intersection of elements from each edge.</xs:documentation>
  669. </xs:annotation>
  670. </xs:attribute>
  671. <xs:attribute name="summaryMethod" default="total">
  672. <xs:simpleType>
  673. <xs:restriction base="xs:string">
  674. <xs:enumeration value="total"/>
  675. <xs:enumeration value="minimum"/>
  676. <xs:enumeration value="maximum"/>
  677. <xs:enumeration value="average"/>
  678. <xs:enumeration value="count"/>
  679. </xs:restriction>
  680. </xs:simpleType>
  681. </xs:attribute>
  682. </xs:complexType>
  683. </xs:element>
  684. <!---->
  685. <!--Other elements-->
  686. <xs:element name="appVariableTextItem">
  687. <xs:annotation>
  688. <xs:documentation source="rn_added_7.0"/>
  689. <xs:documentation>Renders the value of an app variable in the layout.</xs:documentation>
  690. </xs:annotation>
  691. <xs:complexType>
  692. <xs:all>
  693. <xs:element ref="style" minOccurs="0"/>
  694. <xs:element ref="conditionalRender" minOccurs="0"/>
  695. <xs:element ref="XMLAttributes" minOccurs="0"/>
  696. </xs:all>
  697. <xs:attribute name="refAppVariable" type="xs:string" use="required"/>
  698. </xs:complexType>
  699. </xs:element>
  700. <xs:element name="appChartProperties">
  701. <xs:annotation>
  702. <xs:documentation source="rn_added_7.0"/>
  703. </xs:annotation>
  704. <xs:complexType>
  705. <xs:all>
  706. <xs:element name="appChartClickableRegions" minOccurs="0">
  707. <xs:complexType>
  708. <xs:attribute name="intersections" type="xs:boolean" default="true"/>
  709. <xs:attribute name="ordinalAxisLabels" type="xs:boolean" default="false"/>
  710. <xs:attribute name="legendLabels" type="xs:boolean" default="false"/>
  711. <xs:attribute name="numericAxisTitle" type="xs:boolean" default="false"/>
  712. <xs:attribute name="ordinalAxisTitle" type="xs:boolean" default="false"/>
  713. <xs:attribute name="legendTitle" type="xs:boolean" default="false"/>
  714. </xs:complexType>
  715. </xs:element>
  716. </xs:all>
  717. <xs:attribute name="showHover" type="xs:boolean" default="true"/>
  718. <xs:attribute name="showPointer" type="xs:boolean" default="false"/>
  719. <xs:attribute name="clickable" type="xs:boolean" default="false"/>
  720. </xs:complexType>
  721. </xs:element>
  722. <xs:element name="appCrosstabProperties">
  723. <xs:complexType>
  724. <xs:attribute name="showHover" type="xs:boolean" default="true"/>
  725. <xs:attribute name="showPointer" type="xs:boolean" default="false"/>
  726. <xs:attribute name="clickable" type="xs:boolean" default="false"/>
  727. <xs:attribute name="clickableColumns" type="xs:boolean" default="false"/>
  728. <xs:attribute name="clickableRows" type="xs:boolean" default="false"/>
  729. </xs:complexType>
  730. </xs:element>
  731. <xs:element name="appCrosstabNodeMemberProperties">
  732. <xs:annotation>
  733. <xs:documentation source="rn_added_7.0"/>
  734. </xs:annotation>
  735. <xs:complexType>
  736. <xs:attribute name="visible" type="xs:boolean" default="true"/>
  737. <xs:attribute name="clickable" type="xs:boolean" use="optional"/>
  738. </xs:complexType>
  739. </xs:element>
  740. <xs:element name="appCrosstabNodeMemberFactCellProperties">
  741. <xs:complexType>
  742. <xs:attribute name="clickable" type="xs:boolean" use="optional"/>
  743. </xs:complexType>
  744. </xs:element>
  745. <xs:element name="appCrosstabFactCellProperties">
  746. <xs:complexType>
  747. <xs:attribute name="clickable" type="xs:boolean" default="true"/>
  748. </xs:complexType>
  749. </xs:element>
  750. <xs:element name="appCrosstabIntersectionProperties">
  751. <xs:complexType>
  752. <xs:attribute name="clickable" type="xs:boolean" use="optional"/>
  753. </xs:complexType>
  754. </xs:element>
  755. <xs:element name="appListProperties">
  756. <xs:complexType>
  757. <xs:attribute name="showHover" type="xs:boolean" default="true"/>
  758. <xs:attribute name="showPointer" type="xs:boolean" default="false"/>
  759. <xs:attribute name="clickable" type="xs:boolean" default="false"/>
  760. </xs:complexType>
  761. </xs:element>
  762. <xs:element name="appListColumnProperties">
  763. <xs:annotation>
  764. <xs:documentation source="rn_added_7.0"/>
  765. </xs:annotation>
  766. <xs:complexType>
  767. <xs:all>
  768. <xs:element name="appListColumnVisible" minOccurs="0">
  769. <xs:annotation>
  770. <xs:documentation source="rn_added_7.0"/>
  771. </xs:annotation>
  772. <xs:complexType>
  773. <xs:all>
  774. <xs:element ref="appCondition"/>
  775. </xs:all>
  776. </xs:complexType>
  777. </xs:element>
  778. </xs:all>
  779. <xs:attribute name="allowSorting" type="xs:boolean" default="false"/>
  780. <xs:attribute name="visible" type="xs:boolean" default="true"/>
  781. <xs:attribute name="clickable" type="xs:boolean" default="true"/>
  782. </xs:complexType>
  783. </xs:element>
  784. <xs:element name="appListRowProperties">
  785. <xs:complexType>
  786. <xs:attribute name="clickable" type="xs:boolean" default="false"/>
  787. </xs:complexType>
  788. </xs:element>
  789. <!---->
  790. <!--Report app properties-->
  791. <xs:element name="appProperties">
  792. <xs:annotation>
  793. <xs:documentation source="rn_added_7.0"/>
  794. </xs:annotation>
  795. <xs:complexType>
  796. <xs:all>
  797. <xs:element name="appVariables" minOccurs="0">
  798. <xs:annotation>
  799. <xs:documentation source="rn_added_7.0"/>
  800. </xs:annotation>
  801. <xs:complexType>
  802. <xs:sequence>
  803. <xs:element name="appVariable" maxOccurs="unbounded">
  804. <xs:annotation>
  805. <xs:documentation source="rn_added_7.0"/>
  806. <xs:documentation>Represents a variable in the application. The variable may have default values on startup of the application.</xs:documentation>
  807. </xs:annotation>
  808. <xs:complexType>
  809. <xs:all>
  810. <xs:element name="appVariableValues" minOccurs="0">
  811. <xs:annotation>
  812. <xs:documentation source="rn_added_7.0"/>
  813. </xs:annotation>
  814. <xs:complexType>
  815. <xs:sequence>
  816. <xs:element ref="appVariableValue" maxOccurs="unbounded"/>
  817. </xs:sequence>
  818. </xs:complexType>
  819. </xs:element>
  820. </xs:all>
  821. <xs:attribute name="name" type="xs:string" use="required"/>
  822. </xs:complexType>
  823. </xs:element>
  824. </xs:sequence>
  825. </xs:complexType>
  826. <xs:unique name="appVariableUniqueness">
  827. <xs:selector xpath="*"/>
  828. <xs:field xpath="@name"/>
  829. </xs:unique>
  830. </xs:element>
  831. <xs:element name="appWindowTitle" type="LocalizedTextType" minOccurs="0">
  832. <xs:annotation>
  833. <xs:documentation source="rn_added_7.0"/>
  834. </xs:annotation>
  835. </xs:element>
  836. <xs:element name="appWindowIcon" type="TextType" minOccurs="0">
  837. <xs:annotation>
  838. <xs:documentation source="rn_added_7.0"/>
  839. </xs:annotation>
  840. </xs:element>
  841. <xs:element name="appWindowSize" minOccurs="0">
  842. <xs:annotation>
  843. <xs:documentation source="rn_added_7.0"/>
  844. <xs:documentation>If the window size is not specified then the window will not be sized on startup and will be whatever the browser default is.</xs:documentation>
  845. </xs:annotation>
  846. <xs:complexType>
  847. <xs:choice>
  848. <xs:element name="appWindowSizeMaximize">
  849. <xs:annotation>
  850. <xs:documentation source="rn_added_7.0"/>
  851. <xs:documentation>Maximize the window size to fill the entire screen.</xs:documentation>
  852. </xs:annotation>
  853. <xs:complexType/>
  854. </xs:element>
  855. <xs:element name="appWindowSizeFixed">
  856. <xs:annotation>
  857. <xs:documentation source="rn_added_7.0"/>
  858. <xs:documentation>Set the window to a fixed size</xs:documentation>
  859. </xs:annotation>
  860. <xs:complexType>
  861. <xs:attribute name="width" type="xs:positiveInteger" use="required">
  862. <xs:annotation>
  863. <xs:documentation>width of the window in pixels</xs:documentation>
  864. </xs:annotation>
  865. </xs:attribute>
  866. <xs:attribute name="height" type="xs:positiveInteger" use="required">
  867. <xs:annotation>
  868. <xs:documentation>height of window in pixels</xs:documentation>
  869. </xs:annotation>
  870. </xs:attribute>
  871. </xs:complexType>
  872. </xs:element>
  873. </xs:choice>
  874. </xs:complexType>
  875. </xs:element>
  876. <xs:element name="appMaxRows" minOccurs="0">
  877. <xs:annotation>
  878. <xs:documentation source="rn_added_7.0"/>
  879. <xs:documentation>Sets the maximum number of rows that will be retrieved for any control or frame in the application. For crosstabs and charts, this is actually the number of cell intersections returned. An error will occur if the number of rows is exceeded. If not specified the maximum number will be 5000 rows.</xs:documentation>
  880. </xs:annotation>
  881. <xs:complexType>
  882. <xs:attribute name="value" type="xs:positiveInteger" use="required"/>
  883. </xs:complexType>
  884. </xs:element>
  885. </xs:all>
  886. </xs:complexType>
  887. </xs:element>
  888. <!---->
  889. <!--Shared attributes-->
  890. <xs:attributeGroup name="AppControlAttributes">
  891. <xs:attribute name="name" type="xs:string" use="required"/>
  892. </xs:attributeGroup>
  893. <xs:attributeGroup name="AppTabControlAttributes">
  894. <xs:attribute name="tabOrientation" default="topLeft">
  895. <xs:simpleType>
  896. <xs:restriction base="xs:string">
  897. <xs:enumeration value="topLeft">
  898. <xs:annotation>
  899. <xs:documentation source="doc_enum_topLeft_app"/>
  900. </xs:annotation>
  901. </xs:enumeration>
  902. <xs:enumeration value="bottomLeft">
  903. <xs:annotation>
  904. <xs:documentation source="doc_enum_bottomLeft_app"/>
  905. </xs:annotation>
  906. </xs:enumeration>
  907. </xs:restriction>
  908. </xs:simpleType>
  909. </xs:attribute>
  910. <xs:attribute name="width" type="CSSLength" use="optional"/>
  911. <xs:attribute name="height" type="CSSLength" use="optional"/>
  912. <xs:attribute name="tabWidth" type="CSSFixedLength" use="optional"/>
  913. </xs:attributeGroup>
  914. <xs:attributeGroup name="AppDeckControlAttributes">
  915. <xs:attribute name="width" type="CSSLength" use="optional"/>
  916. <xs:attribute name="height" type="CSSLength" use="optional"/>
  917. <xs:attribute name="slideDirection" use="optional">
  918. <xs:annotation>
  919. <xs:documentation>Controls the animation effect that occurs when the card gets drawn. Enumeration values are: topToBottom | rightToLeft | bottomToTop | leftToRight | autoVertical | autoHorizontal. The auto options will chose the slide direction based on the order of the card you are going to.</xs:documentation>
  920. </xs:annotation>
  921. <xs:simpleType>
  922. <xs:restriction base="xs:string">
  923. <xs:enumeration value="topToBottom"/>
  924. <xs:enumeration value="rightToLeft"/>
  925. <xs:enumeration value="bottomToTop"/>
  926. <xs:enumeration value="leftToRight"/>
  927. <xs:enumeration value="autoVertical"/>
  928. <xs:enumeration value="autoHorizontal"/>
  929. </xs:restriction>
  930. </xs:simpleType>
  931. </xs:attribute>
  932. </xs:attributeGroup>
  933. <xs:attributeGroup name="AppButtonBarAttributes">
  934. <xs:attribute name="orientation" default="horizontal">
  935. <xs:annotation>
  936. <xs:documentation source="doc_att_orientation_app"/>
  937. </xs:annotation>
  938. <xs:simpleType>
  939. <xs:restriction base="xs:string">
  940. <xs:enumeration value="horizontal">
  941. <xs:annotation>
  942. <xs:documentation source="doc_enum_horizontal_app"/>
  943. </xs:annotation>
  944. </xs:enumeration>
  945. <xs:enumeration value="vertical">
  946. <xs:annotation>
  947. <xs:documentation source="doc_enum_vertical_app"/>
  948. </xs:annotation>
  949. </xs:enumeration>
  950. </xs:restriction>
  951. </xs:simpleType>
  952. </xs:attribute>
  953. <xs:attribute name="buttonWidth" type="CSSFixedLength" use="optional"/>
  954. <xs:attribute name="buttonGap" type="CSSFixedLength" use="optional"/>
  955. </xs:attributeGroup>
  956. <xs:attributeGroup name="AppRadioButtonGroupAttributes">
  957. <xs:attribute name="orientation" default="horizontal">
  958. <xs:annotation>
  959. <xs:documentation source="doc_att_orientation_app"/>
  960. </xs:annotation>
  961. <xs:simpleType>
  962. <xs:restriction base="xs:string">
  963. <xs:enumeration value="horizontal">
  964. <xs:annotation>
  965. <xs:documentation source="doc_enum_horizontal_app"/>
  966. </xs:annotation>
  967. </xs:enumeration>
  968. <xs:enumeration value="vertical">
  969. <xs:annotation>
  970. <xs:documentation source="doc_enum_vertical_app"/>
  971. </xs:annotation>
  972. </xs:enumeration>
  973. </xs:restriction>
  974. </xs:simpleType>
  975. </xs:attribute>
  976. </xs:attributeGroup>
  977. <xs:attributeGroup name="AppCheckboxGroupAttributes">
  978. <xs:attribute name="orientation" default="horizontal">
  979. <xs:annotation>
  980. <xs:documentation source="doc_att_orientation_app"/>
  981. </xs:annotation>
  982. <xs:simpleType>
  983. <xs:restriction base="xs:string">
  984. <xs:enumeration value="horizontal">
  985. <xs:annotation>
  986. <xs:documentation source="doc_enum_horizontal_app"/>
  987. </xs:annotation>
  988. </xs:enumeration>
  989. <xs:enumeration value="vertical">
  990. <xs:annotation>
  991. <xs:documentation source="doc_enum_vertical_app"/>
  992. </xs:annotation>
  993. </xs:enumeration>
  994. </xs:restriction>
  995. </xs:simpleType>
  996. </xs:attribute>
  997. </xs:attributeGroup>
  998. <xs:attributeGroup name="AppDropDownListAttributes">
  999. <xs:attribute name="width" type="CSSFixedLength" use="required"/>
  1000. </xs:attributeGroup>
  1001. <xs:attributeGroup name="AppListBoxAttributes">
  1002. <xs:attribute name="multiSelect" type="xs:boolean" default="false"/>
  1003. <xs:attribute name="width" type="CSSFixedLength" use="required"/>
  1004. <xs:attribute name="height" type="CSSFixedLength" use="required"/>
  1005. </xs:attributeGroup>
  1006. <xs:attributeGroup name="AppConditionOperator">
  1007. <xs:attribute name="operator" use="required">
  1008. <xs:simpleType>
  1009. <xs:restriction base="xs:string">
  1010. <xs:enumeration value="in">
  1011. <xs:annotation>
  1012. <xs:documentation source="doc_enum_in_operator"/>
  1013. </xs:annotation>
  1014. </xs:enumeration>
  1015. <xs:enumeration value="notIn"/>
  1016. </xs:restriction>
  1017. </xs:simpleType>
  1018. </xs:attribute>
  1019. </xs:attributeGroup>
  1020. <!---->
  1021. <xs:simpleType name="CSSFixedLength" rspecExtension:validSample="0px">
  1022. <xs:annotation>
  1023. <xs:documentation>A valid CSS length definition</xs:documentation>
  1024. </xs:annotation>
  1025. <xs:restriction base="xs:string">
  1026. <xs:pattern value="[0-9]*[.]?[0-9]+(px|in|cm|mm|pt|pc|em|ex)?">
  1027. <xs:annotation>
  1028. <xs:documentation source="doc_enum_CSSLength"/>
  1029. </xs:annotation>
  1030. </xs:pattern>
  1031. </xs:restriction>
  1032. </xs:simpleType>
  1033. <!---->
  1034. <!--Control event handlers-->
  1035. <xs:element name="appOnSelectSetVariableValues">
  1036. <xs:annotation>
  1037. <xs:documentation source="rn_added_7.0"/>
  1038. <xs:documentation>When an item(s) is selected in a control, then the listed variables will have their values set to the data item value corresponding to the selected item(s) in the control.</xs:documentation>
  1039. </xs:annotation>
  1040. <xs:complexType>
  1041. <xs:sequence>
  1042. <xs:choice maxOccurs="unbounded">
  1043. <xs:element name="appSetVariableValueToDataItemValue">
  1044. <xs:annotation>
  1045. <xs:documentation source="rn_added_7.0"/>
  1046. <xs:documentation>Sets the variable to the value of the referenced data item</xs:documentation>
  1047. </xs:annotation>
  1048. <xs:complexType>
  1049. <xs:attribute name="refAppVariable" type="xs:string" use="required"/>
  1050. <xs:attribute name="refDataItem" type="xs:string" use="required"/>
  1051. </xs:complexType>
  1052. </xs:element>
  1053. <xs:element name="appSetVariableValueToConstant">
  1054. <xs:annotation>
  1055. <xs:documentation source="rn_added_7.0"/>
  1056. <xs:documentation>Set variable to a constant value.</xs:documentation>
  1057. </xs:annotation>
  1058. <xs:complexType>
  1059. <xs:all>
  1060. <xs:element ref="appVariableValue"/>
  1061. </xs:all>
  1062. <xs:attribute name="refAppVariable" type="xs:string" use="required"/>
  1063. </xs:complexType>
  1064. </xs:element>
  1065. <xs:element name="appClearVariable">
  1066. <xs:annotation>
  1067. <xs:documentation source="rn_added_7.0"/>
  1068. <xs:documentation>Clear the value being stored for variable</xs:documentation>
  1069. </xs:annotation>
  1070. <xs:complexType>
  1071. <xs:attribute name="refAppVariable" type="xs:string" use="required"/>
  1072. </xs:complexType>
  1073. </xs:element>
  1074. </xs:choice>
  1075. </xs:sequence>
  1076. </xs:complexType>
  1077. </xs:element>
  1078. <!---->
  1079. <!--Shared elements-->
  1080. <xs:element name="appListItemDefinition">
  1081. <xs:annotation>
  1082. <xs:documentation source="rn_added_7.0"/>
  1083. </xs:annotation>
  1084. <xs:complexType>
  1085. <xs:all>
  1086. <xs:element name="appListItemLabel" minOccurs="0">
  1087. <xs:annotation>
  1088. <xs:documentation source="rn_added_7.0"/>
  1089. </xs:annotation>
  1090. <xs:complexType>
  1091. <xs:attribute name="refDataItem" type="xs:string" use="required"/>
  1092. </xs:complexType>
  1093. </xs:element>
  1094. <xs:element name="appListItemIcon" minOccurs="0">
  1095. <xs:annotation>
  1096. <xs:documentation source="rn_added_7.0"/>
  1097. </xs:annotation>
  1098. <xs:complexType>
  1099. <xs:attribute name="refDataItem" type="xs:string" use="required"/>
  1100. </xs:complexType>
  1101. </xs:element>
  1102. <xs:element name="appListItemValues" minOccurs="0">
  1103. <xs:annotation>
  1104. <xs:documentation source="rn_added_7.0"/>
  1105. </xs:annotation>
  1106. <xs:complexType>
  1107. <xs:sequence>
  1108. <xs:element name="appListItemValue" maxOccurs="unbounded">
  1109. <xs:annotation>
  1110. <xs:documentation source="rn_added_7.0"/>
  1111. </xs:annotation>
  1112. <xs:complexType>
  1113. <xs:attribute name="refDataItem" type="xs:string" use="required"/>
  1114. </xs:complexType>
  1115. </xs:element>
  1116. </xs:sequence>
  1117. </xs:complexType>
  1118. </xs:element>
  1119. </xs:all>
  1120. </xs:complexType>
  1121. </xs:element>
  1122. <xs:element name="appNoValueListItem">
  1123. <xs:annotation>
  1124. <xs:documentation source="rn_added_7.0"/>
  1125. <xs:documentation>Represents a default list item that results in no value for all data items. By default, it will be the first item in the list.</xs:documentation>
  1126. </xs:annotation>
  1127. <xs:complexType>
  1128. <xs:all>
  1129. <xs:element name="appNoValueListItemLabel" type="LocalizedTextType">
  1130. <xs:annotation>
  1131. <xs:documentation source="rn_added_7.0"/>
  1132. </xs:annotation>
  1133. </xs:element>
  1134. </xs:all>
  1135. <xs:attribute name="lastItemInList" type="xs:boolean" default="false"/>
  1136. </xs:complexType>
  1137. </xs:element>
  1138. <xs:element name="appStaticDataTable">
  1139. <xs:annotation>
  1140. <xs:documentation source="rn_added_7.0"/>
  1141. <xs:documentation>Represents the rows of values that will be associated with each item in a static control (e.g. list item in a list box). The order of the values in a row corresponds to the order of data items in the control.</xs:documentation>
  1142. </xs:annotation>
  1143. <xs:complexType>
  1144. <xs:all>
  1145. <xs:element ref="appStaticDataItems">
  1146. <xs:annotation>
  1147. <xs:documentation source="rn_added_7.0"/>
  1148. <xs:documentation>Represents the data items that will have values for each row (e.g. list item) of the control. The order of the data items represents the order they will appear in the data rows.</xs:documentation>
  1149. </xs:annotation>
  1150. </xs:element>
  1151. <xs:element name="appStaticDataRows">
  1152. <xs:annotation>
  1153. <xs:documentation source="rn_added_7.0"/>
  1154. </xs:annotation>
  1155. <xs:complexType>
  1156. <xs:sequence>
  1157. <xs:element name="appStaticDataRow" maxOccurs="unbounded">
  1158. <xs:annotation>
  1159. <xs:documentation source="rn_added_7.0"/>
  1160. </xs:annotation>
  1161. <xs:complexType>
  1162. <xs:sequence>
  1163. <xs:element name="appStaticDataItemValue" maxOccurs="unbounded">
  1164. <xs:annotation>
  1165. <xs:documentation source="rn_added_7.0"/>
  1166. </xs:annotation>
  1167. <xs:complexType>
  1168. <xs:complexContent>
  1169. <xs:extension base="LocalizedTextType"/>
  1170. </xs:complexContent>
  1171. </xs:complexType>
  1172. </xs:element>
  1173. </xs:sequence>
  1174. </xs:complexType>
  1175. </xs:element>
  1176. </xs:sequence>
  1177. </xs:complexType>
  1178. </xs:element>
  1179. </xs:all>
  1180. </xs:complexType>
  1181. </xs:element>
  1182. <xs:element name="appStaticDataItems">
  1183. <xs:annotation>
  1184. <xs:documentation source="rn_added_7.0"/>
  1185. <xs:documentation>Represents the data items that will have values for each row (e.g. list item) of the control.</xs:documentation>
  1186. </xs:annotation>
  1187. <xs:complexType>
  1188. <xs:sequence>
  1189. <xs:element name="appStaticDataItem" maxOccurs="unbounded">
  1190. <xs:annotation>
  1191. <xs:documentation source="rn_added_7.0"/>
  1192. </xs:annotation>
  1193. <xs:complexType>
  1194. <xs:attribute name="name" type="xs:string" use="required"/>
  1195. </xs:complexType>
  1196. </xs:element>
  1197. </xs:sequence>
  1198. </xs:complexType>
  1199. <xs:unique name="appStaticDataItemUniqueness">
  1200. <xs:selector xpath="*"/>
  1201. <xs:field xpath="@name"/>
  1202. </xs:unique>
  1203. </xs:element>
  1204. <xs:element name="appControlEnabled">
  1205. <xs:annotation>
  1206. <xs:documentation source="rn_added_7.0"/>
  1207. <xs:documentation>Determines the enabled state of a control.</xs:documentation>
  1208. </xs:annotation>
  1209. <xs:complexType>
  1210. <xs:all>
  1211. <xs:element ref="appCondition">
  1212. <xs:annotation>
  1213. <xs:documentation source="rn_added_7.0"/>
  1214. </xs:annotation>
  1215. </xs:element>
  1216. </xs:all>
  1217. </xs:complexType>
  1218. </xs:element>
  1219. <xs:element name="appVariableValue" type="TextType">
  1220. <xs:annotation>
  1221. <xs:documentation source="rn_added_7.0"/>
  1222. </xs:annotation>
  1223. </xs:element>
  1224. <xs:element name="appButtonDefinition">
  1225. <xs:annotation>
  1226. <xs:documentation source="rn_added_7.0"/>
  1227. </xs:annotation>
  1228. <xs:complexType>
  1229. <xs:all>
  1230. <xs:element name="appButtonLabel" minOccurs="0">
  1231. <xs:annotation>
  1232. <xs:documentation source="rn_added_7.0"/>
  1233. </xs:annotation>
  1234. <xs:complexType>
  1235. <xs:attribute name="refDataItem" type="xs:string" use="required"/>
  1236. </xs:complexType>
  1237. </xs:element>
  1238. <xs:element name="appButtonIcon" minOccurs="0">
  1239. <xs:annotation>
  1240. <xs:documentation source="rn_added_7.0"/>
  1241. </xs:annotation>
  1242. <xs:complexType>
  1243. <xs:attribute name="refDataItem" type="xs:string" use="required"/>
  1244. </xs:complexType>
  1245. </xs:element>
  1246. <xs:element name="appButtonValues" minOccurs="0">
  1247. <xs:annotation>
  1248. <xs:documentation source="rn_added_7.0"/>
  1249. </xs:annotation>
  1250. <xs:complexType>
  1251. <xs:sequence>
  1252. <xs:element name="appButtonValue" maxOccurs="unbounded">
  1253. <xs:annotation>
  1254. <xs:documentation source="rn_added_7.0"/>
  1255. </xs:annotation>
  1256. <xs:complexType>
  1257. <xs:attribute name="refDataItem" type="xs:string" use="required"/>
  1258. </xs:complexType>
  1259. </xs:element>
  1260. </xs:sequence>
  1261. </xs:complexType>
  1262. </xs:element>
  1263. </xs:all>
  1264. </xs:complexType>
  1265. </xs:element>
  1266. <xs:element name="appRadioButtonDefinition">
  1267. <xs:annotation>
  1268. <xs:documentation source="rn_added_7.0"/>
  1269. </xs:annotation>
  1270. <xs:complexType>
  1271. <xs:all>
  1272. <xs:element name="appRadioButtonLabel" minOccurs="0">
  1273. <xs:annotation>
  1274. <xs:documentation source="rn_added_7.0"/>
  1275. </xs:annotation>
  1276. <xs:complexType>
  1277. <xs:attribute name="refDataItem" type="xs:string" use="required"/>
  1278. </xs:complexType>
  1279. </xs:element>
  1280. <xs:element name="appRadioButtonIcon" minOccurs="0">
  1281. <xs:annotation>
  1282. <xs:documentation source="rn_added_7.0"/>
  1283. </xs:annotation>
  1284. <xs:complexType>
  1285. <xs:attribute name="refDataItem" type="xs:string" use="required"/>
  1286. </xs:complexType>
  1287. </xs:element>
  1288. <xs:element name="appRadioButtonValues" minOccurs="0">
  1289. <xs:annotation>
  1290. <xs:documentation source="rn_added_7.0"/>
  1291. </xs:annotation>
  1292. <xs:complexType>
  1293. <xs:sequence>
  1294. <xs:element name="appRadioButtonValue" maxOccurs="unbounded">
  1295. <xs:annotation>
  1296. <xs:documentation source="rn_added_7.0"/>
  1297. </xs:annotation>
  1298. <xs:complexType>
  1299. <xs:attribute name="refDataItem" type="xs:string" use="required"/>
  1300. </xs:complexType>
  1301. </xs:element>
  1302. </xs:sequence>
  1303. </xs:complexType>
  1304. </xs:element>
  1305. </xs:all>
  1306. </xs:complexType>
  1307. </xs:element>
  1308. <xs:element name="appCheckboxDefinition">
  1309. <xs:annotation>
  1310. <xs:documentation source="rn_added_7.0"/>
  1311. </xs:annotation>
  1312. <xs:complexType>
  1313. <xs:all>
  1314. <xs:element name="appCheckboxLabel" minOccurs="0">
  1315. <xs:annotation>
  1316. <xs:documentation source="rn_added_7.0"/>
  1317. </xs:annotation>
  1318. <xs:complexType>
  1319. <xs:attribute name="refDataItem" type="xs:string" use="required"/>
  1320. </xs:complexType>
  1321. </xs:element>
  1322. <xs:element name="appCheckboxIcon" minOccurs="0">
  1323. <xs:annotation>
  1324. <xs:documentation source="rn_added_7.0"/>
  1325. </xs:annotation>
  1326. <xs:complexType>
  1327. <xs:attribute name="refDataItem" type="xs:string" use="required"/>
  1328. </xs:complexType>
  1329. </xs:element>
  1330. <xs:element name="appCheckboxValues" minOccurs="0">
  1331. <xs:annotation>
  1332. <xs:documentation source="rn_added_7.0"/>
  1333. </xs:annotation>
  1334. <xs:complexType>
  1335. <xs:sequence>
  1336. <xs:element name="appCheckboxValue" maxOccurs="unbounded">
  1337. <xs:annotation>
  1338. <xs:documentation source="rn_added_7.0"/>
  1339. </xs:annotation>
  1340. <xs:complexType>
  1341. <xs:attribute name="refDataItem" type="xs:string" use="required"/>
  1342. </xs:complexType>
  1343. </xs:element>
  1344. </xs:sequence>
  1345. </xs:complexType>
  1346. </xs:element>
  1347. </xs:all>
  1348. </xs:complexType>
  1349. </xs:element>
  1350. <xs:element name="appTabDefinition">
  1351. <xs:annotation>
  1352. <xs:documentation source="rn_added_7.0"/>
  1353. </xs:annotation>
  1354. <xs:complexType>
  1355. <xs:all>
  1356. <xs:element name="appTabLabel" minOccurs="0">
  1357. <xs:annotation>
  1358. <xs:documentation source="rn_added_7.0"/>
  1359. </xs:annotation>
  1360. <xs:complexType>
  1361. <xs:attribute name="refDataItem" type="xs:string" use="required"/>
  1362. </xs:complexType>
  1363. </xs:element>
  1364. <xs:element name="appTabIcon" minOccurs="0">
  1365. <xs:annotation>
  1366. <xs:documentation source="rn_added_7.0"/>
  1367. </xs:annotation>
  1368. <xs:complexType>
  1369. <xs:attribute name="refDataItem" type="xs:string" use="required"/>
  1370. </xs:complexType>
  1371. </xs:element>
  1372. <xs:element name="appTabValues" minOccurs="0">
  1373. <xs:annotation>
  1374. <xs:documentation source="rn_added_7.0"/>
  1375. </xs:annotation>
  1376. <xs:complexType>
  1377. <xs:sequence>
  1378. <xs:element name="appTabValue" maxOccurs="unbounded">
  1379. <xs:annotation>
  1380. <xs:documentation source="rn_added_7.0"/>
  1381. </xs:annotation>
  1382. <xs:complexType>
  1383. <xs:attribute name="refDataItem" type="xs:string" use="required"/>
  1384. </xs:complexType>
  1385. </xs:element>
  1386. </xs:sequence>
  1387. </xs:complexType>
  1388. </xs:element>
  1389. </xs:all>
  1390. </xs:complexType>
  1391. </xs:element>
  1392. <xs:element name="appTabCard">
  1393. <xs:annotation>
  1394. <xs:documentation source="rn_added_7.0"/>
  1395. <xs:documentation>Represents the card/panel portion of a tab in a tab control.</xs:documentation>
  1396. </xs:annotation>
  1397. <xs:complexType>
  1398. <xs:all>
  1399. <xs:element ref="contents"/>
  1400. <xs:element ref="XMLAttributes" minOccurs="0"/>
  1401. </xs:all>
  1402. </xs:complexType>
  1403. </xs:element>
  1404. <xs:element name="appDataSource">
  1405. <xs:annotation>
  1406. <xs:documentation source="rn_added_7.0"/>
  1407. </xs:annotation>
  1408. <xs:complexType>
  1409. <xs:choice>
  1410. <xs:element ref="appStaticDataTable"/>
  1411. </xs:choice>
  1412. </xs:complexType>
  1413. </xs:element>
  1414. <xs:element name="appCardDefinition">
  1415. <xs:annotation>
  1416. <xs:documentation source="rn_added_7.0"/>
  1417. </xs:annotation>
  1418. <xs:complexType>
  1419. <xs:all>
  1420. <xs:element name="appCardLabel" minOccurs="0">
  1421. <xs:annotation>
  1422. <xs:documentation source="rn_added_7.0"/>
  1423. </xs:annotation>
  1424. <xs:complexType>
  1425. <xs:attribute name="refDataItem" type="xs:string" use="required"/>
  1426. </xs:complexType>
  1427. </xs:element>
  1428. <xs:element name="appCardValues" minOccurs="0">
  1429. <xs:annotation>
  1430. <xs:documentation source="rn_added_7.0"/>
  1431. </xs:annotation>
  1432. <xs:complexType>
  1433. <xs:sequence>
  1434. <xs:element name="appCardValue" maxOccurs="unbounded">
  1435. <xs:annotation>
  1436. <xs:documentation source="rn_added_7.0"/>
  1437. </xs:annotation>
  1438. <xs:complexType>
  1439. <xs:attribute name="refDataItem" type="xs:string" use="required"/>
  1440. </xs:complexType>
  1441. </xs:element>
  1442. </xs:sequence>
  1443. </xs:complexType>
  1444. </xs:element>
  1445. </xs:all>
  1446. </xs:complexType>
  1447. </xs:element>
  1448. </xs:schema>