diff --git a/build.xml b/build.xml new file mode 100644 index 0000000..378456f --- /dev/null +++ b/build.xml @@ -0,0 +1,76 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/conf/excludes.txt b/conf/excludes.txt new file mode 100644 index 0000000..3ab2249 --- /dev/null +++ b/conf/excludes.txt @@ -0,0 +1,10 @@ +rohdaten/ETL_ENV +rohdaten/*.properties +preparation.sql +finalize.sql +rohdaten/*.err +*.log +*.err +rohdaten/unl/* +conf/customize.sql +conf/*.log diff --git a/conf/includes.txt b/conf/includes.txt new file mode 100644 index 0000000..a610c5d --- /dev/null +++ b/conf/includes.txt @@ -0,0 +1,9 @@ +doku/viz_modul/viz.html +WEB-INF/conf/edustore/db/bin/SQL_ENV_viz.sam +xml/js/viz/viz_functions.js +xml/js/viz/d3.min.js +xml/js/viz/d3-license.txt +xml/viz_html_chart.xsl +images/icons/chart-bar.svg +xml/js/viz/plot.js + diff --git a/conf/rpta.xml b/conf/rpta.xml new file mode 100644 index 0000000..45df2ef --- /dev/null +++ b/conf/rpta.xml @@ -0,0 +1,476 @@ + + + + + + + + + + Schlüsseltabelle für Spaltendefinitionen + + + + + + + Physische Spalte/Logische Spalte/Lookup + Bei logischen Spalten/Lookup + + Bei String-Spalten + + + + + +superx +superx +rpta_column +tid +1 +rpta_column_pk + + + + + + +
+ + + Spaltentypen + + + + + + + +superx +superx +rpta_column_type +tid +1 +rpta_column_type_pk + + + + + + +
+ + Spaltenlayouts + + + + + + + + + +superx +superx +rpta_column_layout +tid +1 +rpta_column_layout_pk + + + + + + +
+ + + Spalten zu Resultsets + + + + + + + + +superx +superx +rpta_column2resultset +tid +1 +rpta_column2resultset_pk + + + + + + +
+ + Spalten zu Layouts + + + + + + + + + +superx +superx +rpta_column2layout +tid +1 +rpta_column2layout_pk + + + + + + +
+ + Schlüsseltabelle für mögliche Resultsets + + + + + + + + + + + + + +superx +superx +rpta_resultset +tid +1 +rpta_resultset_pk + + + + + +
+ + Eigenschaften für Berichte + + + + + + + + + + + + +superx +superx +viz_chart_property +tid +1 +viz_chart_property_pk + + + + + + +
+ + Schlüsseltabelle für Eigenschaften von Visualisieren + + + + + + + + + + +superx +superx +viz_property +tid +1 +viz_property_pk + + + + + +
+ + + + + + + + + + +Abfragen zur Administration von Berichtsassistent + + + + + + + + + + +x + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+In diesem Formular können Sie Spaltenlayouts verwalten. + + + + + + + + +
+In diesem Formular können Sie Spaltenlayouts verwalten. + +tid + + + + + + + + + + + + + + +
+In diesem Formular können Sie Ergebnistabellen verwalten. Im Details-Formular können Sie Eigenschaften zuordnen. + + + + + + + +
+In diesem Formular können Sie Ergebnistabellen verwalten. + +tid + + + + + + + + + + + + +
+In diesem Formular können Sie Spalten verwalten. Im Details-Formular können Sie Eigenschaften zuordnen. + + + + + + + + +
+In diesem Formular können Sie Spaltendefinitionen verwalten. + +tid + + + + + + + + + + + + + +
+
+ diff --git a/schluesseltabellen/sx_stylesheet_tabelle_jrxml_einfuegen.sql b/schluesseltabellen/sx_stylesheet_tabelle_jrxml_einfuegen.sql new file mode 100644 index 0000000..8319ddc --- /dev/null +++ b/schluesseltabellen/sx_stylesheet_tabelle_jrxml_einfuegen.sql @@ -0,0 +1,178 @@ +--Freemarker Template +--Achtung: Macro fügt Inhalte ein +--Bitte nur Freemarker Variablen füllen + +<#assign masken = [ +] /> + +<#assign stylesheet = [ +{"filename":"tabelle_jrxml_a4_quer.xsl", +"caption":"Gener. Standardlayout JR (A4 quer)", +"description":"Gener. Standardlayout JR (A4 quer)", +"relation":"table", +"contenttype":"application/jrxml", +"is_generic":"1" +}, +{"filename":"rpta_assistent.xsl", +"caption":"Berichtsassistent", +"description":"Export als formatierter Bericht", +"relation":"table", +"contenttype":"text/html", +"is_generic":"1"} +] /> + +<#assign stylesheet_field = [ + + +] /> + +--Hier eventuell notwendige delete's auf die Tabellen sx_mask_style, sx_stylesheets oder stylesheet_field einfügen. + +--Achtung: ab hier nicht ändern, Mutterdatei ist $SUPERX_DIR/db/module/sos/schluesseltabellen/sx_stylesheets_fuellen.sql + <@sx_stylesheets_insert +m_masken=masken +m_stylesheet=stylesheet +m_stylesheet_field=stylesheet_field +/> + + +<#macro sx_stylesheets_insert m_masken m_stylesheet m_stylesheet_field> + +--Sicherstellen, dass keine Duplikate vorkommen: +--#################################################################################################### +<#foreach column in m_masken> +delete from sx_mask_style where maskeninfo_id=${column.mask} and stylesheet_id in (select tid from sx_stylesheets where filename ='${column.filename}') and ord=${column.ord}; + + +<#foreach column in m_stylesheet_field> +delete from stylesheet_field where stylesheet_id in (select tid from sx_stylesheets where filename ='${column.filename}'); + + + + + +-- Stylesheets füllen +--#################################################################################################### +create temp table tmp_stylesheets ( +tid serial not null, +filename CHAR(255) , +caption CHAR(255) , +description CHAR(255) , +relation CHAR(10) , +useragent CHAR(255) , +contenttype CHAR(200) , +is_generic smallint +); + +create temp table tmp_hilf (tid integer); +insert into tmp_hilf select max(tid) from sx_stylesheets; +update tmp_hilf set tid=1 where tid is null; + +<#assign counter_tid = 1 /> +<#foreach column in m_stylesheet> +insert into tmp_stylesheets (tid,filename,caption,description,relation,contenttype,is_generic) +select max(tid)+${counter_tid},'${column.filename}', +'${column.caption}', + '${column.description}', + '${column.relation}', +'${column.contenttype}', +${column.is_generic} +from tmp_hilf; +<#assign counter_tid = counter_tid + 1 /> + + +<#if TableFieldExists?exists && TableFieldExists('sx_stylesheets','is_generic')> +update sx_stylesheets set is_generic=1 +where filename in (select T.filename from tmp_stylesheets T where T.is_generic=1); + + + +--delete für tml_stylesheets hinzugefügt #ak 06.03.2013 +delete from tmp_stylesheets where filename in (select filename from sx_stylesheets); + + +insert into sx_stylesheets (tid, +filename, caption, description, relation, useragent, contenttype +<#if TableFieldExists?exists && TableFieldExists('sx_stylesheets','is_generic')> +,is_generic + +) +SELECT tid, filename, caption, description, relation, useragent, contenttype +<#if TableFieldExists?exists && TableFieldExists('sx_stylesheets','is_generic')> +,is_generic + +FROM tmp_stylesheets; + +drop table tmp_stylesheets; + + +-- Mask Style füllen +--#################################################################################################### +create temp table tmp_mask_style ( +tid serial not null, +maskeninfo_id INTEGER , +stylesheet_id INTEGER , +ord SMALLINT, +filename char(255) +); + +delete from tmp_hilf; +insert into tmp_hilf select max(tid) from sx_mask_style; +update tmp_hilf set tid=1 where tid is null; + +<#assign counter_tid = 1 /> +<#foreach column in m_masken> +insert into tmp_mask_style (tid,maskeninfo_id,ord,filename) +select max(tid)+${counter_tid},${column.mask},${column.ord},'${column.filename}' from tmp_hilf; + +update tmp_mask_style set stylesheet_id=(select max(tid) from sx_stylesheets where filename='${column.filename}') +where filename='${column.filename}'; +<#assign counter_tid = counter_tid + 1 /> + + +insert into sx_mask_style ( tid, maskeninfo_id, stylesheet_id, ord) +SELECT tid, maskeninfo_id, stylesheet_id, ord +FROM tmp_mask_style; + +drop table tmp_mask_style; + + +--Field zu Stylesheet Zuordnungen: +--#################################################################################################### +CREATE temp TABLE tmp_stylesheet_field +( +tid serial NOT NULL, +stylesheet_id INTEGER, +tablename char(255), +fieldname char(255), +filename char(255) +); + +delete from tmp_hilf; +insert into tmp_hilf select max(tid) from stylesheet_field; +update tmp_hilf set tid=1 where tid is null; + +<#assign counter_tid = 1 /> +<#foreach column in m_stylesheet_field> +INSERT INTO tmp_stylesheet_field (tid, filename, tablename, fieldname) +select max(tid)+${counter_tid}, '${column.filename}', '${column.tablename}', '${column.fieldname}' from tmp_hilf; + +update tmp_stylesheet_field set stylesheet_id=(select max(tid) from sx_stylesheets where filename='${column.filename}') +where filename='${column.filename}'; +<#assign counter_tid = counter_tid + 1 /> + + +insert into stylesheet_field ( tid, stylesheet_id, tablename, fieldname) +SELECT tid, stylesheet_id, tablename, fieldname +FROM tmp_stylesheet_field; + +drop table tmp_stylesheet_field; +drop table tmp_hilf; + +<#if SQLdialect='Postgres'> +select sp_update_sequence('sx_stylesheets'); +select sp_update_sequence('sx_mask_style'); +select sp_update_sequence('stylesheet_field'); + + + diff --git a/src-modules/module/rpta/conf/excludes.txt b/src-modules/module/rpta/conf/excludes.txt new file mode 100644 index 0000000..3ab2249 --- /dev/null +++ b/src-modules/module/rpta/conf/excludes.txt @@ -0,0 +1,10 @@ +rohdaten/ETL_ENV +rohdaten/*.properties +preparation.sql +finalize.sql +rohdaten/*.err +*.log +*.err +rohdaten/unl/* +conf/customize.sql +conf/*.log diff --git a/src-modules/module/rpta/conf/includes.txt b/src-modules/module/rpta/conf/includes.txt new file mode 100644 index 0000000..a610c5d --- /dev/null +++ b/src-modules/module/rpta/conf/includes.txt @@ -0,0 +1,9 @@ +doku/viz_modul/viz.html +WEB-INF/conf/edustore/db/bin/SQL_ENV_viz.sam +xml/js/viz/viz_functions.js +xml/js/viz/d3.min.js +xml/js/viz/d3-license.txt +xml/viz_html_chart.xsl +images/icons/chart-bar.svg +xml/js/viz/plot.js + diff --git a/src-modules/module/rpta/conf/rpta.xml b/src-modules/module/rpta/conf/rpta.xml new file mode 100644 index 0000000..45df2ef --- /dev/null +++ b/src-modules/module/rpta/conf/rpta.xml @@ -0,0 +1,476 @@ + + + + + + + + + + Schlüsseltabelle für Spaltendefinitionen + + + + + + + Physische Spalte/Logische Spalte/Lookup + Bei logischen Spalten/Lookup + + Bei String-Spalten + + + + + +superx +superx +rpta_column +tid +1 +rpta_column_pk + + + + + + +
+ + + Spaltentypen + + + + + + + +superx +superx +rpta_column_type +tid +1 +rpta_column_type_pk + + + + + + +
+ + Spaltenlayouts + + + + + + + + + +superx +superx +rpta_column_layout +tid +1 +rpta_column_layout_pk + + + + + + +
+ + + Spalten zu Resultsets + + + + + + + + +superx +superx +rpta_column2resultset +tid +1 +rpta_column2resultset_pk + + + + + + +
+ + Spalten zu Layouts + + + + + + + + + +superx +superx +rpta_column2layout +tid +1 +rpta_column2layout_pk + + + + + + +
+ + Schlüsseltabelle für mögliche Resultsets + + + + + + + + + + + + + +superx +superx +rpta_resultset +tid +1 +rpta_resultset_pk + + + + + +
+ + Eigenschaften für Berichte + + + + + + + + + + + + +superx +superx +viz_chart_property +tid +1 +viz_chart_property_pk + + + + + + +
+ + Schlüsseltabelle für Eigenschaften von Visualisieren + + + + + + + + + + +superx +superx +viz_property +tid +1 +viz_property_pk + + + + + +
+ + + + + + + + + + +Abfragen zur Administration von Berichtsassistent + + + + + + + + + + +x + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+In diesem Formular können Sie Spaltenlayouts verwalten. + + + + + + + + +
+In diesem Formular können Sie Spaltenlayouts verwalten. + +tid + + + + + + + + + + + + + + +
+In diesem Formular können Sie Ergebnistabellen verwalten. Im Details-Formular können Sie Eigenschaften zuordnen. + + + + + + + +
+In diesem Formular können Sie Ergebnistabellen verwalten. + +tid + + + + + + + + + + + + +
+In diesem Formular können Sie Spalten verwalten. Im Details-Formular können Sie Eigenschaften zuordnen. + + + + + + + + +
+In diesem Formular können Sie Spaltendefinitionen verwalten. + +tid + + + + + + + + + + + + + +
+
+ diff --git a/src-modules/module/rpta/schluesseltabellen/sx_stylesheets_einfuegen.sql b/src-modules/module/rpta/schluesseltabellen/sx_stylesheets_einfuegen.sql new file mode 100755 index 0000000..8319ddc --- /dev/null +++ b/src-modules/module/rpta/schluesseltabellen/sx_stylesheets_einfuegen.sql @@ -0,0 +1,178 @@ +--Freemarker Template +--Achtung: Macro fügt Inhalte ein +--Bitte nur Freemarker Variablen füllen + +<#assign masken = [ +] /> + +<#assign stylesheet = [ +{"filename":"tabelle_jrxml_a4_quer.xsl", +"caption":"Gener. Standardlayout JR (A4 quer)", +"description":"Gener. Standardlayout JR (A4 quer)", +"relation":"table", +"contenttype":"application/jrxml", +"is_generic":"1" +}, +{"filename":"rpta_assistent.xsl", +"caption":"Berichtsassistent", +"description":"Export als formatierter Bericht", +"relation":"table", +"contenttype":"text/html", +"is_generic":"1"} +] /> + +<#assign stylesheet_field = [ + + +] /> + +--Hier eventuell notwendige delete's auf die Tabellen sx_mask_style, sx_stylesheets oder stylesheet_field einfügen. + +--Achtung: ab hier nicht ändern, Mutterdatei ist $SUPERX_DIR/db/module/sos/schluesseltabellen/sx_stylesheets_fuellen.sql + <@sx_stylesheets_insert +m_masken=masken +m_stylesheet=stylesheet +m_stylesheet_field=stylesheet_field +/> + + +<#macro sx_stylesheets_insert m_masken m_stylesheet m_stylesheet_field> + +--Sicherstellen, dass keine Duplikate vorkommen: +--#################################################################################################### +<#foreach column in m_masken> +delete from sx_mask_style where maskeninfo_id=${column.mask} and stylesheet_id in (select tid from sx_stylesheets where filename ='${column.filename}') and ord=${column.ord}; + + +<#foreach column in m_stylesheet_field> +delete from stylesheet_field where stylesheet_id in (select tid from sx_stylesheets where filename ='${column.filename}'); + + + + + +-- Stylesheets füllen +--#################################################################################################### +create temp table tmp_stylesheets ( +tid serial not null, +filename CHAR(255) , +caption CHAR(255) , +description CHAR(255) , +relation CHAR(10) , +useragent CHAR(255) , +contenttype CHAR(200) , +is_generic smallint +); + +create temp table tmp_hilf (tid integer); +insert into tmp_hilf select max(tid) from sx_stylesheets; +update tmp_hilf set tid=1 where tid is null; + +<#assign counter_tid = 1 /> +<#foreach column in m_stylesheet> +insert into tmp_stylesheets (tid,filename,caption,description,relation,contenttype,is_generic) +select max(tid)+${counter_tid},'${column.filename}', +'${column.caption}', + '${column.description}', + '${column.relation}', +'${column.contenttype}', +${column.is_generic} +from tmp_hilf; +<#assign counter_tid = counter_tid + 1 /> + + +<#if TableFieldExists?exists && TableFieldExists('sx_stylesheets','is_generic')> +update sx_stylesheets set is_generic=1 +where filename in (select T.filename from tmp_stylesheets T where T.is_generic=1); + + + +--delete für tml_stylesheets hinzugefügt #ak 06.03.2013 +delete from tmp_stylesheets where filename in (select filename from sx_stylesheets); + + +insert into sx_stylesheets (tid, +filename, caption, description, relation, useragent, contenttype +<#if TableFieldExists?exists && TableFieldExists('sx_stylesheets','is_generic')> +,is_generic + +) +SELECT tid, filename, caption, description, relation, useragent, contenttype +<#if TableFieldExists?exists && TableFieldExists('sx_stylesheets','is_generic')> +,is_generic + +FROM tmp_stylesheets; + +drop table tmp_stylesheets; + + +-- Mask Style füllen +--#################################################################################################### +create temp table tmp_mask_style ( +tid serial not null, +maskeninfo_id INTEGER , +stylesheet_id INTEGER , +ord SMALLINT, +filename char(255) +); + +delete from tmp_hilf; +insert into tmp_hilf select max(tid) from sx_mask_style; +update tmp_hilf set tid=1 where tid is null; + +<#assign counter_tid = 1 /> +<#foreach column in m_masken> +insert into tmp_mask_style (tid,maskeninfo_id,ord,filename) +select max(tid)+${counter_tid},${column.mask},${column.ord},'${column.filename}' from tmp_hilf; + +update tmp_mask_style set stylesheet_id=(select max(tid) from sx_stylesheets where filename='${column.filename}') +where filename='${column.filename}'; +<#assign counter_tid = counter_tid + 1 /> + + +insert into sx_mask_style ( tid, maskeninfo_id, stylesheet_id, ord) +SELECT tid, maskeninfo_id, stylesheet_id, ord +FROM tmp_mask_style; + +drop table tmp_mask_style; + + +--Field zu Stylesheet Zuordnungen: +--#################################################################################################### +CREATE temp TABLE tmp_stylesheet_field +( +tid serial NOT NULL, +stylesheet_id INTEGER, +tablename char(255), +fieldname char(255), +filename char(255) +); + +delete from tmp_hilf; +insert into tmp_hilf select max(tid) from stylesheet_field; +update tmp_hilf set tid=1 where tid is null; + +<#assign counter_tid = 1 /> +<#foreach column in m_stylesheet_field> +INSERT INTO tmp_stylesheet_field (tid, filename, tablename, fieldname) +select max(tid)+${counter_tid}, '${column.filename}', '${column.tablename}', '${column.fieldname}' from tmp_hilf; + +update tmp_stylesheet_field set stylesheet_id=(select max(tid) from sx_stylesheets where filename='${column.filename}') +where filename='${column.filename}'; +<#assign counter_tid = counter_tid + 1 /> + + +insert into stylesheet_field ( tid, stylesheet_id, tablename, fieldname) +SELECT tid, stylesheet_id, tablename, fieldname +FROM tmp_stylesheet_field; + +drop table tmp_stylesheet_field; +drop table tmp_hilf; + +<#if SQLdialect='Postgres'> +select sp_update_sequence('sx_stylesheets'); +select sp_update_sequence('sx_mask_style'); +select sp_update_sequence('stylesheet_field'); + + + diff --git a/superx/WEB-INF/reports/simple_table.jrtx b/superx/WEB-INF/reports/simple_table.jrtx new file mode 100644 index 0000000..2696b0c --- /dev/null +++ b/superx/WEB-INF/reports/simple_table.jrtx @@ -0,0 +1,64 @@ + + + + + + + + + + + + + + + + + + diff --git a/superx/WEB-INF/reports/tabelle_jrxml_a4_quer.xsl.jrxml b/superx/WEB-INF/reports/tabelle_jrxml_a4_quer.xsl.jrxml new file mode 100644 index 0000000..e4860a3 --- /dev/null +++ b/superx/WEB-INF/reports/tabelle_jrxml_a4_quer.xsl.jrxml @@ -0,0 +1,536 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + /ergebnisse/ergebnis/ergebniselement[@ordnr=0]/sqlerg/row + + /ergebnisse/generalinfo/REPORT_HEADING_INSTITUTION + + + /ergebnisse/generalinfo/REPORT_HEADING_URL + + + /ergebnisse/generalinfo/REPORT_LOGO_FILE + + + /ergebnisse/generalinfo/REPORT_HEADING_ADRESS + + + /ergebnisse/generalinfo/REPORT_EMAIL + + + /ergebnisse/generalinfo/REPORT_DOCUMENTATION_URL + + + /ergebnisse/ergebnis[ @ordnr='0']/maskenname + + + /ergebnisse/ergebnis[ @ordnr='0']/explanation + + + + col[@id="0" and wert!=""]/wert + + + col[@id="1" and wert!=""]/wert + + + col[@id="2" and wert!=""]/wert + + + col[@id="3" and wert!=""]/wert + + + col[@id="4" and wert!=""]/wert + + + col[@id="5" and wert!=""]/wert + + + col[@id="7" and wert!=""]/wert + + + col[@id="8" and wert!=""]/wert + + + col[@id="9" and wert!=""]/wert + + + col[@id="10" and wert!=""]/wert + + + col[@id="11" and wert!=""]/wert + + + col[@id="12" and wert!=""]/wert + + + /ergebnisse/ergebnis/completefields/feld [@varname="Köpfe oder Fälle ?"]/@varname + + + /ergebnisse/ergebnis/felder/feld [@varname="Köpfe oder Fälle ?"]/value_caption + + + /ergebnisse/ergebnis/completefields/feld [@varname="Stichtag"]/@varname + + + /ergebnisse/ergebnis/felder/feld [@varname="Stichtag"]/value_caption + + + /ergebnisse/ergebnis/completefields/feld [@varname="Seit Semester"]/@varname + + + /ergebnisse/ergebnis/felder/feld [@varname="Seit Semester"]/value_caption + + + /ergebnisse/ergebnis/completefields/feld [@varname="Bis Semester"]/@varname + + + /ergebnisse/ergebnis/felder/feld [@varname="Bis Semester"]/value_caption + + + /ergebnisse/ergebnis/completefields/feld [@varname="Studiengang"]/@varname + + + /ergebnisse/ergebnis/felder/feld [@varname="Studiengang"]/value_caption + + + /ergebnisse/ergebnis/completefields/feld [@varname="Abschluss"]/@varname + + + /ergebnisse/ergebnis/felder/feld [@varname="Abschluss"]/value_caption + + + /ergebnisse/ergebnis/completefields/feld [@varname="Fächer"]/@varname + + + /ergebnisse/ergebnis/felder/feld [@varname="Fächer"]/value_caption + + + /ergebnisse/ergebnis/completefields/feld [@varname="Vertiefung"]/@varname + + + /ergebnisse/ergebnis/felder/feld [@varname="Vertiefung"]/value_caption + + + /ergebnisse/ergebnis/completefields/feld [@varname="Status"]/@varname + + + /ergebnisse/ergebnis/felder/feld [@varname="Status"]/value_caption + + + /ergebnisse/ergebnis/completefields/feld [@varname="##line##"]/@varname + + + /ergebnisse/ergebnis/felder/feld [@varname="##line##"]/value_caption + + + /ergebnisse/ergebnis/completefields/feld [@varname="Fachkennz."]/@varname + + + /ergebnisse/ergebnis/felder/feld [@varname="Fachkennz."]/value_caption + + + /ergebnisse/ergebnis/completefields/feld [@varname="Hörerstatus"]/@varname + + + /ergebnisse/ergebnis/felder/feld [@varname="Hörerstatus"]/value_caption + + + /ergebnisse/ergebnis/completefields/feld [@varname="ab Fachsemester"]/@varname + + + /ergebnisse/ergebnis/felder/feld [@varname="ab Fachsemester"]/value_caption + + + /ergebnisse/ergebnis/completefields/feld [@varname="bis Fachsemester"]/@varname + + + /ergebnisse/ergebnis/felder/feld [@varname="bis Fachsemester"]/value_caption + + + /ergebnisse/ergebnis/completefields/feld [@varname="Filter Studierende"]/@varname + + + /ergebnisse/ergebnis/felder/feld [@varname="Filter Studierende"]/value_caption + + + /ergebnisse/ergebnis/completefields/feld [@varname="Trennen nach"]/@varname + + + /ergebnisse/ergebnis/felder/feld [@varname="Trennen nach"]/value_caption + + + /ergebnisse/ergebnis[ @ordnr='0']/stand + + + /ergebnisse/user + + + 0 + + + $V{tabellennr} + + + + + + "Filterkriterien: " + + + + ""+(($F{legende_Köpfe oder Fälle ?_value}==null || $F{legende_Köpfe oder Fälle ?_value}=="")?"":($F{legende_Köpfe oder Fälle ?_label}+": "+$F{legende_Köpfe oder Fälle ?_value}+";")) ++(($F{legende_Stichtag_value}==null || $F{legende_Stichtag_value}=="")?"":($F{legende_Stichtag_label}+": "+$F{legende_Stichtag_value}+";")) ++(($F{legende_Seit Semester_value}==null || $F{legende_Seit Semester_value}=="")?"":($F{legende_Seit Semester_label}+": "+$F{legende_Seit Semester_value}+";")) ++(($F{legende_Bis Semester_value}==null || $F{legende_Bis Semester_value}=="")?"":($F{legende_Bis Semester_label}+": "+$F{legende_Bis Semester_value}+";")) ++(($F{legende_Studiengang_value}==null || $F{legende_Studiengang_value}=="")?"":($F{legende_Studiengang_label}+": "+$F{legende_Studiengang_value}+";")) ++(($F{legende_Abschluss_value}==null || $F{legende_Abschluss_value}=="")?"":($F{legende_Abschluss_label}+": "+$F{legende_Abschluss_value}+";")) ++(($F{legende_Fächer_value}==null || $F{legende_Fächer_value}=="")?"":($F{legende_Fächer_label}+": "+$F{legende_Fächer_value}+";")) ++(($F{legende_Vertiefung_value}==null || $F{legende_Vertiefung_value}=="")?"":($F{legende_Vertiefung_label}+": "+$F{legende_Vertiefung_value}+";")) ++(($F{legende_Status_value}==null || $F{legende_Status_value}=="")?"":($F{legende_Status_label}+": "+$F{legende_Status_value}+";")) ++(($F{legende_##line##_value}==null || $F{legende_##line##_value}=="")?"":($F{legende_##line##_label}+": "+$F{legende_##line##_value}+";")) ++(($F{legende_Fachkennz._value}==null || $F{legende_Fachkennz._value}=="")?"":($F{legende_Fachkennz._label}+": "+$F{legende_Fachkennz._value}+";")) ++(($F{legende_Hörerstatus_value}==null || $F{legende_Hörerstatus_value}=="")?"":($F{legende_Hörerstatus_label}+": "+$F{legende_Hörerstatus_value}+";")) ++(($F{legende_ab Fachsemester_value}==null || $F{legende_ab Fachsemester_value}=="")?"":($F{legende_ab Fachsemester_label}+": "+$F{legende_ab Fachsemester_value}+";")) ++(($F{legende_bis Fachsemester_value}==null || $F{legende_bis Fachsemester_value}=="")?"":($F{legende_bis Fachsemester_label}+": "+$F{legende_bis Fachsemester_value}+";")) ++(($F{legende_Filter Studierende_value}==null || $F{legende_Filter Studierende_value}=="")?"":($F{legende_Filter Studierende_label}+": "+$F{legende_Filter Studierende_value}+";")) ++(($F{legende_Trennen nach_value}==null || $F{legende_Trennen nach_value}=="")?"":($F{legende_Trennen nach_label}+": "+$F{legende_Trennen nach_value}+";")) + +"Datenstand: "+ $F{standdatum} + "; " + "Erstellt: "+ DATEFORMAT( TODAY(), "dd.MM.YYYY") + + + + Semester + + + + Gesamt- + zahl + + + + 1. FS + gesamt + + + + 1. FS + in % + + + + 1. HS gesamt + + + + 1. HS + in % + + + + + + + + dar. + Frauen + + + + Frauen + in % + + + + 1. FS + Frauen + + + + 1. FS + Frauen + in % + + + + 1. HS + Frauen + + + + 1. HS + Frauen + in % + + + + + + <band height="75"> + <textField> + <reportElement x="0" + y="0" + width="818" + height="30" + style="ReportHeadingInstitution"/> + <textFieldExpression>$F{REPORT_HEADING_INSTITUTION} + " | "+ $F{user}</textFieldExpression> + </textField> + <textField> + <reportElement style="ReportTitle" x="0" y="30" width="818" height="45"/> + <textFieldExpression>$F{Berichtsname}</textFieldExpression> + </textField> + </band> + + + + + + + $F{Semester} + + + + $F{Gesamt- zahl} + + + + $F{1. FS gesamt} + + + + $F{1. FS in %} + + + + $F{1. HS gesamt} + + + + $F{1. HS in %} + + + + $F{dar. Frauen} + + + + $F{Frauen in %} + + + + $F{1. FS Frauen} + + + + $F{1. FS Frauen in %} + + + + $F{1. HS Frauen} + + + + $F{1. HS Frauen in %} + + + + diff --git a/superx/style/sx_rpta_muster.css b/superx/style/sx_rpta_muster.css new file mode 100644 index 0000000..0c04fa7 --- /dev/null +++ b/superx/style/sx_rpta_muster.css @@ -0,0 +1,62 @@ +/*dateispezifische Basics*/ +.hero-body { margin-left: 1.5em; } /*Abstand zum Burger-Button*/ + +.title, .subtitle { /*für Seitentitel*/ + margin-left: 0.4em; + margin-top: 0%; } + +.card { /*für Cardposition, -style*/ + display: flex; + flex-flow: column; + margin-left: 0em; /*1.5em bei farbigem Hintergrund*/ + margin-top: 0em; /*-1.2em bei farbigem Hintergrund*/ + box-shadow: none; } + +/*Buttonleiste, Legende*/ +.buttonlist{ /*für resposible Buttonleiste*/ + display: flex; + flex-flow: row wrap; + justify-content: flex-start; } + +.legende { /*für Berichtslegende*/ + margin-left: 0.15em; + padding: 0.4rem 0.4rem 0.4rem 0.4rem; } /*für Padding: ob re un li*/ + +.feldname { + color: hsl(0, 0%, 29%); } + +.buttonlist img { /*für Icongröße in Buttonleiste*/ + height: 1.2rem; + width: auto; + padding: 0rem 0rem 0rem 0.1rem; } /*für Padding: ob re un li*/ + +/*Selektionsfelder-Formular*/ +.panel-tabs { /*für PanelTab-Zeile (= Funktionsfeldzeile)*/ + display: flex; + flex-flow: row nowrap; + justify-content: flex-start; + margin-left: 0%; + padding: 1rem 0rem 1rem 1rem; } /*für Padding: ob re un li*/ + + +.label-container, .button-label { /*für Responsibility der Eingabefelder*/ + display: flex; + justify-content: left; + background: inherit; + min-width: 10.0em; } + +.label { /*für Selektionsfeld-Bezeichner*/ + font-family: sans-serif; + font-weight: normal; + font-size: 2rem; + margin-left: 1.0em; + margin-top: 0.4em; } + +.control-new { /*für einheitliche Controlbreite*/ + min-width: 25.0em; } + +.button { /*für Button-Bezeichner-Ausrichtung*/ + display: flex; + justify-content: left; } + + diff --git a/superx/xml/jr_templates.xsl b/superx/xml/jr_templates.xsl new file mode 100644 index 0000000..5010c11 --- /dev/null +++ b/superx/xml/jr_templates.xsl @@ -0,0 +1,759 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +treeTable + + +listAlternatingBg + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +Import von jr_properties + + + + + + + + + + + + +treeTable + + +listAlternatingBg + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + dann die Tabellenspalten + + + + + + + + + + +tab_ + + + + + + + + + + + + ' + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +java.lang.String + + + + + + + + java.lang.Double + + + java.lang.Integer + + + java.lang.Boolean + + + java.util.Date + + + java.lang.Timestamp + + + java.lang.Time + + + + java.lang.String + + + + + + + + + + + + + + +\n + + + + + +\000 + + + + + + + + + +0 + + + + + + + + + ++ + + + + + + + + + + + + + + + + + + + + + + + + + + +12 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +tab_ + + + + + + + + + + + + + + +# + + +#,###.00;-#,###.00 + + +dd.MM.yyyy + + +dd.MM.yyyy hh:mm:ss + + +hh:mm:ss + + + + + + + + + +TableRowDetail + + + + + + + + + + + + + + + + + + + + + + + + + +"" + + + + + + + + + + + ++": "+ ++";")) + + + + + + + + + + + + + + + + + + + + +colId= + + + + + + + + + + + + + + + + + + + + + + + +1 + + + + + + + + + +1 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +0 + + +20 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <band height="75"> + + <textField> + <reportElement x="0" y="0" width="{$druckbreite}" height="30" style="ReportHeadingInstitution"/> + <textFieldExpression><![CDATA[$F{REPORT_HEADING_INSTITUTION} + " | "+ $F{user}]]></textFieldExpression> + </textField> + <textField> + <reportElement style="ReportTitle" x="0" y="30" width="{$druckbreite}" height="45" /> + <textFieldExpression><![CDATA[$F{Berichtsname}]]></textFieldExpression> + </textField> + + </band> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/superx/xml/rpta_assistent.xsl b/superx/xml/rpta_assistent.xsl new file mode 100644 index 0000000..bc0e5fe --- /dev/null +++ b/superx/xml/rpta_assistent.xsl @@ -0,0 +1,1379 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

 Laden...

+ + + + + + +
+ +page-wrap + + + + + +
+ + wrapper + + + + + + + + + + + + + customfooter +
+
+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + // für Druck ohne Menü +function printDiv(divName) { + var printContents = document.getElementById(divName).innerHTML; + w=window.open(); + w.document.write(printContents); + w.print(); + w.close(); +} + + var felder = new Array();]]> + + felder[]= new Object(); + felder[]["htmlname"]=''; + felder[]["name"]=''; + felder[]["cb_name"]=''; + + + " + + felder[]["value"]=" + + + + +"; + + + var stylesheetcontenttype = new Array(); + + stylesheetcontenttype[''] = ''; + + ]]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+
+

+ + + + + + +
+ + +
+ + + + + Nicht unterstützter Ergebnistyp + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ + + + + + +
+ + +
+
+ + + + +Template tableSingletable in file tabelle_html.xsl + + + +

+ + + + + + + + +
+ + + + + + + + + + + + + +colgroup +col + + + + + +javascript:setHeaderExpanded(' +', +,,false); +   + + + + + + + + +javascript:setHeaderExpanded(' +', +,,true); +  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +5 + + + + + + + + +true + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+
+

+ + + + + +
+
+
+
+

+

Exportassistent

+ + + + + +
+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+
+
+
+ + + + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
diff --git a/superx/xml/tabelle_jrxml_a4_quer.xsl b/superx/xml/tabelle_jrxml_a4_quer.xsl new file mode 100644 index 0000000..4331d4b --- /dev/null +++ b/superx/xml/tabelle_jrxml_a4_quer.xsl @@ -0,0 +1,63 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +