Advertisement
Guest User

Untitled

a guest
Jan 17th, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 4.06 KB | None | 0 0
  1. Dodanie panelu filtra:
  2.  
  3. {
  4.     "actions": [{
  5.         "act": "addControl",
  6.         "parentKey": "K53",
  7.         "nodeKey": "W9503AC3EAD6E4075BF75C3EDCD95FF35",
  8.         "ctlKey": "W3195F992B5D94F9C8093BB0DBDB26939",
  9.         "isUC": false,
  10.         "unitType": -1,
  11.         "unitId": "",
  12.         "targetKeys": [],
  13.         "ctlType": 1,
  14.         "gpType": 1
  15.     },
  16.     {
  17.         "act": "format",
  18.         "unitKey": "W3195F992B5D94F9C8093BB0DBDB26939",
  19.         "unitType": 111,
  20.         "formatType": 5,
  21.         "format": {
  22.             "FormattingView": {
  23.                 "ShowTitleBar": 0
  24.             }
  25.         },
  26.         "keyContext": "1\u001eW9503AC3EAD6E4075BF75C3EDCD95FF35\u001eW3195F992B5D94F9C8093BB0DBDB26939"
  27.     },
  28.     {
  29.         "act": "format",
  30.         "unitKey": "W3195F992B5D94F9C8093BB0DBDB26939",
  31.         "unitType": 111,
  32.         "formatType": 1,
  33.         "format": {
  34.             "FormattingSelector": {
  35.                 "ItemWidthMode": 0
  36.             }
  37.         },
  38.         "keyContext": "1\u001eW9503AC3EAD6E4075BF75C3EDCD95FF35\u001eW3195F992B5D94F9C8093BB0DBDB26939"
  39.     },
  40.     {
  41.         "act": "format",
  42.         "unitKey": "W3195F992B5D94F9C8093BB0DBDB26939",
  43.         "unitType": 111,
  44.         "formatType": 1,
  45.         "format": {
  46.             "FormattingSelector": {
  47.                 "ExportAsShownOnWeb": 1
  48.             }
  49.         },
  50.         "keyContext": "1\u001eW9503AC3EAD6E4075BF75C3EDCD95FF35\u001eW3195F992B5D94F9C8093BB0DBDB26939"
  51.     },
  52.     {
  53.         "act": "format",
  54.         "unitKey": "K53",
  55.         "unitType": 9,
  56.         "formatType": 1,
  57.         "format": {
  58.             "FormattingSize": {
  59.                 "LayoutXML": {
  60.                     "t": "b",
  61.                     "o": "v",
  62.                     "children": [{
  63.                         "t": "c",
  64.                         "f": true,
  65.                         "l": 42,
  66.                         "id": "mstr1393",
  67.                         "k": "W3195F992B5D94F9C8093BB0DBDB26939",
  68.                         "h": 42,
  69.                         "w": 703
  70.                     },
  71.                     {
  72.                         "t": "c",
  73.                         "k": "K52",
  74.                         "l": 100,
  75.                         "h": 480,
  76.                         "w": 703,
  77.                         "id": "mstr1144"
  78.                     }]
  79.                 }
  80.             }
  81.         }
  82.     }]
  83. }
  84.  
  85. Dodanie atrybutu do panelu:
  86.  
  87. {
  88.     "actions": [{
  89.         "act": "setControlSource",
  90.         "keyContext": "1\u001eW9503AC3EAD6E4075BF75C3EDCD95FF35\u001eW3195F992B5D94F9C8093BB0DBDB26939",
  91.         "unitId": "19721F344D32B3821A13908DED133199",
  92.         "unitType": 12,
  93.         "removeCGB": []
  94.     },
  95.     {
  96.         "act": "format",
  97.         "unitType": 111,
  98.         "keyContext": "1\u001eW9503AC3EAD6E4075BF75C3EDCD95FF35\u001eW3195F992B5D94F9C8093BB0DBDB26939",
  99.         "formatType": 1,
  100.         "format": {
  101.             "FormattingSize": {
  102.                 "HeightMode": "0",
  103.                 "Height": "0.4375",
  104.                 "Width": "7.3229"
  105.             },
  106.             "FormattingSelector": {
  107.                 "Style": 9,
  108.                 "Orientation": 1,
  109.                 "ItemWidthMode": 1,
  110.                 "ExportAsShownOnWeb": 1
  111.             },
  112.             "FormattingAppearance": {
  113.                 "Name": "Berichtsmonat"
  114.             }
  115.         }
  116.     },
  117.     {
  118.         "act": "setControlShowAll",
  119.         "nodeKey": "W9503AC3EAD6E4075BF75C3EDCD95FF35",
  120.         "controlKey": "W3195F992B5D94F9C8093BB0DBDB26939",
  121.         "showAll": true
  122.     },
  123.     {
  124.         "act": "format",
  125.         "unitKey": "K53",
  126.         "unitType": 9,
  127.         "formatType": 1,
  128.         "format": {
  129.             "FormattingSize": {
  130.                 "LayoutXML": {
  131.                     "t": "b",
  132.                     "o": "v",
  133.                     "children": [{
  134.                         "t": "c",
  135.                         "f": true,
  136.                         "k": "W3195F992B5D94F9C8093BB0DBDB26939",
  137.                         "l": 82,
  138.                         "h": 42,
  139.                         "w": 703,
  140.                         "id": "mstr1421"
  141.                     },
  142.                     {
  143.                         "t": "c",
  144.                         "f": false,
  145.                         "k": "K52",
  146.                         "l": 100,
  147.                         "h": 480,
  148.                         "w": 703,
  149.                         "id": "mstr1144"
  150.                     }]
  151.                 }
  152.             }
  153.         }
  154.     }]
  155. }
  156.  
  157. Select Target:
  158.  
  159. {
  160.     "actions": [{
  161.         "act": "addControlTarget",
  162.         "keyContext": "1\u001eW9503AC3EAD6E4075BF75C3EDCD95FF35\u001eW3195F992B5D94F9C8093BB0DBDB26939",
  163.         "tgtKey": "K52",
  164.         "isUC": true
  165.     }]
  166. }
  167.  
  168. Set "Check boxes" display style:
  169.  
  170. {
  171.     "actions": [{
  172.         "act": "format",
  173.         "unitKey": "W3195F992B5D94F9C8093BB0DBDB26939",
  174.         "unitType": 111,
  175.         "formatType": 1,
  176.         "format": {
  177.             "FormattingSelector": {
  178.                 "Style": 4,
  179.                 "Multiselect": 1,
  180.                 "Orientation": 1
  181.             }
  182.         },
  183.         "keyContext": "1\u001eW9503AC3EAD6E4075BF75C3EDCD95FF35\u001eW3195F992B5D94F9C8093BB0DBDB26939"
  184.     }]
  185. }
  186.  
  187. Set "Vertical" display style:
  188.  
  189. {
  190.     "actions": [{
  191.         "act": "format",
  192.         "unitKey": "W3195F992B5D94F9C8093BB0DBDB26939",
  193.         "unitType": 111,
  194.         "formatType": "1",
  195.         "format": {
  196.             "FormattingSelector": {
  197.                 "OrientationBehavior": 1,
  198.                 "Orientation": 0
  199.             }
  200.         },
  201.         "keyContext": "1\u001eW9503AC3EAD6E4075BF75C3EDCD95FF35\u001eW3195F992B5D94F9C8093BB0DBDB26939"
  202.     }]
  203. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement