Searched refs:get_unit (Results 1 – 3 of 3) sorted by relevance
191 if(cmd=="pageheight"){v=this.get_unit(parm)198 if(cfmt.botmargin!=undefined){v=this.get_unit(cfmt.botmargin)201 if(cfmt.topmargin!=undefined){v=this.get_unit(cfmt.topmargin)204 if(cfmt.gutter!=undefined){v=this.get_unit(cfmt.gutter)222 case"gutter":case"botmargin":case"topmargin":v=this.get_unit(parm)
2824 function get_unit(param){var v=param.toLowerCase().match(/([\d.]+)(.*)/) function2898 …case"textspace":case"titlespace":case"topspace":case"vocalspace":case"wordsspace":f=get_unit(param)2908 case"printmargin":case"leftmargin":case"pagewidth":case"rightmargin":f=get_unit(param)2954 case"staffwidth":v=get_unit(param)7951 case"maxsysstaffsep":if(parse.state==3){val=get_unit(param)8000 if(param){values=param.split(/\s+/);h1=get_unit(values[0])8001 if(values[1]){h2=get_unit(values[1])8003 len=get_unit(values[2])}8044 if(param){val=get_unit(param)8056 case"sysstaffsep":if(parse.state==3){val=get_unit(param)[all …]
8 …get_unit(e){var t=parseFloat(e);switch(e.slice(-2)){case"CM":case"cm":t*=CM;break;case"IN":case"in… function