Lines Matching refs:t

95 function pad0(v,d){var t=""+v; return t.length>=d?t:fill('0',d-t.length)+t;}
96 function pad_(v,d){var t=""+v;return t.length>=d?t:fill(' ',d-t.length)+t;}
97 function rpad_(v,d){var t=""+v; return t.length>=d?t:t+fill(' ',d-t.length);}
98 function pad0r1(v,d){var t=""+Math.round(v); return t.length>=d?t:fill('0',d-t.length)+t;}
99 function pad0r2(v,d){var t=""+v; return t.length>=d?t:fill('0',d-t.length)+t;}
618 out[out.length] = {t:'G', v:'General'}; i+=7; break; property in out
621 out[out.length] = {t:'t', v:o}; ++i; break; property in out
622 case '\\': var w = fmt[++i], t = (w === "(" || w === ")") ? w : 't';
623 out[out.length] = {t:t, v:w}; ++i; break; property in out
624 case '_': out[out.length] = {t:'t', v:" "}; i+=2; break; property in case
626 out[out.length] = {t:'T', v:v}; ++i; break; property in case
630 out[out.length] = {t:'X', v:fmt.substr(i,2)}; lst = c; i+=2; break; property in out
642 out[out.length] = {t:c, v:o}; lst = c; break; property in out
644 q={t:c, v:"A"}; property in case
646 …if(fmt.substr(i, 3) === "A/P") { if(dt!=null) q.v = dt.H >= 12 ? "P" : "A"; q.t = 'T'; hr='h';i+=3…
647 …else if(fmt.substr(i,5) === "AM/PM") { if(dt!=null) q.v = dt.H >= 12 ? "PM" : "AM"; q.t = 'T'; i+=…
648 else { q.t = "t"; ++i; }
649 if(dt==null && q.t === 'T') return "";
657 out[out.length] = {t:'Z', v:o.toLowerCase()}; property in out
664 out[out.length] = {t:'s', v:o}; break; property in out
669 out[out.length] = {t:'n', v:o}; break; property in out
672 q={t:c, v:o}; out[out.length] = q; lst = c; break; property in q
674 case '(': case ')': out[out.length] = {t:(flen===1?'t':c), v:c}; ++i; break; property in case
677 out[out.length] = {t:'D', v:o}; break; property in out
678 case ' ': out[out.length] = {t:c, v:c}; ++i; break; property in case
681 out[out.length] = {t:'t', v:c}; ++i; break; property in out
686 switch(out[i].t) {
687 case 'h': case 'H': out[i].t = hr; lst='h'; if(bt < 1) bt = 1; break;
692 case 'd': case 'y': case 'M': case 'e': lst=out[i].t; break;
693 case 'm': if(lst === 's') { out[i].t = 'M'; if(bt < 2) bt = 2; } break;
717 switch(out[i].t) {
721 out[i].v = write_date(out[i].t.charCodeAt(0), out[i].v, dt, ss0);
722 out[i].t = 't'; break;
726 (c=out[jj].t) === "?" || c === "D" ||
727 …(c === " " || c === "t") && out[jj+1] != null && (out[jj+1].t === '?' || out[jj+1].t === "t" && ou…
728 out[i].t === '(' && (c === ' ' || c === 'n' || c === ')') ||
729 …/' || '$€'.indexOf(out[jj].v) > -1 || out[jj].v === ' ' && out[jj+1] != null && out[jj+1].t == '?')
736 case 'G': out[i].t = 't'; out[i].v = general_fmt(v,opts); break;
749 if(out[i] == null || 'n?('.indexOf(out[i].t) === -1) continue;
753 out[i].t = 't';
761 if(out[i] == null || 'n?('.indexOf(out[i].t) === -1) continue;
768 out[i].t = 't';
774 if(out[i] == null || 'n?('.indexOf(out[i].t) === -1 && i !== decpt ) continue;
781 out[i].t = 't';
786 for(i=0; i<out.length; ++i) if(out[i] != null && 'n(?'.indexOf(out[i].t)>-1) {
788 out[i].v = write_num(out[i].t, out[i].v, myv);
789 out[i].t = 't';
1451 var t = f+"|"+g;
1452 if(mtcache[t] !== undefined) return mtcache[t];
1453 …return (mtcache[t] = new RegExp('<(?:\\w+:)?'+f+'(?: xml:space="preserve")?(?:[^>]*)>([^\u2603]*)<…
1471 res.push({v:v[2], t:v[1]});
1482 function write_w3cdtf(d, t) { try { return d.toISOString().replace(/\.\d*/,""); } catch(e) { if(t) … argument
1577 function ReadShift(size, t) { argument
1579 switch(t) {
1630 … case 2: oI = (t === 'i' ? __readInt16LE : __readUInt16LE)(this, this.l); this.l += 2; return oI;
1632 …if(t === 'i' || (this[this.l+3] & 0x80)===0) { oI = __readInt32LE(this, this.l); this.l += 4; retu…
1634 case 8: if(t === 'f') { oR = __double(this, this.l); this.l += 8; return oR; }
1641 function WriteShift(t, val, f) { argument
1646 } else switch(t) {
1731 var t = evert_RE[type], l;
1732 if(!length) length = XLSBRecordEnum[t].p || (payload||[]).length || 0;
1733 l = 1 + (t >= 0x80 ? 1 : 0) + 1 + length;
1736 if(t <= 0x7F) o.write_shift(1, t);
1738 o.write_shift(1, (t & 0x7F) + 0x80);
1739 o.write_shift(1, (t >> 7));
1779 var c = 0, i = 0, j = 0, t = 0;
1783 t = S[i]; S[i] = S[j]; S[j] = t;
1789 t = S[i]; S[i] = S[j]; S[j] = t;
1815 var z = { t: str, h: str }; property in parse_RichStr.z
1831 if(o == null) o = new_buf(5+2*str.t.length);
1833 write_XLWideString(str.t, o);
2008 0x01: { n: 'CodePage', t: VT_I2 }, property in DocSummaryPIDDSI.0x01
2009 0x02: { n: 'Category', t: VT_STRING }, property in DocSummaryPIDDSI.0x02
2010 0x03: { n: 'PresentationFormat', t: VT_STRING }, property in DocSummaryPIDDSI.0x03
2011 0x04: { n: 'ByteCount', t: VT_I4 }, property in DocSummaryPIDDSI.0x04
2012 0x05: { n: 'LineCount', t: VT_I4 }, property in DocSummaryPIDDSI.0x05
2013 0x06: { n: 'ParagraphCount', t: VT_I4 }, property in DocSummaryPIDDSI.0x06
2014 0x07: { n: 'SlideCount', t: VT_I4 }, property in DocSummaryPIDDSI.0x07
2015 0x08: { n: 'NoteCount', t: VT_I4 }, property in DocSummaryPIDDSI.0x08
2016 0x09: { n: 'HiddenCount', t: VT_I4 }, property in DocSummaryPIDDSI.0x09
2017 0x0a: { n: 'MultimediaClipCount', t: VT_I4 }, property in DocSummaryPIDDSI.0x0a
2018 0x0b: { n: 'Scale', t: VT_BOOL }, property in DocSummaryPIDDSI.0x0b
2019 0x0c: { n: 'HeadingPair', t: VT_VECTOR | VT_VARIANT }, property in DocSummaryPIDDSI.0x0c
2020 0x0d: { n: 'DocParts', t: VT_VECTOR | VT_LPSTR }, property in DocSummaryPIDDSI.0x0d
2021 0x0e: { n: 'Manager', t: VT_STRING }, property in DocSummaryPIDDSI.0x0e
2022 0x0f: { n: 'Company', t: VT_STRING }, property in DocSummaryPIDDSI.0x0f
2023 0x10: { n: 'LinksDirty', t: VT_BOOL }, property in DocSummaryPIDDSI.0x10
2024 0x11: { n: 'CharacterCount', t: VT_I4 }, property in DocSummaryPIDDSI.0x11
2025 0x13: { n: 'SharedDoc', t: VT_BOOL }, property in DocSummaryPIDDSI.0x13
2026 0x16: { n: 'HLinksChanged', t: VT_BOOL }, property in DocSummaryPIDDSI.0x16
2027 0x17: { n: 'AppVersion', t: VT_I4, p: 'version' }, property in DocSummaryPIDDSI.0x17
2028 0x1A: { n: 'ContentType', t: VT_STRING }, property in DocSummaryPIDDSI.0x1A
2029 0x1B: { n: 'ContentStatus', t: VT_STRING }, property in DocSummaryPIDDSI.0x1B
2030 0x1C: { n: 'Language', t: VT_STRING }, property in DocSummaryPIDDSI.0x1C
2031 0x1D: { n: 'Version', t: VT_STRING }, property in DocSummaryPIDDSI.0x1D
2037 0x01: { n: 'CodePage', t: VT_I2 }, property in SummaryPIDSI.0x01
2038 0x02: { n: 'Title', t: VT_STRING }, property in SummaryPIDSI.0x02
2039 0x03: { n: 'Subject', t: VT_STRING }, property in SummaryPIDSI.0x03
2040 0x04: { n: 'Author', t: VT_STRING }, property in SummaryPIDSI.0x04
2041 0x05: { n: 'Keywords', t: VT_STRING }, property in SummaryPIDSI.0x05
2042 0x06: { n: 'Comments', t: VT_STRING }, property in SummaryPIDSI.0x06
2043 0x07: { n: 'Template', t: VT_STRING }, property in SummaryPIDSI.0x07
2044 0x08: { n: 'LastAuthor', t: VT_STRING }, property in SummaryPIDSI.0x08
2045 0x09: { n: 'RevNumber', t: VT_STRING }, property in SummaryPIDSI.0x09
2046 0x0A: { n: 'EditTime', t: VT_FILETIME }, property in SummaryPIDSI.0x0A
2047 0x0B: { n: 'LastPrinted', t: VT_FILETIME }, property in SummaryPIDSI.0x0B
2048 0x0C: { n: 'CreatedDate', t: VT_FILETIME }, property in SummaryPIDSI.0x0C
2049 0x0D: { n: 'ModifiedDate', t: VT_FILETIME }, property in SummaryPIDSI.0x0D
2050 0x0E: { n: 'PageCount', t: VT_I4 }, property in SummaryPIDSI.0x0E
2051 0x0F: { n: 'WordCount', t: VT_I4 }, property in SummaryPIDSI.0x0F
2052 0x10: { n: 'CharCount', t: VT_I4 }, property in SummaryPIDSI.0x10
2053 0x11: { n: 'Thumbnail', t: VT_CF }, property in SummaryPIDSI.0x11
2054 0x12: { n: 'ApplicationName', t: VT_LPSTR }, property in SummaryPIDSI.0x12
2055 0x13: { n: 'DocumentSecurity', t: VT_I4 }, property in SummaryPIDSI.0x13
2061 0x80000000: { n: 'Locale', t: VT_UI4 }, property in SpecialProperties.0x80000000
2062 0x80000003: { n: 'Behavior', t: VT_UI4 }, property in SpecialProperties.0x80000003
2466 var f3 = function(t) { argument
2467 (ct[t]||[]).forEach(function(v) {
2470 'ContentType': type2ct[t][0]
2799 function parse_VtString(blob, t, pad) { return parse_VtStringBase(blob, t, pad === false ? 0: 4); } argument
2800 function parse_VtUnalignedString(blob, t) { if(!t) throw new Error("dafuq?"); return parse_VtString… argument
2880 var t = blob.read_shift(2), ret, opts = _opts||{};
2883 …if(t !== type && VT_CUSTOM.indexOf(type)===-1) throw new Error('Expected type ' + type + ' saw ' +…
2884 switch(type === VT_VARIANT ? t : type) {
2889 case 0x1E /*VT_LPSTR*/: return parse_lpstr(blob, t, 4).replace(chr0,'');
2894 case 0x50 /*VT_STRING*/: return parse_VtString(blob, t, !opts.raw && 4).replace(chr0,'');
2895 case 0x51 /*VT_USTR*/: return parse_VtUnalignedString(blob, t, 4).replace(chr0,'');
2898 default: throw new Error("TypedPropertyValue unrecognized type " + type + " " + t);
2930 if(i>0 && PIDSI) switch(PIDSI[Props[i-1][0]].t) {
2940 PropH[piddsi.n] = parse_TypedPropertyValue(blob, piddsi.t, {raw:true});
3068 var v = blob.read_shift(1), t = blob.read_shift(1);
3069 return t === 0x01 ? v : v === 0x01;
3102 z.t = msg;
3103 if(!fRichSt) { z.raw = "<t>" + z.t + "</t>"; z.r = z.t; }
4152 …var tregex = matchtag("t"), rpregex = matchtag("rPr"), rregex = /<r>/g, rend = /<\/r>/, nlregex = …
4320 sitag += "<t";
4322 sitag += ">" + escapexml(s.t) + "</t>";
5050 …"><a:rot lat="0" lon="0" rev="0"/></a:camera><a:lightRig rig="threePt" dir="t"><a:rot lat="0" lon=…
7352 if(!s[addr]) s[addr] = {t:"stub",v:undefined};
7393 var oldt = cell.t, oldv = cell.v;
7394 switch(cell.t) {
7401 cell.t = 'n';
7412 switch(cell.t) {
7414 case 'd': o.t = "d"; break;
7415 case 'b': o.t = "b"; break;
7416 case 'e': o.t = "e"; break;
7420 o.t = "s"; break;
7422 o.t = "str"; break;
7424 if(cell.t != oldt) { cell.t = oldt; cell.v = oldv; }
7472 p = {t:""};
7478 if(tag.t === undefined && p.v === undefined) {
7480 p.t = "stub";
7482 else p.t = tag.t || "n";
7486 switch(p.t) {
7490 p.v = sstr.t;
7495 p.t = "s";
7501 p.t = 's';
7502 if(cref !== null) { sstr = parse_si(cref[1]); p.v = sstr.t; } else p.v = "";
7506 if(!opts.cellDates) { p.v = datenum(p.v); p.t = 'n'; }
7742 p = {t:val[2]}; property in parse_ws_bin.ws_parse.case
7745 case 's': sstr = strs[val[1]]; p.v = sstr.t; p.r = sstr.r; break;
7748 case 'str': p.t = 's'; p.v = utf8read(val[1]); break;
7760 p = {t:'s',v:undefined}; property in parse_ws_bin.ws_parse.p
7782 if(!s[addr]) s[addr] = {t:'s',v:undefined};
7920 switch(cell.t) {
7928 switch(cell.t) {
7932 o.t = "s"; break;
7934 o.t = "str"; break;
7936 case 'b': o.t = "b"; break;
7937 case 'e': o.t = "e"; break;
8537 if(cell.t === 'e') { cell.w = cell.w || BErr[cell.v]; }
8539 if(cell.t === 'n') {
8574 cell.t = 'b';
8578 cell.t = 's'; cell.r = xlml_fixstr(unescapexml(xml));
8589 if(!cell.t) cell.t = 'n';
8591 case 'Error': cell.t = 'e'; cell.v = RBErr[xml]; cell.w = xml; break;
8592 default: cell.t = 's'; cell.v = xlml_fixstr(ss); break;
8609 comment.t = comment.v;
9236 if(p.t === 'e') { p.w = p.w || BErr[p.v]; }
9238 if(p.t === 'n') {
9249 function make_cell(val, ixfe, t) { argument
9250 return {v:val, ixfe:ixfe, t:t};
9283 var t;
9284 if((t = rgb2Hex(get_rgb(xfd.icvFore)))) { line.s.fgColor = {rgb:t}; }
9285 if((t = rgb2Hex(get_rgb(xfd.icvBack)))) { line.s.bgColor = {rgb:t}; }
9449 temp_val = {ixfe: val.ixfe, XF: XFs[val.ixfe], v:val.val, t:'n'}; property in parse_workbook.temp_val
9454 temp_val = {ixfe: val.ixfe, XF: XFs[val.ixfe], v:val.val, t:val.t}; property in parse_workbook.temp_val
9459 temp_val = {ixfe: val.ixfe, XF: XFs[val.ixfe], v:val.rknum, t:'n'}; property in parse_workbook.temp_val
9466 temp_val= {ixfe:ixfe, XF:XFs[ixfe], v:val.rkrec[j-val.c][1], t:'n'}; property in parse_workbook.temp_val
9476 temp_val = {v:val.val, ixfe:val.cell.ixfe, t:val.tt}; property in parse_workbook.default
9487 temp_val = {v:last_formula.val, ixfe:last_formula.cell.ixfe, t:'s'}; property in parse_workbook.temp_val
9506 temp_val=make_cell(sst[val.isst].t, val.ixfe, 's');
9553 cmnt = {a:val[1],t:noteobj.TxO.t}; property in parse_workbook.cmnt
11500 if(cell == null || cell.t == null) return "";
11549 if(val === undefined || val.t === undefined) continue;
11551 switch(val.t){
11555 default: throw 'unrecognized type ' + val.t;