blob: 107d703feaecfae58efb4a3cfb0ba2e44674f4d3 [file] [log] [blame]
//-------------------------------------------------------------------------------------------------------
// 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 timing
//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)
}