|
|
@ -280,4 +280,204 @@ and not(ends-with(filename,'.jrxml'))"> |
|
|
|
</tr> |
|
|
|
</tr> |
|
|
|
</table> |
|
|
|
</table> |
|
|
|
</xsl:template> |
|
|
|
</xsl:template> |
|
|
|
|
|
|
|
<xsl:template name="pccustomize_hisinone"> |
|
|
|
|
|
|
|
<xsl:param name="position" /> |
|
|
|
|
|
|
|
<xsl:if test="$position='mask_post_javascript'"> |
|
|
|
|
|
|
|
<script language="javascript"> |
|
|
|
|
|
|
|
<xsl:text> |
|
|
|
|
|
|
|
function maskonload() { |
|
|
|
|
|
|
|
parent.document.title="</xsl:text> |
|
|
|
|
|
|
|
<xsl:value-of select="/maske/@name" /> |
|
|
|
|
|
|
|
<xsl:text> - HISinOne ist ein Produkt der HIS eG"; |
|
|
|
|
|
|
|
}</xsl:text> |
|
|
|
|
|
|
|
</script> |
|
|
|
|
|
|
|
</xsl:if> |
|
|
|
|
|
|
|
<xsl:if test="$position='submenu_post_javascript'"> |
|
|
|
|
|
|
|
<script language="javascript"> |
|
|
|
|
|
|
|
<xsl:text> |
|
|
|
|
|
|
|
function submenuonload() { |
|
|
|
|
|
|
|
parent.document.title="</xsl:text> |
|
|
|
|
|
|
|
<xsl:for-each select="/*/menupos/eintraege/eintrag"> |
|
|
|
|
|
|
|
<xsl:if test="position()=last()"> |
|
|
|
|
|
|
|
<xsl:value-of select="titel" /> |
|
|
|
|
|
|
|
</xsl:if> |
|
|
|
|
|
|
|
</xsl:for-each> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<xsl:text> - HISinOne ist ein Produkt der HIS eG"; |
|
|
|
|
|
|
|
}</xsl:text> |
|
|
|
|
|
|
|
</script> |
|
|
|
|
|
|
|
</xsl:if> |
|
|
|
|
|
|
|
<xsl:if test="$position='table_post_javascript'"> |
|
|
|
|
|
|
|
<script language="javascript"> |
|
|
|
|
|
|
|
function tableonload() {} |
|
|
|
|
|
|
|
</script> |
|
|
|
|
|
|
|
<script language="Javascript"> |
|
|
|
|
|
|
|
function prepareExportChart() |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
document.forms[0].stylesheet.value = 'viz_html_chart.xsl'; |
|
|
|
|
|
|
|
document.forms[0].contenttype.value = 'text/html'; |
|
|
|
|
|
|
|
document.forms[0].target = '_blank'; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
document.forms[0].offset.value='0'; |
|
|
|
|
|
|
|
document.forms[0].maxoffset.value = '1000000'; |
|
|
|
|
|
|
|
document.forms[0].reuseresult.value = 'true'; |
|
|
|
|
|
|
|
if (isTreeTable) { |
|
|
|
|
|
|
|
dojo.widget.byId("ttexdlg").show(); //ruft function exportandhidedlg auf |
|
|
|
|
|
|
|
} else { |
|
|
|
|
|
|
|
startExport(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
</script> |
|
|
|
|
|
|
|
</xsl:if> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<xsl:if test="$position='table_pre_title' and (/ergebnisse/@isMakro!='true' or @ordnr='0')"> |
|
|
|
|
|
|
|
<!--nun die Buttonleiste --> |
|
|
|
|
|
|
|
<div class="iconsTopAbove"> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a onMouseOver="window.status='Export starten';return true" |
|
|
|
|
|
|
|
onFocus="window.status='Download starten';return true" onMouseOut="window.status='Download starten';return true" |
|
|
|
|
|
|
|
class="linkLookImage"> |
|
|
|
|
|
|
|
<xsl:attribute name="href"><xsl:text>javascript:prepareExport('druckversion')</xsl:text> |
|
|
|
|
|
|
|
</xsl:attribute> |
|
|
|
|
|
|
|
<img title="Ausgabe in HTML" alt="Ausgabe in HTML" |
|
|
|
|
|
|
|
src="../xml/his1/images/icons/html.svg" class="svg_icon" border="0" /> |
|
|
|
|
|
|
|
</a> |
|
|
|
|
|
|
|
<span class="separator"> </span> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- druckversion übergibt maxoffset 10000000 damit alle Sätze angezeigt werden --> |
|
|
|
|
|
|
|
<a onMouseOver="window.status='Export starten';return true" onFocus="window.status='Download starten';return true" onMouseOut="window.status='Download starten';return true"><xsl:attribute name="href"><xsl:text>javascript:prepareExportChart()</xsl:text> |
|
|
|
|
|
|
|
</xsl:attribute> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- <xsl:attribute name="title"><xsl:text>Druckversion</xsl:text></xsl:attribute> |
|
|
|
|
|
|
|
<xsl:text>Druckversion</xsl:text> --> |
|
|
|
|
|
|
|
<input type="hidden" name="usetreetable" /> |
|
|
|
|
|
|
|
<img title="Ausgabe als Diagramm" alt="Ausgabe in Grafik" |
|
|
|
|
|
|
|
src="../xml/his1/images/icons/chart_pie.svg" border="0" width="16px" height="16px" /><!--chart-bar.svg--> |
|
|
|
|
|
|
|
</a> |
|
|
|
|
|
|
|
<span class="separator"> </span> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a onMouseOver="window.status='Export starten';return true" |
|
|
|
|
|
|
|
onFocus="window.status='Download starten';return true" onMouseOut="window.status='DowcheckTrenload starten';return true" |
|
|
|
|
|
|
|
class="linkLookImage"> |
|
|
|
|
|
|
|
<xsl:attribute name="href"><xsl:text>javascript:prepareExport('excel')</xsl:text> |
|
|
|
|
|
|
|
</xsl:attribute> |
|
|
|
|
|
|
|
<img title="Ausgabe in Excel" alt="Ausgabe in Excel" |
|
|
|
|
|
|
|
src="../xml/his1/images/icons/page_white_excel.svg" class="svg_icon" border="0" /> |
|
|
|
|
|
|
|
</a> |
|
|
|
|
|
|
|
<span class="separator"> </span> |
|
|
|
|
|
|
|
<!-- <a onMouseOver="window.status='Export starten';return true" onFocus="window.status='Download |
|
|
|
|
|
|
|
starten';return true" onMouseOut="window.status='Download starten';return |
|
|
|
|
|
|
|
true" class="linkLookImage"><xsl:attribute name="href"><xsl:text>javascript:prepareExport('xml');</xsl:text> |
|
|
|
|
|
|
|
</xsl:attribute><img title="Ausgabe in XML" alt="Ausgabe in XML" src="../xml/his1/images/icons/page_white_code.gif" |
|
|
|
|
|
|
|
border="0" /></a> <span class="separator"> </span> --> |
|
|
|
|
|
|
|
<a onMouseOver="window.status='Export starten';return true" |
|
|
|
|
|
|
|
onFocus="window.status='Download starten';return true" onMouseOut="window.status='Download starten';return true" |
|
|
|
|
|
|
|
class="linkLookImage"> |
|
|
|
|
|
|
|
<xsl:attribute name="href"><xsl:call-template |
|
|
|
|
|
|
|
name="create_url"><xsl:with-param name="stylesheet">tabelle_xml.xsl</xsl:with-param></xsl:call-template><xsl:text>&contenttype=text/xml&reuseresult=true</xsl:text> |
|
|
|
|
|
|
|
</xsl:attribute> |
|
|
|
|
|
|
|
<img title="Ausgabe in XML" alt="Ausgabe in XML" |
|
|
|
|
|
|
|
src="../xml/his1/images/icons/page_white_code.svg" class="svg_icon" border="0" /> |
|
|
|
|
|
|
|
</a> |
|
|
|
|
|
|
|
<span class="separator"> </span> |
|
|
|
|
|
|
|
<a onMouseOver="window.status='Export starten';return true" |
|
|
|
|
|
|
|
onFocus="window.status='Download starten';return true" onMouseOut="window.status='Download starten';return true" |
|
|
|
|
|
|
|
class="linkLookImage"> |
|
|
|
|
|
|
|
<xsl:attribute name="href"><xsl:text>javascript: prepareExport('pdf')</xsl:text> |
|
|
|
|
|
|
|
</xsl:attribute> |
|
|
|
|
|
|
|
<img title="Ausgabe im PDF-Querformat" alt="Ausgabe im PDF-Querformat" |
|
|
|
|
|
|
|
src="../xml/his1/images/icons/page_white_width_acrobat.svg" class="svg_icon" |
|
|
|
|
|
|
|
border="0" /> |
|
|
|
|
|
|
|
</a> |
|
|
|
|
|
|
|
<span class="separator"> </span> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!--MB neu CSV-export--> |
|
|
|
|
|
|
|
<a onMouseOver="window.status='Export starten';return true" |
|
|
|
|
|
|
|
onFocus="window.status='Download starten';return true" onMouseOut="window.status='Download starten';return true" |
|
|
|
|
|
|
|
class="linkLookImage"> |
|
|
|
|
|
|
|
<xsl:attribute name="href"><xsl:text>javascript:document.forms[0].contenttype.value='text/csv';document.forms[0].reuseresult.value='true';document.forms[0].submit();</xsl:text> |
|
|
|
|
|
|
|
</xsl:attribute> |
|
|
|
|
|
|
|
<img title="Ausgabe als CSV" alt="Ausgabe als CSV" |
|
|
|
|
|
|
|
src="../xml/his1/images/icons/page_white_csv.svg" class="svg_icon" border="0" /> |
|
|
|
|
|
|
|
</a> |
|
|
|
|
|
|
|
<span class="separator"> </span> |
|
|
|
|
|
|
|
<!-- bis hier--> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<script language="JavaScript" type="text/javascript"> |
|
|
|
|
|
|
|
function copyText() |
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
var ergtabelle=document.getElementById('table1'); |
|
|
|
|
|
|
|
const selection = window.getSelection(); |
|
|
|
|
|
|
|
const range = document.createRange(); |
|
|
|
|
|
|
|
range.selectNodeContents(ergtabelle); |
|
|
|
|
|
|
|
selection.removeAllRanges(); |
|
|
|
|
|
|
|
selection.addRange(range); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
try { |
|
|
|
|
|
|
|
document.execCommand('copy'); |
|
|
|
|
|
|
|
selection.removeAllRanges(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} catch(e) { |
|
|
|
|
|
|
|
const errorMsg = document.querySelector('.error-msg'); |
|
|
|
|
|
|
|
errorMsg.classList.add('show'); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
setTimeout(() => { |
|
|
|
|
|
|
|
errorMsg.classList.remove('show'); |
|
|
|
|
|
|
|
}, 1200); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
//alert("Angezeigte Tabelle wurde in die Zwischenablage kopiert."); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
</script> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a class="linkLookImage" href="" onClick="copyText();return false;" onMouseOver="window.status='Export starten';return true" onFocus="window.status='Download starten';return true" onMouseOut="window.status='Download starten';return true"> |
|
|
|
|
|
|
|
<img title="Kopie in die Zwischenablage als CSV" alt="Kopie in die Zwischenablage als CSV" src="../images/copy.svg" class="svg_icon" border="0" /> |
|
|
|
|
|
|
|
</a> |
|
|
|
|
|
|
|
<span class="separator"> </span> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- <span dojoType="tooltip" connectId="btnKonfig" style="display:none">Spaltensortierung- |
|
|
|
|
|
|
|
und Reihenfolge festlegen<br />, Spalten entfernen</span> --> |
|
|
|
|
|
|
|
<a title="Erläuterung" class="linkLookImage"> |
|
|
|
|
|
|
|
<xsl:attribute name="href"><xsl:value-of |
|
|
|
|
|
|
|
select="concat('javascript:showErlaeuterung',../maskenname/@id,'()')" /></xsl:attribute> |
|
|
|
|
|
|
|
<img title="Erläuterung" alt="Erläuterung" |
|
|
|
|
|
|
|
src="../xml/his1/images/icons/information.svg" class="svg_icon" border="0" /> |
|
|
|
|
|
|
|
</a> |
|
|
|
|
|
|
|
<span class="separator"> </span> |
|
|
|
|
|
|
|
<a href="/{/ergebnisse/ergebnis/maskenname/@helpcontext}" title="Hilfe" |
|
|
|
|
|
|
|
target="_blank" class="linkLookImage"> |
|
|
|
|
|
|
|
<img title="Handbuch" alt="Handbuch" src="../xml/his1/images/icons/book.svg" class="svg_icon" |
|
|
|
|
|
|
|
border="0" /> |
|
|
|
|
|
|
|
</a> |
|
|
|
|
|
|
|
<xsl:if test="/ergebnisse/@isMakro!='true'"> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<xsl:call-template name="bookmark_deepLink" /> |
|
|
|
|
|
|
|
<span class="separator"> </span> |
|
|
|
|
|
|
|
<a href="javascript:showConfig();" id="btnKonfig" class="linkLookImage"> |
|
|
|
|
|
|
|
<img title="Tabelle editieren" alt="Tabelle editieren" |
|
|
|
|
|
|
|
src="../xml/his1/images/icons/table_pencil.svg" class="svg_icon" border="0" /> |
|
|
|
|
|
|
|
</a> |
|
|
|
|
|
|
|
</xsl:if> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<xsl:call-template name="AdminMenuBtn" /> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<xsl:call-template name="JasperExportBtn" /> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<!--klappt nicht wg. Umbruch bei p.maskentitel: <xsl:text disable-output-escaping="yes"><![CDATA[<h2 |
|
|
|
|
|
|
|
class="table_caption"><img src="../xml/his1/images/icons/bullet_star.gif" |
|
|
|
|
|
|
|
alt=" " />]]></xsl:text> --> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</xsl:if> |
|
|
|
|
|
|
|
</xsl:template> |
|
|
|
</xsl:stylesheet> |
|
|
|
</xsl:stylesheet> |
|
|
|