Browse Source

Ermögliche DIN A0 Ausgabe #1

rpta_0.2_Release
Daniel Quathamer 1 month ago
parent
commit
6470556dd8
  1. 35
      superx/xml/rpta_assistent.xsl

35
superx/xml/rpta_assistent.xsl

@ -1137,6 +1137,34 @@ var platform='superx'; @@ -1137,6 +1137,34 @@ var platform='superx';
<xsl:call-template name="legende" />
<script language="JavaScript" type="text/javascript">
function setPageFormat(selectFormat)
{
var frmFieldX=document.forms[0].elements["RPTPageFormatX"];
var frmFieldY=document.forms[0].elements["RPTPageFormatY"];
switch (selectFormat.value) {
case "A4":
frmFieldX.value="842";
frmFieldY.value="595";
break;
case "A3":
frmFieldX.value="1191";
frmFieldY.value="842";
break;
case "A0":
frmFieldX.value="3370";
frmFieldY.value="2384";
break;
default:
//A4
frmFieldX.value="842";
frmFieldY.value="595";
break;
}
return true;
}
</script>
<form name="Weiterverarbeitung" method="post" target="_self" charset="UTF-8">
<xsl:attribute name="action">
<xsl:value-of select="'SuperXmlTabelle'" /></xsl:attribute>
@ -1193,9 +1221,10 @@ var platform='superx'; @@ -1193,9 +1221,10 @@ var platform='superx';
<div class="field is-active">
<p class="control-new">
<div class="select is-small is-fullwidth is-focused">
<select name="RPTPageFormat">
<select name="RPTPageFormat" onChange="setPageFormat(this);">
<option value="A4" selected="selected">DIN A 4</option>
<option value="A3">DIN A 3</option>
<option value="A3" >DIN A 3</option>
<option value="A0" >DIN A 0</option>
</select>
</div>
</p>
@ -1207,6 +1236,8 @@ var platform='superx'; @@ -1207,6 +1236,8 @@ var platform='superx';
</figure>
</span>
</div>
<input name="RPTPageFormatX" type="hidden" value="842" />
<input name="RPTPageFormatY" type="hidden" value="595" />
</div>
</li>

Loading…
Cancel
Save