- <?xml version="1.0" encoding="UTF-8"?>
- <report xmlns="http://www.eclipse.org/birt/2005/design" version="3.2.21" id="1">
- <property name="createdBy">Eclipse BIRT Designer Version 2.5.2.v20100208 Build <2.5.2.v20100210-0630></property>
- <property name="units">in</property>
- <property name="iconFile">/templates/blank_report.gif</property>
- <property name="bidiLayoutOrientation">ltr</property>
- <parameters>
- <scalar-parameter name="days_param" id="26">
- <text-property name="promptText">Number of days</text-property>
- <property name="valueType">static</property>
- <property name="dataType">integer</property>
- <property name="distinct">true</property>
- <simple-property-list name="defaultValue">
- <value type="constant">7</value>
- </simple-property-list>
- <property name="paramType">simple</property>
- <property name="controlType">text-box</property>
- <structure name="format">
- <property name="category">Unformatted</property>
- </structure>
- </scalar-parameter>
- </parameters>
- <data-sources>
- <oda-data-source extensionID="org.eclipse.birt.report.data.oda.jdbc" name="Data Source" id="7">
- <list-property name="privateDriverProperties">
- <ex-property>
- <name>contentBidiFormatStr</name>
- <value>ILYNN</value>
- </ex-property>
- <ex-property>
- <name>metadataBidiFormatStr</name>
- <value>ILYNN</value>
- </ex-property>
- </list-property>
- <property name="odaDriverClass">JDBC_DRIVER</property>
- <property name="odaURL">jdbc:uri</property>
- <property name="odaUser">user</property>
- <encrypted-property name="odaPassword" encryptionID="base64">cGFzc3dvcmQ=</encrypted-property>
- </oda-data-source>
- </data-sources>
- <data-sets>
- <oda-data-set extensionID="org.eclipse.birt.report.data.oda.jdbc.JdbcSelectDataSet" name="Data Set" id="8">
- <list-property name="parameters">
- <structure>
- <property name="name">days</property>
- <property name="paramName">days_param</property>
- <property name="dataType">integer</property>
- <property name="position">1</property>
- <property name="isInput">true</property>
- <property name="isOutput">false</property>
- </structure>
- <structure>
- <property name="name">days2</property>
- <property name="paramName">days_param</property>
- <property name="dataType">integer</property>
- <property name="position">2</property>
- <property name="isInput">true</property>
- <property name="isOutput">false</property>
- </structure>
- </list-property>
- <structure name="cachedMetaData">
- <list-property name="resultSet">
- <structure>
- <property name="position">1</property>
- <property name="name">change</property>
- <property name="dataType">integer</property>
- </structure>
- <structure>
- <property name="position">2</property>
- <property name="name">action</property>
- <property name="dataType">string</property>
- </structure>
- <structure>
- <property name="position">3</property>
- <property name="name">modtime</property>
- <property name="dataType">date-time</property>
- </structure>
- <structure>
- <property name="position">4</property>
- <property name="name">dfile</property>
- <property name="dataType">string</property>
- </structure>
- </list-property>
- </structure>
- <property name="dataSource">Data Source</property>
- <list-property name="resultSet">
- <structure>
- <property name="position">1</property>
- <property name="name">change</property>
- <property name="nativeName">change</property>
- <property name="dataType">integer</property>
- </structure>
- <structure>
- <property name="position">2</property>
- <property name="name">action</property>
- <property name="nativeName">action</property>
- <property name="dataType">string</property>
- </structure>
- <structure>
- <property name="position">3</property>
- <property name="name">modtime</property>
- <property name="nativeName">modtime</property>
- <property name="dataType">date-time</property>
- </structure>
- <structure>
- <property name="position">4</property>
- <property name="name">dfile</property>
- <property name="nativeName">dfile</property>
- <property name="dataType">string</property>
- </structure>
- </list-property>
- <xml-property name="queryText"><![CDATA[select r.change, r.action, r.modtime, r.dfile
- from rev r
- where datediff(current_date, r.modtime) < ?
- or (datediff(current_date, r.date) < ?
- and r.action = 'delete')
- order by r.change desc;]]></xml-property>
- <xml-property name="designerValues"><![CDATA[<?xml version="1.0" encoding="UTF-8"?>
- <model:DesignValues xmlns:design="http://www.eclipse.org/datatools/connectivity/oda/design" xmlns:model="http://www.eclipse.org/birt/report/model/adapter/odaModel">
- <Version>1.0</Version>
- <design:ResultSets derivedMetaData="true">
- <design:resultSetDefinitions>
- <design:resultSetColumns>
- <design:resultColumnDefinitions>
- <design:attributes>
- <design:name>modtime</design:name>
- <design:position>1</design:position>
- <design:nativeDataTypeCode>93</design:nativeDataTypeCode>
- <design:precision>19</design:precision>
- <design:scale>0</design:scale>
- <design:nullability>Nullable</design:nullability>
- <design:uiHints>
- <design:displayName>modtime</design:displayName>
- </design:uiHints>
- </design:attributes>
- <design:usageHints>
- <design:label>modtime</design:label>
- <design:formattingHints>
- <design:displaySize>19</design:displaySize>
- </design:formattingHints>
- </design:usageHints>
- </design:resultColumnDefinitions>
- <design:resultColumnDefinitions>
- <design:attributes>
- <design:name>dfile</design:name>
- <design:position>2</design:position>
- <design:nativeDataTypeCode>12</design:nativeDataTypeCode>
- <design:precision>2000</design:precision>
- <design:scale>0</design:scale>
- <design:nullability>Nullable</design:nullability>
- <design:uiHints>
- <design:displayName>dfile</design:displayName>
- </design:uiHints>
- </design:attributes>
- <design:usageHints>
- <design:label>dfile</design:label>
- <design:formattingHints>
- <design:displaySize>2000</design:displaySize>
- </design:formattingHints>
- </design:usageHints>
- </design:resultColumnDefinitions>
- </design:resultSetColumns>
- </design:resultSetDefinitions>
- </design:ResultSets>
- </model:DesignValues>]]></xml-property>
- </oda-data-set>
- </data-sets>
- <styles>
- <style name="report" id="4">
- <property name="fontFamily">sans-serif</property>
- <property name="fontSize">10pt</property>
- </style>
- <style name="crosstab" id="5">
- <property name="borderBottomColor">#CCCCCC</property>
- <property name="borderBottomStyle">solid</property>
- <property name="borderBottomWidth">1pt</property>
- <property name="borderLeftColor">#CCCCCC</property>
- <property name="borderLeftStyle">solid</property>
- <property name="borderLeftWidth">1pt</property>
- <property name="borderRightColor">#CCCCCC</property>
- <property name="borderRightStyle">solid</property>
- <property name="borderRightWidth">1pt</property>
- <property name="borderTopColor">#CCCCCC</property>
- <property name="borderTopStyle">solid</property>
- <property name="borderTopWidth">1pt</property>
- </style>
- <style name="crosstab-cell" id="6">
- <property name="borderBottomColor">#CCCCCC</property>
- <property name="borderBottomStyle">solid</property>
- <property name="borderBottomWidth">1pt</property>
- <property name="borderLeftColor">#CCCCCC</property>
- <property name="borderLeftStyle">solid</property>
- <property name="borderLeftWidth">1pt</property>
- <property name="borderRightColor">#CCCCCC</property>
- <property name="borderRightStyle">solid</property>
- <property name="borderRightWidth">1pt</property>
- <property name="borderTopColor">#CCCCCC</property>
- <property name="borderTopStyle">solid</property>
- <property name="borderTopWidth">1pt</property>
- </style>
- </styles>
- <page-setup>
- <simple-master-page name="Simple MasterPage" id="2">
- <page-footer>
- <text id="3">
- <property name="contentType">html</property>
- <text-property name="content"><![CDATA[<value-of>new Date()</value-of>]]></text-property>
- </text>
- </page-footer>
- </simple-master-page>
- </page-setup>
- <body>
- <text id="25">
- <property name="contentType">html</property>
- <text-property name="content"><![CDATA[<CENTER><B><span style="font-size: larger">
- Changes In The Past Week
- <BR>
- (days are configurable)
- </B></span><BR>
- <FONT size="small">For internal use only</FONT><BR><BR>
- Report generated on <VALUE-OF>new Date( )</VALUE-OF>
- </CENTER><BR><BR>]]></text-property>
- </text>
- <table id="9">
- <property name="width">11.222222222222221in</property>
- <property name="dataSet">Data Set</property>
- <list-property name="boundDataColumns">
- <structure>
- <property name="name">modtime</property>
- <expression name="expression">dataSetRow["modtime"]</expression>
- <property name="dataType">date-time</property>
- </structure>
- <structure>
- <property name="name">dfile</property>
- <expression name="expression">dataSetRow["dfile"]</expression>
- <property name="dataType">string</property>
- </structure>
- <structure>
- <property name="name">change</property>
- <text-property name="displayName">change</text-property>
- <expression name="expression" type="javascript">dataSetRow["change"]</expression>
- <property name="dataType">integer</property>
- </structure>
- <structure>
- <property name="name">action</property>
- <text-property name="displayName">action</text-property>
- <expression name="expression" type="javascript">dataSetRow["action"]</expression>
- <property name="dataType">string</property>
- </structure>
- </list-property>
- <column id="37">
- <property name="width">1.125in</property>
- </column>
- <column id="43">
- <property name="width">1.0138888888888888in</property>
- </column>
- <column id="19">
- <property name="width">1.7083333333333333in</property>
- </column>
- <column id="20">
- <property name="width">7.375in</property>
- </column>
- <header>
- <row id="10">
- <cell id="34">
- <property name="fontWeight">normal</property>
- <label id="38">
- <property name="backgroundColor">#529EB5</property>
- <property name="fontWeight">bold</property>
- <text-property name="text">Change</text-property>
- </label>
- </cell>
- <cell id="40">
- <property name="fontWeight">normal</property>
- <text id="45">
- <property name="backgroundColor">#529EB5</property>
- <property name="fontWeight">bold</property>
- <property name="textAlign">center</property>
- <property name="contentType">auto</property>
- <text-property name="content"><![CDATA[Action]]></text-property>
- </text>
- </cell>
- <cell id="11">
- <property name="fontWeight">normal</property>
- <label id="21">
- <property name="backgroundColor">#529EB5</property>
- <property name="fontWeight">bold</property>
- <property name="paddingLeft">10pt</property>
- <property name="textAlign">left</property>
- <text-property name="text">Change Time</text-property>
- </label>
- </cell>
- <cell id="12">
- <label id="23">
- <property name="backgroundColor">#529EB5</property>
- <property name="fontWeight">bold</property>
- <property name="paddingLeft">10pt</property>
- <property name="textAlign">left</property>
- <text-property name="text">Depot File</text-property>
- </label>
- </cell>
- </row>
- </header>
- <detail>
- <row id="13">
- <cell id="35">
- <data id="39">
- <property name="textAlign">center</property>
- <property name="resultSetColumn">change</property>
- </data>
- </cell>
- <cell id="41">
- <data id="44">
- <property name="textAlign">center</property>
- <property name="resultSetColumn">action</property>
- </data>
- </cell>
- <cell id="14">
- <data id="22">
- <property name="paddingLeft">3pt</property>
- <property name="resultSetColumn">modtime</property>
- </data>
- </cell>
- <cell id="15">
- <data id="24">
- <property name="paddingLeft">3pt</property>
- <property name="resultSetColumn">dfile</property>
- </data>
- </cell>
- </row>
- </detail>
- <footer>
- <row id="16">
- <cell id="36"/>
- <cell id="42"/>
- <cell id="17"/>
- <cell id="18"/>
- </row>
- </footer>
- </table>
- </body>
- </report>