|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
|
|
|
<xsl:stylesheet version="1.0"
|
|
|
|
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
|
|
|
xmlns:ext1="de.memtext.util.DateUtils"
|
|
|
|
xmlns:ext2="java.util.Date"
|
|
|
|
xmlns:string="java.lang.String"
|
|
|
|
xmlns:HtmlUtils="de.superx.util.HtmlUtils">
|
|
|
|
<!--In diesem Stylesheet können Sie individuelle templates unterbringen,
|
|
|
|
die in ihrer Präzedenz das normale Stylesheet
|
|
|
|
pageComponents_html.xsl überragt. -->
|
|
|
|
|
|
|
|
<xsl:template name="exportButtons_superx" >
|
|
|
|
<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>
|
|
|
|
<table border="0"><tr><!-- <td>Export:</td> -->
|
|
|
|
<td>
|
|
|
|
<!-- druckversion übergibt maxoffset 10000000 damit alle Sätze angezeigt werden -->
|
|
|
|
<a onMouseOver="window.status='Export starten';return true" onFocus="window.status='Download jetzt starten';return true" onMouseOut="window.status='Download starten';return true"><xsl:attribute name="href"><xsl:text>javascript:prepareExport('druckversion')</xsl:text>
|
|
|
|
</xsl:attribute>
|
|
|
|
|
|
|
|
<!-- <xsl:attribute name="title"><xsl:text>Druckversion</xsl:text></xsl:attribute>
|
|
|
|
<xsl:text>Druckversion</xsl:text> -->
|
|
|
|
<img title="Ausgabe in HTML (Druckversion)" alt="Ausgabe in HTML (Druckversion)"
|
|
|
|
src="../images/icons/html.svg" border="0" />
|
|
|
|
</a>
|
|
|
|
<span class="separator"> </span>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<!-- 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 Diagramm"
|
|
|
|
src="../images/icons/chart-bar.svg" border="0" width="25px" height="25px" /><!--chart-bar.svg-->
|
|
|
|
</a>
|
|
|
|
<span class="separator"> </span>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<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:prepareExport('xml')</xsl:text>
|
|
|
|
</xsl:attribute>
|
|
|
|
|
|
|
|
<!-- <xsl:attribute name="title"><xsl:text>XML</xsl:text></xsl:attribute>
|
|
|
|
<xsl:text>XML</xsl:text> -->
|
|
|
|
|
|
|
|
<img title="Ausgabe in XML" alt="Ausgabe in XML"
|
|
|
|
src="../images/icons/page_white_code.svg" border="0" />
|
|
|
|
|
|
|
|
</a>
|
|
|
|
<span class="separator"> </span>
|
|
|
|
</td>
|
|
|
|
<!--
|
|
|
|
<td>
|
|
|
|
<a><xsl:attribute name="href"><xsl:text>javascript:document.forms[0].stylesheet.value='tabelle_text.xsl';document.forms[0].contenttype.value='text/plain';document.forms[0].target='_blank'; document.forms[0].submit();</xsl:text>
|
|
|
|
</xsl:attribute>
|
|
|
|
|
|
|
|
<xsl:attribute name="title"><xsl:text>Text</xsl:text></xsl:attribute>
|
|
|
|
<xsl:text>Text</xsl:text></a>
|
|
|
|
</td>
|
|
|
|
-->
|
|
|
|
<td>
|
|
|
|
<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:prepareExport('pdf')</xsl:text>
|
|
|
|
</xsl:attribute>
|
|
|
|
|
|
|
|
<!-- <xsl:attribute name="title"><xsl:text>PDF</xsl:text></xsl:attribute>
|
|
|
|
<xsl:text>PDF</xsl:text> -->
|
|
|
|
<img title="Ausgabe im PDF-Querformat" alt="Ausgabe im PDF-Querformat"
|
|
|
|
src="../images/icons/page_white_width_acrobat.svg" border="0" />
|
|
|
|
|
|
|
|
</a>
|
|
|
|
<span class="separator"> </span>
|
|
|
|
</td>
|
|
|
|
<!--<td>
|
|
|
|
<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:document.forms[0].stylesheet.value='tabelle_fo_rtf.xsl';document.forms[0].contenttype.value='application/rtf';document.forms[0].maxoffset.value='1000000'; document.forms[0].submit();</xsl:text>
|
|
|
|
</xsl:attribute>
|
|
|
|
|
|
|
|
<xsl:attribute name="title"><xsl:text>RTF (z.B. Word)</xsl:text></xsl:attribute>
|
|
|
|
<xsl:text>RTF</xsl:text></a>
|
|
|
|
</td>-->
|
|
|
|
<td>
|
|
|
|
<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:prepareExport('excel')</xsl:text>
|
|
|
|
</xsl:attribute>
|
|
|
|
|
|
|
|
<!-- <xsl:attribute name="title"><xsl:text>XLS (z.B. Excel)</xsl:text></xsl:attribute>
|
|
|
|
<xsl:text>XLS</xsl:text> -->
|
|
|
|
<img title="Ausgabe in Excel" alt="Ausgabe in Excel"
|
|
|
|
src="../images/icons/page_white_excel.svg" border="0" />
|
|
|
|
|
|
|
|
</a>
|
|
|
|
<span class="separator"> </span>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<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:document.forms[0].contenttype.value='text/csv';document.forms[0].reuseresult.value='true';document.forms[0].submit();</xsl:text>
|
|
|
|
</xsl:attribute>
|
|
|
|
|
|
|
|
<!-- <xsl:attribute name="title"><xsl:text>Comma Separated Values</xsl:text></xsl:attribute>
|
|
|
|
<xsl:text>CSV</xsl:text> -->
|
|
|
|
<img title="Ausgabe als CSV" alt="Ausgabe als CSV"
|
|
|
|
src="../images/icons/page_white_csv.svg" border="0" />
|
|
|
|
|
|
|
|
</a>
|
|
|
|
<span class="separator"> </span>
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<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:document.forms[0].stylesheet.value='tabelle_mediawiki.xsl';document.forms[0].contenttype.value='text/plain';document.forms[0].reuseresult.value='true';document.forms[0].submit();</xsl:text>
|
|
|
|
</xsl:attribute>
|
|
|
|
|
|
|
|
<!-- <xsl:attribute name="title"><xsl:text>Comma Separated Values</xsl:text></xsl:attribute>
|
|
|
|
<xsl:text>CSV</xsl:text> -->
|
|
|
|
<img title="Ausgabe als Mediawiki-Quellcode" alt="Ausgabe als Mediawiki-Quellcode"
|
|
|
|
src="../images/icons/file-mediawiki.svg" border="0" />
|
|
|
|
|
|
|
|
</a>
|
|
|
|
<span class="separator"> </span>
|
|
|
|
</td>
|
|
|
|
<!--
|
|
|
|
<td>
|
|
|
|
<a><xsl:attribute name="href"><xsl:text>javascript:document.forms[0].stylesheet.value='erg_itext_rtf.xsl';document.forms[0].contenttype.value='application/rtf';document.forms[0].reuseresult.value='true';document.forms[0].submit();</xsl:text>
|
|
|
|
</xsl:attribute>
|
|
|
|
|
|
|
|
<xsl:attribute name="title"><xsl:text>RTF</xsl:text></xsl:attribute>
|
|
|
|
<xsl:text>RTF</xsl:text></a>
|
|
|
|
</td>
|
|
|
|
-->
|
|
|
|
<td>
|
|
|
|
<a onMouseOver="window.status='Export starten';return true" onFocus="window.status='Download starten';return true" onMouseOut="window.status='Download starten';return true" onClick="copyText('table1');return false;" >
|
|
|
|
<xsl:attribute name="href"><xsl:text></xsl:text></xsl:attribute>
|
|
|
|
|
|
|
|
<!-- <xsl:attribute name="title"><xsl:text>Comma Separated Values</xsl:text></xsl:attribute>
|
|
|
|
<xsl:text>CSV</xsl:text> -->
|
|
|
|
<img title="Kopie in die Zwischenablage als CSV" alt="Kopie in die Zwischenablage als CSV"
|
|
|
|
src="../images/copy.svg" border="0" />
|
|
|
|
|
|
|
|
</a>
|
|
|
|
<span class="separator"> </span>
|
|
|
|
</td>
|
|
|
|
|
|
|
|
|
|
|
|
<xsl:if test="/ergebnisse/user [@admin='true']">
|
|
|
|
|
|
|
|
<xsl:variable name="url" select="concat('../edit/kern/maskeninfo_edit.jsp?tid=',/ergebnisse/ergebnis/maskenname/@id)"/>
|
|
|
|
<td>
|
|
|
|
<span class="separator"> </span>
|
|
|
|
<span class="separator"> </span>
|
|
|
|
<a class="linkLookImage">
|
|
|
|
<xsl:attribute name="href"><xsl:value-of select="HtmlUtils:encodeURL(string($url),/ergebnisse/@jsessionid)" />
|
|
|
|
</xsl:attribute>
|
|
|
|
<xsl:attribute name="onClick"><xsl:text>javascript:neu=window.open('</xsl:text><xsl:value-of select="HtmlUtils:encodeURL(string($url),/ergebnisse/@jsessionid)" />
|
|
|
|
<xsl:text>','_blank','directories=no,location=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes</xsl:text><xsl:if test="not( contains(f_name,'big'))"><xsl:text>,width=800,height=750</xsl:text></xsl:if><xsl:text>'); return false;</xsl:text></xsl:attribute>
|
|
|
|
<img title="Maskeninfo verwalten" alt="Maskeninfo verwalten"
|
|
|
|
src="../images/icons/book_open_edit.svg" border="0" />
|
|
|
|
</a>
|
|
|
|
<span class="separator"> </span>
|
|
|
|
</td>
|
|
|
|
<xsl:variable name="url" select="concat('../edit/kern/sachgeb_maske_bez_edit.jsp?maskeninfo_id=',/ergebnisse/ergebnis/maskenname/@id)"/>
|
|
|
|
<td>
|
|
|
|
<a class="linkLookImage">
|
|
|
|
<xsl:attribute name="href"><xsl:value-of select="HtmlUtils:encodeURL(string($url),/ergebnisse/@jsessionid)" />
|
|
|
|
</xsl:attribute>
|
|
|
|
<xsl:attribute name="onClick"><xsl:text>javascript:neu=window.open('</xsl:text><xsl:value-of select="HtmlUtils:encodeURL(string($url),/ergebnisse/@jsessionid)" />
|
|
|
|
<xsl:text>','_blank','directories=no,location=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes</xsl:text><xsl:if test="not( contains(f_name,'big'))"><xsl:text>,width=800,height=600</xsl:text></xsl:if><xsl:text>'); return false;</xsl:text></xsl:attribute>
|
|
|
|
<img title="Sachgebiet zuordnen" alt="Sachgebiet zuordnen"
|
|
|
|
src="../images/icons/folder_edit.svg" border="0" />
|
|
|
|
</a>
|
|
|
|
<span class="separator"> </span>
|
|
|
|
</td>
|
|
|
|
<xsl:variable name="url" select="concat('../edit/kern/maskeninfo_style.jsp?tid=',/ergebnisse/ergebnis/maskenname/@id)"/>
|
|
|
|
<td>
|
|
|
|
<a class="linkLookImage">
|
|
|
|
<xsl:attribute name="href"><xsl:value-of select="HtmlUtils:encodeURL(string($url),/ergebnisse/@jsessionid)" />
|
|
|
|
</xsl:attribute>
|
|
|
|
<xsl:attribute name="onClick"><xsl:text>javascript:neu=window.open('</xsl:text><xsl:value-of select="HtmlUtils:encodeURL(string($url),/ergebnisse/@jsessionid)" />
|
|
|
|
<xsl:text>','_blank','directories=no,location=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes</xsl:text><xsl:if test="not( contains(f_name,'big'))"><xsl:text>,width=800,height=600</xsl:text></xsl:if><xsl:text>'); return false;</xsl:text></xsl:attribute>
|
|
|
|
<img title="Stylesheets zuordnen" alt="Stylesheets zuordnen"
|
|
|
|
src="../images/icons/copy_edit.svg" border="0" />
|
|
|
|
</a>
|
|
|
|
<span class="separator"> </span>
|
|
|
|
</td>
|
|
|
|
|
|
|
|
</xsl:if>
|
|
|
|
|
|
|
|
|
|
|
|
<xsl:for-each select="/ergebnisse/stylesheets/stylesheet">
|
|
|
|
<xsl:if test="filename !='tabelle_html.xsl'
|
|
|
|
and filename !='tabelle_html_p.xsl'
|
|
|
|
and filename !='tabelle_xml.xsl'
|
|
|
|
and filename !='tabelle_fo_pdf.xsl'
|
|
|
|
and filename !='tabelle_xls.xsl'
|
|
|
|
and filename !='tabelle2jasperreport_generic.xsl'
|
|
|
|
and not(ends-with(filename,'.jrxml'))">
|
|
|
|
<td>
|
|
|
|
<span class="separator"> </span>
|
|
|
|
<a><xsl:attribute name="href">javascript:document.forms[0].stylesheet.value='<xsl:value-of select="filename" />';document.forms[0].contenttype.value='<xsl:value-of select="contenttype" />'; document.forms[0].submit();</xsl:attribute>
|
|
|
|
<xsl:attribute name="title"><xsl:value-of select="description" /></xsl:attribute>
|
|
|
|
<![CDATA[]]><xsl:value-of select="caption" /><![CDATA[]]></a>
|
|
|
|
|
|
|
|
</td>
|
|
|
|
</xsl:if>
|
|
|
|
</xsl:for-each>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- Ist nun im Template JasperExportBtn
|
|
|
|
<xsl:if test="/ergebnisse/user [ @admin='true']">
|
|
|
|
<td>
|
|
|
|
<span class="separator"> Bericht entwerfen: </span>
|
|
|
|
<select name="jr_template"><option value="tabelle2jasperreport_generic.xsl">Leerer Bericht</option>
|
|
|
|
</select>
|
|
|
|
<xsl:variable name="newTemplateImage">
|
|
|
|
<xsl:choose>
|
|
|
|
<xsl:when test="/ergebnisse/@hisinone_active='true'">
|
|
|
|
<xsl:text>../images/icons/page_add.gif</xsl:text>
|
|
|
|
</xsl:when>
|
|
|
|
<xsl:otherwise>
|
|
|
|
<xsl:text>../images/icons/page_add.gif</xsl:text>
|
|
|
|
</xsl:otherwise>
|
|
|
|
</xsl:choose>
|
|
|
|
</xsl:variable>
|
|
|
|
<a class="linkLookImage" style="margin-left:5px;"><xsl:attribute name="href">javascript:document.forms[0].stylesheet.value=document.forms[0].jr_template.value;document.forms[0].contenttype.value='text/xml'; document.forms[0].submit();</xsl:attribute>
|
|
|
|
<img title="Export als JasperReport-Template" alt="Export als JasperReport-Template" src="{$newTemplateImage}" border="0" /></a>
|
|
|
|
<span class="separator"> </span>
|
|
|
|
</td>
|
|
|
|
</xsl:if>
|
|
|
|
|
|
|
|
|
|
|
|
<xsl:if test="count(/ergebnisse/stylesheets/stylesheet[ends-with(filename,'.jrxml')])">
|
|
|
|
<td>
|
|
|
|
 Bericht ausgeben1: 
|
|
|
|
<select name="jr_stylesheet" onchange="jsDisableInput(this.value);">
|
|
|
|
<xsl:for-each select="/ergebnisse/stylesheets/stylesheet">
|
|
|
|
<xsl:if test="ends-with(filename,'.jrxml')">
|
|
|
|
<option><xsl:attribute name="value"><xsl:value-of select="filename" /></xsl:attribute><xsl:value-of select="caption" /></option>
|
|
|
|
|
|
|
|
</xsl:if>
|
|
|
|
</xsl:for-each>
|
|
|
|
</select>
|
|
|
|
<select name="jr_contenttype" onchange="">
|
|
|
|
<option value="application/pdf">PDF</option>
|
|
|
|
<option value="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet">XLS</option>
|
|
|
|
<option value="application/rtf">RTF</option>
|
|
|
|
<option value="application/vnd.oasis.opendocument.text">ODT</option>
|
|
|
|
<option value="application/vnd.oasis.opendocument.spreadsheet">ODS</option>
|
|
|
|
<option value="text/html">HTML</option>
|
|
|
|
<option value="text/xhtml">XHTML</option>
|
|
|
|
<option value="text/csv">CSV</option>
|
|
|
|
<option value="text/xml">XML</option>
|
|
|
|
<option value="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet">XLSX</option>
|
|
|
|
|
|
|
|
</select>
|
|
|
|
<input tabindex="10" type="button" value="GO">
|
|
|
|
<xsl:attribute name="onclick">
|
|
|
|
<xsl:text>
|
|
|
|
<![CDATA[document.forms[0].stylesheet.value=this.form.jr_stylesheet.options[this.form.jr_stylesheet.selectedIndex].value;document.forms[0].contenttype.value=this.form.jr_contenttype.options[this.form.jr_contenttype.selectedIndex].value; document.forms[0].submit();]]>
|
|
|
|
</xsl:text>
|
|
|
|
</xsl:attribute>
|
|
|
|
</input>
|
|
|
|
</td>
|
|
|
|
</xsl:if>
|
|
|
|
-->
|
|
|
|
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</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"
|
|
|
|
class="linkLookImage"><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="../images/icons/no_image_large_mono.svg" border="0" width="16px" height="16px" class="svg_icon"/><!--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>
|