Browse Source

Ermögliche DIN A0 Ausgabe #1

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

37
superx/xml/rpta_assistent.xsl

@ -1137,6 +1137,34 @@ var platform='superx';
<xsl:call-template name="legende" /> <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"> <form name="Weiterverarbeitung" method="post" target="_self" charset="UTF-8">
<xsl:attribute name="action"> <xsl:attribute name="action">
<xsl:value-of select="'SuperXmlTabelle'" /></xsl:attribute> <xsl:value-of select="'SuperXmlTabelle'" /></xsl:attribute>
@ -1193,9 +1221,10 @@ var platform='superx';
<div class="field is-active"> <div class="field is-active">
<p class="control-new"> <p class="control-new">
<div class="select is-small is-fullwidth is-focused"> <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="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> </select>
</div> </div>
</p> </p>
@ -1206,7 +1235,9 @@ var platform='superx';
<img src="../images/information_grey_liberation.svg" /> <img src="../images/information_grey_liberation.svg" />
</figure> </figure>
</span> </span>
</div> </div>
<input name="RPTPageFormatX" type="hidden" value="842" />
<input name="RPTPageFormatY" type="hidden" value="595" />
</div> </div>
</li> </li>

Loading…
Cancel
Save