| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673 |
- //-------------------------------------------------------------------------------------------------------
- // Copyright (C) Microsoft. All rights reserved.
- // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
- //-------------------------------------------------------------------------------------------------------
- var objParse1 = {
- "Responses": [
- [
- 1,
- {
- "OperationId": 1,
- "StatusCode": 0,
- "RawCellStorageErrorCode": 0,
- "FileId": "d=c:/ViewingData/basefile/Test doc for WAC 2.docx",
- "Cells": [
- {
- "OperationId": 1,
- "StatusCode": 0,
- "RawCellStorageErrorCode": 0,
- "RootCellId": null,
- "RevisionList": [
- {
- "BaseId": {
- "g": "00000000-0000-0000-0000-000000000000",
- "e": "0"
- },
- "Objects": [
- {
- "ClassId": 393220,
- "ObjectId": {
- "g": "a8ce83ba-2c75-4e95-8f4a-bdf8afea7955",
- "e": "1"
- },
- "Properties": [
- {
- "Key": 603986976,
- "Value": "{05f569d3-bf65-4e04-be83-df3225653c83}{1}"
- }
- ]
- },
- {
- "ClassId": 393221,
- "ObjectId": {
- "g": "05f569d3-bf65-4e04-be83-df3225653c83",
- "e": "1"
- },
- "Properties": [
- {
- "Key": 469770255,
- "Value": "d=c:/ViewingData/basefile/Test doc for WAC 2.docx"
- }
- ]
- }
- ],
- "RootObjectDescriptors": [
- {
- "ObjectId": {
- "g": "a8ce83ba-2c75-4e95-8f4a-bdf8afea7955",
- "e": "1"
- },
- "RootId": {
- "g": "4a3717f8-1c14-49e7-9526-81d942de1741",
- "e": "1"
- }
- }
- ],
- "CellId": {
- "g": "23069e19-9218-5ae4-9815-d8ceaade97df",
- "e": "1"
- },
- "ClientKnowledge": "",
- "ContextId": {
- "g": "00000000-0000-0000-0000-000000000000",
- "e": "0"
- },
- "ExpectedLatestId": {
- "g": "00000000-0000-0000-0000-000000000000",
- "e": "0"
- },
- "FileId": null,
- "Id": {
- "g": "2dad085f-a475-460a-8534-44e5719eac68",
- "e": "1"
- },
- "RelativePath": null
- }
- ],
- "FileId": null,
- "CellId": {
- "g": "23069e19-9218-5ae4-9815-d8ceaade97df",
- "e": "1"
- },
- "ContextId": null
- },
- {
- "OperationId": 1,
- "StatusCode": 0,
- "RawCellStorageErrorCode": 0,
- "RootCellId": {
- "g": "2ff06604-dc04-4a48-8927-b815a9c04bbf",
- "e": "1"
- },
- "RevisionList": [
- {
- "BaseId": {
- "g": "00000000-0000-0000-0000-000000000000",
- "e": "0"
- },
- "Objects": [
- {
- "ClassId": 393223,
- "ObjectId": {
- "g": "74d07016-6776-4d3a-90fd-b79aad352e86",
- "e": "1"
- },
- "Properties": [
- {
- "Key": 469769577,
- "Value": "Word document"
- },
- {
- "Key": 469769406,
- "Value": "Blue"
- },
- {
- "Key": 603986976,
- "Value": "{8c4d960b-b606-49fa-abb3-658fb2f3d69d}{1}"
- }
- ]
- },
- {
- "ClassId": 393224,
- "ObjectId": {
- "g": "8c4d960b-b606-49fa-abb3-658fb2f3d69d",
- "e": "1"
- },
- "Properties": [
- {
- "Key": 738205027,
- "Value": "{cacf644b-b1b6-46a9-8ae0-141b6aefe575}{1}"
- }
- ]
- }
- ],
- "RootObjectDescriptors": [
- {
- "ObjectId": {
- "g": "74d07016-6776-4d3a-90fd-b79aad352e86",
- "e": "1"
- },
- "RootId": {
- "g": "4a3717f8-1c14-49e7-9526-81d942de1741",
- "e": "1"
- }
- }
- ],
- "CellId": {
- "g": "2ff06604-dc04-4a48-8927-b815a9c04bbf",
- "e": "1"
- },
- "ClientKnowledge": "",
- "ContextId": {
- "g": "00000000-0000-0000-0000-000000000000",
- "e": "0"
- },
- "ExpectedLatestId": {
- "g": "00000000-0000-0000-0000-000000000000",
- "e": "0"
- },
- "FileId": "d=c:/ViewingData/basefile/Test doc for WAC 2.docx",
- "Id": {
- "g": "4a9f7045-dc48-4528-b0b9-85b8229a1080",
- "e": "1"
- },
- "RelativePath": null
- }
- ],
- "FileId": "d=c:/ViewingData/basefile/Test doc for WAC 2.docx",
- "CellId": {
- "g": "2ff06604-dc04-4a48-8927-b815a9c04bbf",
- "e": "1"
- },
- "ContextId": null
- },
- {
- "OperationId": 1,
- "StatusCode": 0,
- "RawCellStorageErrorCode": 0,
- "RootCellId": null,
- "RevisionList": [
- {
- "BaseId": {
- "g": "00000000-0000-0000-0000-000000000000",
- "e": "0"
- },
- "Objects": [
- {
- "ClassId": 1179649,
- "ObjectId": {
- "g": "7d7f54cf-61df-44c3-8751-860aba6d04cc",
- "e": "1"
- },
- "Properties": [
- {
- "Key": 201341986,
- "Value": "1"
- },
- {
- "Key": 469769226,
- "Value": "Calibri,"
- },
- {
- "Key": 335557680,
- "Value": "276"
- },
- {
- "Key": 201341983,
- "Value": "0"
- },
- {
- "Key": 335557679,
- "Value": "0.2777778"
- },
- {
- "Key": 469775450,
- "Value": "Normal"
- },
- {
- "Key": 201340122,
- "Value": "2"
- },
- {
- "Key": 67122396,
- "Value": null
- }
- ]
- },
- {
- "ClassId": 1179649,
- "ObjectId": {
- "g": "ea2ebcd1-9d10-4987-a169-e21eeb5f0269",
- "e": "1"
- },
- "Properties": [
- {
- "Key": 201341986,
- "Value": "1"
- },
- {
- "Key": 469769226,
- "Value": "Calibri,"
- },
- {
- "Key": 469775450,
- "Value": "Default Paragraph Font"
- },
- {
- "Key": 201340122,
- "Value": "1"
- }
- ]
- },
- {
- "ClassId": 1179649,
- "ObjectId": {
- "g": "d6781be9-d582-43d1-b15c-104ba23aa712",
- "e": "1"
- },
- "Properties": [
- {
- "Key": 134224900,
- "Value": "true"
- },
- {
- "Key": 201341986,
- "Value": "0"
- },
- {
- "Key": 469769226,
- "Value": "Cambria,"
- },
- {
- "Key": 335551500,
- "Value": "9527094"
- },
- {
- "Key": 268442635,
- "Value": "28"
- },
- {
- "Key": 335557680,
- "Value": "276"
- },
- {
- "Key": 201341983,
- "Value": "0"
- },
- {
- "Key": 335557679,
- "Value": "0"
- },
- {
- "Key": 335557678,
- "Value": "0.6666667"
- },
- {
- "Key": 469775450,
- "Value": "heading 1"
- },
- {
- "Key": 201340122,
- "Value": "2"
- },
- {
- "Key": 67122396,
- "Value": null
- },
- {
- "Key": 469775498,
- "Value": "Normal"
- }
- ]
- },
- {
- "ClassId": 1179649,
- "ObjectId": {
- "g": "5cf928b1-0f72-4bdd-870d-2236e6792e7d",
- "e": "1"
- },
- "Properties": [
- {
- "Key": 134224900,
- "Value": "true"
- },
- {
- "Key": 201341986,
- "Value": "0"
- },
- {
- "Key": 469769226,
- "Value": "Cambria,"
- },
- {
- "Key": 335551500,
- "Value": "12419407"
- },
- {
- "Key": 268442635,
- "Value": "26"
- },
- {
- "Key": 335557680,
- "Value": "276"
- },
- {
- "Key": 201341983,
- "Value": "0"
- },
- {
- "Key": 335557679,
- "Value": "0"
- },
- {
- "Key": 335557678,
- "Value": "0.2777778"
- },
- {
- "Key": 469775450,
- "Value": "heading 2"
- },
- {
- "Key": 201340122,
- "Value": "2"
- },
- {
- "Key": 67122396,
- "Value": null
- },
- {
- "Key": 469775498,
- "Value": "Normal"
- }
- ]
- },
- {
- "ClassId": 1179649,
- "ObjectId": {
- "g": "51a3930e-931d-4ebb-89a8-75265de594bc",
- "e": "1"
- },
- "Properties": [
- {
- "Key": 134224900,
- "Value": "true"
- },
- {
- "Key": 201341986,
- "Value": "0"
- },
- {
- "Key": 469769226,
- "Value": "Cambria,"
- },
- {
- "Key": 335551500,
- "Value": "12419407"
- },
- {
- "Key": 335557680,
- "Value": "276"
- },
- {
- "Key": 201341983,
- "Value": "0"
- },
- {
- "Key": 335557679,
- "Value": "0"
- },
- {
- "Key": 335557678,
- "Value": "0.2777778"
- },
- {
- "Key": 469775450,
- "Value": "heading 3"
- },
- {
- "Key": 201340122,
- "Value": "2"
- },
- {
- "Key": 67122396,
- "Value": null
- },
- {
- "Key": 469775498,
- "Value": "Normal"
- }
- ]
- },
- {
- "ClassId": 1179649,
- "ObjectId": {
- "g": "39d3328a-9e75-4e37-b49f-3cd00d7de1e8",
- "e": "1"
- },
- "Properties": [
- {
- "Key": 134224900,
- "Value": "true"
- },
- {
- "Key": 134224901,
- "Value": "true"
- },
- {
- "Key": 201341986,
- "Value": "0"
- },
- {
- "Key": 469769226,
- "Value": "Cambria,"
- },
- {
- "Key": 335551500,
- "Value": "12419407"
- },
- {
- "Key": 335557680,
- "Value": "276"
- },
- {
- "Key": 201341983,
- "Value": "0"
- },
- {
- "Key": 335557679,
- "Value": "0"
- },
- {
- "Key": 335557678,
- "Value": "0.2777778"
- },
- {
- "Key": 469775450,
- "Value": "heading 4"
- },
- {
- "Key": 201340122,
- "Value": "2"
- },
- {
- "Key": 67122396,
- "Value": null
- },
- {
- "Key": 469775498,
- "Value": "Normal"
- }
- ]
- },
- {
- "ClassId": 1179649,
- "ObjectId": {
- "g": "6285f32d-20ed-4ca6-a480-3dfeec27386d",
- "e": "1"
- },
- "Properties": [
- {
- "Key": 201341986,
- "Value": "0"
- },
- {
- "Key": 469769226,
- "Value": "Cambria,"
- },
- {
- "Key": 335551500,
- "Value": "6307620"
- },
- {
- "Key": 335557680,
- "Value": "276"
- },
- {
- "Key": 201341983,
- "Value": "0"
- },
- {
- "Key": 335557679,
- "Value": "0"
- },
- {
- "Key": 335557678,
- "Value": "0.2777778"
- },
- {
- "Key": 469775450,
- "Value": "heading 5"
- },
- {
- "Key": 201340122,
- "Value": "2"
- },
- {
- "Key": 67122396,
- "Value": null
- },
- {
- "Key": 469775498,
- "Value": "Normal"
- }
- ]
- },
- {
- "ClassId": 1179649,
- "ObjectId": {
- "g": "150f2233-ad25-4be7-9c6c-218e17cef565",
- "e": "1"
- },
- "Properties": [
- {
- "Key": 134224901,
- "Value": "true"
- },
- {
- "Key": 201341986,
- "Value": "0"
- },
- {
- "Key": 469769226,
- "Value": "Cambria,"
- },
- {
- "Key": 335551500,
- "Value": "6307620"
- },
- {
- "Key": 335557680,
- "Value": "276"
- },
- {
- "Key": 201341983,
- "Value": "0"
- },
- {
- "Key": 335557679,
- "Value": "0"
- },
- {
- "Key": 335557678,
- "Value": "0.2777778"
- },
- {
- "Key": 469775450,
- "Value": "heading 6"
- },
- {
- "Key": 201340122,
- "Value": "2"
- },
- {
- "Key": 67122396,
- "Value": null
- },
- {
- "Key": 469775498,
- "Value": "Normal"
- }
- ]
- },
- {
- "ClassId": 1179649,
- "ObjectId": {
- "g": "a3e43aff-003b-487a-b422-2ccd2d63aa84",
- "e": "1"
- },
- "Properties": [
- {
- "Key": 134224901,
- "Value": "true"
- },
- {
- "Key": 201341986,
- "Value": "0"
- },
- {
- "Key": 469769226,
- "Value": "Cambria,"
- },
- {
- "Key": 335551500,
- "Value": "4210752"
- },
- {
- "Key": 335557680,
- "Value": "276"
- },
- {
- "Key": 201341983,
- "Value": "0"
- },
- {
- "Key": 335557679,
- "Value": "0"
- },
- {
- "Key": 335557678,
- "Value": "0.2777778"
- },
- {
- "Key": 469775450,
- "Value": "heading 7"
- },
- {
- "Key": 201340122,
- "Value": "2"
- },
- {
- "Key": 67122396,
- "Value": null
- },
- {
- "Key": 469775498,
- "Value": "Normal"
- }
- ]
- },
- {
- "ClassId": 1179649,
- "ObjectId": {
- "g": "850ab990-cbdb-4af6-99d6-01f93e141a97",
- "e": "1"
- },
- "Properties": [
- {
- "Key": 201341986,
- "Value": "0"
- },
- {
- "Key": 469769226,
- "Value": "Cambria,"
- },
- {
- "Key": 335551500,
- "Value": "4210752"
- },
- {
- "Key": 268442635,
- "Value": "20"
- },
- {
- "Key": 335557680,
- "Value": "276"
- },
- {
- "Key": 201341983,
- "Value": "0"
- },
- {
- "Key": 335557679,
- "Value": "0"
- },
- {
- "Key": 335557678,
- "Value": "0.2777778"
- },
- {
- "Key": 469775450,
- "Value": "heading 8"
- },
- {
- "Key": 201340122,
- "Value": "2"
- },
- {
- "Key": 67122396,
- "Value": null
- },
- {
- "Key": 469775498,
- "Value": "Normal"
- }
- ]
- },
- {
- "ClassId": 1179649,
- "ObjectId": {
- "g": "462f8e62-c9d5-41c8-b508-025a79a5ea20",
- "e": "1"
- },
- "Properties": [
- {
- "Key": 134224901,
- "Value": "true"
- },
- {
- "Key": 201341986,
- "Value": "0"
- },
- {
- "Key": 469769226,
- "Value": "Cambria,"
- },
- {
- "Key": 335551500,
- "Value": "4210752"
- },
- {
- "Key": 268442635,
- "Value": "20"
- },
- {
- "Key": 335557680,
- "Value": "276"
- },
- {
- "Key": 201341983,
- "Value": "0"
- },
- {
- "Key": 335557679,
- "Value": "0"
- },
- {
- "Key": 335557678,
- "Value": "0.2777778"
- },
- {
- "Key": 469775450,
- "Value": "heading 9"
- },
- {
- "Key": 201340122,
- "Value": "2"
- },
- {
- "Key": 67122396,
- "Value": null
- },
- {
- "Key": 469775498,
- "Value": "Normal"
- }
- ]
- },
- {
- "ClassId": 1179649,
- "ObjectId": {
- "g": "c105deef-cd07-407b-b78c-91e8c4c405d6",
- "e": "1"
- },
- "Properties": [
- {
- "Key": 201341986,
- "Value": "0"
- },
- {
- "Key": 469769226,
- "Value": "Cambria,"
- },
- {
- "Key": 335551500,
- "Value": "6108695"
- },
- {
- "Key": 268442635,
- "Value": "52"
- },
- {
- "Key": 335557680,
- "Value": "240"
- },
- {
- "Key": 201341983,
- "Value": "0"
- },
- {
- "Key": 335557679,
- "Value": "0.4166667"
- },
- {
- "Key": 469775450,
- "Value": "Title"
- },
- {
- "Key": 201340122,
- "Value": "2"
- },
- {
- "Key": 67122396,
- "Value": null
- },
- {
- "Key": 469775498,
- "Value": "Normal"
- }
- ]
- },
- {
- "ClassId": 1179649,
- "ObjectId": {
- "g": "893a175b-ab3a-4a8e-8504-0153969c2e2c",
- "e": "1"
- },
- "Properties": [
- {
- "Key": 134224901,
- "Value": "true"
- },
- {
- "Key": 201341986,
- "Value": "0"
- },
- {
- "Key": 469769226,
- "Value": "Cambria,"
- },
- {
- "Key": 335551500,
- "Value": "12419407"
- },
- {
- "Key": 268442635,
- "Value": "24"
- },
- {
- "Key": 335557680,
- "Value": "276"
- },
- {
- "Key": 201341983,
- "Value": "0"
- },
- {
- "Key": 335557679,
- "Value": "0.2777778"
- },
- {
- "Key": 469775450,
- "Value": "Subtitle"
- },
- {
- "Key": 201340122,
- "Value": "2"
- },
- {
- "Key": 67122396,
- "Value": null
- },
- {
- "Key": 469775498,
- "Value": "Normal"
- }
- ]
- },
- {
- "ClassId": 1179649,
- "ObjectId": {
- "g": "c03d38d9-ca76-478e-a084-c9fbb31e75b9",
- "e": "1"
- },
- "Properties": [
- {
- "Key": 134224901,
- "Value": "true"
- },
- {
- "Key": 201341986,
- "Value": "1"
- },
- {
- "Key": 469769226,
- "Value": "Calibri,"
- },
- {
- "Key": 335551500,
- "Value": "8421504"
- },
- {
- "Key": 469775450,
- "Value": "Subtle Emphasis"
- },
- {
- "Key": 201340122,
- "Value": "1"
- },
- {
- "Key": 67122396,
- "Value": null
- }
- ]
- },
- {
- "ClassId": 1179649,
- "ObjectId": {
- "g": "f3394b92-5929-46c0-985e-55fc704fe992",
- "e": "1"
- },
- "Properties": [
- {
- "Key": 134224901,
- "Value": "true"
- },
- {
- "Key": 201341986,
- "Value": "1"
- },
- {
- "Key": 469769226,
- "Value": "Calibri,"
- },
- {
- "Key": 469775450,
- "Value": "Emphasis"
- },
- {
- "Key": 201340122,
- "Value": "1"
- },
- {
- "Key": 67122396,
- "Value": null
- }
- ]
- },
- {
- "ClassId": 1179649,
- "ObjectId": {
- "g": "12d4fd7f-9f1e-41f3-985c-b1d9bf03afad",
- "e": "1"
- },
- "Properties": [
- {
- "Key": 134224900,
- "Value": "true"
- },
- {
- "Key": 134224901,
- "Value": "true"
- },
- {
- "Key": 201341986,
- "Value": "1"
- },
- {
- "Key": 469769226,
- "Value": "Calibri,"
- },
- {
- "Key": 335551500,
- "Value": "12419407"
- },
- {
- "Key": 469775450,
- "Value": "Intense Emphasis"
- },
- {
- "Key": 201340122,
- "Value": "1"
- },
- {
- "Key": 67122396,
- "Value": null
- }
- ]
- },
- {
- "ClassId": 1179649,
- "ObjectId": {
- "g": "57ca36eb-ccf4-45ea-9311-8bb5c9ad5c3f",
- "e": "1"
- },
- "Properties": [
- {
- "Key": 134224900,
- "Value": "true"
- },
- {
- "Key": 201341986,
- "Value": "1"
- },
- {
- "Key": 469769226,
- "Value": "Calibri,"
- },
- {
- "Key": 469775450,
- "Value": "Strong"
- },
- {
- "Key": 201340122,
- "Value": "1"
- },
- {
- "Key": 67122396,
- "Value": null
- }
- ]
- },
- {
- "ClassId": 1179649,
- "ObjectId": {
- "g": "c993155f-d8b4-4605-9a5c-2795f3a8fb74",
- "e": "1"
- },
- "Properties": [
- {
- "Key": 134224901,
- "Value": "true"
- },
- {
- "Key": 201341986,
- "Value": "1"
- },
- {
- "Key": 469769226,
- "Value": "Calibri,"
- },
- {
- "Key": 335551500,
- "Value": "0"
- },
- {
- "Key": 335557680,
- "Value": "276"
- },
- {
- "Key": 201341983,
- "Value": "0"
- },
- {
- "Key": 335557679,
- "Value": "0.2777778"
- },
- {
- "Key": 469775450,
- "Value": "Quote"
- },
- {
- "Key": 201340122,
- "Value": "2"
- },
- {
- "Key": 67122396,
- "Value": null
- },
- {
- "Key": 469775498,
- "Value": "Normal"
- }
- ]
- },
- {
- "ClassId": 1179649,
- "ObjectId": {
- "g": "b4817cf5-4991-4d36-b121-634759f0b67a",
- "e": "1"
- },
- "Properties": [
- {
- "Key": 134224900,
- "Value": "true"
- },
- {
- "Key": 134224901,
- "Value": "true"
- },
- {
- "Key": 201341986,
- "Value": "1"
- },
- {
- "Key": 469769226,
- "Value": "Calibri,"
- },
- {
- "Key": 335551500,
- "Value": "12419407"
- },
- {
- "Key": 335559685,
- "Value": "936"
- },
- {
- "Key": 335557680,
- "Value": "276"
- },
- {
- "Key": 201341983,
- "Value": "0"
- },
- {
- "Key": 335557679,
- "Value": "0.3888889"
- },
- {
- "Key": 335557678,
- "Value": "0.2777778"
- },
- {
- "Key": 469775450,
- "Value": "Intense Quote"
- },
- {
- "Key": 201340122,
- "Value": "2"
- },
- {
- "Key": 67122396,
- "Value": null
- },
- {
- "Key": 469775498,
- "Value": "Normal"
- }
- ]
- },
- {
- "ClassId": 1179649,
- "ObjectId": {
- "g": "8ca1e26a-9876-42ca-af7c-2c27291a3948",
- "e": "1"
- },
- "Properties": [
- {
- "Key": 134224902,
- "Value": "true"
- },
- {
- "Key": 201341986,
- "Value": "1"
- },
- {
- "Key": 469769226,
- "Value": "Calibri,"
- },
- {
- "Key": 335551500,
- "Value": "5066944"
- },
- {
- "Key": 469775450,
- "Value": "Subtle Reference"
- },
- {
- "Key": 201340122,
- "Value": "1"
- },
- {
- "Key": 67122396,
- "Value": null
- }
- ]
- },
- {
- "ClassId": 1179649,
- "ObjectId": {
- "g": "152744f2-b6a9-42b0-b9a2-dbfff727414b",
- "e": "1"
- },
- "Properties": [
- {
- "Key": 134224900,
- "Value": "true"
- },
- {
- "Key": 134224902,
- "Value": "true"
- },
- {
- "Key": 201341986,
- "Value": "1"
- },
- {
- "Key": 469769226,
- "Value": "Calibri,"
- },
- {
- "Key": 335551500,
- "Value": "5066944"
- },
- {
- "Key": 469775450,
- "Value": "Intense Reference"
- },
- {
- "Key": 201340122,
- "Value": "1"
- },
- {
- "Key": 67122396,
- "Value": null
- }
- ]
- },
- {
- "ClassId": 1179649,
- "ObjectId": {
- "g": "c436dac6-a7ab-4a4e-9786-2709886cbc93",
- "e": "1"
- },
- "Properties": [
- {
- "Key": 134224900,
- "Value": "true"
- },
- {
- "Key": 201341986,
- "Value": "1"
- },
- {
- "Key": 469769226,
- "Value": "Calibri,"
- },
- {
- "Key": 469775450,
- "Value": "Book Title"
- },
- {
- "Key": 201340122,
- "Value": "1"
- },
- {
- "Key": 67122396,
- "Value": null
- }
- ]
- },
- {
- "ClassId": 1179649,
- "ObjectId": {
- "g": "9bcc1d14-f201-459c-a895-aac0b96729d8",
- "e": "1"
- },
- "Properties": [
- {
- "Key": 201341986,
- "Value": "1"
- },
- {
- "Key": 469769226,
- "Value": "Calibri,"
- },
- {
- "Key": 335559685,
- "Value": "720"
- },
- {
- "Key": 335557680,
- "Value": "276"
- },
- {
- "Key": 201341983,
- "Value": "0"
- },
- {
- "Key": 335557679,
- "Value": "0.2777778"
- },
- {
- "Key": 469775450,
- "Value": "List Paragraph"
- },
- {
- "Key": 201340122,
- "Value": "2"
- },
- {
- "Key": 67122396,
- "Value": null
- }
- ]
- },
- {
- "ClassId": 131073,
- "ObjectId": {
- "g": "b4bfac1c-fe46-4469-a1e1-93099643247c",
- "e": "1"
- },
- "Properties": [
- {
- "Key": 201341986,
- "Value": "1"
- },
- {
- "Key": 469769226,
- "Value": "Calibri,"
- },
- {
- "Key": 268442635,
- "Value": "22"
- },
- {
- "Key": 335559704,
- "Value": "1025"
- },
- {
- "Key": 335559705,
- "Value": "1033"
- },
- {
- "Key": 335551547,
- "Value": "1033"
- }
- ]
- },
- {
- "ClassId": 131073,
- "ObjectId": {
- "g": "19da9b95-e49b-45c0-8c86-7831378f1f4e",
- "e": "1"
- },
- "Properties": [
- {
- "Key": 201342987,
- "Value": "0"
- },
- {
- "Key": 335559695,
- "Value": "1430385571"
- },
- {
- "Key": 335559699,
- "Value": "0"
- }
- ]
- },
- {
- "ClassId": 393230,
- "ObjectId": {
- "g": "0367d782-d30c-4b32-bb45-c27e86f5f006",
- "e": "1"
- },
- "Properties": [
- {
- "Key": 335559695,
- "Value": "1430385571"
- },
- {
- "Key": 469769250,
- "Value": "Test doc for WAC"
- },
- {
- "Key": 469769746,
- "Value": ""
- },
- {
- "Key": 469777415,
- "Value": "1"
- },
- {
- "Key": 603987475,
- "Value": "{19da9b95-e49b-45c0-8c86-7831378f1f4e}{1}"
- },
- {
- "Key": 134231261,
- "Value": "true"
- },
- {
- "Key": 603995164,
- "Value": ""
- }
- ]
- },
- {
- "ClassId": 393229,
- "ObjectId": {
- "g": "9f867c23-518d-4183-be09-ba1e3619da4b",
- "e": "1"
- },
- "Properties": [
- {
- "Key": 603986975,
- "Value": "{0367d782-d30c-4b32-bb45-c27e86f5f006}{1}"
- }
- ]
- },
- {
- "ClassId": 393228,
- "ObjectId": {
- "g": "2467d7b7-5f5f-4947-9ef2-6e09091afe51",
- "e": "1"
- },
- "Properties": [
- {
- "Key": 603986976,
- "Value": "{9f867c23-518d-4183-be09-ba1e3619da4b}{1}"
- },
- {
- "Key": 603995142,
- "Value": ""
- },
- {
- "Key": 536886290,
- "Value": "{b4bfac1c-fe46-4469-a1e1-93099643247c}{1}"
- },
- {
- "Key": 469777425,
- "Value": ""
- }
- ]
- },
- {
- "ClassId": 393227,
- "ObjectId": {
- "g": "4215ca2b-df37-4aaa-89ed-f1646178cd20",
- "e": "1"
- },
- "Properties": [
- {
- "Key": 603986976,
- "Value": "{2467d7b7-5f5f-4947-9ef2-6e09091afe51}{1}"
- },
- {
- "Key": 603993304,
- "Value": "{7d7f54cf-61df-44c3-8751-860aba6d04cc}{1},{d6781be9-d582-43d1-b15c-104ba23aa712}{1},{5cf928b1-0f72-4bdd-870d-2236e6792e7d}{1},{51a3930e-931d-4ebb-89a8-75265de594bc}{1},{39d3328a-9e75-4e37-b49f-3cd00d7de1e8}{1},{6285f32d-20ed-4ca6-a480-3dfeec27386d}{1},{150f2233-ad25-4be7-9c6c-218e17cef565}{1},{a3e43aff-003b-487a-b422-2ccd2d63aa84}{1},{850ab990-cbdb-4af6-99d6-01f93e141a97}{1},{462f8e62-c9d5-41c8-b508-025a79a5ea20}{1},{c105deef-cd07-407b-b78c-91e8c4c405d6}{1},{893a175b-ab3a-4a8e-8504-0153969c2e2c}{1},{c03d38d9-ca76-478e-a084-c9fbb31e75b9}{1},{f3394b92-5929-46c0-985e-55fc704fe992}{1},{12d4fd7f-9f1e-41f3-985c-b1d9bf03afad}{1},{57ca36eb-ccf4-45ea-9311-8bb5c9ad5c3f}{1},{c993155f-d8b4-4605-9a5c-2795f3a8fb74}{1},{b4817cf5-4991-4d36-b121-634759f0b67a}{1},{8ca1e26a-9876-42ca-af7c-2c27291a3948}{1},{152744f2-b6a9-42b0-b9a2-dbfff727414b}{1},{c436dac6-a7ab-4a4e-9786-2709886cbc93}{1},{9bcc1d14-f201-459c-a895-aac0b96729d8}{1},{ea2ebcd1-9d10-4987-a169-e21eeb5f0269}{1}"
- },
- {
- "Key": 469777417,
- "Value": "16777215,0,14806254,8210719,12419407,5066944,5880731,10642560,13020235,4626167,15921906,8421504,12769501,15849926,15853019,14408690,14545386,15523813,15986394,14281213,14277081,5855577,9878724,14857101,14994616,12040421,12379094,14270668,15261110,11851003,12566463,4210752,5474707,13929812,14136213,9737689,10213058,13083058,14470546,9420794,10921638,2500134,2769994,6108695,9527094,3421844,3969654,8014175,10191921,683235,8355711,855309,1055260,4072463,6307620,2303074,2646350,5321023,6772768,411543"
- },
- {
- "Key": 469777422,
- "Value": "L_ColorWhite L_ColorBlack L_ColorTan L_ColorDarkBlue L_ColorBlueGray L_ColorRed L_ColorOliveGreen L_ColorGalleryStandardColor10 L_ColorAqua L_ColorOrange L_ColorWhite L_ColorGray50 L_ColorTan L_ColorLightBlue L_ColorIceBlue L_ColorRose L_ColorLightGreen L_ColorLavender L_ColorSkyBlue L_ColorLightOrange L_ColorGray25 L_ColorGray80 L_ColorTan L_ColorLightBlue L_ColorIceBlue L_ColorRose L_ColorLightGreen L_ColorLavender L_ColorSkyBlue L_ColorLightOrange L_ColorGray25 L_ColorGray80 L_ColorBrown L_ColorBlue L_ColorIceBlue L_ColorRose L_ColorLightGreen L_ColorLavender L_ColorSkyBlue L_ColorLightOrange L_ColorGray50 L_ColorGray80 L_ColorBrown L_ColorDarkBlue L_ColorDarkBlue L_ColorRed L_ColorOliveGreen L_ColorDarkPurple L_ColorAqua L_ColorOrange L_ColorGray50 L_ColorBlack L_ColorBrown L_ColorDarkBlue L_ColorBlueGray L_ColorDarkRed L_ColorDarkGreen L_ColorDarkPurple L_ColorDarkTeal L_ColorBrown "
- },
- {
- "Key": 469777440,
- "Value": "Calibri\nCambria\nTimes New Roman"
- },
- {
- "Key": 469777441,
- "Value": "Cambria\nCalibri\n\n\n\n"
- }
- ]
- },
- {
- "ClassId": 393271,
- "ObjectId": {
- "g": "ebadaff0-3c38-4601-8b7f-19b57761141e",
- "e": "1"
- },
- "Properties": [
- {
- "Key": 603986975,
- "Value": "{4215ca2b-df37-4aaa-89ed-f1646178cd20}{1}"
- }
- ]
- }
- ],
- "RootObjectDescriptors": [
- {
- "ObjectId": {
- "g": "ebadaff0-3c38-4601-8b7f-19b57761141e",
- "e": "1"
- },
- "RootId": {
- "g": "4a3717f8-1c14-49e7-9526-81d942de1741",
- "e": "1"
- }
- }
- ],
- "CellId": {
- "g": "cacf644b-b1b6-46a9-8ae0-141b6aefe575",
- "e": "1"
- },
- "ClientKnowledge": "",
- "ContextId": {
- "g": "84defab9-aaa3-4a0d-a3a8-520c77ac7073",
- "e": "1"
- },
- "ExpectedLatestId": {
- "g": "00000000-0000-0000-0000-000000000000",
- "e": "0"
- },
- "FileId": "d=c:/ViewingData/basefile/Test doc for WAC 2.docx",
- "Id": {
- "g": "5b417ca6-79b9-4d8e-80da-a212f4439bf6",
- "e": "1"
- },
- "RelativePath": null
- }
- ],
- "FileId": "d=c:/ViewingData/basefile/Test doc for WAC 2.docx",
- "CellId": {
- "g": "cacf644b-b1b6-46a9-8ae0-141b6aefe575",
- "e": "1"
- },
- "ContextId": null
- }
- ]
- }
- ]
- ]
- }
- var objParse2 = { "Responses": [[4, { "Errors": [], "Suggestions": []}]] }
- var objParse3 = { "Responses": [[4, { "Errors": [{ "Offset": 0, "Word": "agaTest", "Type": 1}], "Suggestions": [{ "Key": "agaTest", "Value": ["agates"]}]}]] }
- // objects to parse get out of stringified
- sobjParse1 = JSON.stringify(objParse1);
- write("");
- write("----First object parsed : ")
- write(sobjParse1);
- sobjParse2 = JSON.stringify(objParse2);
- write("");
- write("----Second object parsed : ")
- write(sobjParse2);
- sobjParse3 = JSON.stringify(objParse3);
- write("");
- write("----Third object parsed : ")
- write(sobjParse3);
- write("");
- write("");
- //objects to stringify
- var str1 = { "Mode": 2, "srs": [[1, { "FileId": "d=c:/ViewingData/basefile/Test doc for WAC 2.docx", "BrowserId": { "g": "62c3409f-aefd-42e1-8009-e9072dad8c65", "e": 1 }, "OperationId": 1}]] }
- var str2 = { "Mode": 2, "srs": [[4, { "Input": "t doc for WAC", "Lcid": 1033}]] }
- var str3 = { "Mode": 2, "srs": [[3, { "BrowserId": { "g": "62c3409f-aefd-42e1-8009-e9072dad8c65", "e": 1 }, "IsPersistedSave": false, "Revision": { "Id": { "g": "62c3409f-aefd-42e1-8009-e9072dad8c65", "e": 10 }, "FileId": "d=c:/ViewingData/basefile/Test doc for WAC 2.docx", "RelativePath": null, "CellId": { "g": "a939d9c0-bab4-4ad9-9609-7fc0a02c4134", "e": 1 }, "ContextId": { "g": "00000000-0000-0000-0000-000000000000", "e": 0 }, "ExpectedLatestId": { "g": "9063af89-fcd6-46aa-9738-c1b873b644c8", "e": 1 }, "ClientKnowledge": null, "BaseId": { "g": "9063af89-fcd6-46aa-9738-c1b873b644c8", "e": 1 }, "RootObjectDescriptors": [{ "ObjectId": { "g": "62c3409f-aefd-42e1-8009-e9072dad8c65", "e": 8 }, "RootId": { "g": "4a3717f8-1c14-49e7-9526-81d942de1741", "e": 4}}], "Objects": [{ "ObjectId": { "g": "af664396-2376-4994-83cb-cd2346f3326e", "e": 1 }, "Properties": [{ "Key": 335559695, "Value": "1430385571" }, { "Key": 469769250, "Value": "agaTest doc for WAC" }, { "Key": 469777415, "Value": "1" }, { "Key": 603987475, "Value": "{25e52e43-a78f-438f-8c0d-9d46126c3621}{1}" }, { "Key": 469769746, "Value": "" }, { "Key": 469777416, "Value": "1" }, { "Key": 469777418, "Value": "0" }, { "Key": 603995148, "Value": "{00000000-0000-0000-0000-000000000000}{0}" }, { "Key": 603995172, "Value": "{00000000-0000-0000-0000-000000000000}{0}"}], "ClassId": 393230 }, { "ObjectId": { "g": "62c3409f-aefd-42e1-8009-e9072dad8c65", "e": 9 }, "Properties": [{ "Key": 469769589, "Value": "cbarsan"}], "ClassId": 1179649 }, { "ObjectId": { "g": "62c3409f-aefd-42e1-8009-e9072dad8c65", "e": 8 }, "Properties": [{ "Key": 536878457, "Value": "{62c3409f-aefd-42e1-8009-e9072dad8c65}{9}" }, { "Key": 402660727, "Value": "1257235713598"}], "ClassId": 131140}] }, "ExpectedLatestId": { "g": "9063af89-fcd6-46aa-9738-c1b873b644c8", "e": 1 }, "OperationId": 1}]] }
- var str4 = { "Mode": 2, "srs": [[4, { "Input": "agaTest doc for WAC", "Lcid": 1033}]] }
- var str5 = { "Responses": [[3, { "OperationId": 1, "StatusCode": 0, "RawCellStorageErrorCode": 0, "ClientKnowledge": "", "LockSuccess": false, "IsConflict": false}]] }
- var s1 = JSON.stringify(str1);
- write("");
- write("----First stringified object and parsed back : ")
- var s1a = JSON.stringify(JSON.parse(s1));
- if (s1a != s1) {
- write("objects not equal");
- }
- write(s1a);
- var s2 = JSON.stringify(str2);
- write("");
- write("----Second stringified object and parsed back : ")
- var s2a = JSON.stringify(JSON.parse(s2));
- if (s2a != s2) {
- write("objects not equal");
- }
- write(s2a);
- var s3 = JSON.stringify(str3);
- write("");
- write("----Third stringified object and parsed back : ")
- var s3a = JSON.stringify(JSON.parse(s3));
- if (s3a != s3) {
- write("objects not equal");
- }
- write(s3a);
- var s4 = JSON.stringify(str4);
- write("");
- write("----Forth stringified object and parsed back : ")
- var s4a = JSON.stringify(JSON.parse(s4));
- if (s4a != s4) {
- write("objects not equal");
- }
- write(s4a);
- var s5 = JSON.stringify(str5);
- write("");
- write("----Fifth stringified object and parsed back : ")
- var s5a = JSON.stringify(JSON.parse(s5));
- if (s5a != s5) {
- write("objects not equal");
- }
- write(s5a);
- //uncomment this for perf timming
- //var start = new Date();
- //for (var i = 0; i < 100; i++) {
- // JSON.parse(sobjParse1);
- // JSON.parse(sobjParse2);
- // JSON.parse(sobjParse3);
- // var s1 = JSON.stringify(str1);
- // JSON.parse(s1);
- // var s2 = JSON.stringify(str2);
- // JSON.parse(s2);
- // var s3 = JSON.stringify(str3);
- // JSON.parse(s3);
- // var s4 = JSON.stringify(str4);
- // JSON.parse(s4);
- // var s5 = JSON.stringify(str5);
- // JSON.parse(s5);
- //}
- //var end = new Date();
- //write("JSON time: " + (end - start));
- //var sobj;
- //var objParsed;
- //var sobjRe;
- //sobj = JSON.stringify(objParse1, null, 4);
- //var start = new Date();
- //for (var i = 0; i < 100; i++) {
- // objParsed = JSON.parse(sobj);
- // sobjRe = JSON.stringify(objParsed);
- // if (sobj == sobjRe) {
- // write("!!!! no equal")
- // }
- //}
- //var end = new Date();
- //write("JSON time1: " + (end - start));
- function write(a) {
- if (this.WScript == undefined) {
- document.write(a);
- document.write("\n");
- }
- else
- WScript.Echo(a)
- }
|