diff --git a/src/__tests__/__snapshots__/indexNode.test.ts.snap b/src/__tests__/__snapshots__/indexNode.test.ts.snap index 469c2b0d..0dd9c286 100644 --- a/src/__tests__/__snapshots__/indexNode.test.ts.snap +++ b/src/__tests__/__snapshots__/indexNode.test.ts.snap @@ -23948,10 +23948,21 @@ Array [ exports[`noSandbox Template processing 112b failFast: true has the same behaviour as when failFast is undefined 1`] = `[Error: Error executing command: INS notavailable notavailable is not defined]`; -exports[`sandbox Template processing 03 Uses the resolver's response to produce the report 1`] = ` +exports[`noSandbox Template processing avoids confusion between variable name and built-in command 1`] = ` Object { "_attrs": Object { - "mc:Ignorable": "w14 w15 wp14", + "mc:Ignorable": "w14 w15 w16se w16cid wp14", + "xmlns:aink": "http://schemas.microsoft.com/office/drawing/2016/ink", + "xmlns:am3d": "http://schemas.microsoft.com/office/drawing/2017/model3d", + "xmlns:cx": "http://schemas.microsoft.com/office/drawing/2014/chartex", + "xmlns:cx1": "http://schemas.microsoft.com/office/drawing/2015/9/8/chartex", + "xmlns:cx2": "http://schemas.microsoft.com/office/drawing/2015/10/21/chartex", + "xmlns:cx3": "http://schemas.microsoft.com/office/drawing/2016/5/9/chartex", + "xmlns:cx4": "http://schemas.microsoft.com/office/drawing/2016/5/10/chartex", + "xmlns:cx5": "http://schemas.microsoft.com/office/drawing/2016/5/11/chartex", + "xmlns:cx6": "http://schemas.microsoft.com/office/drawing/2016/5/12/chartex", + "xmlns:cx7": "http://schemas.microsoft.com/office/drawing/2016/5/13/chartex", + "xmlns:cx8": "http://schemas.microsoft.com/office/drawing/2016/5/14/chartex", "xmlns:m": "http://schemas.openxmlformats.org/officeDocument/2006/math", "xmlns:mc": "http://schemas.openxmlformats.org/markup-compatibility/2006", "xmlns:o": "urn:schemas-microsoft-com:office:office", @@ -23961,6 +23972,8 @@ Object { "xmlns:w10": "urn:schemas-microsoft-com:office:word", "xmlns:w14": "http://schemas.microsoft.com/office/word/2010/wordml", "xmlns:w15": "http://schemas.microsoft.com/office/word/2012/wordml", + "xmlns:w16cid": "http://schemas.microsoft.com/office/word/2016/wordml/cid", + "xmlns:w16se": "http://schemas.microsoft.com/office/word/2015/wordml/symex", "xmlns:wne": "http://schemas.microsoft.com/office/word/2006/wordml", "xmlns:wp": "http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing", "xmlns:wp14": "http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing", @@ -23975,28 +23988,18 @@ Object { "_children": Array [ Object { "_attrs": Object { - "w14:paraId": "646BC231", - "w14:textId": "77777777", - "w:rsidP": "00502BEA", - "w:rsidR": "00CD7172", - "w:rsidRDefault": "00CD7172", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:p", - }, - Object { - "_attrs": Object { - "w14:paraId": "2C9D0E57", - "w14:textId": "3417878A", - "w:rsidP": "00502BEA", - "w:rsidR": "00AD7959", - "w:rsidRDefault": "00AD7959", + "w14:paraId": "22C0E912", + "w14:textId": "2E9180DE", + "w:rsidP": "00C742D4", + "w:rsidR": "00C742D4", + "w:rsidRDefault": "00C742D4", + "w:rsidRPr": "00C742D4", }, "_children": Array [ Object { - "_attrs": Object {}, + "_attrs": Object { + "w:rsidRPr": "00C742D4", + }, "_children": Array [ Object { "_attrs": Object { @@ -24007,7 +24010,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "foo", + "_text": "should show up 1", }, ], "_fTextNode": false, @@ -24019,23 +24022,10 @@ Object { "_parent": [Circular], "_tag": "w:r", }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:p", - }, - Object { - "_attrs": Object { - "w14:paraId": "203BE045", - "w14:textId": "05B7961F", - "w:rsidP": "00502BEA", - "w:rsidR": "00AD7959", - "w:rsidRDefault": "00AD7959", - "w:rsidRPr": "00502BEA", - }, - "_children": Array [ Object { - "_attrs": Object {}, + "_attrs": Object { + "w:rsidR": "00177C6D", + }, "_children": Array [ Object { "_attrs": Object { @@ -24046,7 +24036,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "bar", + "_text": "", }, ], "_fTextNode": false, @@ -24058,25 +24048,6 @@ Object { "_parent": [Circular], "_tag": "w:r", }, - Object { - "_attrs": Object { - "w:id": "0", - "w:name": "_GoBack", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:bookmarkStart", - }, - Object { - "_attrs": Object { - "w:id": "0", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:bookmarkEnd", - }, ], "_fTextNode": false, "_parent": [Circular], @@ -24084,149 +24055,59 @@ Object { }, Object { "_attrs": Object { - "w:rsidR": "00AD7959", - "w:rsidRPr": "00502BEA", - "w:rsidSect": "00143BCE", + "w14:paraId": "45BF5C01", + "w14:textId": "31817187", + "w:rsidP": "00C742D4", + "w:rsidR": "00F35C33", + "w:rsidRDefault": "00C742D4", + "w:rsidRPr": "00C742D4", }, "_children": Array [ Object { "_attrs": Object { - "w:h": "16840", - "w:w": "11900", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:pgSz", - }, - Object { - "_attrs": Object { - "w:bottom": "1440", - "w:footer": "708", - "w:gutter": "0", - "w:header": "708", - "w:left": "1800", - "w:right": "1800", - "w:top": "1440", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:pgMar", - }, - Object { - "_attrs": Object { - "w:space": "708", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:cols", - }, - Object { - "_attrs": Object { - "w:linePitch": "360", + "w:rsidRPr": "00C742D4", }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:docGrid", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:sectPr", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:body", - }, - ], - "_fTextNode": false, - "_tag": "w:document", -} -`; - -exports[`sandbox Template processing 04 Allows replacing the resolver by a data object 1`] = ` -Object { - "_attrs": Object { - "mc:Ignorable": "w14 w15 wp14", - "xmlns:m": "http://schemas.openxmlformats.org/officeDocument/2006/math", - "xmlns:mc": "http://schemas.openxmlformats.org/markup-compatibility/2006", - "xmlns:o": "urn:schemas-microsoft-com:office:office", - "xmlns:r": "http://schemas.openxmlformats.org/officeDocument/2006/relationships", - "xmlns:v": "urn:schemas-microsoft-com:vml", - "xmlns:w": "http://schemas.openxmlformats.org/wordprocessingml/2006/main", - "xmlns:w10": "urn:schemas-microsoft-com:office:word", - "xmlns:w14": "http://schemas.microsoft.com/office/word/2010/wordml", - "xmlns:w15": "http://schemas.microsoft.com/office/word/2012/wordml", - "xmlns:wne": "http://schemas.microsoft.com/office/word/2006/wordml", - "xmlns:wp": "http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing", - "xmlns:wp14": "http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing", - "xmlns:wpc": "http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas", - "xmlns:wpg": "http://schemas.microsoft.com/office/word/2010/wordprocessingGroup", - "xmlns:wpi": "http://schemas.microsoft.com/office/word/2010/wordprocessingInk", - "xmlns:wps": "http://schemas.microsoft.com/office/word/2010/wordprocessingShape", - }, - "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "w14:paraId": "6BCB9AD8", - "w14:textId": "6A9B5729", - "w:rsidP": "00837971", - "w:rsidR": "00837971", - "w:rsidRDefault": "00CD7172", - }, - "_children": Array [ - Object { - "_attrs": Object {}, "_children": Array [ Object { - "_attrs": Object {}, + "_attrs": Object { + "xml:space": "preserve", + }, "_children": Array [ Object { - "_attrs": Object { - "w:val": "es-ES", - }, "_children": Array [], - "_fTextNode": false, + "_fTextNode": true, "_parent": [Circular], - "_tag": "w:lang", + "_text": "should show up 2", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:rPr", + "_tag": "w:t", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:pPr", + "_tag": "w:r", }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + Object { + "_attrs": Object { + "w14:paraId": "4DED2421", + "w14:textId": "7391BE6E", + "w:rsidP": "00C742D4", + "w:rsidR": "00C742D4", + "w:rsidRDefault": "00C742D4", + }, + "_children": Array [ Object { - "_attrs": Object {}, + "_attrs": Object { + "w:rsidRPr": "00C742D4", + }, "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "w:val": "es-ES", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:lang", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:rPr", - }, Object { "_attrs": Object { "xml:space": "preserve", @@ -24236,7 +24117,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "foo", + "_text": "123", }, ], "_fTextNode": false, @@ -24255,58 +24136,79 @@ Object { }, Object { "_attrs": Object { - "w14:paraId": "05F38754", - "w14:textId": "63D48645", - "w:rsidP": "00837971", - "w:rsidR": "00CD7172", - "w:rsidRDefault": "00CD7172", + "w14:paraId": "394373DA", + "w14:textId": "6BC04FA1", + "w:rsidP": "00C742D4", + "w:rsidR": "00F13BA1", + "w:rsidRDefault": "00F13BA1", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + Object { + "_attrs": Object { + "w14:paraId": "1092F8D7", + "w14:textId": "20EC5690", + "w:rsidP": "00F13BA1", + "w:rsidR": "00F13BA1", + "w:rsidRDefault": "00F13BA1", }, "_children": Array [ Object { "_attrs": Object {}, "_children": Array [ Object { - "_attrs": Object {}, + "_attrs": Object { + "xml:space": "preserve", + }, "_children": Array [ Object { - "_attrs": Object { - "w:val": "es-ES", - }, "_children": Array [], - "_fTextNode": false, + "_fTextNode": true, "_parent": [Circular], - "_tag": "w:lang", + "_text": "FIRST", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:rPr", + "_tag": "w:t", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:pPr", + "_tag": "w:r", }, Object { - "_attrs": Object {}, + "_attrs": Object { + "w:rsidR": "0027342B", + }, "_children": Array [ Object { - "_attrs": Object {}, + "_attrs": Object { + "xml:space": "preserve", + }, "_children": Array [ Object { - "_attrs": Object { - "w:val": "es-ES", - }, "_children": Array [], - "_fTextNode": false, + "_fTextNode": true, "_parent": [Circular], - "_tag": "w:lang", + "_text": "", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:rPr", + "_tag": "w:t", }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + Object { + "_attrs": Object {}, + "_children": Array [ Object { "_attrs": Object { "xml:space": "preserve", @@ -24316,7 +24218,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "bar", + "_text": "", }, ], "_fTextNode": false, @@ -24330,26 +24232,9 @@ Object { }, Object { "_attrs": Object { - "w:rsidR": "00BA565B", + "w:rsidR": "00154EEC", }, "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "w:val": "es-ES", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:lang", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:rPr", - }, Object { "_attrs": Object { "xml:space": "preserve", @@ -24393,23 +24278,6 @@ Object { Object { "_attrs": Object {}, "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "w:val": "es-ES", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:lang", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:rPr", - }, Object { "_attrs": Object { "xml:space": "preserve", @@ -24438,38 +24306,38 @@ Object { }, Object { "_attrs": Object { - "w14:paraId": "646BC231", - "w14:textId": "77777777", - "w:rsidP": "00837971", - "w:rsidR": "00CD7172", - "w:rsidRDefault": "00CD7172", - "w:rsidRPr": "00CD7172", + "w14:paraId": "4F9B74A3", + "w14:textId": "7B02F1B1", + "w:rsidP": "00F13BA1", + "w:rsidR": "00F13BA1", + "w:rsidRDefault": "00F13BA1", }, "_children": Array [ Object { - "_attrs": Object {}, + "_attrs": Object { + "w:rsidRPr": "00C742D4", + }, "_children": Array [ Object { - "_attrs": Object {}, + "_attrs": Object { + "xml:space": "preserve", + }, "_children": Array [ Object { - "_attrs": Object { - "w:val": "es-ES", - }, "_children": Array [], - "_fTextNode": false, + "_fTextNode": true, "_parent": [Circular], - "_tag": "w:lang", + "_text": "123", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:rPr", + "_tag": "w:t", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:pPr", + "_tag": "w:r", }, ], "_fTextNode": false, @@ -24478,162 +24346,66 @@ Object { }, Object { "_attrs": Object { - "w:rsidR": "00CD7172", - "w:rsidRPr": "00CD7172", - "w:rsidSect": "00143BCE", - }, - "_children": Array [ - Object { - "_attrs": Object { - "w:h": "16840", - "w:w": "11900", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:pgSz", - }, - Object { - "_attrs": Object { - "w:bottom": "1440", - "w:footer": "708", - "w:gutter": "0", - "w:header": "708", - "w:left": "1800", - "w:right": "1800", - "w:top": "1440", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:pgMar", - }, - Object { - "_attrs": Object { - "w:space": "708", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:cols", - }, - Object { - "_attrs": Object { - "w:linePitch": "360", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:docGrid", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:sectPr", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:body", - }, - ], - "_fTextNode": false, - "_tag": "w:document", -} -`; - -exports[`sandbox Template processing 04b Allows custom left-right delimiters 1`] = ` -Object { - "_attrs": Object { - "mc:Ignorable": "w14 w15 w16se w16cid wp14", - "xmlns:aink": "http://schemas.microsoft.com/office/drawing/2016/ink", - "xmlns:am3d": "http://schemas.microsoft.com/office/drawing/2017/model3d", - "xmlns:cx": "http://schemas.microsoft.com/office/drawing/2014/chartex", - "xmlns:cx1": "http://schemas.microsoft.com/office/drawing/2015/9/8/chartex", - "xmlns:cx2": "http://schemas.microsoft.com/office/drawing/2015/10/21/chartex", - "xmlns:cx3": "http://schemas.microsoft.com/office/drawing/2016/5/9/chartex", - "xmlns:cx4": "http://schemas.microsoft.com/office/drawing/2016/5/10/chartex", - "xmlns:cx5": "http://schemas.microsoft.com/office/drawing/2016/5/11/chartex", - "xmlns:cx6": "http://schemas.microsoft.com/office/drawing/2016/5/12/chartex", - "xmlns:cx7": "http://schemas.microsoft.com/office/drawing/2016/5/13/chartex", - "xmlns:cx8": "http://schemas.microsoft.com/office/drawing/2016/5/14/chartex", - "xmlns:m": "http://schemas.openxmlformats.org/officeDocument/2006/math", - "xmlns:mc": "http://schemas.openxmlformats.org/markup-compatibility/2006", - "xmlns:o": "urn:schemas-microsoft-com:office:office", - "xmlns:r": "http://schemas.openxmlformats.org/officeDocument/2006/relationships", - "xmlns:v": "urn:schemas-microsoft-com:vml", - "xmlns:w": "http://schemas.openxmlformats.org/wordprocessingml/2006/main", - "xmlns:w10": "urn:schemas-microsoft-com:office:word", - "xmlns:w14": "http://schemas.microsoft.com/office/word/2010/wordml", - "xmlns:w15": "http://schemas.microsoft.com/office/word/2012/wordml", - "xmlns:w16cid": "http://schemas.microsoft.com/office/word/2016/wordml/cid", - "xmlns:w16se": "http://schemas.microsoft.com/office/word/2015/wordml/symex", - "xmlns:wne": "http://schemas.microsoft.com/office/word/2006/wordml", - "xmlns:wp": "http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing", - "xmlns:wp14": "http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing", - "xmlns:wpc": "http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas", - "xmlns:wpg": "http://schemas.microsoft.com/office/word/2010/wordprocessingGroup", - "xmlns:wpi": "http://schemas.microsoft.com/office/word/2010/wordprocessingInk", - "xmlns:wps": "http://schemas.microsoft.com/office/word/2010/wordprocessingShape", - }, - "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "w14:paraId": "6BCB9AD8", - "w14:textId": "60989E55", - "w:rsidP": "00837971", - "w:rsidR": "00837971", - "w:rsidRDefault": "00C92001", + "w14:paraId": "1092F8D7", + "w14:textId": "20EC5690", + "w:rsidP": "00F13BA1", + "w:rsidR": "00F13BA1", + "w:rsidRDefault": "00F13BA1", }, "_children": Array [ Object { "_attrs": Object {}, "_children": Array [ Object { - "_attrs": Object {}, + "_attrs": Object { + "xml:space": "preserve", + }, "_children": Array [ Object { - "_attrs": Object { - "w:val": "es-ES", - }, "_children": Array [], - "_fTextNode": false, + "_fTextNode": true, "_parent": [Circular], - "_tag": "w:lang", + "_text": "SECOND", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:rPr", + "_tag": "w:t", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:pPr", + "_tag": "w:r", }, Object { - "_attrs": Object {}, + "_attrs": Object { + "w:rsidR": "0027342B", + }, "_children": Array [ Object { - "_attrs": Object {}, + "_attrs": Object { + "xml:space": "preserve", + }, "_children": Array [ Object { - "_attrs": Object { - "w:val": "es-ES", - }, "_children": Array [], - "_fTextNode": false, + "_fTextNode": true, "_parent": [Circular], - "_tag": "w:lang", + "_text": "", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:rPr", + "_tag": "w:t", }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + Object { + "_attrs": Object {}, + "_children": Array [ Object { "_attrs": Object { "xml:space": "preserve", @@ -24643,7 +24415,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "foo", + "_text": "", }, ], "_fTextNode": false, @@ -24657,26 +24429,9 @@ Object { }, Object { "_attrs": Object { - "w:rsidR": "00CD7172", + "w:rsidR": "00154EEC", }, "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "w:val": "es-ES", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:lang", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:rPr", - }, Object { "_attrs": Object { "xml:space": "preserve", @@ -24699,25 +24454,27 @@ Object { "_tag": "w:r", }, Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "w:val": "es-ES", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:lang", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:rPr", - }, + "_attrs": Object { + "w:id": "0", + "w:name": "_GoBack", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:bookmarkStart", + }, + Object { + "_attrs": Object { + "w:id": "0", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:bookmarkEnd", + }, + Object { + "_attrs": Object {}, + "_children": Array [ Object { "_attrs": Object { "xml:space": "preserve", @@ -24746,58 +24503,56 @@ Object { }, Object { "_attrs": Object { - "w14:paraId": "05F38754", - "w14:textId": "2E64515A", - "w:rsidP": "00837971", - "w:rsidR": "00CD7172", - "w:rsidRDefault": "00C92001", + "w14:paraId": "4F9B74A3", + "w14:textId": "7B02F1B1", + "w:rsidP": "00F13BA1", + "w:rsidR": "00F13BA1", + "w:rsidRDefault": "00F13BA1", }, "_children": Array [ Object { - "_attrs": Object {}, + "_attrs": Object { + "w:rsidRPr": "00C742D4", + }, "_children": Array [ Object { - "_attrs": Object {}, + "_attrs": Object { + "xml:space": "preserve", + }, "_children": Array [ Object { - "_attrs": Object { - "w:val": "es-ES", - }, "_children": Array [], - "_fTextNode": false, + "_fTextNode": true, "_parent": [Circular], - "_tag": "w:lang", + "_text": "123", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:rPr", + "_tag": "w:t", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:pPr", + "_tag": "w:r", }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + Object { + "_attrs": Object { + "w14:paraId": "1092F8D7", + "w14:textId": "20EC5690", + "w:rsidP": "00F13BA1", + "w:rsidR": "00F13BA1", + "w:rsidRDefault": "00F13BA1", + }, + "_children": Array [ Object { "_attrs": Object {}, "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "w:val": "es-ES", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:lang", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:rPr", - }, Object { "_attrs": Object { "xml:space": "preserve", @@ -24807,7 +24562,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "bar", + "_text": "THIRD", }, ], "_fTextNode": false, @@ -24821,26 +24576,9 @@ Object { }, Object { "_attrs": Object { - "w:rsidR": "00CD7172", + "w:rsidR": "0027342B", }, "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "w:val": "es-ES", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:lang", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:rPr", - }, Object { "_attrs": Object { "xml:space": "preserve", @@ -24866,22 +24604,31 @@ Object { "_attrs": Object {}, "_children": Array [ Object { - "_attrs": Object {}, + "_attrs": Object { + "xml:space": "preserve", + }, "_children": Array [ Object { - "_attrs": Object { - "w:val": "es-ES", - }, "_children": Array [], - "_fTextNode": false, + "_fTextNode": true, "_parent": [Circular], - "_tag": "w:lang", + "_text": "", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:rPr", + "_tag": "w:t", }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + Object { + "_attrs": Object { + "w:rsidR": "00154EEC", + }, + "_children": Array [ Object { "_attrs": Object { "xml:space": "preserve", @@ -24922,6 +24669,30 @@ Object { "_parent": [Circular], "_tag": "w:bookmarkEnd", }, + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, ], "_fTextNode": false, "_parent": [Circular], @@ -24929,38 +24700,38 @@ Object { }, Object { "_attrs": Object { - "w14:paraId": "646BC231", - "w14:textId": "77777777", - "w:rsidP": "00837971", - "w:rsidR": "00CD7172", - "w:rsidRDefault": "00CD7172", - "w:rsidRPr": "00CD7172", + "w14:paraId": "4F9B74A3", + "w14:textId": "7B02F1B1", + "w:rsidP": "00F13BA1", + "w:rsidR": "00F13BA1", + "w:rsidRDefault": "00F13BA1", }, "_children": Array [ Object { - "_attrs": Object {}, + "_attrs": Object { + "w:rsidRPr": "00C742D4", + }, "_children": Array [ Object { - "_attrs": Object {}, + "_attrs": Object { + "xml:space": "preserve", + }, "_children": Array [ Object { - "_attrs": Object { - "w:val": "es-ES", - }, "_children": Array [], - "_fTextNode": false, + "_fTextNode": true, "_parent": [Circular], - "_tag": "w:lang", + "_text": "123", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:rPr", + "_tag": "w:t", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:pPr", + "_tag": "w:r", }, ], "_fTextNode": false, @@ -24969,9 +24740,23 @@ Object { }, Object { "_attrs": Object { - "w:rsidR": "00CD7172", - "w:rsidRPr": "00CD7172", - "w:rsidSect": "00143BCE", + "w14:paraId": "4BBBC0BC", + "w14:textId": "77777777", + "w:rsidP": "00C742D4", + "w:rsidR": "00F13BA1", + "w:rsidRDefault": "00F13BA1", + "w:rsidRPr": "00C742D4", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + Object { + "_attrs": Object { + "w:rsidR": "00F13BA1", + "w:rsidRPr": "00C742D4", + "w:rsidSect": "0019199C", }, "_children": Array [ Object { @@ -24990,8 +24775,8 @@ Object { "w:footer": "708", "w:gutter": "0", "w:header": "708", - "w:left": "1800", - "w:right": "1800", + "w:left": "1440", + "w:right": "1440", "w:top": "1440", }, "_children": Array [], @@ -25033,7 +24818,7 @@ Object { } `; -exports[`sandbox Template processing 05 Processes 1-level FOR loops 1`] = ` +exports[`sandbox Template processing 03 Uses the resolver's response to produce the report 1`] = ` Object { "_attrs": Object { "mc:Ignorable": "w14 w15 wp14", @@ -25060,9 +24845,24 @@ Object { "_children": Array [ Object { "_attrs": Object { - "w:rsidP": "00BE3B8D", - "w:rsidR": "00BE3B8D", - "w:rsidRDefault": "00BE3B8D", + "w14:paraId": "646BC231", + "w14:textId": "77777777", + "w:rsidP": "00502BEA", + "w:rsidR": "00CD7172", + "w:rsidRDefault": "00CD7172", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + Object { + "_attrs": Object { + "w14:paraId": "2C9D0E57", + "w14:textId": "3417878A", + "w:rsidP": "00502BEA", + "w:rsidR": "00AD7959", + "w:rsidRDefault": "00AD7959", }, "_children": Array [ Object { @@ -25077,7 +24877,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "FIRST", + "_text": "foo", }, ], "_fTextNode": false, @@ -25089,10 +24889,23 @@ Object { "_parent": [Circular], "_tag": "w:r", }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + Object { + "_attrs": Object { + "w14:paraId": "203BE045", + "w14:textId": "05B7961F", + "w:rsidP": "00502BEA", + "w:rsidR": "00AD7959", + "w:rsidRDefault": "00AD7959", + "w:rsidRPr": "00502BEA", + }, + "_children": Array [ Object { - "_attrs": Object { - "w:rsidR": "00160A38", - }, + "_attrs": Object {}, "_children": Array [ Object { "_attrs": Object { @@ -25103,7 +24916,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "", + "_text": "bar", }, ], "_fTextNode": false, @@ -25134,30 +24947,6 @@ Object { "_parent": [Circular], "_tag": "w:bookmarkEnd", }, - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, ], "_fTextNode": false, "_parent": [Circular], @@ -25165,83 +24954,149 @@ Object { }, Object { "_attrs": Object { - "w:rsidP": "00BE3B8D", - "w:rsidR": "00BE3B8D", - "w:rsidRDefault": "00BE3B8D", + "w:rsidR": "00AD7959", + "w:rsidRPr": "00502BEA", + "w:rsidSect": "00143BCE", }, "_children": Array [ Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "SECOND", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - ], + "_attrs": Object { + "w:h": "16840", + "w:w": "11900", + }, + "_children": Array [], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:r", + "_tag": "w:pgSz", }, Object { "_attrs": Object { - "w:rsidR": "00160A38", + "w:bottom": "1440", + "w:footer": "708", + "w:gutter": "0", + "w:header": "708", + "w:left": "1800", + "w:right": "1800", + "w:top": "1440", }, - "_children": Array [ - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - ], + "_children": Array [], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:r", + "_tag": "w:pgMar", }, Object { "_attrs": Object { - "w:id": "0", - "w:name": "_GoBack", + "w:space": "708", }, "_children": Array [], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:bookmarkStart", + "_tag": "w:cols", }, Object { "_attrs": Object { - "w:id": "0", + "w:linePitch": "360", }, "_children": Array [], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:bookmarkEnd", + "_tag": "w:docGrid", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:sectPr", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:body", + }, + ], + "_fTextNode": false, + "_tag": "w:document", +} +`; + +exports[`sandbox Template processing 04 Allows replacing the resolver by a data object 1`] = ` +Object { + "_attrs": Object { + "mc:Ignorable": "w14 w15 wp14", + "xmlns:m": "http://schemas.openxmlformats.org/officeDocument/2006/math", + "xmlns:mc": "http://schemas.openxmlformats.org/markup-compatibility/2006", + "xmlns:o": "urn:schemas-microsoft-com:office:office", + "xmlns:r": "http://schemas.openxmlformats.org/officeDocument/2006/relationships", + "xmlns:v": "urn:schemas-microsoft-com:vml", + "xmlns:w": "http://schemas.openxmlformats.org/wordprocessingml/2006/main", + "xmlns:w10": "urn:schemas-microsoft-com:office:word", + "xmlns:w14": "http://schemas.microsoft.com/office/word/2010/wordml", + "xmlns:w15": "http://schemas.microsoft.com/office/word/2012/wordml", + "xmlns:wne": "http://schemas.microsoft.com/office/word/2006/wordml", + "xmlns:wp": "http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing", + "xmlns:wp14": "http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing", + "xmlns:wpc": "http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas", + "xmlns:wpg": "http://schemas.microsoft.com/office/word/2010/wordprocessingGroup", + "xmlns:wpi": "http://schemas.microsoft.com/office/word/2010/wordprocessingInk", + "xmlns:wps": "http://schemas.microsoft.com/office/word/2010/wordprocessingShape", + }, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "w14:paraId": "6BCB9AD8", + "w14:textId": "6A9B5729", + "w:rsidP": "00837971", + "w:rsidR": "00837971", + "w:rsidRDefault": "00CD7172", + }, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "w:val": "es-ES", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:lang", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:rPr", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:pPr", }, Object { "_attrs": Object {}, "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "w:val": "es-ES", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:lang", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:rPr", + }, Object { "_attrs": Object { "xml:space": "preserve", @@ -25251,7 +25106,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "", + "_text": "foo", }, ], "_fTextNode": false, @@ -25270,14 +25125,58 @@ Object { }, Object { "_attrs": Object { - "w:rsidP": "00BE3B8D", - "w:rsidR": "00BE3B8D", - "w:rsidRDefault": "00BE3B8D", + "w14:paraId": "05F38754", + "w14:textId": "63D48645", + "w:rsidP": "00837971", + "w:rsidR": "00CD7172", + "w:rsidRDefault": "00CD7172", }, "_children": Array [ Object { "_attrs": Object {}, "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "w:val": "es-ES", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:lang", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:rPr", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:pPr", + }, + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "w:val": "es-ES", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:lang", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:rPr", + }, Object { "_attrs": Object { "xml:space": "preserve", @@ -25287,7 +25186,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "THIRD", + "_text": "bar", }, ], "_fTextNode": false, @@ -25301,9 +25200,26 @@ Object { }, Object { "_attrs": Object { - "w:rsidR": "00160A38", + "w:rsidR": "00BA565B", }, "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "w:val": "es-ES", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:lang", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:rPr", + }, Object { "_attrs": Object { "xml:space": "preserve", @@ -25347,6 +25263,23 @@ Object { Object { "_attrs": Object {}, "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "w:val": "es-ES", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:lang", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:rPr", + }, Object { "_attrs": Object { "xml:space": "preserve", @@ -25375,23 +25308,55 @@ Object { }, Object { "_attrs": Object { - "w:rsidR": "00426180", - "w:rsidRDefault": "00426180", + "w14:paraId": "646BC231", + "w14:textId": "77777777", + "w:rsidP": "00837971", + "w:rsidR": "00CD7172", + "w:rsidRDefault": "00CD7172", + "w:rsidRPr": "00CD7172", }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:p", + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "w:val": "es-ES", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:lang", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:rPr", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:pPr", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", }, Object { "_attrs": Object { - "w:rsidR": "00426180", + "w:rsidR": "00CD7172", + "w:rsidRPr": "00CD7172", + "w:rsidSect": "00143BCE", }, "_children": Array [ Object { "_attrs": Object { - "w:h": "15840", - "w:w": "12240", + "w:h": "16840", + "w:w": "11900", }, "_children": Array [], "_fTextNode": false, @@ -25400,13 +25365,13 @@ Object { }, Object { "_attrs": Object { - "w:bottom": "1417", + "w:bottom": "1440", "w:footer": "708", "w:gutter": "0", "w:header": "708", - "w:left": "1701", - "w:right": "1701", - "w:top": "1417", + "w:left": "1800", + "w:right": "1800", + "w:top": "1440", }, "_children": Array [], "_fTextNode": false, @@ -25447,10 +25412,21 @@ Object { } `; -exports[`sandbox Template processing 06 Processes 2-level FOR loops 1`] = ` +exports[`sandbox Template processing 04b Allows custom left-right delimiters 1`] = ` Object { "_attrs": Object { - "mc:Ignorable": "w14 w15 wp14", + "mc:Ignorable": "w14 w15 w16se w16cid wp14", + "xmlns:aink": "http://schemas.microsoft.com/office/drawing/2016/ink", + "xmlns:am3d": "http://schemas.microsoft.com/office/drawing/2017/model3d", + "xmlns:cx": "http://schemas.microsoft.com/office/drawing/2014/chartex", + "xmlns:cx1": "http://schemas.microsoft.com/office/drawing/2015/9/8/chartex", + "xmlns:cx2": "http://schemas.microsoft.com/office/drawing/2015/10/21/chartex", + "xmlns:cx3": "http://schemas.microsoft.com/office/drawing/2016/5/9/chartex", + "xmlns:cx4": "http://schemas.microsoft.com/office/drawing/2016/5/10/chartex", + "xmlns:cx5": "http://schemas.microsoft.com/office/drawing/2016/5/11/chartex", + "xmlns:cx6": "http://schemas.microsoft.com/office/drawing/2016/5/12/chartex", + "xmlns:cx7": "http://schemas.microsoft.com/office/drawing/2016/5/13/chartex", + "xmlns:cx8": "http://schemas.microsoft.com/office/drawing/2016/5/14/chartex", "xmlns:m": "http://schemas.openxmlformats.org/officeDocument/2006/math", "xmlns:mc": "http://schemas.openxmlformats.org/markup-compatibility/2006", "xmlns:o": "urn:schemas-microsoft-com:office:office", @@ -25460,6 +25436,8 @@ Object { "xmlns:w10": "urn:schemas-microsoft-com:office:word", "xmlns:w14": "http://schemas.microsoft.com/office/word/2010/wordml", "xmlns:w15": "http://schemas.microsoft.com/office/word/2012/wordml", + "xmlns:w16cid": "http://schemas.microsoft.com/office/word/2016/wordml/cid", + "xmlns:w16se": "http://schemas.microsoft.com/office/word/2015/wordml/symex", "xmlns:wne": "http://schemas.microsoft.com/office/word/2006/wordml", "xmlns:wp": "http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing", "xmlns:wp14": "http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing", @@ -25474,9 +25452,11 @@ Object { "_children": Array [ Object { "_attrs": Object { - "w:rsidP": "00BE3B8D", - "w:rsidR": "00BE3B8D", - "w:rsidRDefault": "00BE3B8D", + "w14:paraId": "6BCB9AD8", + "w14:textId": "60989E55", + "w:rsidP": "00837971", + "w:rsidR": "00837971", + "w:rsidRDefault": "00C92001", }, "_children": Array [ Object { @@ -25486,11 +25466,13 @@ Object { "_attrs": Object {}, "_children": Array [ Object { - "_attrs": Object {}, + "_attrs": Object { + "w:val": "es-ES", + }, "_children": Array [], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:b", + "_tag": "w:lang", }, ], "_fTextNode": false, @@ -25503,19 +25485,19 @@ Object { "_tag": "w:pPr", }, Object { - "_attrs": Object { - "w:rsidRPr": "0023653F", - }, + "_attrs": Object {}, "_children": Array [ Object { "_attrs": Object {}, "_children": Array [ Object { - "_attrs": Object {}, + "_attrs": Object { + "w:val": "es-ES", + }, "_children": Array [], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:b", + "_tag": "w:lang", }, ], "_fTextNode": false, @@ -25531,7 +25513,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "FIRST", + "_text": "foo", }, ], "_fTextNode": false, @@ -25545,19 +25527,20 @@ Object { }, Object { "_attrs": Object { - "w:rsidR": "00160A38", - "w:rsidRPr": "0023653F", + "w:rsidR": "00CD7172", }, "_children": Array [ Object { "_attrs": Object {}, "_children": Array [ Object { - "_attrs": Object {}, + "_attrs": Object { + "w:val": "es-ES", + }, "_children": Array [], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:b", + "_tag": "w:lang", }, ], "_fTextNode": false, @@ -25586,19 +25569,19 @@ Object { "_tag": "w:r", }, Object { - "_attrs": Object { - "w:rsidRPr": "0023653F", - }, + "_attrs": Object {}, "_children": Array [ Object { "_attrs": Object {}, "_children": Array [ Object { - "_attrs": Object {}, + "_attrs": Object { + "w:val": "es-ES", + }, "_children": Array [], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:b", + "_tag": "w:lang", }, ], "_fTextNode": false, @@ -25633,67 +25616,58 @@ Object { }, Object { "_attrs": Object { - "w:rsidP": "0023653F", - "w:rsidR": "0023653F", - "w:rsidRDefault": "0023653F", - "w:rsidRPr": "0023653F", + "w14:paraId": "05F38754", + "w14:textId": "2E64515A", + "w:rsidP": "00837971", + "w:rsidR": "00CD7172", + "w:rsidRDefault": "00C92001", }, "_children": Array [ Object { - "_attrs": Object { - "w:rsidRPr": "0023653F", - }, + "_attrs": Object {}, "_children": Array [ Object { - "_attrs": Object { - "xml:space": "preserve", - }, + "_attrs": Object {}, "_children": Array [ Object { + "_attrs": Object { + "w:val": "es-ES", + }, "_children": Array [], - "_fTextNode": true, + "_fTextNode": false, "_parent": [Circular], - "_text": "* ", + "_tag": "w:lang", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:t", + "_tag": "w:rPr", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:r", + "_tag": "w:pPr", }, Object { - "_attrs": Object { - "w:rsidRPr": "0023653F", - }, + "_attrs": Object {}, "_children": Array [ Object { - "_attrs": Object { - "xml:space": "preserve", - }, + "_attrs": Object {}, "_children": Array [ Object { + "_attrs": Object { + "w:val": "es-ES", + }, "_children": Array [], - "_fTextNode": true, + "_fTextNode": false, "_parent": [Circular], - "_text": "Pep", + "_tag": "w:lang", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:t", + "_tag": "w:rPr", }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - Object { - "_attrs": Object {}, - "_children": Array [ Object { "_attrs": Object { "xml:space": "preserve", @@ -25703,7 +25677,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "", + "_text": "bar", }, ], "_fTextNode": false, @@ -25717,9 +25691,26 @@ Object { }, Object { "_attrs": Object { - "w:rsidRPr": "0023653F", + "w:rsidR": "00CD7172", }, "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "w:val": "es-ES", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:lang", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:rPr", + }, Object { "_attrs": Object { "xml:space": "preserve", @@ -25745,31 +25736,22 @@ Object { "_attrs": Object {}, "_children": Array [ Object { - "_attrs": Object { - "xml:space": "preserve", - }, + "_attrs": Object {}, "_children": Array [ Object { + "_attrs": Object { + "w:val": "es-ES", + }, "_children": Array [], - "_fTextNode": true, + "_fTextNode": false, "_parent": [Circular], - "_text": "", + "_tag": "w:lang", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:t", + "_tag": "w:rPr", }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - Object { - "_attrs": Object { - "w:rsidRPr": "0023653F", - }, - "_children": Array [ Object { "_attrs": Object { "xml:space": "preserve", @@ -25791,6 +25773,25 @@ Object { "_parent": [Circular], "_tag": "w:r", }, + Object { + "_attrs": Object { + "w:id": "0", + "w:name": "_GoBack", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:bookmarkStart", + }, + Object { + "_attrs": Object { + "w:id": "0", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:bookmarkEnd", + }, ], "_fTextNode": false, "_parent": [Circular], @@ -25798,42 +25799,144 @@ Object { }, Object { "_attrs": Object { - "w:rsidP": "0023653F", - "w:rsidR": "0023653F", - "w:rsidRDefault": "0023653F", - "w:rsidRPr": "0023653F", + "w14:paraId": "646BC231", + "w14:textId": "77777777", + "w:rsidP": "00837971", + "w:rsidR": "00CD7172", + "w:rsidRDefault": "00CD7172", + "w:rsidRPr": "00CD7172", }, "_children": Array [ Object { - "_attrs": Object { - "w:rsidRPr": "0023653F", - }, + "_attrs": Object {}, "_children": Array [ Object { - "_attrs": Object { - "xml:space": "preserve", - }, + "_attrs": Object {}, "_children": Array [ Object { + "_attrs": Object { + "w:val": "es-ES", + }, "_children": Array [], - "_fTextNode": true, + "_fTextNode": false, "_parent": [Circular], - "_text": "* ", + "_tag": "w:lang", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:t", + "_tag": "w:rPr", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:r", + "_tag": "w:pPr", }, - Object { - "_attrs": Object { - "w:rsidRPr": "0023653F", + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + Object { + "_attrs": Object { + "w:rsidR": "00CD7172", + "w:rsidRPr": "00CD7172", + "w:rsidSect": "00143BCE", + }, + "_children": Array [ + Object { + "_attrs": Object { + "w:h": "16840", + "w:w": "11900", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:pgSz", + }, + Object { + "_attrs": Object { + "w:bottom": "1440", + "w:footer": "708", + "w:gutter": "0", + "w:header": "708", + "w:left": "1800", + "w:right": "1800", + "w:top": "1440", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:pgMar", + }, + Object { + "_attrs": Object { + "w:space": "708", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:cols", + }, + Object { + "_attrs": Object { + "w:linePitch": "360", }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:docGrid", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:sectPr", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:body", + }, + ], + "_fTextNode": false, + "_tag": "w:document", +} +`; + +exports[`sandbox Template processing 05 Processes 1-level FOR loops 1`] = ` +Object { + "_attrs": Object { + "mc:Ignorable": "w14 w15 wp14", + "xmlns:m": "http://schemas.openxmlformats.org/officeDocument/2006/math", + "xmlns:mc": "http://schemas.openxmlformats.org/markup-compatibility/2006", + "xmlns:o": "urn:schemas-microsoft-com:office:office", + "xmlns:r": "http://schemas.openxmlformats.org/officeDocument/2006/relationships", + "xmlns:v": "urn:schemas-microsoft-com:vml", + "xmlns:w": "http://schemas.openxmlformats.org/wordprocessingml/2006/main", + "xmlns:w10": "urn:schemas-microsoft-com:office:word", + "xmlns:w14": "http://schemas.microsoft.com/office/word/2010/wordml", + "xmlns:w15": "http://schemas.microsoft.com/office/word/2012/wordml", + "xmlns:wne": "http://schemas.microsoft.com/office/word/2006/wordml", + "xmlns:wp": "http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing", + "xmlns:wp14": "http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing", + "xmlns:wpc": "http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas", + "xmlns:wpg": "http://schemas.microsoft.com/office/word/2010/wordprocessingGroup", + "xmlns:wpi": "http://schemas.microsoft.com/office/word/2010/wordprocessingInk", + "xmlns:wps": "http://schemas.microsoft.com/office/word/2010/wordprocessingShape", + }, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "w:rsidP": "00BE3B8D", + "w:rsidR": "00BE3B8D", + "w:rsidRDefault": "00BE3B8D", + }, + "_children": Array [ + Object { + "_attrs": Object {}, "_children": Array [ Object { "_attrs": Object { @@ -25844,7 +25947,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "Fidel", + "_text": "FIRST", }, ], "_fTextNode": false, @@ -25857,7 +25960,9 @@ Object { "_tag": "w:r", }, Object { - "_attrs": Object {}, + "_attrs": Object { + "w:rsidR": "00160A38", + }, "_children": Array [ Object { "_attrs": Object { @@ -25882,8 +25987,25 @@ Object { }, Object { "_attrs": Object { - "w:rsidRPr": "0023653F", + "w:id": "0", + "w:name": "_GoBack", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:bookmarkStart", + }, + Object { + "_attrs": Object { + "w:id": "0", }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:bookmarkEnd", + }, + Object { + "_attrs": Object {}, "_children": Array [ Object { "_attrs": Object { @@ -25906,6 +26028,18 @@ Object { "_parent": [Circular], "_tag": "w:r", }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + Object { + "_attrs": Object { + "w:rsidP": "00BE3B8D", + "w:rsidR": "00BE3B8D", + "w:rsidRDefault": "00BE3B8D", + }, + "_children": Array [ Object { "_attrs": Object {}, "_children": Array [ @@ -25918,7 +26052,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "", + "_text": "SECOND", }, ], "_fTextNode": false, @@ -25932,7 +26066,7 @@ Object { }, Object { "_attrs": Object { - "w:rsidRPr": "0023653F", + "w:rsidR": "00160A38", }, "_children": Array [ Object { @@ -25956,19 +26090,6 @@ Object { "_parent": [Circular], "_tag": "w:r", }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:p", - }, - Object { - "_attrs": Object { - "w:rsidP": "00BE3B8D", - "w:rsidR": "0035234F", - "w:rsidRDefault": "0035234F", - "w:rsidRPr": "0023653F", - }, - "_children": Array [ Object { "_attrs": Object { "w:id": "0", @@ -25988,6 +26109,30 @@ Object { "_parent": [Circular], "_tag": "w:bookmarkEnd", }, + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, ], "_fTextNode": false, "_parent": [Circular], @@ -26004,45 +26149,31 @@ Object { "_attrs": Object {}, "_children": Array [ Object { - "_attrs": Object {}, + "_attrs": Object { + "xml:space": "preserve", + }, "_children": Array [ Object { - "_attrs": Object {}, "_children": Array [], - "_fTextNode": false, + "_fTextNode": true, "_parent": [Circular], - "_tag": "w:b", + "_text": "THIRD", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:rPr", + "_tag": "w:t", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:pPr", + "_tag": "w:r", }, Object { "_attrs": Object { - "w:rsidRPr": "0023653F", + "w:rsidR": "00160A38", }, "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:b", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:rPr", - }, Object { "_attrs": Object { "xml:space": "preserve", @@ -26052,7 +26183,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "SECOND", + "_text": "", }, ], "_fTextNode": false, @@ -26066,25 +26197,26 @@ Object { }, Object { "_attrs": Object { - "w:rsidR": "00160A38", - "w:rsidRPr": "0023653F", + "w:id": "0", + "w:name": "_GoBack", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:bookmarkStart", + }, + Object { + "_attrs": Object { + "w:id": "0", }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:bookmarkEnd", + }, + Object { + "_attrs": Object {}, "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:b", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:rPr", - }, Object { "_attrs": Object { "xml:space": "preserve", @@ -26106,13 +26238,230 @@ Object { "_parent": [Circular], "_tag": "w:r", }, - Object { - "_attrs": Object { - "w:rsidRPr": "0023653F", - }, - "_children": Array [ - Object { - "_attrs": Object {}, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + Object { + "_attrs": Object { + "w:rsidR": "00426180", + "w:rsidRDefault": "00426180", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + Object { + "_attrs": Object { + "w:rsidR": "00426180", + }, + "_children": Array [ + Object { + "_attrs": Object { + "w:h": "15840", + "w:w": "12240", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:pgSz", + }, + Object { + "_attrs": Object { + "w:bottom": "1417", + "w:footer": "708", + "w:gutter": "0", + "w:header": "708", + "w:left": "1701", + "w:right": "1701", + "w:top": "1417", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:pgMar", + }, + Object { + "_attrs": Object { + "w:space": "708", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:cols", + }, + Object { + "_attrs": Object { + "w:linePitch": "360", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:docGrid", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:sectPr", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:body", + }, + ], + "_fTextNode": false, + "_tag": "w:document", +} +`; + +exports[`sandbox Template processing 06 Processes 2-level FOR loops 1`] = ` +Object { + "_attrs": Object { + "mc:Ignorable": "w14 w15 wp14", + "xmlns:m": "http://schemas.openxmlformats.org/officeDocument/2006/math", + "xmlns:mc": "http://schemas.openxmlformats.org/markup-compatibility/2006", + "xmlns:o": "urn:schemas-microsoft-com:office:office", + "xmlns:r": "http://schemas.openxmlformats.org/officeDocument/2006/relationships", + "xmlns:v": "urn:schemas-microsoft-com:vml", + "xmlns:w": "http://schemas.openxmlformats.org/wordprocessingml/2006/main", + "xmlns:w10": "urn:schemas-microsoft-com:office:word", + "xmlns:w14": "http://schemas.microsoft.com/office/word/2010/wordml", + "xmlns:w15": "http://schemas.microsoft.com/office/word/2012/wordml", + "xmlns:wne": "http://schemas.microsoft.com/office/word/2006/wordml", + "xmlns:wp": "http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing", + "xmlns:wp14": "http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing", + "xmlns:wpc": "http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas", + "xmlns:wpg": "http://schemas.microsoft.com/office/word/2010/wordprocessingGroup", + "xmlns:wpi": "http://schemas.microsoft.com/office/word/2010/wordprocessingInk", + "xmlns:wps": "http://schemas.microsoft.com/office/word/2010/wordprocessingShape", + }, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "w:rsidP": "00BE3B8D", + "w:rsidR": "00BE3B8D", + "w:rsidRDefault": "00BE3B8D", + }, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:b", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:rPr", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:pPr", + }, + Object { + "_attrs": Object { + "w:rsidRPr": "0023653F", + }, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:b", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:rPr", + }, + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "FIRST", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + Object { + "_attrs": Object { + "w:rsidR": "00160A38", + "w:rsidRPr": "0023653F", + }, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:b", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:rPr", + }, + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + Object { + "_attrs": Object { + "w:rsidRPr": "0023653F", + }, + "_children": Array [ + Object { + "_attrs": Object {}, "_children": Array [ Object { "_attrs": Object {}, @@ -26200,7 +26549,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "Albert", + "_text": "Pep", }, ], "_fTextNode": false, @@ -26365,7 +26714,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "Xavi", + "_text": "Fidel", }, ], "_fTextNode": false, @@ -26516,108 +26865,9 @@ Object { }, Object { "_attrs": Object { - "w:rsidR": "00426180", - "w:rsidRDefault": "00426180", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:p", - }, - Object { - "_attrs": Object { - "w:rsidR": "00426180", - }, - "_children": Array [ - Object { - "_attrs": Object { - "w:h": "15840", - "w:w": "12240", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:pgSz", - }, - Object { - "_attrs": Object { - "w:bottom": "1417", - "w:footer": "708", - "w:gutter": "0", - "w:header": "708", - "w:left": "1701", - "w:right": "1701", - "w:top": "1417", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:pgMar", - }, - Object { - "_attrs": Object { - "w:space": "708", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:cols", - }, - Object { - "_attrs": Object { - "w:linePitch": "360", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:docGrid", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:sectPr", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:body", - }, - ], - "_fTextNode": false, - "_tag": "w:document", -} -`; - -exports[`sandbox Template processing 07 Processes 3-level FOR loops 1`] = ` -Object { - "_attrs": Object { - "mc:Ignorable": "w14 w15 wp14", - "xmlns:m": "http://schemas.openxmlformats.org/officeDocument/2006/math", - "xmlns:mc": "http://schemas.openxmlformats.org/markup-compatibility/2006", - "xmlns:o": "urn:schemas-microsoft-com:office:office", - "xmlns:r": "http://schemas.openxmlformats.org/officeDocument/2006/relationships", - "xmlns:v": "urn:schemas-microsoft-com:vml", - "xmlns:w": "http://schemas.openxmlformats.org/wordprocessingml/2006/main", - "xmlns:w10": "urn:schemas-microsoft-com:office:word", - "xmlns:w14": "http://schemas.microsoft.com/office/word/2010/wordml", - "xmlns:w15": "http://schemas.microsoft.com/office/word/2012/wordml", - "xmlns:wne": "http://schemas.microsoft.com/office/word/2006/wordml", - "xmlns:wp": "http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing", - "xmlns:wp14": "http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing", - "xmlns:wpc": "http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas", - "xmlns:wpg": "http://schemas.microsoft.com/office/word/2010/wordprocessingGroup", - "xmlns:wpi": "http://schemas.microsoft.com/office/word/2010/wordprocessingInk", - "xmlns:wps": "http://schemas.microsoft.com/office/word/2010/wordprocessingShape", - }, - "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "w:rsidP": "00BE3B8D", - "w:rsidR": "00BE3B8D", - "w:rsidRDefault": "00BE3B8D", + "w:rsidP": "00BE3B8D", + "w:rsidR": "00BE3B8D", + "w:rsidRDefault": "00BE3B8D", }, "_children": Array [ Object { @@ -26672,7 +26922,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "FIRST", + "_text": "SECOND", }, ], "_fTextNode": false, @@ -26777,6 +27027,7 @@ Object { "w:rsidP": "0023653F", "w:rsidR": "0023653F", "w:rsidRDefault": "0023653F", + "w:rsidRPr": "0023653F", }, "_children": Array [ Object { @@ -26800,46 +27051,6 @@ Object { "_parent": [Circular], "_tag": "w:t", }, - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "Pep", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, ], "_fTextNode": false, "_parent": [Circular], @@ -26859,7 +27070,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "", + "_text": "Albert", }, ], "_fTextNode": false, @@ -26921,18 +27132,6 @@ Object { "_parent": [Circular], "_tag": "w:r", }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:p", - }, - Object { - "_attrs": Object { - "w:rsidP": "003F7FB2", - "w:rsidR": "003F7FB2", - "w:rsidRDefault": "003F7FB2", - }, - "_children": Array [ Object { "_attrs": Object {}, "_children": Array [ @@ -26945,23 +27144,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": " - ", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "one", + "_text": "", }, ], "_fTextNode": false, @@ -26975,37 +27158,8 @@ Object { }, Object { "_attrs": Object { - "w:id": "0", - "w:name": "_GoBack", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:bookmarkStart", - }, - Object { - "_attrs": Object { - "w:id": "0", + "w:rsidRPr": "0023653F", }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:bookmarkEnd", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:p", - }, - Object { - "_attrs": Object { - "w:rsidP": "003F7FB2", - "w:rsidR": "003F7FB2", - "w:rsidRDefault": "003F7FB2", - }, - "_children": Array [ - Object { - "_attrs": Object {}, "_children": Array [ Object { "_attrs": Object { @@ -27016,23 +27170,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": " - ", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "two", + "_text": "", }, ], "_fTextNode": false, @@ -27044,25 +27182,6 @@ Object { "_parent": [Circular], "_tag": "w:r", }, - Object { - "_attrs": Object { - "w:id": "0", - "w:name": "_GoBack", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:bookmarkStart", - }, - Object { - "_attrs": Object { - "w:id": "0", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:bookmarkEnd", - }, ], "_fTextNode": false, "_parent": [Circular], @@ -27073,6 +27192,7 @@ Object { "w:rsidP": "0023653F", "w:rsidR": "0023653F", "w:rsidRDefault": "0023653F", + "w:rsidRPr": "0023653F", }, "_children": Array [ Object { @@ -27096,6 +27216,16 @@ Object { "_parent": [Circular], "_tag": "w:t", }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + Object { + "_attrs": Object { + "w:rsidRPr": "0023653F", + }, + "_children": Array [ Object { "_attrs": Object { "xml:space": "preserve", @@ -27105,7 +27235,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "Fidel", + "_text": "Xavi", }, ], "_fTextNode": false, @@ -27224,51 +27354,12 @@ Object { }, Object { "_attrs": Object { - "w:rsidP": "003F7FB2", - "w:rsidR": "003F7FB2", - "w:rsidRDefault": "003F7FB2", + "w:rsidP": "00BE3B8D", + "w:rsidR": "0035234F", + "w:rsidRDefault": "0035234F", + "w:rsidRPr": "0023653F", }, "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": " - ", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "three", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, Object { "_attrs": Object { "w:id": "0", @@ -27295,16 +27386,103 @@ Object { }, Object { "_attrs": Object { - "w:rsidP": "00BE3B8D", - "w:rsidR": "0035234F", - "w:rsidRDefault": "0035234F", - "w:rsidRPr": "0023653F", + "w:rsidR": "00426180", + "w:rsidRDefault": "00426180", }, "_children": Array [], "_fTextNode": false, "_parent": [Circular], "_tag": "w:p", }, + Object { + "_attrs": Object { + "w:rsidR": "00426180", + }, + "_children": Array [ + Object { + "_attrs": Object { + "w:h": "15840", + "w:w": "12240", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:pgSz", + }, + Object { + "_attrs": Object { + "w:bottom": "1417", + "w:footer": "708", + "w:gutter": "0", + "w:header": "708", + "w:left": "1701", + "w:right": "1701", + "w:top": "1417", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:pgMar", + }, + Object { + "_attrs": Object { + "w:space": "708", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:cols", + }, + Object { + "_attrs": Object { + "w:linePitch": "360", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:docGrid", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:sectPr", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:body", + }, + ], + "_fTextNode": false, + "_tag": "w:document", +} +`; + +exports[`sandbox Template processing 07 Processes 3-level FOR loops 1`] = ` +Object { + "_attrs": Object { + "mc:Ignorable": "w14 w15 wp14", + "xmlns:m": "http://schemas.openxmlformats.org/officeDocument/2006/math", + "xmlns:mc": "http://schemas.openxmlformats.org/markup-compatibility/2006", + "xmlns:o": "urn:schemas-microsoft-com:office:office", + "xmlns:r": "http://schemas.openxmlformats.org/officeDocument/2006/relationships", + "xmlns:v": "urn:schemas-microsoft-com:vml", + "xmlns:w": "http://schemas.openxmlformats.org/wordprocessingml/2006/main", + "xmlns:w10": "urn:schemas-microsoft-com:office:word", + "xmlns:w14": "http://schemas.microsoft.com/office/word/2010/wordml", + "xmlns:w15": "http://schemas.microsoft.com/office/word/2012/wordml", + "xmlns:wne": "http://schemas.microsoft.com/office/word/2006/wordml", + "xmlns:wp": "http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing", + "xmlns:wp14": "http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing", + "xmlns:wpc": "http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas", + "xmlns:wpg": "http://schemas.microsoft.com/office/word/2010/wordprocessingGroup", + "xmlns:wpi": "http://schemas.microsoft.com/office/word/2010/wordprocessingInk", + "xmlns:wps": "http://schemas.microsoft.com/office/word/2010/wordprocessingShape", + }, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ Object { "_attrs": Object { "w:rsidP": "00BE3B8D", @@ -27364,7 +27542,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "SECOND", + "_text": "FIRST", }, ], "_fTextNode": false, @@ -27501,7 +27679,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "Albert", + "_text": "Pep", }, ], "_fTextNode": false, @@ -27620,15 +27798,13 @@ Object { }, Object { "_attrs": Object { - "w:rsidP": "0023653F", - "w:rsidR": "0023653F", - "w:rsidRDefault": "0023653F", + "w:rsidP": "003F7FB2", + "w:rsidR": "003F7FB2", + "w:rsidRDefault": "003F7FB2", }, "_children": Array [ Object { - "_attrs": Object { - "w:rsidRPr": "0023653F", - }, + "_attrs": Object {}, "_children": Array [ Object { "_attrs": Object { @@ -27639,7 +27815,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "* ", + "_text": " - ", }, ], "_fTextNode": false, @@ -27655,7 +27831,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "Xavi", + "_text": "one", }, ], "_fTextNode": false, @@ -27667,6 +27843,37 @@ Object { "_parent": [Circular], "_tag": "w:r", }, + Object { + "_attrs": Object { + "w:id": "0", + "w:name": "_GoBack", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:bookmarkStart", + }, + Object { + "_attrs": Object { + "w:id": "0", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:bookmarkEnd", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + Object { + "_attrs": Object { + "w:rsidP": "003F7FB2", + "w:rsidR": "003F7FB2", + "w:rsidRDefault": "003F7FB2", + }, + "_children": Array [ Object { "_attrs": Object {}, "_children": Array [ @@ -27679,7 +27886,23 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "", + "_text": " - ", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "two", }, ], "_fTextNode": false, @@ -27691,6 +27914,37 @@ Object { "_parent": [Circular], "_tag": "w:r", }, + Object { + "_attrs": Object { + "w:id": "0", + "w:name": "_GoBack", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:bookmarkStart", + }, + Object { + "_attrs": Object { + "w:id": "0", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:bookmarkEnd", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + Object { + "_attrs": Object { + "w:rsidP": "0023653F", + "w:rsidR": "0023653F", + "w:rsidRDefault": "0023653F", + }, + "_children": Array [ Object { "_attrs": Object { "w:rsidRPr": "0023653F", @@ -27705,7 +27959,23 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "", + "_text": "* ", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "Fidel", }, ], "_fTextNode": false, @@ -27767,27 +28037,148 @@ Object { "_parent": [Circular], "_tag": "w:r", }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:p", - }, - Object { - "_attrs": Object { - "w:rsidP": "00BE3B8D", - "w:rsidR": "0035234F", - "w:rsidRDefault": "0035234F", - "w:rsidRPr": "0023653F", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:p", - }, - Object { - "_attrs": Object { - "w:rsidP": "00BE3B8D", - "w:rsidR": "00BE3B8D", + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + Object { + "_attrs": Object { + "w:rsidRPr": "0023653F", + }, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + Object { + "_attrs": Object { + "w:rsidP": "003F7FB2", + "w:rsidR": "003F7FB2", + "w:rsidRDefault": "003F7FB2", + }, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": " - ", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "three", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + Object { + "_attrs": Object { + "w:id": "0", + "w:name": "_GoBack", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:bookmarkStart", + }, + Object { + "_attrs": Object { + "w:id": "0", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:bookmarkEnd", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + Object { + "_attrs": Object { + "w:rsidP": "00BE3B8D", + "w:rsidR": "0035234F", + "w:rsidRDefault": "0035234F", + "w:rsidRPr": "0023653F", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + Object { + "_attrs": Object { + "w:rsidP": "00BE3B8D", + "w:rsidR": "00BE3B8D", "w:rsidRDefault": "00BE3B8D", }, "_children": Array [ @@ -27843,7 +28234,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "THIRD", + "_text": "SECOND", }, ], "_fTextNode": false, @@ -27945,330 +28336,333 @@ Object { }, Object { "_attrs": Object { - "w:rsidP": "00BE3B8D", - "w:rsidR": "0035234F", - "w:rsidRDefault": "0035234F", - "w:rsidRPr": "0023653F", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:p", - }, - Object { - "_attrs": Object { - "w:rsidR": "00426180", - "w:rsidRDefault": "00426180", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:p", - }, - Object { - "_attrs": Object { - "w:rsidR": "00426180", + "w:rsidP": "0023653F", + "w:rsidR": "0023653F", + "w:rsidRDefault": "0023653F", }, "_children": Array [ Object { "_attrs": Object { - "w:h": "15840", - "w:w": "12240", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:pgSz", - }, - Object { - "_attrs": Object { - "w:bottom": "1417", - "w:footer": "708", - "w:gutter": "0", - "w:header": "708", - "w:left": "1701", - "w:right": "1701", - "w:top": "1417", + "w:rsidRPr": "0023653F", }, - "_children": Array [], + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "* ", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "Albert", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:pgMar", + "_tag": "w:r", }, Object { - "_attrs": Object { - "w:space": "708", - }, - "_children": Array [], + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:cols", + "_tag": "w:r", }, Object { "_attrs": Object { - "w:linePitch": "360", + "w:rsidRPr": "0023653F", }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:docGrid", + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:sectPr", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:body", - }, - ], - "_fTextNode": false, - "_tag": "w:document", -} -`; - -exports[`sandbox Template processing 08 Processes 1-level FOR-ROW loops 1`] = ` -Object { - "_attrs": Object { - "mc:Ignorable": "w14 w15 wp14", - "xmlns:m": "http://schemas.openxmlformats.org/officeDocument/2006/math", - "xmlns:mc": "http://schemas.openxmlformats.org/markup-compatibility/2006", - "xmlns:o": "urn:schemas-microsoft-com:office:office", - "xmlns:r": "http://schemas.openxmlformats.org/officeDocument/2006/relationships", - "xmlns:v": "urn:schemas-microsoft-com:vml", - "xmlns:w": "http://schemas.openxmlformats.org/wordprocessingml/2006/main", - "xmlns:w10": "urn:schemas-microsoft-com:office:word", - "xmlns:w14": "http://schemas.microsoft.com/office/word/2010/wordml", - "xmlns:w15": "http://schemas.microsoft.com/office/word/2012/wordml", - "xmlns:wne": "http://schemas.microsoft.com/office/word/2006/wordml", - "xmlns:wp": "http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing", - "xmlns:wp14": "http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing", - "xmlns:wpc": "http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas", - "xmlns:wpg": "http://schemas.microsoft.com/office/word/2010/wordprocessingGroup", - "xmlns:wpi": "http://schemas.microsoft.com/office/word/2010/wordprocessingInk", - "xmlns:wps": "http://schemas.microsoft.com/office/word/2010/wordprocessingShape", - }, - "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ Object { "_attrs": Object {}, "_children": Array [ Object { "_attrs": Object { - "w:val": "Sombreadoclaro-nfasis3", + "xml:space": "preserve", }, - "_children": Array [], + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "", + }, + ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:tblStyle", + "_tag": "w:t", }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + Object { + "_attrs": Object { + "w:rsidRPr": "0023653F", + }, + "_children": Array [ Object { "_attrs": Object { - "w:type": "pct", - "w:w": "4892", + "xml:space": "preserve", }, - "_children": Array [], + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "", + }, + ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:tblW", + "_tag": "w:t", }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + Object { + "_attrs": Object { + "w:rsidP": "0023653F", + "w:rsidR": "0023653F", + "w:rsidRDefault": "0023653F", + }, + "_children": Array [ + Object { + "_attrs": Object { + "w:rsidRPr": "0023653F", + }, + "_children": Array [ Object { "_attrs": Object { - "w:firstColumn": "1", - "w:firstRow": "1", - "w:lastColumn": "0", - "w:lastRow": "0", - "w:noHBand": "0", - "w:noVBand": "1", - "w:val": "04A0", + "xml:space": "preserve", }, - "_children": Array [], + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "* ", + }, + ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:tblLook", + "_tag": "w:t", + }, + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "Xavi", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:tblPr", + "_tag": "w:r", }, Object { "_attrs": Object {}, "_children": Array [ Object { "_attrs": Object { - "w:w": "8647", + "xml:space": "preserve", }, - "_children": Array [], + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "", + }, + ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:gridCol", + "_tag": "w:t", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:tblGrid", + "_tag": "w:r", }, Object { "_attrs": Object { - "w:rsidR": "00194EFA", - "w:rsidTr": "00194EFA", + "w:rsidRPr": "0023653F", }, "_children": Array [ Object { - "_attrs": Object {}, + "_attrs": Object { + "xml:space": "preserve", + }, "_children": Array [ Object { - "_attrs": Object { - "w:evenHBand": "0", - "w:evenVBand": "0", - "w:firstColumn": "0", - "w:firstRow": "1", - "w:firstRowFirstColumn": "0", - "w:firstRowLastColumn": "0", - "w:lastColumn": "0", - "w:lastRow": "0", - "w:lastRowFirstColumn": "0", - "w:lastRowLastColumn": "0", - "w:oddHBand": "0", - "w:oddVBand": "0", - "w:val": "100000000000", - }, "_children": Array [], - "_fTextNode": false, + "_fTextNode": true, "_parent": [Circular], - "_tag": "w:cnfStyle", + "_text": "", }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ Object { - "_attrs": Object {}, "_children": Array [], - "_fTextNode": false, + "_fTextNode": true, "_parent": [Circular], - "_tag": "w:tblHeader", + "_text": "", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:trPr", + "_tag": "w:t", }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + Object { + "_attrs": Object { + "w:rsidRPr": "0023653F", + }, + "_children": Array [ Object { - "_attrs": Object {}, + "_attrs": Object { + "xml:space": "preserve", + }, "_children": Array [ Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "w:evenHBand": "0", - "w:evenVBand": "0", - "w:firstColumn": "1", - "w:firstRow": "0", - "w:firstRowFirstColumn": "0", - "w:firstRowLastColumn": "0", - "w:lastColumn": "0", - "w:lastRow": "0", - "w:lastRowFirstColumn": "0", - "w:lastRowLastColumn": "0", - "w:oddHBand": "0", - "w:oddVBand": "0", - "w:val": "001000000000", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:cnfStyle", - }, - Object { - "_attrs": Object { - "w:type": "dxa", - "w:w": "8647", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:tcW", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:tcPr", - }, - Object { - "_attrs": Object { - "w:rsidP": "00854242", - "w:rsidR": "00194EFA", - "w:rsidRDefault": "00194EFA", - }, - "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "w:after": "40", - "w:before": "40", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:spacing", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:pPr", - }, - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "Name", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - ], - "_fTextNode": false, + "_children": Array [], + "_fTextNode": true, "_parent": [Circular], - "_tag": "w:p", + "_text": "", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:tc", + "_tag": "w:t", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:tr", + "_tag": "w:r", }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + Object { + "_attrs": Object { + "w:rsidP": "00BE3B8D", + "w:rsidR": "0035234F", + "w:rsidRDefault": "0035234F", + "w:rsidRPr": "0023653F", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + Object { + "_attrs": Object { + "w:rsidP": "00BE3B8D", + "w:rsidR": "00BE3B8D", + "w:rsidRDefault": "00BE3B8D", + }, + "_children": Array [ Object { - "_attrs": Object { - "w:rsidR": "00194EFA", - "w:rsidTr": "00194EFA", - }, + "_attrs": Object {}, "_children": Array [ Object { "_attrs": Object {}, @@ -28278,123 +28672,63 @@ Object { "_children": Array [], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:cantSplit", + "_tag": "w:b", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:trPr", + "_tag": "w:rPr", }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:pPr", + }, + Object { + "_attrs": Object { + "w:rsidRPr": "0023653F", + }, + "_children": Array [ Object { "_attrs": Object {}, "_children": Array [ Object { "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "w:evenHBand": "0", - "w:evenVBand": "0", - "w:firstColumn": "1", - "w:firstRow": "0", - "w:firstRowFirstColumn": "0", - "w:firstRowLastColumn": "0", - "w:lastColumn": "0", - "w:lastRow": "0", - "w:lastRowFirstColumn": "0", - "w:lastRowLastColumn": "0", - "w:oddHBand": "0", - "w:oddVBand": "0", - "w:val": "001000000000", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:cnfStyle", - }, - Object { - "_attrs": Object { - "w:type": "dxa", - "w:w": "8647", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:tcW", - }, - ], + "_children": Array [], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:tcPr", + "_tag": "w:b", }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:rPr", + }, + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ Object { - "_attrs": Object { - "w:rsidP": "00854242", - "w:rsidR": "00194EFA", - "w:rsidRDefault": "00194EFA", - }, - "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "w:after": "40", - "w:before": "40", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:spacing", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:pPr", - }, - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "FIRST", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - ], - "_fTextNode": false, + "_children": Array [], + "_fTextNode": true, "_parent": [Circular], - "_tag": "w:p", + "_text": "THIRD", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:tc", + "_tag": "w:t", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:tr", + "_tag": "w:r", }, Object { "_attrs": Object { - "w:rsidR": "00194EFA", - "w:rsidTr": "00194EFA", + "w:rsidR": "00160A38", + "w:rsidRPr": "0023653F", }, "_children": Array [ Object { @@ -28405,123 +28739,37 @@ Object { "_children": Array [], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:cantSplit", + "_tag": "w:b", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:trPr", + "_tag": "w:rPr", }, Object { - "_attrs": Object {}, + "_attrs": Object { + "xml:space": "preserve", + }, "_children": Array [ Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "w:evenHBand": "0", - "w:evenVBand": "0", - "w:firstColumn": "1", - "w:firstRow": "0", - "w:firstRowFirstColumn": "0", - "w:firstRowLastColumn": "0", - "w:lastColumn": "0", - "w:lastRow": "0", - "w:lastRowFirstColumn": "0", - "w:lastRowLastColumn": "0", - "w:oddHBand": "0", - "w:oddVBand": "0", - "w:val": "001000000000", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:cnfStyle", - }, - Object { - "_attrs": Object { - "w:type": "dxa", - "w:w": "8647", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:tcW", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:tcPr", - }, - Object { - "_attrs": Object { - "w:rsidP": "00854242", - "w:rsidR": "00194EFA", - "w:rsidRDefault": "00194EFA", - }, - "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "w:after": "40", - "w:before": "40", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:spacing", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:pPr", - }, - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "SECOND", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - ], - "_fTextNode": false, + "_children": Array [], + "_fTextNode": true, "_parent": [Circular], - "_tag": "w:p", + "_text": "", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:tc", + "_tag": "w:t", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:tr", + "_tag": "w:r", }, Object { "_attrs": Object { - "w:rsidR": "00194EFA", - "w:rsidTr": "00194EFA", + "w:rsidRPr": "0023653F", }, "_children": Array [ Object { @@ -28532,127 +28780,53 @@ Object { "_children": Array [], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:cantSplit", + "_tag": "w:b", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:trPr", + "_tag": "w:rPr", }, Object { - "_attrs": Object {}, + "_attrs": Object { + "xml:space": "preserve", + }, "_children": Array [ Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "w:evenHBand": "0", - "w:evenVBand": "0", - "w:firstColumn": "1", - "w:firstRow": "0", - "w:firstRowFirstColumn": "0", - "w:firstRowLastColumn": "0", - "w:lastColumn": "0", - "w:lastRow": "0", - "w:lastRowFirstColumn": "0", - "w:lastRowLastColumn": "0", - "w:oddHBand": "0", - "w:oddVBand": "0", - "w:val": "001000000000", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:cnfStyle", - }, - Object { - "_attrs": Object { - "w:type": "dxa", - "w:w": "8647", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:tcW", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:tcPr", - }, - Object { - "_attrs": Object { - "w:rsidP": "00854242", - "w:rsidR": "00194EFA", - "w:rsidRDefault": "00194EFA", - }, - "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "w:after": "40", - "w:before": "40", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:spacing", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:pPr", - }, - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "THIRD", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - ], - "_fTextNode": false, + "_children": Array [], + "_fTextNode": true, "_parent": [Circular], - "_tag": "w:p", + "_text": "", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:tc", + "_tag": "w:t", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:tr", + "_tag": "w:r", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:tbl", + "_tag": "w:p", + }, + Object { + "_attrs": Object { + "w:rsidP": "00BE3B8D", + "w:rsidR": "0035234F", + "w:rsidRDefault": "0035234F", + "w:rsidRPr": "0023653F", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", }, Object { "_attrs": Object { - "w:rsidP": "00194EFA", "w:rsidR": "00426180", "w:rsidRDefault": "00426180", }, @@ -28725,7 +28899,7 @@ Object { } `; -exports[`sandbox Template processing 08b Processes 1-level IF-ROW loops 1`] = ` +exports[`sandbox Template processing 08 Processes 1-level FOR-ROW loops 1`] = ` Object { "_attrs": Object { "mc:Ignorable": "w14 w15 wp14", @@ -29027,7 +29201,7 @@ Object { "_attrs": Object { "w:rsidP": "00854242", "w:rsidR": "00194EFA", - "w:rsidRDefault": "00210F3B", + "w:rsidRDefault": "00194EFA", }, "_children": Array [ Object { @@ -29060,7 +29234,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "Should be shown", + "_text": "FIRST", }, ], "_fTextNode": false, @@ -29089,7 +29263,7 @@ Object { }, Object { "_attrs": Object { - "w:rsidR": "00210F3B", + "w:rsidR": "00194EFA", "w:rsidTr": "00194EFA", }, "_children": Array [ @@ -29152,9 +29326,9 @@ Object { }, Object { "_attrs": Object { - "w:rsidP": "00210F3B", - "w:rsidR": "00210F3B", - "w:rsidRDefault": "00210F3B", + "w:rsidP": "00854242", + "w:rsidR": "00194EFA", + "w:rsidRDefault": "00194EFA", }, "_children": Array [ Object { @@ -29187,7 +29361,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "empty", + "_text": "SECOND", }, ], "_fTextNode": false, @@ -29214,42 +29388,169 @@ Object { "_parent": [Circular], "_tag": "w:tr", }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:tbl", - }, - Object { - "_attrs": Object { - "w:rsidP": "00194EFA", - "w:rsidR": "00426180", - "w:rsidRDefault": "00426180", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:p", - }, - Object { - "_attrs": Object { - "w:rsidR": "00426180", - }, - "_children": Array [ Object { "_attrs": Object { - "w:h": "15840", - "w:w": "12240", + "w:rsidR": "00194EFA", + "w:rsidTr": "00194EFA", }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:pgSz", - }, - Object { - "_attrs": Object { - "w:bottom": "1417", - "w:footer": "708", - "w:gutter": "0", + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:cantSplit", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:trPr", + }, + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "w:evenHBand": "0", + "w:evenVBand": "0", + "w:firstColumn": "1", + "w:firstRow": "0", + "w:firstRowFirstColumn": "0", + "w:firstRowLastColumn": "0", + "w:lastColumn": "0", + "w:lastRow": "0", + "w:lastRowFirstColumn": "0", + "w:lastRowLastColumn": "0", + "w:oddHBand": "0", + "w:oddVBand": "0", + "w:val": "001000000000", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:cnfStyle", + }, + Object { + "_attrs": Object { + "w:type": "dxa", + "w:w": "8647", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:tcW", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:tcPr", + }, + Object { + "_attrs": Object { + "w:rsidP": "00854242", + "w:rsidR": "00194EFA", + "w:rsidRDefault": "00194EFA", + }, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "w:after": "40", + "w:before": "40", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:spacing", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:pPr", + }, + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "THIRD", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:tc", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:tr", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:tbl", + }, + Object { + "_attrs": Object { + "w:rsidP": "00194EFA", + "w:rsidR": "00426180", + "w:rsidRDefault": "00426180", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + Object { + "_attrs": Object { + "w:rsidR": "00426180", + }, + "_children": Array [ + Object { + "_attrs": Object { + "w:h": "15840", + "w:w": "12240", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:pgSz", + }, + Object { + "_attrs": Object { + "w:bottom": "1417", + "w:footer": "708", + "w:gutter": "0", "w:header": "708", "w:left": "1701", "w:right": "1701", @@ -29294,7 +29595,7 @@ Object { } `; -exports[`sandbox Template processing 09 Allows scalar arrays in FOR loops 1`] = ` +exports[`sandbox Template processing 08b Processes 1-level IF-ROW loops 1`] = ` Object { "_attrs": Object { "mc:Ignorable": "w14 w15 wp14", @@ -29320,322 +29621,477 @@ Object { "_attrs": Object {}, "_children": Array [ Object { - "_attrs": Object { - "w:rsidP": "00BE3B8D", - "w:rsidR": "00BE3B8D", - "w:rsidRDefault": "00BE3B8D", - }, + "_attrs": Object {}, "_children": Array [ Object { "_attrs": Object {}, "_children": Array [ Object { "_attrs": Object { - "xml:space": "preserve", + "w:val": "Sombreadoclaro-nfasis3", }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "FIRST", - }, - ], + "_children": Array [], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:t", + "_tag": "w:tblStyle", }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - Object { - "_attrs": Object { - "w:id": "0", - "w:name": "_GoBack", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:bookmarkStart", - }, - Object { - "_attrs": Object { - "w:id": "0", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:bookmarkEnd", - }, - Object { - "_attrs": Object { - "w:rsidR": "00444317", - }, - "_children": Array [ Object { "_attrs": Object { - "xml:space": "preserve", + "w:type": "pct", + "w:w": "4892", }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "", - }, - ], + "_children": Array [], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:t", + "_tag": "w:tblW", + }, + Object { + "_attrs": Object { + "w:firstColumn": "1", + "w:firstRow": "1", + "w:lastColumn": "0", + "w:lastRow": "0", + "w:noHBand": "0", + "w:noVBand": "1", + "w:val": "04A0", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:tblLook", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:r", + "_tag": "w:tblPr", }, Object { "_attrs": Object {}, "_children": Array [ Object { "_attrs": Object { - "xml:space": "preserve", + "w:w": "8647", }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "", - }, - ], + "_children": Array [], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:t", + "_tag": "w:gridCol", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:r", + "_tag": "w:tblGrid", }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:p", - }, - Object { - "_attrs": Object { - "w:rsidP": "00BE3B8D", - "w:rsidR": "00BE3B8D", - "w:rsidRDefault": "00BE3B8D", - }, - "_children": Array [ Object { - "_attrs": Object {}, + "_attrs": Object { + "w:rsidR": "00194EFA", + "w:rsidTr": "00194EFA", + }, "_children": Array [ Object { - "_attrs": Object { - "xml:space": "preserve", - }, + "_attrs": Object {}, "_children": Array [ Object { + "_attrs": Object { + "w:evenHBand": "0", + "w:evenVBand": "0", + "w:firstColumn": "0", + "w:firstRow": "1", + "w:firstRowFirstColumn": "0", + "w:firstRowLastColumn": "0", + "w:lastColumn": "0", + "w:lastRow": "0", + "w:lastRowFirstColumn": "0", + "w:lastRowLastColumn": "0", + "w:oddHBand": "0", + "w:oddVBand": "0", + "w:val": "100000000000", + }, "_children": Array [], - "_fTextNode": true, + "_fTextNode": false, "_parent": [Circular], - "_text": "SECOND", + "_tag": "w:cnfStyle", }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - Object { - "_attrs": Object { - "w:id": "0", - "w:name": "_GoBack", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:bookmarkStart", - }, - Object { - "_attrs": Object { - "w:id": "0", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:bookmarkEnd", - }, - Object { - "_attrs": Object { - "w:rsidR": "00444317", - }, - "_children": Array [ - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ Object { + "_attrs": Object {}, "_children": Array [], - "_fTextNode": true, + "_fTextNode": false, "_parent": [Circular], - "_text": "", + "_tag": "w:tblHeader", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:t", + "_tag": "w:trPr", }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - Object { - "_attrs": Object {}, - "_children": Array [ Object { - "_attrs": Object { - "xml:space": "preserve", - }, + "_attrs": Object {}, "_children": Array [ Object { - "_children": Array [], - "_fTextNode": true, + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "w:evenHBand": "0", + "w:evenVBand": "0", + "w:firstColumn": "1", + "w:firstRow": "0", + "w:firstRowFirstColumn": "0", + "w:firstRowLastColumn": "0", + "w:lastColumn": "0", + "w:lastRow": "0", + "w:lastRowFirstColumn": "0", + "w:lastRowLastColumn": "0", + "w:oddHBand": "0", + "w:oddVBand": "0", + "w:val": "001000000000", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:cnfStyle", + }, + Object { + "_attrs": Object { + "w:type": "dxa", + "w:w": "8647", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:tcW", + }, + ], + "_fTextNode": false, "_parent": [Circular], - "_text": "", + "_tag": "w:tcPr", }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:p", - }, - Object { - "_attrs": Object { - "w:rsidP": "00BE3B8D", - "w:rsidR": "00BE3B8D", - "w:rsidRDefault": "00BE3B8D", - }, - "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ Object { - "_children": Array [], - "_fTextNode": true, + "_attrs": Object { + "w:rsidP": "00854242", + "w:rsidR": "00194EFA", + "w:rsidRDefault": "00194EFA", + }, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "w:after": "40", + "w:before": "40", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:spacing", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:pPr", + }, + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "Name", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + ], + "_fTextNode": false, "_parent": [Circular], - "_text": "THIRD", + "_tag": "w:p", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:t", + "_tag": "w:tc", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:r", - }, - Object { - "_attrs": Object { - "w:id": "0", - "w:name": "_GoBack", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:bookmarkStart", - }, - Object { - "_attrs": Object { - "w:id": "0", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:bookmarkEnd", + "_tag": "w:tr", }, Object { "_attrs": Object { - "w:rsidR": "00444317", + "w:rsidR": "00194EFA", + "w:rsidTr": "00194EFA", }, "_children": Array [ Object { - "_attrs": Object { - "xml:space": "preserve", - }, + "_attrs": Object {}, "_children": Array [ Object { + "_attrs": Object {}, "_children": Array [], - "_fTextNode": true, + "_fTextNode": false, "_parent": [Circular], - "_text": "", + "_tag": "w:cantSplit", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:t", + "_tag": "w:trPr", + }, + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "w:evenHBand": "0", + "w:evenVBand": "0", + "w:firstColumn": "1", + "w:firstRow": "0", + "w:firstRowFirstColumn": "0", + "w:firstRowLastColumn": "0", + "w:lastColumn": "0", + "w:lastRow": "0", + "w:lastRowFirstColumn": "0", + "w:lastRowLastColumn": "0", + "w:oddHBand": "0", + "w:oddVBand": "0", + "w:val": "001000000000", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:cnfStyle", + }, + Object { + "_attrs": Object { + "w:type": "dxa", + "w:w": "8647", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:tcW", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:tcPr", + }, + Object { + "_attrs": Object { + "w:rsidP": "00854242", + "w:rsidR": "00194EFA", + "w:rsidRDefault": "00210F3B", + }, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "w:after": "40", + "w:before": "40", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:spacing", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:pPr", + }, + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "Should be shown", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:tc", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:r", + "_tag": "w:tr", }, Object { - "_attrs": Object {}, + "_attrs": Object { + "w:rsidR": "00210F3B", + "w:rsidTr": "00194EFA", + }, "_children": Array [ Object { - "_attrs": Object { - "xml:space": "preserve", - }, + "_attrs": Object {}, "_children": Array [ Object { + "_attrs": Object {}, "_children": Array [], - "_fTextNode": true, + "_fTextNode": false, "_parent": [Circular], - "_text": "", + "_tag": "w:cantSplit", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:t", + "_tag": "w:trPr", + }, + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "w:evenHBand": "0", + "w:evenVBand": "0", + "w:firstColumn": "1", + "w:firstRow": "0", + "w:firstRowFirstColumn": "0", + "w:firstRowLastColumn": "0", + "w:lastColumn": "0", + "w:lastRow": "0", + "w:lastRowFirstColumn": "0", + "w:lastRowLastColumn": "0", + "w:oddHBand": "0", + "w:oddVBand": "0", + "w:val": "001000000000", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:cnfStyle", + }, + Object { + "_attrs": Object { + "w:type": "dxa", + "w:w": "8647", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:tcW", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:tcPr", + }, + Object { + "_attrs": Object { + "w:rsidP": "00210F3B", + "w:rsidR": "00210F3B", + "w:rsidRDefault": "00210F3B", + }, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "w:after": "40", + "w:before": "40", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:spacing", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:pPr", + }, + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "empty", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:tc", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:r", + "_tag": "w:tr", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:p", + "_tag": "w:tbl", }, Object { "_attrs": Object { + "w:rsidP": "00194EFA", "w:rsidR": "00426180", "w:rsidRDefault": "00426180", }, @@ -29708,21 +30164,10 @@ Object { } `; -exports[`sandbox Template processing 3A Processes HTML commands 1`] = ` +exports[`sandbox Template processing 09 Allows scalar arrays in FOR loops 1`] = ` Object { "_attrs": Object { - "mc:Ignorable": "w14 w15 w16se w16cid wp14", - "xmlns:aink": "http://schemas.microsoft.com/office/drawing/2016/ink", - "xmlns:am3d": "http://schemas.microsoft.com/office/drawing/2017/model3d", - "xmlns:cx": "http://schemas.microsoft.com/office/drawing/2014/chartex", - "xmlns:cx1": "http://schemas.microsoft.com/office/drawing/2015/9/8/chartex", - "xmlns:cx2": "http://schemas.microsoft.com/office/drawing/2015/10/21/chartex", - "xmlns:cx3": "http://schemas.microsoft.com/office/drawing/2016/5/9/chartex", - "xmlns:cx4": "http://schemas.microsoft.com/office/drawing/2016/5/10/chartex", - "xmlns:cx5": "http://schemas.microsoft.com/office/drawing/2016/5/11/chartex", - "xmlns:cx6": "http://schemas.microsoft.com/office/drawing/2016/5/12/chartex", - "xmlns:cx7": "http://schemas.microsoft.com/office/drawing/2016/5/13/chartex", - "xmlns:cx8": "http://schemas.microsoft.com/office/drawing/2016/5/14/chartex", + "mc:Ignorable": "w14 w15 wp14", "xmlns:m": "http://schemas.openxmlformats.org/officeDocument/2006/math", "xmlns:mc": "http://schemas.openxmlformats.org/markup-compatibility/2006", "xmlns:o": "urn:schemas-microsoft-com:office:office", @@ -29732,8 +30177,6 @@ Object { "xmlns:w10": "urn:schemas-microsoft-com:office:word", "xmlns:w14": "http://schemas.microsoft.com/office/word/2010/wordml", "xmlns:w15": "http://schemas.microsoft.com/office/word/2012/wordml", - "xmlns:w16cid": "http://schemas.microsoft.com/office/word/2016/wordml/cid", - "xmlns:w16se": "http://schemas.microsoft.com/office/word/2015/wordml/symex", "xmlns:wne": "http://schemas.microsoft.com/office/word/2006/wordml", "xmlns:wp": "http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing", "xmlns:wp14": "http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing", @@ -29748,10 +30191,9 @@ Object { "_children": Array [ Object { "_attrs": Object { - "w14:paraId": "308C509A", - "w14:textId": "5BF76353", - "w:rsidR": "00FD129A", - "w:rsidRDefault": "004C35D4", + "w:rsidP": "00BE3B8D", + "w:rsidR": "00BE3B8D", + "w:rsidRDefault": "00BE3B8D", }, "_children": Array [ Object { @@ -29766,7 +30208,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "There", + "_text": "FIRST", }, ], "_fTextNode": false, @@ -29780,59 +30222,26 @@ Object { }, Object { "_attrs": Object { - "w:rsidR": "00FD129A", + "w:id": "0", + "w:name": "_GoBack", }, - "_children": Array [ - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": " should be ", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - ], + "_children": Array [], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:r", + "_tag": "w:bookmarkStart", }, Object { "_attrs": Object { - "w:rsidR": "00AC055A", + "w:id": "0", }, - "_children": Array [ - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "two ", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - ], + "_children": Array [], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:r", + "_tag": "w:bookmarkEnd", }, Object { "_attrs": Object { - "w:rsidR": "00DA3BA4", + "w:rsidR": "00444317", }, "_children": Array [ Object { @@ -29844,7 +30253,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "paragraphs", + "_text": "", }, ], "_fTextNode": false, @@ -29857,9 +30266,7 @@ Object { "_tag": "w:r", }, Object { - "_attrs": Object { - "w:rsidR": "00AC055A", - }, + "_attrs": Object {}, "_children": Array [ Object { "_attrs": Object { @@ -29870,7 +30277,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": " ", + "_text": "", }, ], "_fTextNode": false, @@ -29882,6 +30289,18 @@ Object { "_parent": [Circular], "_tag": "w:r", }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + Object { + "_attrs": Object { + "w:rsidP": "00BE3B8D", + "w:rsidR": "00BE3B8D", + "w:rsidRDefault": "00BE3B8D", + }, + "_children": Array [ Object { "_attrs": Object {}, "_children": Array [ @@ -29894,7 +30313,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "below", + "_text": "SECOND", }, ], "_fTextNode": false, @@ -29908,7 +30327,26 @@ Object { }, Object { "_attrs": Object { - "w:rsidR": "00FD129A", + "w:id": "0", + "w:name": "_GoBack", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:bookmarkStart", + }, + Object { + "_attrs": Object { + "w:id": "0", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:bookmarkEnd", + }, + Object { + "_attrs": Object { + "w:rsidR": "00444317", }, "_children": Array [ Object { @@ -29920,7 +30358,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": ":", + "_text": "", }, ], "_fTextNode": false, @@ -29933,9 +30371,7 @@ Object { "_tag": "w:r", }, Object { - "_attrs": Object { - "w:rsidR": "00DA3BA4", - }, + "_attrs": Object {}, "_children": Array [ Object { "_attrs": Object { @@ -29946,7 +30382,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": " one blue", + "_text": "", }, ], "_fTextNode": false, @@ -29958,10 +30394,20 @@ Object { "_parent": [Circular], "_tag": "w:r", }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + Object { + "_attrs": Object { + "w:rsidP": "00BE3B8D", + "w:rsidR": "00BE3B8D", + "w:rsidRDefault": "00BE3B8D", + }, + "_children": Array [ Object { - "_attrs": Object { - "w:rsidR": "00CC0AE2", - }, + "_attrs": Object {}, "_children": Array [ Object { "_attrs": Object { @@ -29972,7 +30418,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": ",", + "_text": "THIRD", }, ], "_fTextNode": false, @@ -29986,7 +30432,26 @@ Object { }, Object { "_attrs": Object { - "w:rsidR": "00DA3BA4", + "w:id": "0", + "w:name": "_GoBack", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:bookmarkStart", + }, + Object { + "_attrs": Object { + "w:id": "0", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:bookmarkEnd", + }, + Object { + "_attrs": Object { + "w:rsidR": "00444317", }, "_children": Array [ Object { @@ -29998,7 +30463,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": " and one red", + "_text": "", }, ], "_fTextNode": false, @@ -30011,9 +30476,7 @@ Object { "_tag": "w:r", }, Object { - "_attrs": Object { - "w:rsidR": "00CC0AE2", - }, + "_attrs": Object {}, "_children": Array [ Object { "_attrs": Object { @@ -30024,7 +30487,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": " with title subtitle and bullets", + "_text": "", }, ], "_fTextNode": false, @@ -30043,96 +30506,23 @@ Object { }, Object { "_attrs": Object { - "w14:paraId": "60F08C3F", - "w14:textId": "77777777", - "w:rsidR": "00DA3BA4", - "w:rsidRDefault": "00DA3BA4", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:p", - }, - Object { - "_attrs": Object { - "r:id": "html1", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:altChunk", - }, - Object { - "_attrs": Object { - "w14:paraId": "767A9B2B", - "w14:textId": "77777777", - "w:rsidR": "00DA3BA4", - "w:rsidRDefault": "00DA3BA4", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:p", - }, - Object { - "_attrs": Object { - "r:id": "html2", + "w:rsidR": "00426180", + "w:rsidRDefault": "00426180", }, "_children": Array [], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:altChunk", - }, - Object { - "_attrs": Object { - "w14:paraId": "3A62A2B1", - "w14:textId": "3CDCD5F0", - "w:rsidP": "00B9506E", - "w:rsidR": "00904BD3", - "w:rsidRDefault": "00904BD3", - }, - "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "w:pos": "1478", - "w:val": "left", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:tab", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:tabs", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:pPr", - }, - ], - "_fTextNode": false, - "_parent": [Circular], "_tag": "w:p", }, Object { "_attrs": Object { - "w:rsidR": "00904BD3", - "w:rsidSect": "00A0490B", + "w:rsidR": "00426180", }, "_children": Array [ Object { "_attrs": Object { - "w:h": "16840", - "w:w": "11900", + "w:h": "15840", + "w:w": "12240", }, "_children": Array [], "_fTextNode": false, @@ -30188,14 +30578,23 @@ Object { } `; -exports[`sandbox Template processing 10 Processes JS snippets to get the array elements 1`] = ` +exports[`sandbox Template processing 3A Processes HTML commands 1`] = ` Object { "_attrs": Object { - "mc:Ignorable": "w14 w15 wp14", + "mc:Ignorable": "w14 w15 w16se w16cid wp14", + "xmlns:aink": "http://schemas.microsoft.com/office/drawing/2016/ink", + "xmlns:am3d": "http://schemas.microsoft.com/office/drawing/2017/model3d", + "xmlns:cx": "http://schemas.microsoft.com/office/drawing/2014/chartex", + "xmlns:cx1": "http://schemas.microsoft.com/office/drawing/2015/9/8/chartex", + "xmlns:cx2": "http://schemas.microsoft.com/office/drawing/2015/10/21/chartex", + "xmlns:cx3": "http://schemas.microsoft.com/office/drawing/2016/5/9/chartex", + "xmlns:cx4": "http://schemas.microsoft.com/office/drawing/2016/5/10/chartex", + "xmlns:cx5": "http://schemas.microsoft.com/office/drawing/2016/5/11/chartex", + "xmlns:cx6": "http://schemas.microsoft.com/office/drawing/2016/5/12/chartex", + "xmlns:cx7": "http://schemas.microsoft.com/office/drawing/2016/5/13/chartex", + "xmlns:cx8": "http://schemas.microsoft.com/office/drawing/2016/5/14/chartex", "xmlns:m": "http://schemas.openxmlformats.org/officeDocument/2006/math", "xmlns:mc": "http://schemas.openxmlformats.org/markup-compatibility/2006", - "xmlns:mo": "http://schemas.microsoft.com/office/mac/office/2008/main", - "xmlns:mv": "urn:schemas-microsoft-com:mac:vml", "xmlns:o": "urn:schemas-microsoft-com:office:office", "xmlns:r": "http://schemas.openxmlformats.org/officeDocument/2006/relationships", "xmlns:v": "urn:schemas-microsoft-com:vml", @@ -30203,6 +30602,8 @@ Object { "xmlns:w10": "urn:schemas-microsoft-com:office:word", "xmlns:w14": "http://schemas.microsoft.com/office/word/2010/wordml", "xmlns:w15": "http://schemas.microsoft.com/office/word/2012/wordml", + "xmlns:w16cid": "http://schemas.microsoft.com/office/word/2016/wordml/cid", + "xmlns:w16se": "http://schemas.microsoft.com/office/word/2015/wordml/symex", "xmlns:wne": "http://schemas.microsoft.com/office/word/2006/wordml", "xmlns:wp": "http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing", "xmlns:wp14": "http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing", @@ -30217,11 +30618,10 @@ Object { "_children": Array [ Object { "_attrs": Object { - "w14:paraId": "26E9D847", - "w14:textId": "741AF242", - "w:rsidP": "00457E91", - "w:rsidR": "00295AEE", - "w:rsidRDefault": "00295AEE", + "w14:paraId": "308C509A", + "w14:textId": "5BF76353", + "w:rsidR": "00FD129A", + "w:rsidRDefault": "004C35D4", }, "_children": Array [ Object { @@ -30229,31 +30629,14 @@ Object { "_children": Array [ Object { "_attrs": Object { - "w:val": "0", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:outlineLvl", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:pPr", - }, - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "xml:space": "preserve", + "xml:space": "preserve", }, "_children": Array [ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "Companies starting with A:", + "_text": "There", }, ], "_fTextNode": false, @@ -30265,22 +30648,10 @@ Object { "_parent": [Circular], "_tag": "w:r", }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:p", - }, - Object { - "_attrs": Object { - "w14:paraId": "0B4CB045", - "w14:textId": "2F5200A0", - "w:rsidP": "00BE3B8D", - "w:rsidR": "00BE3B8D", - "w:rsidRDefault": "00295AEE", - }, - "_children": Array [ Object { - "_attrs": Object {}, + "_attrs": Object { + "w:rsidR": "00FD129A", + }, "_children": Array [ Object { "_attrs": Object { @@ -30291,7 +30662,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "- ", + "_text": " should be ", }, ], "_fTextNode": false, @@ -30305,7 +30676,7 @@ Object { }, Object { "_attrs": Object { - "w:rsidR": "00BE3B8D", + "w:rsidR": "00AC055A", }, "_children": Array [ Object { @@ -30317,7 +30688,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "ABENGOA", + "_text": "two ", }, ], "_fTextNode": false, @@ -30331,7 +30702,7 @@ Object { }, Object { "_attrs": Object { - "w:rsidR": "00160A38", + "w:rsidR": "00DA3BA4", }, "_children": Array [ Object { @@ -30343,7 +30714,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "", + "_text": "paragraphs", }, ], "_fTextNode": false, @@ -30357,7 +30728,7 @@ Object { }, Object { "_attrs": Object { - "w:rsidR": "009941CE", + "w:rsidR": "00AC055A", }, "_children": Array [ Object { @@ -30369,7 +30740,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "", + "_text": " ", }, ], "_fTextNode": false, @@ -30382,28 +30753,7 @@ Object { "_tag": "w:r", }, Object { - "_attrs": Object { - "w:id": "0", - "w:name": "_GoBack", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:bookmarkStart", - }, - Object { - "_attrs": Object { - "w:id": "0", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:bookmarkEnd", - }, - Object { - "_attrs": Object { - "w:rsidR": "00BE3B8D", - }, + "_attrs": Object {}, "_children": Array [ Object { "_attrs": Object { @@ -30414,7 +30764,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "", + "_text": "below", }, ], "_fTextNode": false, @@ -30426,22 +30776,10 @@ Object { "_parent": [Circular], "_tag": "w:r", }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:p", - }, - Object { - "_attrs": Object { - "w14:paraId": "0B4CB045", - "w14:textId": "2F5200A0", - "w:rsidP": "00BE3B8D", - "w:rsidR": "00BE3B8D", - "w:rsidRDefault": "00295AEE", - }, - "_children": Array [ Object { - "_attrs": Object {}, + "_attrs": Object { + "w:rsidR": "00FD129A", + }, "_children": Array [ Object { "_attrs": Object { @@ -30452,7 +30790,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "- ", + "_text": ":", }, ], "_fTextNode": false, @@ -30466,7 +30804,7 @@ Object { }, Object { "_attrs": Object { - "w:rsidR": "00BE3B8D", + "w:rsidR": "00DA3BA4", }, "_children": Array [ Object { @@ -30478,7 +30816,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "ACERINOX", + "_text": " one blue", }, ], "_fTextNode": false, @@ -30492,7 +30830,7 @@ Object { }, Object { "_attrs": Object { - "w:rsidR": "00160A38", + "w:rsidR": "00CC0AE2", }, "_children": Array [ Object { @@ -30504,7 +30842,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "", + "_text": ",", }, ], "_fTextNode": false, @@ -30518,7 +30856,7 @@ Object { }, Object { "_attrs": Object { - "w:rsidR": "009941CE", + "w:rsidR": "00DA3BA4", }, "_children": Array [ Object { @@ -30530,7 +30868,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "", + "_text": " and one red", }, ], "_fTextNode": false, @@ -30544,26 +30882,7 @@ Object { }, Object { "_attrs": Object { - "w:id": "0", - "w:name": "_GoBack", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:bookmarkStart", - }, - Object { - "_attrs": Object { - "w:id": "0", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:bookmarkEnd", - }, - Object { - "_attrs": Object { - "w:rsidR": "00BE3B8D", + "w:rsidR": "00CC0AE2", }, "_children": Array [ Object { @@ -30575,7 +30894,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "", + "_text": " with title subtitle and bullets", }, ], "_fTextNode": false, @@ -30594,10 +30913,10 @@ Object { }, Object { "_attrs": Object { - "w14:paraId": "2D7E1D03", + "w14:paraId": "60F08C3F", "w14:textId": "77777777", - "w:rsidR": "00426180", - "w:rsidRDefault": "00426180", + "w:rsidR": "00DA3BA4", + "w:rsidRDefault": "00DA3BA4", }, "_children": Array [], "_fTextNode": false, @@ -30606,13 +30925,84 @@ Object { }, Object { "_attrs": Object { - "w:rsidR": "00426180", + "r:id": "html1", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:altChunk", + }, + Object { + "_attrs": Object { + "w14:paraId": "767A9B2B", + "w14:textId": "77777777", + "w:rsidR": "00DA3BA4", + "w:rsidRDefault": "00DA3BA4", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + Object { + "_attrs": Object { + "r:id": "html2", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:altChunk", + }, + Object { + "_attrs": Object { + "w14:paraId": "3A62A2B1", + "w14:textId": "3CDCD5F0", + "w:rsidP": "00B9506E", + "w:rsidR": "00904BD3", + "w:rsidRDefault": "00904BD3", + }, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "w:pos": "1478", + "w:val": "left", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:tab", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:tabs", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:pPr", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + Object { + "_attrs": Object { + "w:rsidR": "00904BD3", + "w:rsidSect": "00A0490B", }, "_children": Array [ Object { "_attrs": Object { - "w:h": "15840", - "w:w": "12240", + "w:h": "16840", + "w:w": "11900", }, "_children": Array [], "_fTextNode": false, @@ -30668,12 +31058,14 @@ Object { } `; -exports[`sandbox Template processing 11 Processes inline FOR loops 1`] = ` +exports[`sandbox Template processing 10 Processes JS snippets to get the array elements 1`] = ` Object { "_attrs": Object { "mc:Ignorable": "w14 w15 wp14", "xmlns:m": "http://schemas.openxmlformats.org/officeDocument/2006/math", "xmlns:mc": "http://schemas.openxmlformats.org/markup-compatibility/2006", + "xmlns:mo": "http://schemas.microsoft.com/office/mac/office/2008/main", + "xmlns:mv": "urn:schemas-microsoft-com:mac:vml", "xmlns:o": "urn:schemas-microsoft-com:office:office", "xmlns:r": "http://schemas.openxmlformats.org/officeDocument/2006/relationships", "xmlns:v": "urn:schemas-microsoft-com:vml", @@ -30695,32 +31087,33 @@ Object { "_children": Array [ Object { "_attrs": Object { - "w:rsidP": "001D6393", - "w:rsidR": "00426180", - "w:rsidRDefault": "001D6393", + "w14:paraId": "26E9D847", + "w14:textId": "741AF242", + "w:rsidP": "00457E91", + "w:rsidR": "00295AEE", + "w:rsidRDefault": "00295AEE", }, "_children": Array [ Object { - "_attrs": Object { - "w:rsidRPr": "001D6393", - }, + "_attrs": Object {}, "_children": Array [ Object { "_attrs": Object { - "xml:space": "preserve", + "w:val": "0", }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "", - }, - ], + "_children": Array [], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:t", + "_tag": "w:outlineLvl", }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:pPr", + }, + Object { + "_attrs": Object {}, + "_children": Array [ Object { "_attrs": Object { "xml:space": "preserve", @@ -30730,67 +31123,35 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "", - }, - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "", + "_text": "Companies starting with A:", }, ], "_fTextNode": false, "_parent": [Circular], "_tag": "w:t", }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + Object { + "_attrs": Object { + "w14:paraId": "0B4CB045", + "w14:textId": "2F5200A0", + "w:rsidP": "00BE3B8D", + "w:rsidR": "00BE3B8D", + "w:rsidRDefault": "00295AEE", + }, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ Object { "_attrs": Object { "xml:space": "preserve", @@ -30800,13 +31161,23 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "{{", + "_text": "- ", }, ], "_fTextNode": false, "_parent": [Circular], "_tag": "w:t", }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + Object { + "_attrs": Object { + "w:rsidR": "00BE3B8D", + }, + "_children": Array [ Object { "_attrs": Object { "xml:space": "preserve", @@ -30816,13 +31187,23 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "FIRST", + "_text": "ABENGOA", }, ], "_fTextNode": false, "_parent": [Circular], "_tag": "w:t", }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + Object { + "_attrs": Object { + "w:rsidR": "00160A38", + }, + "_children": Array [ Object { "_attrs": Object { "xml:space": "preserve", @@ -30832,13 +31213,23 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "}}", + "_text": "", }, ], "_fTextNode": false, "_parent": [Circular], "_tag": "w:t", }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + Object { + "_attrs": Object { + "w:rsidR": "009941CE", + }, + "_children": Array [ Object { "_attrs": Object { "xml:space": "preserve", @@ -30850,17 +31241,40 @@ Object { "_parent": [Circular], "_text": "", }, - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "", - }, ], "_fTextNode": false, "_parent": [Circular], "_tag": "w:t", }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + Object { + "_attrs": Object { + "w:id": "0", + "w:name": "_GoBack", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:bookmarkStart", + }, + Object { + "_attrs": Object { + "w:id": "0", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:bookmarkEnd", + }, + Object { + "_attrs": Object { + "w:rsidR": "00BE3B8D", + }, + "_children": Array [ Object { "_attrs": Object { "xml:space": "preserve", @@ -30870,13 +31284,35 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "{{", + "_text": "", }, ], "_fTextNode": false, "_parent": [Circular], "_tag": "w:t", }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + Object { + "_attrs": Object { + "w14:paraId": "0B4CB045", + "w14:textId": "2F5200A0", + "w:rsidP": "00BE3B8D", + "w:rsidR": "00BE3B8D", + "w:rsidRDefault": "00295AEE", + }, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ Object { "_attrs": Object { "xml:space": "preserve", @@ -30886,13 +31322,23 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "SECOND", + "_text": "- ", }, ], "_fTextNode": false, "_parent": [Circular], "_tag": "w:t", }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + Object { + "_attrs": Object { + "w:rsidR": "00BE3B8D", + }, + "_children": Array [ Object { "_attrs": Object { "xml:space": "preserve", @@ -30902,13 +31348,23 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "}}", + "_text": "ACERINOX", }, ], "_fTextNode": false, "_parent": [Circular], "_tag": "w:t", }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + Object { + "_attrs": Object { + "w:rsidR": "00160A38", + }, + "_children": Array [ Object { "_attrs": Object { "xml:space": "preserve", @@ -30920,33 +31376,21 @@ Object { "_parent": [Circular], "_text": "", }, - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "{{", - }, ], "_fTextNode": false, "_parent": [Circular], "_tag": "w:t", }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + Object { + "_attrs": Object { + "w:rsidR": "009941CE", + }, + "_children": Array [ Object { "_attrs": Object { "xml:space": "preserve", @@ -30956,13 +31400,42 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "THIRD", + "_text": "", }, ], "_fTextNode": false, "_parent": [Circular], "_tag": "w:t", }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + Object { + "_attrs": Object { + "w:id": "0", + "w:name": "_GoBack", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:bookmarkStart", + }, + Object { + "_attrs": Object { + "w:id": "0", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:bookmarkEnd", + }, + Object { + "_attrs": Object { + "w:rsidR": "00BE3B8D", + }, + "_children": Array [ Object { "_attrs": Object { "xml:space": "preserve", @@ -30972,23 +31445,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "}}", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "", + "_text": "", }, ], "_fTextNode": false, @@ -31007,40 +31464,19 @@ Object { }, Object { "_attrs": Object { - "w:rsidP": "001D6393", - "w:rsidR": "001D6393", - "w:rsidRDefault": "001D6393", - "w:rsidRPr": "001D6393", + "w14:paraId": "2D7E1D03", + "w14:textId": "77777777", + "w:rsidR": "00426180", + "w:rsidRDefault": "00426180", }, - "_children": Array [ - Object { - "_attrs": Object { - "w:id": "0", - "w:name": "_GoBack", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:bookmarkStart", - }, - Object { - "_attrs": Object { - "w:id": "0", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:bookmarkEnd", - }, - ], + "_children": Array [], "_fTextNode": false, "_parent": [Circular], "_tag": "w:p", }, Object { "_attrs": Object { - "w:rsidR": "001D6393", - "w:rsidRPr": "001D6393", + "w:rsidR": "00426180", }, "_children": Array [ Object { @@ -31102,7 +31538,7 @@ Object { } `; -exports[`sandbox Template processing 12 Processes a more complex inline FOR loop with spaces 1`] = ` +exports[`sandbox Template processing 11 Processes inline FOR loops 1`] = ` Object { "_attrs": Object { "mc:Ignorable": "w14 w15 wp14", @@ -31130,31 +31566,15 @@ Object { Object { "_attrs": Object { "w:rsidP": "001D6393", - "w:rsidR": "001D6393", - "w:rsidRDefault": "0003395A", + "w:rsidR": "00426180", + "w:rsidRDefault": "001D6393", }, "_children": Array [ Object { "_attrs": Object { - "w:rsidRPr": "0003395A", + "w:rsidRPr": "001D6393", }, "_children": Array [ - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": " ", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, Object { "_attrs": Object { "xml:space": "preserve", @@ -31282,7 +31702,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "}} ", + "_text": "}}", }, ], "_fTextNode": false, @@ -31352,7 +31772,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "}} ", + "_text": "}}", }, ], "_fTextNode": false, @@ -31422,7 +31842,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "}} ", + "_text": "}}", }, ], "_fTextNode": false, @@ -31445,22 +31865,6 @@ Object { "_parent": [Circular], "_tag": "w:t", }, - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": " .", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, ], "_fTextNode": false, "_parent": [Circular], @@ -31474,8 +31878,8 @@ Object { Object { "_attrs": Object { "w:rsidP": "001D6393", - "w:rsidR": "0003395A", - "w:rsidRDefault": "0003395A", + "w:rsidR": "001D6393", + "w:rsidRDefault": "001D6393", "w:rsidRPr": "001D6393", }, "_children": Array [ @@ -31505,7 +31909,7 @@ Object { }, Object { "_attrs": Object { - "w:rsidR": "0003395A", + "w:rsidR": "001D6393", "w:rsidRPr": "001D6393", }, "_children": Array [ @@ -31568,7 +31972,7 @@ Object { } `; -exports[`sandbox Template processing 13a Processes 1-level IF 1`] = ` +exports[`sandbox Template processing 12 Processes a more complex inline FOR loop with spaces 1`] = ` Object { "_attrs": Object { "mc:Ignorable": "w14 w15 wp14", @@ -31595,14 +31999,15 @@ Object { "_children": Array [ Object { "_attrs": Object { - "w:rsidP": "00953592", - "w:rsidR": "00953592", - "w:rsidRDefault": "00953592", - "w:rsidRPr": "00953592", + "w:rsidP": "001D6393", + "w:rsidR": "001D6393", + "w:rsidRDefault": "0003395A", }, "_children": Array [ Object { - "_attrs": Object {}, + "_attrs": Object { + "w:rsidRPr": "0003395A", + }, "_children": Array [ Object { "_attrs": Object { @@ -31613,33 +32018,13 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "Test 1:", + "_text": " ", }, ], "_fTextNode": false, "_parent": [Circular], "_tag": "w:t", }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:p", - }, - Object { - "_attrs": Object { - "w:rsidP": "00953592", - "w:rsidR": "00953592", - "w:rsidRDefault": "00953592", - }, - "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ Object { "_attrs": Object { "xml:space": "preserve", @@ -31649,48 +32034,13 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "Should appear in the output", + "_text": "", }, ], "_fTextNode": false, "_parent": [Circular], "_tag": "w:t", }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:p", - }, - Object { - "_attrs": Object { - "w:rsidP": "00953592", - "w:rsidR": "00953592", - "w:rsidRDefault": "00953592", - "w:rsidRPr": "0002254C", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:p", - }, - Object { - "_attrs": Object { - "w:rsidP": "00953592", - "w:rsidR": "00953592", - "w:rsidRDefault": "00953592", - "w:rsidRPr": "00953592", - }, - "_children": Array [ - Object { - "_attrs": Object { - "w:rsidRPr": "00953592", - }, - "_children": Array [ Object { "_attrs": Object { "xml:space": "preserve", @@ -31700,136 +32050,13 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "Test 2:", + "_text": "", }, ], "_fTextNode": false, "_parent": [Circular], "_tag": "w:t", }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:p", - }, - Object { - "_attrs": Object { - "w:rsidP": "00953592", - "w:rsidR": "00953592", - "w:rsidRDefault": "00953592", - "w:rsidRPr": "00953592", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:p", - }, - Object { - "_attrs": Object { - "w:rsidR": "00953592", - "w:rsidRPr": "00953592", - }, - "_children": Array [ - Object { - "_attrs": Object { - "w:h": "15840", - "w:w": "12240", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:pgSz", - }, - Object { - "_attrs": Object { - "w:bottom": "1417", - "w:footer": "708", - "w:gutter": "0", - "w:header": "708", - "w:left": "1701", - "w:right": "1701", - "w:top": "1417", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:pgMar", - }, - Object { - "_attrs": Object { - "w:space": "708", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:cols", - }, - Object { - "_attrs": Object { - "w:linePitch": "360", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:docGrid", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:sectPr", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:body", - }, - ], - "_fTextNode": false, - "_tag": "w:document", -} -`; - -exports[`sandbox Template processing 13b Processes 2-level IF 1`] = ` -Object { - "_attrs": Object { - "mc:Ignorable": "w14 w15 wp14", - "xmlns:m": "http://schemas.openxmlformats.org/officeDocument/2006/math", - "xmlns:mc": "http://schemas.openxmlformats.org/markup-compatibility/2006", - "xmlns:o": "urn:schemas-microsoft-com:office:office", - "xmlns:r": "http://schemas.openxmlformats.org/officeDocument/2006/relationships", - "xmlns:v": "urn:schemas-microsoft-com:vml", - "xmlns:w": "http://schemas.openxmlformats.org/wordprocessingml/2006/main", - "xmlns:w10": "urn:schemas-microsoft-com:office:word", - "xmlns:w14": "http://schemas.microsoft.com/office/word/2010/wordml", - "xmlns:w15": "http://schemas.microsoft.com/office/word/2012/wordml", - "xmlns:wne": "http://schemas.microsoft.com/office/word/2006/wordml", - "xmlns:wp": "http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing", - "xmlns:wp14": "http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing", - "xmlns:wpc": "http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas", - "xmlns:wpg": "http://schemas.microsoft.com/office/word/2010/wordprocessingGroup", - "xmlns:wpi": "http://schemas.microsoft.com/office/word/2010/wordprocessingInk", - "xmlns:wps": "http://schemas.microsoft.com/office/word/2010/wordprocessingShape", - }, - "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "w:rsidP": "00953592", - "w:rsidR": "00953592", - "w:rsidRDefault": "00953592", - "w:rsidRPr": "00953592", - }, - "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ Object { "_attrs": Object { "xml:space": "preserve", @@ -31839,23 +32066,13 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "Test 1", + "_text": "", }, ], "_fTextNode": false, "_parent": [Circular], "_tag": "w:t", }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - Object { - "_attrs": Object { - "w:rsidR": "00427DDF", - }, - "_children": Array [ Object { "_attrs": Object { "xml:space": "preserve", @@ -31865,21 +32082,13 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": " (should show two lines)", + "_text": "", }, ], "_fTextNode": false, "_parent": [Circular], "_tag": "w:t", }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - Object { - "_attrs": Object {}, - "_children": Array [ Object { "_attrs": Object { "xml:space": "preserve", @@ -31889,33 +32098,19 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": ":", + "_text": "", + }, + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "", }, ], "_fTextNode": false, "_parent": [Circular], "_tag": "w:t", }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:p", - }, - Object { - "_attrs": Object { - "w:rsidP": "00953592", - "w:rsidR": "00953592", - "w:rsidRDefault": "00427DDF", - }, - "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ Object { "_attrs": Object { "xml:space": "preserve", @@ -31925,33 +32120,13 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "Line 1", + "_text": "{{", }, ], "_fTextNode": false, "_parent": [Circular], "_tag": "w:t", }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:p", - }, - Object { - "_attrs": Object { - "w:rsidP": "00953592", - "w:rsidR": "00427DDF", - "w:rsidRDefault": "00427DDF", - }, - "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ Object { "_attrs": Object { "xml:space": "preserve", @@ -31961,7 +32136,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "", + "_text": "FIRST", }, ], "_fTextNode": false, @@ -31977,7 +32152,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "", + "_text": "}} ", }, ], "_fTextNode": false, @@ -32015,7 +32190,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "Line 2", + "_text": "{{", }, ], "_fTextNode": false, @@ -32031,45 +32206,13 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "", + "_text": "SECOND", }, ], "_fTextNode": false, "_parent": [Circular], "_tag": "w:t", }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:p", - }, - Object { - "_attrs": Object { - "w:rsidP": "00953592", - "w:rsidR": "00953592", - "w:rsidRDefault": "00953592", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:p", - }, - Object { - "_attrs": Object { - "w:rsidP": "00427DDF", - "w:rsidR": "00427DDF", - "w:rsidRDefault": "00427DDF", - "w:rsidRPr": "00953592", - }, - "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ Object { "_attrs": Object { "xml:space": "preserve", @@ -32079,21 +32222,13 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "Test 2", + "_text": "}} ", }, ], "_fTextNode": false, "_parent": [Circular], "_tag": "w:t", }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - Object { - "_attrs": Object {}, - "_children": Array [ Object { "_attrs": Object { "xml:space": "preserve", @@ -32103,45 +32238,19 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": " (should show ", + "_text": "", }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "one line", + "_text": "", }, ], "_fTextNode": false, "_parent": [Circular], "_tag": "w:t", }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - Object { - "_attrs": Object {}, - "_children": Array [ Object { "_attrs": Object { "xml:space": "preserve", @@ -32151,33 +32260,13 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "):", + "_text": "{{", }, ], "_fTextNode": false, "_parent": [Circular], "_tag": "w:t", }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:p", - }, - Object { - "_attrs": Object { - "w:rsidP": "00427DDF", - "w:rsidR": "00427DDF", - "w:rsidRDefault": "00427DDF", - }, - "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ Object { "_attrs": Object { "xml:space": "preserve", @@ -32187,33 +32276,13 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "Line 1", + "_text": "THIRD", }, ], "_fTextNode": false, "_parent": [Circular], "_tag": "w:t", }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:p", - }, - Object { - "_attrs": Object { - "w:rsidP": "00427DDF", - "w:rsidR": "00427DDF", - "w:rsidRDefault": "00427DDF", - }, - "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ Object { "_attrs": Object { "xml:space": "preserve", @@ -32223,7 +32292,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "", + "_text": "}} ", }, ], "_fTextNode": false, @@ -32246,14 +32315,6 @@ Object { "_parent": [Circular], "_tag": "w:t", }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - Object { - "_attrs": Object {}, - "_children": Array [ Object { "_attrs": Object { "xml:space": "preserve", @@ -32263,47 +32324,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "", + "_text": " .", }, ], "_fTextNode": false, @@ -32322,167 +32343,12 @@ Object { }, Object { "_attrs": Object { - "w:rsidP": "00953592", - "w:rsidR": "00427DDF", - "w:rsidRDefault": "00427DDF", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:p", - }, - Object { - "_attrs": Object { - "w:rsidP": "00427DDF", - "w:rsidR": "00427DDF", - "w:rsidRDefault": "00427DDF", - "w:rsidRPr": "00953592", + "w:rsidP": "001D6393", + "w:rsidR": "0003395A", + "w:rsidRDefault": "0003395A", + "w:rsidRPr": "001D6393", }, "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "Test ", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "3", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": " (should show ", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "zero ", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "line", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "s, even if the inner condition is true", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, Object { "_attrs": Object { "w:id": "0", @@ -32502,30 +32368,6 @@ Object { "_parent": [Circular], "_tag": "w:bookmarkEnd", }, - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "):", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, ], "_fTextNode": false, "_parent": [Circular], @@ -32533,20 +32375,8 @@ Object { }, Object { "_attrs": Object { - "w:rsidP": "00953592", - "w:rsidR": "00427DDF", - "w:rsidRDefault": "00427DDF", - "w:rsidRPr": "0002254C", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:p", - }, - Object { - "_attrs": Object { - "w:rsidR": "00427DDF", - "w:rsidRPr": "0002254C", + "w:rsidR": "0003395A", + "w:rsidRPr": "001D6393", }, "_children": Array [ Object { @@ -32608,7 +32438,7 @@ Object { } `; -exports[`sandbox Template processing 13j Processes inline IF 1`] = ` +exports[`sandbox Template processing 13a Processes 1-level IF 1`] = ` Object { "_attrs": Object { "mc:Ignorable": "w14 w15 wp14", @@ -32674,14 +32504,11 @@ Object { "_attrs": Object { "w:rsidP": "00953592", "w:rsidR": "00953592", - "w:rsidRDefault": "00681FD9", - "w:rsidRPr": "00953592", + "w:rsidRDefault": "00953592", }, "_children": Array [ Object { - "_attrs": Object { - "w:rsidRPr": "00681FD9", - }, + "_attrs": Object {}, "_children": Array [ Object { "_attrs": Object { @@ -32692,77 +32519,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "", - }, - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "Should appear in the output", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "", + "_text": "Should appear in the output", }, ], "_fTextNode": false, @@ -32830,96 +32587,6 @@ Object { "_parent": [Circular], "_tag": "w:p", }, - Object { - "_attrs": Object { - "w:rsidP": "00953592", - "w:rsidR": "00953592", - "w:rsidRDefault": "00681FD9", - "w:rsidRPr": "00953592", - }, - "_children": Array [ - Object { - "_attrs": Object { - "w:rsidRPr": "00681FD9", - }, - "_children": Array [ - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - Object { - "_attrs": Object { - "w:id": "0", - "w:name": "_GoBack", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:bookmarkStart", - }, - Object { - "_attrs": Object { - "w:id": "0", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:bookmarkEnd", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:p", - }, Object { "_attrs": Object { "w:rsidP": "00953592", @@ -32997,14 +32664,12 @@ Object { } `; -exports[`sandbox Template processing 20 Processes ALIAS commands 1`] = ` +exports[`sandbox Template processing 13b Processes 2-level IF 1`] = ` Object { "_attrs": Object { "mc:Ignorable": "w14 w15 wp14", "xmlns:m": "http://schemas.openxmlformats.org/officeDocument/2006/math", "xmlns:mc": "http://schemas.openxmlformats.org/markup-compatibility/2006", - "xmlns:mo": "http://schemas.microsoft.com/office/mac/office/2008/main", - "xmlns:mv": "urn:schemas-microsoft-com:mac:vml", "xmlns:o": "urn:schemas-microsoft-com:office:office", "xmlns:r": "http://schemas.openxmlformats.org/officeDocument/2006/relationships", "xmlns:v": "urn:schemas-microsoft-com:vml", @@ -33026,11 +32691,10 @@ Object { "_children": Array [ Object { "_attrs": Object { - "w14:paraId": "017DCBFA", - "w14:textId": "6AF04459", - "w:rsidP": "00BE3B8D", - "w:rsidR": "00BE3B8D", - "w:rsidRDefault": "009312A9", + "w:rsidP": "00953592", + "w:rsidR": "00953592", + "w:rsidRDefault": "00953592", + "w:rsidRPr": "00953592", }, "_children": Array [ Object { @@ -33045,7 +32709,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "FIRST", + "_text": "Test 1", }, ], "_fTextNode": false, @@ -33059,7 +32723,7 @@ Object { }, Object { "_attrs": Object { - "w:rsidR": "00863FA3", + "w:rsidR": "00427DDF", }, "_children": Array [ Object { @@ -33071,7 +32735,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "", + "_text": " (should show two lines)", }, ], "_fTextNode": false, @@ -33084,9 +32748,7 @@ Object { "_tag": "w:r", }, Object { - "_attrs": Object { - "w:rsidR": "00241C27", - }, + "_attrs": Object {}, "_children": Array [ Object { "_attrs": Object { @@ -33097,7 +32759,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "", + "_text": ":", }, ], "_fTextNode": false, @@ -33109,29 +32771,20 @@ Object { "_parent": [Circular], "_tag": "w:r", }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + Object { + "_attrs": Object { + "w:rsidP": "00953592", + "w:rsidR": "00953592", + "w:rsidRDefault": "00427DDF", + }, + "_children": Array [ Object { - "_attrs": Object { - "w:id": "0", - "w:name": "_GoBack", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:bookmarkStart", - }, - Object { - "_attrs": Object { - "w:id": "0", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:bookmarkEnd", - }, - Object { - "_attrs": Object { - "w:rsidR": "00BE3B8D", - }, + "_attrs": Object {}, "_children": Array [ Object { "_attrs": Object { @@ -33142,7 +32795,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "", + "_text": "Line 1", }, ], "_fTextNode": false, @@ -33161,11 +32814,9 @@ Object { }, Object { "_attrs": Object { - "w14:paraId": "017DCBFA", - "w14:textId": "6AF04459", - "w:rsidP": "00BE3B8D", - "w:rsidR": "00BE3B8D", - "w:rsidRDefault": "009312A9", + "w:rsidP": "00953592", + "w:rsidR": "00427DDF", + "w:rsidRDefault": "00427DDF", }, "_children": Array [ Object { @@ -33180,23 +32831,13 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "SECOND", + "_text": "", }, ], "_fTextNode": false, "_parent": [Circular], "_tag": "w:t", }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - Object { - "_attrs": Object { - "w:rsidR": "00863FA3", - }, - "_children": Array [ Object { "_attrs": Object { "xml:space": "preserve", @@ -33213,16 +32854,6 @@ Object { "_parent": [Circular], "_tag": "w:t", }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - Object { - "_attrs": Object { - "w:rsidR": "00241C27", - }, - "_children": Array [ Object { "_attrs": Object { "xml:space": "preserve", @@ -33234,40 +32865,33 @@ Object { "_parent": [Circular], "_text": "", }, + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "Line 2", + }, ], "_fTextNode": false, "_parent": [Circular], "_tag": "w:t", }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - Object { - "_attrs": Object { - "w:id": "0", - "w:name": "_GoBack", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:bookmarkStart", - }, - Object { - "_attrs": Object { - "w:id": "0", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:bookmarkEnd", - }, - Object { - "_attrs": Object { - "w:rsidR": "00BE3B8D", - }, - "_children": Array [ Object { "_attrs": Object { "xml:space": "preserve", @@ -33296,11 +32920,21 @@ Object { }, Object { "_attrs": Object { - "w14:paraId": "017DCBFA", - "w14:textId": "6AF04459", - "w:rsidP": "00BE3B8D", - "w:rsidR": "00BE3B8D", - "w:rsidRDefault": "009312A9", + "w:rsidP": "00953592", + "w:rsidR": "00953592", + "w:rsidRDefault": "00953592", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + Object { + "_attrs": Object { + "w:rsidP": "00427DDF", + "w:rsidR": "00427DDF", + "w:rsidRDefault": "00427DDF", + "w:rsidRPr": "00953592", }, "_children": Array [ Object { @@ -33315,7 +32949,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "THIRD", + "_text": "Test 2", }, ], "_fTextNode": false, @@ -33328,9 +32962,7 @@ Object { "_tag": "w:r", }, Object { - "_attrs": Object { - "w:rsidR": "00863FA3", - }, + "_attrs": Object {}, "_children": Array [ Object { "_attrs": Object { @@ -33341,7 +32973,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "", + "_text": " (should show ", }, ], "_fTextNode": false, @@ -33354,9 +32986,7 @@ Object { "_tag": "w:r", }, Object { - "_attrs": Object { - "w:rsidR": "00241C27", - }, + "_attrs": Object {}, "_children": Array [ Object { "_attrs": Object { @@ -33367,7 +32997,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "", + "_text": "one line", }, ], "_fTextNode": false, @@ -33380,28 +33010,7 @@ Object { "_tag": "w:r", }, Object { - "_attrs": Object { - "w:id": "0", - "w:name": "_GoBack", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:bookmarkStart", - }, - Object { - "_attrs": Object { - "w:id": "0", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:bookmarkEnd", - }, - Object { - "_attrs": Object { - "w:rsidR": "00BE3B8D", - }, + "_attrs": Object {}, "_children": Array [ Object { "_attrs": Object { @@ -33412,7 +33021,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "", + "_text": "):", }, ], "_fTextNode": false, @@ -33431,110 +33040,45 @@ Object { }, Object { "_attrs": Object { - "w14:paraId": "704D41F7", - "w14:textId": "77777777", - "w:rsidR": "00426180", - "w:rsidRDefault": "00426180", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:p", - }, - Object { - "_attrs": Object { - "w:rsidR": "00426180", + "w:rsidP": "00427DDF", + "w:rsidR": "00427DDF", + "w:rsidRDefault": "00427DDF", }, "_children": Array [ Object { - "_attrs": Object { - "w:h": "15840", - "w:w": "12240", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:pgSz", - }, - Object { - "_attrs": Object { - "w:bottom": "1417", - "w:footer": "708", - "w:gutter": "0", - "w:header": "708", - "w:left": "1701", - "w:right": "1701", - "w:top": "1417", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:pgMar", - }, - Object { - "_attrs": Object { - "w:space": "708", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:cols", - }, - Object { - "_attrs": Object { - "w:linePitch": "360", - }, - "_children": Array [], + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "Line 1", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:docGrid", + "_tag": "w:r", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:sectPr", + "_tag": "w:p", }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:body", - }, - ], - "_fTextNode": false, - "_tag": "w:document", -} -`; - -exports[`sandbox Template processing 22 Allows accented characters and such 1`] = ` -Object { - "_attrs": Object { - "mc:Ignorable": "w14 w15 wp14", - "xmlns:m": "http://schemas.openxmlformats.org/officeDocument/2006/math", - "xmlns:mc": "http://schemas.openxmlformats.org/markup-compatibility/2006", - "xmlns:o": "urn:schemas-microsoft-com:office:office", - "xmlns:r": "http://schemas.openxmlformats.org/officeDocument/2006/relationships", - "xmlns:v": "urn:schemas-microsoft-com:vml", - "xmlns:w": "http://schemas.openxmlformats.org/wordprocessingml/2006/main", - "xmlns:w10": "urn:schemas-microsoft-com:office:word", - "xmlns:w14": "http://schemas.microsoft.com/office/word/2010/wordml", - "xmlns:w15": "http://schemas.microsoft.com/office/word/2012/wordml", - "xmlns:wne": "http://schemas.microsoft.com/office/word/2006/wordml", - "xmlns:wp": "http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing", - "xmlns:wp14": "http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing", - "xmlns:wpc": "http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas", - "xmlns:wpg": "http://schemas.microsoft.com/office/word/2010/wordprocessingGroup", - "xmlns:wpi": "http://schemas.microsoft.com/office/word/2010/wordprocessingInk", - "xmlns:wps": "http://schemas.microsoft.com/office/word/2010/wordprocessingShape", - }, - "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ Object { "_attrs": Object { - "w:rsidP": "00BE3B8D", - "w:rsidR": "00BE3B8D", - "w:rsidRDefault": "00BE3B8D", + "w:rsidP": "00427DDF", + "w:rsidR": "00427DDF", + "w:rsidRDefault": "00427DDF", }, "_children": Array [ Object { @@ -33549,23 +33093,13 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "¿Por qué?", + "_text": "", }, ], "_fTextNode": false, "_parent": [Circular], "_tag": "w:t", }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - Object { - "_attrs": Object { - "w:rsidR": "00160A38", - }, - "_children": Array [ Object { "_attrs": Object { "xml:space": "preserve", @@ -33587,25 +33121,6 @@ Object { "_parent": [Circular], "_tag": "w:r", }, - Object { - "_attrs": Object { - "w:id": "0", - "w:name": "_GoBack", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:bookmarkStart", - }, - Object { - "_attrs": Object { - "w:id": "0", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:bookmarkEnd", - }, Object { "_attrs": Object {}, "_children": Array [ @@ -33630,16 +33145,68 @@ Object { "_parent": [Circular], "_tag": "w:r", }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:p", - }, - Object { - "_attrs": Object { - "w:rsidP": "00BE3B8D", - "w:rsidR": "00BE3B8D", - "w:rsidRDefault": "00BE3B8D", + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + Object { + "_attrs": Object { + "w:rsidP": "00953592", + "w:rsidR": "00427DDF", + "w:rsidRDefault": "00427DDF", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + Object { + "_attrs": Object { + "w:rsidP": "00427DDF", + "w:rsidR": "00427DDF", + "w:rsidRDefault": "00427DDF", + "w:rsidRPr": "00953592", }, "_children": Array [ Object { @@ -33654,7 +33221,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "Porque sí", + "_text": "Test ", }, ], "_fTextNode": false, @@ -33667,9 +33234,7 @@ Object { "_tag": "w:r", }, Object { - "_attrs": Object { - "w:rsidR": "00160A38", - }, + "_attrs": Object {}, "_children": Array [ Object { "_attrs": Object { @@ -33680,7 +33245,103 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "", + "_text": "3", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": " (should show ", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "zero ", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "line", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "s, even if the inner condition is true", }, ], "_fTextNode": false, @@ -33723,7 +33384,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "", + "_text": "):", }, ], "_fTextNode": false, @@ -33742,8 +33403,10 @@ Object { }, Object { "_attrs": Object { - "w:rsidR": "00426180", - "w:rsidRDefault": "00426180", + "w:rsidP": "00953592", + "w:rsidR": "00427DDF", + "w:rsidRDefault": "00427DDF", + "w:rsidRPr": "0002254C", }, "_children": Array [], "_fTextNode": false, @@ -33752,7 +33415,8 @@ Object { }, Object { "_attrs": Object { - "w:rsidR": "00426180", + "w:rsidR": "00427DDF", + "w:rsidRPr": "0002254C", }, "_children": Array [ Object { @@ -33814,133 +33478,7 @@ Object { } `; -exports[`sandbox Template processing 23 Allows characters that conflict with XML 1`] = ` -" - - - - - 3 < 4 << 400 - - - - - - - - - - - - - 5 > 2 >> -100 - - - - - - - - - - - - - a & b && c - - - - - - - - - - - - - - - - - - -" -`; - -exports[`sandbox Template processing 23b Allows insertion of literal XML 1`] = ` -" - - - - - - - - - - - - - foobar - - - - - - - - - - - - - - - - - - -" -`; - -exports[`sandbox Template processing 23c Allows insertion of literal XML with custom delimiter 1`] = ` -" - - - - - - - - - - - - - foobar - - - - - - - - - - - - - - - - - - -" -`; - -exports[`sandbox Template processing 24 Allows Word to split commands arbitrarily, incl. delimiters 1`] = ` +exports[`sandbox Template processing 13j Processes inline IF 1`] = ` Object { "_attrs": Object { "mc:Ignorable": "w14 w15 wp14", @@ -33967,14 +33505,14 @@ Object { "_children": Array [ Object { "_attrs": Object { - "w:rsidR": "00426180", - "w:rsidRDefault": "00BC1832", + "w:rsidP": "00953592", + "w:rsidR": "00953592", + "w:rsidRDefault": "00953592", + "w:rsidRPr": "00953592", }, "_children": Array [ Object { - "_attrs": Object { - "w:rsidRPr": "00BC1832", - }, + "_attrs": Object {}, "_children": Array [ Object { "_attrs": Object { @@ -33985,23 +33523,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "Simple case: all in a single node:", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "bar", + "_text": "Test 1:", }, ], "_fTextNode": false, @@ -34020,12 +33542,16 @@ Object { }, Object { "_attrs": Object { - "w:rsidR": "00BC1832", - "w:rsidRDefault": "00BC1832", + "w:rsidP": "00953592", + "w:rsidR": "00953592", + "w:rsidRDefault": "00681FD9", + "w:rsidRPr": "00953592", }, "_children": Array [ Object { - "_attrs": Object {}, + "_attrs": Object { + "w:rsidRPr": "00681FD9", + }, "_children": Array [ Object { "_attrs": Object { @@ -34036,7 +33562,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "Case 1: split in 2, but whole delimiters:", + "_text": "", }, ], "_fTextNode": false, @@ -34052,43 +33578,24 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "bar", + "_text": "", }, ], "_fTextNode": false, "_parent": [Circular], "_tag": "w:t", }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - Object { - "_attrs": Object { - "w:rsidRPr": "002C0FE3", - }, - "_children": Array [ Object { - "_attrs": Object {}, + "_attrs": Object { + "xml:space": "preserve", + }, "_children": Array [ Object { - "_attrs": Object {}, "_children": Array [], - "_fTextNode": false, + "_fTextNode": true, "_parent": [Circular], - "_tag": "w:b", + "_text": "", }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:rPr", - }, - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ Object { "_children": Array [], "_fTextNode": true, @@ -34100,25 +33607,6 @@ Object { "_parent": [Circular], "_tag": "w:t", }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:p", - }, - Object { - "_attrs": Object { - "w:rsidR": "00BC1832", - "w:rsidRDefault": "00BC1832", - }, - "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ Object { "_attrs": Object { "xml:space": "preserve", @@ -34128,7 +33616,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "Case 2: split in 2, affecting initial delimiter:", + "_text": "Should appear in the output", }, ], "_fTextNode": false, @@ -34144,7 +33632,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "bar", + "_text": "", }, ], "_fTextNode": false, @@ -34156,26 +33644,36 @@ Object { "_parent": [Circular], "_tag": "w:r", }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + Object { + "_attrs": Object { + "w:rsidP": "00953592", + "w:rsidR": "00953592", + "w:rsidRDefault": "00953592", + "w:rsidRPr": "0002254C", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + Object { + "_attrs": Object { + "w:rsidP": "00953592", + "w:rsidR": "00953592", + "w:rsidRDefault": "00953592", + "w:rsidRPr": "00953592", + }, + "_children": Array [ Object { "_attrs": Object { - "w:rsidRPr": "002C0FE3", + "w:rsidRPr": "00953592", }, "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:b", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:rPr", - }, Object { "_attrs": Object { "xml:space": "preserve", @@ -34185,7 +33683,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "", + "_text": "Test 2:", }, ], "_fTextNode": false, @@ -34204,12 +33702,16 @@ Object { }, Object { "_attrs": Object { - "w:rsidR": "00BC1832", - "w:rsidRDefault": "00BC1832", + "w:rsidP": "00953592", + "w:rsidR": "00953592", + "w:rsidRDefault": "00681FD9", + "w:rsidRPr": "00953592", }, "_children": Array [ Object { - "_attrs": Object {}, + "_attrs": Object { + "w:rsidRPr": "00681FD9", + }, "_children": Array [ Object { "_attrs": Object { @@ -34220,7 +33722,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "Case 3: split in 2, affecting final delimiter:", + "_text": "", }, ], "_fTextNode": false, @@ -34236,38 +33738,13 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "bar", + "_text": "", }, ], "_fTextNode": false, "_parent": [Circular], "_tag": "w:t", }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - Object { - "_attrs": Object { - "w:rsidRPr": "002C0FE3", - }, - "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:b", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:rPr", - }, Object { "_attrs": Object { "xml:space": "preserve", @@ -34289,6 +33766,25 @@ Object { "_parent": [Circular], "_tag": "w:r", }, + Object { + "_attrs": Object { + "w:id": "0", + "w:name": "_GoBack", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:bookmarkStart", + }, + Object { + "_attrs": Object { + "w:id": "0", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:bookmarkEnd", + }, ], "_fTextNode": false, "_parent": [Circular], @@ -34296,63 +33792,20 @@ Object { }, Object { "_attrs": Object { - "w:rsidR": "00BC1832", - "w:rsidRDefault": "00BC1832", - "w:rsidRPr": "00BC1832", + "w:rsidP": "00953592", + "w:rsidR": "00953592", + "w:rsidRDefault": "00953592", + "w:rsidRPr": "00953592", }, - "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "All of them should work fine", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - Object { - "_attrs": Object { - "w:id": "0", - "w:name": "_GoBack", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:bookmarkStart", - }, - Object { - "_attrs": Object { - "w:id": "0", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:bookmarkEnd", - }, - ], + "_children": Array [], "_fTextNode": false, "_parent": [Circular], "_tag": "w:p", }, Object { "_attrs": Object { - "w:rsidR": "00BC1832", - "w:rsidRPr": "00BC1832", + "w:rsidR": "00953592", + "w:rsidRPr": "00953592", }, "_children": Array [ Object { @@ -34414,119 +33867,7 @@ Object { } `; -exports[`sandbox Template processing 25 Adds line breaks by default 1`] = ` -" - - - - - - - - - - - - - A long text: - - - - - - - - - - - - - Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed commodo sagittis erat, sed vehicula lorem molestie et. Sed eget nisi orci. Fusce ut scelerisque neque. Donec porta eleifend dolor. Morbi in egestas augue. Nunc non velit at nisl faucibus ultrices. Aenean ac lacinia tortor. Nunc elementum enim ut viverra maximus. Pellentesque et metus posuere, feugiat nulla in, feugiat mauris. Suspendisse eu urna aliquam, molestie ante at, convallis justo.Nullam hendrerit quam sit amet nunc tincidunt dictum. Praesent hendrerit at quam ac fermentum. Donec rutrum enim lacus, mollis imperdiet ex posuere ac. Sed vel ullamcorper massa. Duis non posuere mauris. Etiam purus turpis, fermentum a rhoncus et, rutrum in nisl. Aliquam pharetra sit amet lectus sed bibendum. Sed sem ipsum, placerat a nisl vitae, pharetra mattis libero. Nunc finibus purus id consectetur sagittis. Pellentesque ornare egestas lacus, in blandit diam facilisis eget. Morbi nec ligula id ligula tincidunt tincidunt vulputate id erat. Quisque ut eros et sem pharetra placerat a vel leo. Praesent accumsan neque imperdiet, facilisis ipsum interdum, aliquam mi. Sed posuere purus eu sagittis aliquam.Morbi dignissim consequat ex, non finibus est faucibus sodales. Integer sed justo mollis, fringilla ipsum tempor, laoreet elit. Nullam iaculis finibus nulla a commodo. Curabitur nec suscipit velit, vitae lobortis mauris. Integer ac bibendum quam, eget pretium justo. Ut finibus, sem sed pharetra dictum, metus mauris tristique justo, sed congue erat mi a leo. Aliquam dui arcu, gravida quis magna ac, volutpat blandit felis. Morbi quis lobortis tortor. Cras pulvinar feugiat metus nec commodo. Sed sollicitudin risus vel risus finibus, sit amet pretium sapien fermentum. Nulla accumsan ullamcorper felis, quis tempor dolor. Praesent blandit ullamcorper pretium. Ut viverra molestie dui. - - - - - - - - - - - - - THE END - - - - - - - - - - - -" -`; - -exports[`sandbox Template processing 25b Allows disabling line break processing 1`] = ` -" - - - - - - - - - - - - - A long text: - - - - - - - - - - - - - Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed commodo sagittis erat, sed vehicula lorem molestie et. Sed eget nisi orci. Fusce ut scelerisque neque. Donec porta eleifend dolor. Morbi in egestas augue. Nunc non velit at nisl faucibus ultrices. Aenean ac lacinia tortor. Nunc elementum enim ut viverra maximus. Pellentesque et metus posuere, feugiat nulla in, feugiat mauris. Suspendisse eu urna aliquam, molestie ante at, convallis justo. -Nullam hendrerit quam sit amet nunc tincidunt dictum. Praesent hendrerit at quam ac fermentum. Donec rutrum enim lacus, mollis imperdiet ex posuere ac. Sed vel ullamcorper massa. Duis non posuere mauris. Etiam purus turpis, fermentum a rhoncus et, rutrum in nisl. Aliquam pharetra sit amet lectus sed bibendum. Sed sem ipsum, placerat a nisl vitae, pharetra mattis libero. Nunc finibus purus id consectetur sagittis. Pellentesque ornare egestas lacus, in blandit diam facilisis eget. Morbi nec ligula id ligula tincidunt tincidunt vulputate id erat. Quisque ut eros et sem pharetra placerat a vel leo. Praesent accumsan neque imperdiet, facilisis ipsum interdum, aliquam mi. Sed posuere purus eu sagittis aliquam. -Morbi dignissim consequat ex, non finibus est faucibus sodales. Integer sed justo mollis, fringilla ipsum tempor, laoreet elit. Nullam iaculis finibus nulla a commodo. Curabitur nec suscipit velit, vitae lobortis mauris. Integer ac bibendum quam, eget pretium justo. Ut finibus, sem sed pharetra dictum, metus mauris tristique justo, sed congue erat mi a leo. Aliquam dui arcu, gravida quis magna ac, volutpat blandit felis. Morbi quis lobortis tortor. Cras pulvinar feugiat metus nec commodo. Sed sollicitudin risus vel risus finibus, sit amet pretium sapien fermentum. Nulla accumsan ullamcorper felis, quis tempor dolor. Praesent blandit ullamcorper pretium. Ut viverra molestie dui. - - - - - - - - - - - - - THE END - - - - - - - - - - - -" -`; - -exports[`sandbox Template processing 30 Processes simple JS snippets in an INS 1`] = ` +exports[`sandbox Template processing 20 Processes ALIAS commands 1`] = ` Object { "_attrs": Object { "mc:Ignorable": "w14 w15 wp14", @@ -34555,57 +33896,42 @@ Object { "_children": Array [ Object { "_attrs": Object { - "w14:paraId": "5B1436A1", - "w14:textId": "77777777", - "w:rsidR": "00426180", - "w:rsidRDefault": "00A86251", + "w14:paraId": "017DCBFA", + "w14:textId": "6AF04459", + "w:rsidP": "00BE3B8D", + "w:rsidR": "00BE3B8D", + "w:rsidRDefault": "009312A9", }, "_children": Array [ Object { "_attrs": Object {}, "_children": Array [ Object { - "_attrs": Object {}, + "_attrs": Object { + "xml:space": "preserve", + }, "_children": Array [ Object { - "_attrs": Object { - "w:val": "es-ES", - }, "_children": Array [], - "_fTextNode": false, + "_fTextNode": true, "_parent": [Circular], - "_tag": "w:lang", + "_text": "FIRST", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:rPr", + "_tag": "w:t", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:pPr", + "_tag": "w:r", }, Object { - "_attrs": Object {}, + "_attrs": Object { + "w:rsidR": "00863FA3", + }, "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "w:val": "es-ES", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:lang", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:rPr", - }, Object { "_attrs": Object { "xml:space": "preserve", @@ -34615,7 +33941,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "8", + "_text": "", }, ], "_fTextNode": false, @@ -34629,26 +33955,9 @@ Object { }, Object { "_attrs": Object { - "w:rsidR": "007D37C9", + "w:rsidR": "00241C27", }, "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "w:val": "es-ES", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:lang", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:rPr", - }, Object { "_attrs": Object { "xml:space": "preserve", @@ -34690,25 +33999,10 @@ Object { "_tag": "w:bookmarkEnd", }, Object { - "_attrs": Object {}, + "_attrs": Object { + "w:rsidR": "00BE3B8D", + }, "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "w:val": "es-ES", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:lang", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:rPr", - }, Object { "_attrs": Object { "xml:space": "preserve", @@ -34737,188 +34031,113 @@ Object { }, Object { "_attrs": Object { - "w14:paraId": "3180B7CC", - "w14:textId": "77777777", - "w:rsidR": "00A86251", - "w:rsidRDefault": "00A86251", - "w:rsidRPr": "00A86251", - }, - "_children": Array [ + "w14:paraId": "017DCBFA", + "w14:textId": "6AF04459", + "w:rsidP": "00BE3B8D", + "w:rsidR": "00BE3B8D", + "w:rsidRDefault": "009312A9", + }, + "_children": Array [ Object { "_attrs": Object {}, "_children": Array [ Object { - "_attrs": Object {}, + "_attrs": Object { + "xml:space": "preserve", + }, "_children": Array [ Object { - "_attrs": Object { - "w:val": "es-ES", - }, "_children": Array [], - "_fTextNode": false, + "_fTextNode": true, "_parent": [Circular], - "_tag": "w:lang", + "_text": "SECOND", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:rPr", + "_tag": "w:t", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:pPr", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:p", - }, - Object { - "_attrs": Object { - "w:rsidR": "00A86251", - "w:rsidRPr": "00A86251", - }, - "_children": Array [ - Object { - "_attrs": Object { - "w:h": "15840", - "w:w": "12240", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:pgSz", - }, - Object { - "_attrs": Object { - "w:bottom": "1417", - "w:footer": "708", - "w:gutter": "0", - "w:header": "708", - "w:left": "1701", - "w:right": "1701", - "w:top": "1417", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:pgMar", - }, - Object { - "_attrs": Object { - "w:space": "708", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:cols", + "_tag": "w:r", }, Object { "_attrs": Object { - "w:linePitch": "360", + "w:rsidR": "00863FA3", }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:docGrid", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:sectPr", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:body", - }, - ], - "_fTextNode": false, - "_tag": "w:document", -} -`; - -exports[`sandbox Template processing 31 Processes more complex JS snippets in an INS 1`] = ` -Object { - "_attrs": Object { - "mc:Ignorable": "w14 w15 wp14", - "xmlns:m": "http://schemas.openxmlformats.org/officeDocument/2006/math", - "xmlns:mc": "http://schemas.openxmlformats.org/markup-compatibility/2006", - "xmlns:mo": "http://schemas.microsoft.com/office/mac/office/2008/main", - "xmlns:mv": "urn:schemas-microsoft-com:mac:vml", - "xmlns:o": "urn:schemas-microsoft-com:office:office", - "xmlns:r": "http://schemas.openxmlformats.org/officeDocument/2006/relationships", - "xmlns:v": "urn:schemas-microsoft-com:vml", - "xmlns:w": "http://schemas.openxmlformats.org/wordprocessingml/2006/main", - "xmlns:w10": "urn:schemas-microsoft-com:office:word", - "xmlns:w14": "http://schemas.microsoft.com/office/word/2010/wordml", - "xmlns:w15": "http://schemas.microsoft.com/office/word/2012/wordml", - "xmlns:wne": "http://schemas.microsoft.com/office/word/2006/wordml", - "xmlns:wp": "http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing", - "xmlns:wp14": "http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing", - "xmlns:wpc": "http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas", - "xmlns:wpg": "http://schemas.microsoft.com/office/word/2010/wordprocessingGroup", - "xmlns:wpi": "http://schemas.microsoft.com/office/word/2010/wordprocessingInk", - "xmlns:wps": "http://schemas.microsoft.com/office/word/2010/wordprocessingShape", - }, - "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "w14:paraId": "26EE0D7C", - "w14:textId": "15880D5D", - "w:rsidR": "008C40A7", - "w:rsidRDefault": "008C40A7", - }, - "_children": Array [ - Object { - "_attrs": Object {}, "_children": Array [ Object { - "_attrs": Object {}, + "_attrs": Object { + "xml:space": "preserve", + }, "_children": Array [ Object { - "_attrs": Object { - "w:val": "es-ES", - }, "_children": Array [], - "_fTextNode": false, + "_fTextNode": true, "_parent": [Circular], - "_tag": "w:lang", + "_text": "", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:rPr", + "_tag": "w:t", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:pPr", + "_tag": "w:r", }, Object { - "_attrs": Object {}, + "_attrs": Object { + "w:rsidR": "00241C27", + }, "_children": Array [ Object { - "_attrs": Object {}, + "_attrs": Object { + "xml:space": "preserve", + }, "_children": Array [ Object { - "_attrs": Object { - "w:val": "es-ES", - }, "_children": Array [], - "_fTextNode": false, + "_fTextNode": true, "_parent": [Circular], - "_tag": "w:lang", + "_text": "", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:rPr", + "_tag": "w:t", }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + Object { + "_attrs": Object { + "w:id": "0", + "w:name": "_GoBack", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:bookmarkStart", + }, + Object { + "_attrs": Object { + "w:id": "0", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:bookmarkEnd", + }, + Object { + "_attrs": Object { + "w:rsidR": "00BE3B8D", + }, + "_children": Array [ Object { "_attrs": Object { "xml:space": "preserve", @@ -34928,7 +34147,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "Using string concatenation:", + "_text": "", }, ], "_fTextNode": false, @@ -34947,57 +34166,42 @@ Object { }, Object { "_attrs": Object { - "w14:paraId": "338EC45A", - "w14:textId": "4DCE9908", - "w:rsidR": "00A86251", - "w:rsidRDefault": "00A85401", + "w14:paraId": "017DCBFA", + "w14:textId": "6AF04459", + "w:rsidP": "00BE3B8D", + "w:rsidR": "00BE3B8D", + "w:rsidRDefault": "009312A9", }, "_children": Array [ Object { "_attrs": Object {}, "_children": Array [ Object { - "_attrs": Object {}, + "_attrs": Object { + "xml:space": "preserve", + }, "_children": Array [ Object { - "_attrs": Object { - "w:val": "es-ES", - }, "_children": Array [], - "_fTextNode": false, + "_fTextNode": true, "_parent": [Circular], - "_tag": "w:lang", + "_text": "THIRD", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:rPr", + "_tag": "w:t", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:pPr", + "_tag": "w:r", }, Object { - "_attrs": Object {}, + "_attrs": Object { + "w:rsidR": "00863FA3", + }, "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "w:val": "es-ES", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:lang", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:rPr", - }, Object { "_attrs": Object { "xml:space": "preserve", @@ -35007,7 +34211,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "3: FIRST, SECOND, THIRD", + "_text": "", }, ], "_fTextNode": false, @@ -35021,26 +34225,9 @@ Object { }, Object { "_attrs": Object { - "w:rsidR": "00BF60A3", + "w:rsidR": "00241C27", }, "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "w:val": "es-ES", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:lang", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:rPr", - }, Object { "_attrs": Object { "xml:space": "preserve", @@ -35063,25 +34250,29 @@ Object { "_tag": "w:r", }, Object { - "_attrs": Object {}, + "_attrs": Object { + "w:id": "0", + "w:name": "_GoBack", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:bookmarkStart", + }, + Object { + "_attrs": Object { + "w:id": "0", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:bookmarkEnd", + }, + Object { + "_attrs": Object { + "w:rsidR": "00BE3B8D", + }, "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "w:val": "es-ES", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:lang", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:rPr", - }, Object { "_attrs": Object { "xml:space": "preserve", @@ -35110,57 +34301,184 @@ Object { }, Object { "_attrs": Object { - "w14:paraId": "070F8704", - "w14:textId": "7792944F", - "w:rsidR": "00A85401", - "w:rsidRDefault": "008C40A7", + "w14:paraId": "704D41F7", + "w14:textId": "77777777", + "w:rsidR": "00426180", + "w:rsidRDefault": "00426180", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + Object { + "_attrs": Object { + "w:rsidR": "00426180", + }, + "_children": Array [ + Object { + "_attrs": Object { + "w:h": "15840", + "w:w": "12240", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:pgSz", + }, + Object { + "_attrs": Object { + "w:bottom": "1417", + "w:footer": "708", + "w:gutter": "0", + "w:header": "708", + "w:left": "1701", + "w:right": "1701", + "w:top": "1417", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:pgMar", + }, + Object { + "_attrs": Object { + "w:space": "708", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:cols", + }, + Object { + "_attrs": Object { + "w:linePitch": "360", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:docGrid", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:sectPr", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:body", + }, + ], + "_fTextNode": false, + "_tag": "w:document", +} +`; + +exports[`sandbox Template processing 22 Allows accented characters and such 1`] = ` +Object { + "_attrs": Object { + "mc:Ignorable": "w14 w15 wp14", + "xmlns:m": "http://schemas.openxmlformats.org/officeDocument/2006/math", + "xmlns:mc": "http://schemas.openxmlformats.org/markup-compatibility/2006", + "xmlns:o": "urn:schemas-microsoft-com:office:office", + "xmlns:r": "http://schemas.openxmlformats.org/officeDocument/2006/relationships", + "xmlns:v": "urn:schemas-microsoft-com:vml", + "xmlns:w": "http://schemas.openxmlformats.org/wordprocessingml/2006/main", + "xmlns:w10": "urn:schemas-microsoft-com:office:word", + "xmlns:w14": "http://schemas.microsoft.com/office/word/2010/wordml", + "xmlns:w15": "http://schemas.microsoft.com/office/word/2012/wordml", + "xmlns:wne": "http://schemas.microsoft.com/office/word/2006/wordml", + "xmlns:wp": "http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing", + "xmlns:wp14": "http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing", + "xmlns:wpc": "http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas", + "xmlns:wpg": "http://schemas.microsoft.com/office/word/2010/wordprocessingGroup", + "xmlns:wpi": "http://schemas.microsoft.com/office/word/2010/wordprocessingInk", + "xmlns:wps": "http://schemas.microsoft.com/office/word/2010/wordprocessingShape", + }, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "w:rsidP": "00BE3B8D", + "w:rsidR": "00BE3B8D", + "w:rsidRDefault": "00BE3B8D", }, "_children": Array [ Object { "_attrs": Object {}, "_children": Array [ Object { - "_attrs": Object {}, + "_attrs": Object { + "xml:space": "preserve", + }, "_children": Array [ Object { - "_attrs": Object { - "w:val": "es-ES", - }, "_children": Array [], - "_fTextNode": false, + "_fTextNode": true, "_parent": [Circular], - "_tag": "w:lang", + "_text": "¿Por qué?", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:rPr", + "_tag": "w:t", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:pPr", + "_tag": "w:r", }, Object { - "_attrs": Object {}, + "_attrs": Object { + "w:rsidR": "00160A38", + }, "_children": Array [ Object { - "_attrs": Object {}, + "_attrs": Object { + "xml:space": "preserve", + }, "_children": Array [ Object { - "_attrs": Object { - "w:val": "es-ES", - }, "_children": Array [], - "_fTextNode": false, + "_fTextNode": true, "_parent": [Circular], - "_tag": "w:lang", + "_text": "", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:rPr", + "_tag": "w:t", }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + Object { + "_attrs": Object { + "w:id": "0", + "w:name": "_GoBack", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:bookmarkStart", + }, + Object { + "_attrs": Object { + "w:id": "0", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:bookmarkEnd", + }, + Object { + "_attrs": Object {}, + "_children": Array [ Object { "_attrs": Object { "xml:space": "preserve", @@ -35170,7 +34488,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "Using template strings:", + "_text": "", }, ], "_fTextNode": false, @@ -35189,58 +34507,40 @@ Object { }, Object { "_attrs": Object { - "w14:paraId": "79BB6184", - "w14:textId": "4C3976E9", - "w:rsidR": "00A85401", - "w:rsidRDefault": "00A85401", - "w:rsidRPr": "00A86251", + "w:rsidP": "00BE3B8D", + "w:rsidR": "00BE3B8D", + "w:rsidRDefault": "00BE3B8D", }, "_children": Array [ Object { "_attrs": Object {}, "_children": Array [ Object { - "_attrs": Object {}, + "_attrs": Object { + "xml:space": "preserve", + }, "_children": Array [ Object { - "_attrs": Object { - "w:val": "es-ES", - }, "_children": Array [], - "_fTextNode": false, + "_fTextNode": true, "_parent": [Circular], - "_tag": "w:lang", + "_text": "Porque sí", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:rPr", + "_tag": "w:t", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:pPr", + "_tag": "w:r", }, Object { - "_attrs": Object {}, + "_attrs": Object { + "w:rsidR": "00160A38", + }, "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "w:val": "es-ES", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:lang", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:rPr", - }, Object { "_attrs": Object { "xml:space": "preserve", @@ -35250,50 +34550,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "3: FIRST, SECOND, THIRD", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - Object { - "_attrs": Object { - "w:rsidR": "00BF60A3", - }, - "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "w:val": "es-ES", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:lang", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:rPr", - }, - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "", + "_text": "", }, ], "_fTextNode": false, @@ -35327,23 +34584,6 @@ Object { Object { "_attrs": Object {}, "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "w:val": "es-ES", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:lang", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:rPr", - }, Object { "_attrs": Object { "xml:space": "preserve", @@ -35372,8 +34612,17 @@ Object { }, Object { "_attrs": Object { - "w:rsidR": "00A85401", - "w:rsidRPr": "00A86251", + "w:rsidR": "00426180", + "w:rsidRDefault": "00426180", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + Object { + "_attrs": Object { + "w:rsidR": "00426180", }, "_children": Array [ Object { @@ -35435,14 +34684,138 @@ Object { } `; -exports[`sandbox Template processing 32 Provides access to loop indices (JS) 1`] = ` +exports[`sandbox Template processing 23 Allows characters that conflict with XML 1`] = ` +" + + + + + 3 < 4 << 400 + + + + + + + + + + + + + 5 > 2 >> -100 + + + + + + + + + + + + + a & b && c + + + + + + + + + + + + + + + + + + +" +`; + +exports[`sandbox Template processing 23b Allows insertion of literal XML 1`] = ` +" + + + + + + + + + + + + + foobar + + + + + + + + + + + + + + + + + + +" +`; + +exports[`sandbox Template processing 23c Allows insertion of literal XML with custom delimiter 1`] = ` +" + + + + + + + + + + + + + foobar + + + + + + + + + + + + + + + + + + +" +`; + +exports[`sandbox Template processing 24 Allows Word to split commands arbitrarily, incl. delimiters 1`] = ` Object { "_attrs": Object { "mc:Ignorable": "w14 w15 wp14", "xmlns:m": "http://schemas.openxmlformats.org/officeDocument/2006/math", "xmlns:mc": "http://schemas.openxmlformats.org/markup-compatibility/2006", - "xmlns:mo": "http://schemas.microsoft.com/office/mac/office/2008/main", - "xmlns:mv": "urn:schemas-microsoft-com:mac:vml", "xmlns:o": "urn:schemas-microsoft-com:office:office", "xmlns:r": "http://schemas.openxmlformats.org/officeDocument/2006/relationships", "xmlns:v": "urn:schemas-microsoft-com:vml", @@ -35464,66 +34837,30 @@ Object { "_children": Array [ Object { "_attrs": Object { - "w14:paraId": "03722C4A", - "w14:textId": "1C8237E0", - "w:rsidP": "00F75464", - "w:rsidR": "00F75464", - "w:rsidRDefault": "00F75464", + "w:rsidR": "00426180", + "w:rsidRDefault": "00BC1832", }, "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "w:val": "es-ES", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:lang", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:rPr", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:pPr", - }, Object { "_attrs": Object { - "w:rsidRPr": "005F6CF6", + "w:rsidRPr": "00BC1832", }, "_children": Array [ Object { - "_attrs": Object {}, + "_attrs": Object { + "xml:space": "preserve", + }, "_children": Array [ Object { - "_attrs": Object {}, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:b", - }, - Object { - "_attrs": Object { - "w:val": "es-ES", - }, "_children": Array [], - "_fTextNode": false, + "_fTextNode": true, "_parent": [Circular], - "_tag": "w:lang", + "_text": "Simple case: all in a single node:", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:rPr", + "_tag": "w:t", }, Object { "_attrs": Object { @@ -35534,7 +34871,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "1", + "_text": "bar", }, ], "_fTextNode": false, @@ -35546,34 +34883,35 @@ Object { "_parent": [Circular], "_tag": "w:r", }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + Object { + "_attrs": Object { + "w:rsidR": "00BC1832", + "w:rsidRDefault": "00BC1832", + }, + "_children": Array [ Object { - "_attrs": Object { - "w:rsidR": "00AF5DE1", - }, + "_attrs": Object {}, "_children": Array [ Object { - "_attrs": Object {}, + "_attrs": Object { + "xml:space": "preserve", + }, "_children": Array [ Object { - "_attrs": Object {}, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:b", - }, - Object { - "_attrs": Object { - "w:val": "es-ES", - }, "_children": Array [], - "_fTextNode": false, + "_fTextNode": true, "_parent": [Circular], - "_tag": "w:lang", + "_text": "Case 1: split in 2, but whole delimiters:", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:rPr", + "_tag": "w:t", }, Object { "_attrs": Object { @@ -35584,7 +34922,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "", + "_text": "bar", }, ], "_fTextNode": false, @@ -35598,7 +34936,7 @@ Object { }, Object { "_attrs": Object { - "w:rsidRPr": "005F6CF6", + "w:rsidRPr": "002C0FE3", }, "_children": Array [ Object { @@ -35611,15 +34949,6 @@ Object { "_parent": [Circular], "_tag": "w:b", }, - Object { - "_attrs": Object { - "w:val": "es-ES", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:lang", - }, ], "_fTextNode": false, "_parent": [Circular], @@ -35646,34 +34975,35 @@ Object { "_parent": [Circular], "_tag": "w:r", }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + Object { + "_attrs": Object { + "w:rsidR": "00BC1832", + "w:rsidRDefault": "00BC1832", + }, + "_children": Array [ Object { - "_attrs": Object { - "w:rsidR": "000943ED", - }, + "_attrs": Object {}, "_children": Array [ Object { - "_attrs": Object {}, + "_attrs": Object { + "xml:space": "preserve", + }, "_children": Array [ Object { - "_attrs": Object {}, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:b", - }, - Object { - "_attrs": Object { - "w:val": "es-ES", - }, "_children": Array [], - "_fTextNode": false, + "_fTextNode": true, "_parent": [Circular], - "_tag": "w:lang", + "_text": "Case 2: split in 2, affecting initial delimiter:", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:rPr", + "_tag": "w:t", }, Object { "_attrs": Object { @@ -35684,7 +35014,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "", + "_text": "bar", }, ], "_fTextNode": false, @@ -35698,7 +35028,7 @@ Object { }, Object { "_attrs": Object { - "w:rsidRPr": "005F6CF6", + "w:rsidRPr": "002C0FE3", }, "_children": Array [ Object { @@ -35711,15 +35041,6 @@ Object { "_parent": [Circular], "_tag": "w:b", }, - Object { - "_attrs": Object { - "w:val": "es-ES", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:lang", - }, ], "_fTextNode": false, "_parent": [Circular], @@ -35746,36 +35067,20 @@ Object { "_parent": [Circular], "_tag": "w:r", }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + Object { + "_attrs": Object { + "w:rsidR": "00BC1832", + "w:rsidRDefault": "00BC1832", + }, + "_children": Array [ Object { - "_attrs": Object { - "w:rsidR": "005F6CF6", - "w:rsidRPr": "005F6CF6", - }, + "_attrs": Object {}, "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:b", - }, - Object { - "_attrs": Object { - "w:val": "es-ES", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:lang", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:rPr", - }, Object { "_attrs": Object { "xml:space": "preserve", @@ -35785,7 +35090,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "/", + "_text": "Case 3: split in 2, affecting final delimiter:", }, ], "_fTextNode": false, @@ -35801,7 +35106,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "3", + "_text": "bar", }, ], "_fTextNode": false, @@ -35815,7 +35120,7 @@ Object { }, Object { "_attrs": Object { - "w:rsidR": "00AF5DE1", + "w:rsidRPr": "002C0FE3", }, "_children": Array [ Object { @@ -35828,15 +35133,6 @@ Object { "_parent": [Circular], "_tag": "w:b", }, - Object { - "_attrs": Object { - "w:val": "es-ES", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:lang", - }, ], "_fTextNode": false, "_parent": [Circular], @@ -35863,36 +35159,21 @@ Object { "_parent": [Circular], "_tag": "w:r", }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + Object { + "_attrs": Object { + "w:rsidR": "00BC1832", + "w:rsidRDefault": "00BC1832", + "w:rsidRPr": "00BC1832", + }, + "_children": Array [ Object { - "_attrs": Object { - "w:rsidR": "005F6CF6", - "w:rsidRPr": "005F6CF6", - }, + "_attrs": Object {}, "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:b", - }, - Object { - "_attrs": Object { - "w:val": "es-ES", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:lang", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:rPr", - }, Object { "_attrs": Object { "xml:space": "preserve", @@ -35902,7 +35183,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "", + "_text": "All of them should work fine", }, ], "_fTextNode": false, @@ -35916,132 +35197,240 @@ Object { }, Object { "_attrs": Object { - "w:rsidRPr": "005F6CF6", + "w:id": "0", + "w:name": "_GoBack", }, - "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:b", - }, - Object { - "_attrs": Object { - "w:val": "es-ES", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:lang", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:rPr", - }, - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": ": ", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - ], + "_children": Array [], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:r", + "_tag": "w:bookmarkStart", }, Object { "_attrs": Object { - "w:rsidR": "00DF5CB3", + "w:id": "0", }, - "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "w:val": "es-ES", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:lang", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:rPr", - }, - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "FIRST", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - ], + "_children": Array [], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:r", + "_tag": "w:bookmarkEnd", }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + Object { + "_attrs": Object { + "w:rsidR": "00BC1832", + "w:rsidRPr": "00BC1832", + }, + "_children": Array [ Object { "_attrs": Object { - "w:id": "0", - "w:name": "_GoBack", + "w:h": "15840", + "w:w": "12240", }, "_children": Array [], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:bookmarkStart", + "_tag": "w:pgSz", }, Object { "_attrs": Object { - "w:id": "0", + "w:bottom": "1417", + "w:footer": "708", + "w:gutter": "0", + "w:header": "708", + "w:left": "1701", + "w:right": "1701", + "w:top": "1417", }, "_children": Array [], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:bookmarkEnd", + "_tag": "w:pgMar", + }, + Object { + "_attrs": Object { + "w:space": "708", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:cols", }, + Object { + "_attrs": Object { + "w:linePitch": "360", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:docGrid", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:sectPr", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:body", + }, + ], + "_fTextNode": false, + "_tag": "w:document", +} +`; + +exports[`sandbox Template processing 25 Adds line breaks by default 1`] = ` +" + + + + + + + + + + + + + A long text: + + + + + + + + + + + + + Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed commodo sagittis erat, sed vehicula lorem molestie et. Sed eget nisi orci. Fusce ut scelerisque neque. Donec porta eleifend dolor. Morbi in egestas augue. Nunc non velit at nisl faucibus ultrices. Aenean ac lacinia tortor. Nunc elementum enim ut viverra maximus. Pellentesque et metus posuere, feugiat nulla in, feugiat mauris. Suspendisse eu urna aliquam, molestie ante at, convallis justo.Nullam hendrerit quam sit amet nunc tincidunt dictum. Praesent hendrerit at quam ac fermentum. Donec rutrum enim lacus, mollis imperdiet ex posuere ac. Sed vel ullamcorper massa. Duis non posuere mauris. Etiam purus turpis, fermentum a rhoncus et, rutrum in nisl. Aliquam pharetra sit amet lectus sed bibendum. Sed sem ipsum, placerat a nisl vitae, pharetra mattis libero. Nunc finibus purus id consectetur sagittis. Pellentesque ornare egestas lacus, in blandit diam facilisis eget. Morbi nec ligula id ligula tincidunt tincidunt vulputate id erat. Quisque ut eros et sem pharetra placerat a vel leo. Praesent accumsan neque imperdiet, facilisis ipsum interdum, aliquam mi. Sed posuere purus eu sagittis aliquam.Morbi dignissim consequat ex, non finibus est faucibus sodales. Integer sed justo mollis, fringilla ipsum tempor, laoreet elit. Nullam iaculis finibus nulla a commodo. Curabitur nec suscipit velit, vitae lobortis mauris. Integer ac bibendum quam, eget pretium justo. Ut finibus, sem sed pharetra dictum, metus mauris tristique justo, sed congue erat mi a leo. Aliquam dui arcu, gravida quis magna ac, volutpat blandit felis. Morbi quis lobortis tortor. Cras pulvinar feugiat metus nec commodo. Sed sollicitudin risus vel risus finibus, sit amet pretium sapien fermentum. Nulla accumsan ullamcorper felis, quis tempor dolor. Praesent blandit ullamcorper pretium. Ut viverra molestie dui. + + + + + + + + + + + + + THE END + + + + + + + + + + + +" +`; + +exports[`sandbox Template processing 25b Allows disabling line break processing 1`] = ` +" + + + + + + + + + + + + + A long text: + + + + + + + + + + + + + Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed commodo sagittis erat, sed vehicula lorem molestie et. Sed eget nisi orci. Fusce ut scelerisque neque. Donec porta eleifend dolor. Morbi in egestas augue. Nunc non velit at nisl faucibus ultrices. Aenean ac lacinia tortor. Nunc elementum enim ut viverra maximus. Pellentesque et metus posuere, feugiat nulla in, feugiat mauris. Suspendisse eu urna aliquam, molestie ante at, convallis justo. +Nullam hendrerit quam sit amet nunc tincidunt dictum. Praesent hendrerit at quam ac fermentum. Donec rutrum enim lacus, mollis imperdiet ex posuere ac. Sed vel ullamcorper massa. Duis non posuere mauris. Etiam purus turpis, fermentum a rhoncus et, rutrum in nisl. Aliquam pharetra sit amet lectus sed bibendum. Sed sem ipsum, placerat a nisl vitae, pharetra mattis libero. Nunc finibus purus id consectetur sagittis. Pellentesque ornare egestas lacus, in blandit diam facilisis eget. Morbi nec ligula id ligula tincidunt tincidunt vulputate id erat. Quisque ut eros et sem pharetra placerat a vel leo. Praesent accumsan neque imperdiet, facilisis ipsum interdum, aliquam mi. Sed posuere purus eu sagittis aliquam. +Morbi dignissim consequat ex, non finibus est faucibus sodales. Integer sed justo mollis, fringilla ipsum tempor, laoreet elit. Nullam iaculis finibus nulla a commodo. Curabitur nec suscipit velit, vitae lobortis mauris. Integer ac bibendum quam, eget pretium justo. Ut finibus, sem sed pharetra dictum, metus mauris tristique justo, sed congue erat mi a leo. Aliquam dui arcu, gravida quis magna ac, volutpat blandit felis. Morbi quis lobortis tortor. Cras pulvinar feugiat metus nec commodo. Sed sollicitudin risus vel risus finibus, sit amet pretium sapien fermentum. Nulla accumsan ullamcorper felis, quis tempor dolor. Praesent blandit ullamcorper pretium. Ut viverra molestie dui. + + + + + + + + + + + + + THE END + + + + + + + + + + + +" +`; + +exports[`sandbox Template processing 30 Processes simple JS snippets in an INS 1`] = ` +Object { + "_attrs": Object { + "mc:Ignorable": "w14 w15 wp14", + "xmlns:m": "http://schemas.openxmlformats.org/officeDocument/2006/math", + "xmlns:mc": "http://schemas.openxmlformats.org/markup-compatibility/2006", + "xmlns:mo": "http://schemas.microsoft.com/office/mac/office/2008/main", + "xmlns:mv": "urn:schemas-microsoft-com:mac:vml", + "xmlns:o": "urn:schemas-microsoft-com:office:office", + "xmlns:r": "http://schemas.openxmlformats.org/officeDocument/2006/relationships", + "xmlns:v": "urn:schemas-microsoft-com:vml", + "xmlns:w": "http://schemas.openxmlformats.org/wordprocessingml/2006/main", + "xmlns:w10": "urn:schemas-microsoft-com:office:word", + "xmlns:w14": "http://schemas.microsoft.com/office/word/2010/wordml", + "xmlns:w15": "http://schemas.microsoft.com/office/word/2012/wordml", + "xmlns:wne": "http://schemas.microsoft.com/office/word/2006/wordml", + "xmlns:wp": "http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing", + "xmlns:wp14": "http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing", + "xmlns:wpc": "http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas", + "xmlns:wpg": "http://schemas.microsoft.com/office/word/2010/wordprocessingGroup", + "xmlns:wpi": "http://schemas.microsoft.com/office/word/2010/wordprocessingInk", + "xmlns:wps": "http://schemas.microsoft.com/office/word/2010/wordprocessingShape", + }, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "w14:paraId": "5B1436A1", + "w14:textId": "77777777", + "w:rsidR": "00426180", + "w:rsidRDefault": "00A86251", + }, + "_children": Array [ Object { "_attrs": Object {}, "_children": Array [ @@ -36062,21 +35451,30 @@ Object { "_parent": [Circular], "_tag": "w:rPr", }, - Object { - "_attrs": Object { - "xml:space": "preserve", - }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:pPr", + }, + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object {}, "_children": Array [ Object { + "_attrs": Object { + "w:val": "es-ES", + }, "_children": Array [], - "_fTextNode": true, + "_fTextNode": false, "_parent": [Circular], - "_text": " === ", + "_tag": "w:lang", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:t", + "_tag": "w:rPr", }, Object { "_attrs": Object { @@ -36087,7 +35485,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "FIRST", + "_text": "8", }, ], "_fTextNode": false, @@ -36101,7 +35499,7 @@ Object { }, Object { "_attrs": Object { - "w:rsidR": "00AF5DE1", + "w:rsidR": "007D37C9", }, "_children": Array [ Object { @@ -36142,6 +35540,25 @@ Object { "_parent": [Circular], "_tag": "w:r", }, + Object { + "_attrs": Object { + "w:id": "0", + "w:name": "_GoBack", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:bookmarkStart", + }, + Object { + "_attrs": Object { + "w:id": "0", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:bookmarkEnd", + }, Object { "_attrs": Object {}, "_children": Array [ @@ -36190,11 +35607,11 @@ Object { }, Object { "_attrs": Object { - "w14:paraId": "03722C4A", - "w14:textId": "1C8237E0", - "w:rsidP": "00F75464", - "w:rsidR": "00F75464", - "w:rsidRDefault": "00F75464", + "w14:paraId": "3180B7CC", + "w14:textId": "77777777", + "w:rsidR": "00A86251", + "w:rsidRDefault": "00A86251", + "w:rsidRPr": "00A86251", }, "_children": Array [ Object { @@ -36222,21 +35639,117 @@ Object { "_parent": [Circular], "_tag": "w:pPr", }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + Object { + "_attrs": Object { + "w:rsidR": "00A86251", + "w:rsidRPr": "00A86251", + }, + "_children": Array [ Object { "_attrs": Object { - "w:rsidRPr": "005F6CF6", + "w:h": "15840", + "w:w": "12240", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:pgSz", + }, + Object { + "_attrs": Object { + "w:bottom": "1417", + "w:footer": "708", + "w:gutter": "0", + "w:header": "708", + "w:left": "1701", + "w:right": "1701", + "w:top": "1417", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:pgMar", + }, + Object { + "_attrs": Object { + "w:space": "708", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:cols", + }, + Object { + "_attrs": Object { + "w:linePitch": "360", }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:docGrid", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:sectPr", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:body", + }, + ], + "_fTextNode": false, + "_tag": "w:document", +} +`; + +exports[`sandbox Template processing 31 Processes more complex JS snippets in an INS 1`] = ` +Object { + "_attrs": Object { + "mc:Ignorable": "w14 w15 wp14", + "xmlns:m": "http://schemas.openxmlformats.org/officeDocument/2006/math", + "xmlns:mc": "http://schemas.openxmlformats.org/markup-compatibility/2006", + "xmlns:mo": "http://schemas.microsoft.com/office/mac/office/2008/main", + "xmlns:mv": "urn:schemas-microsoft-com:mac:vml", + "xmlns:o": "urn:schemas-microsoft-com:office:office", + "xmlns:r": "http://schemas.openxmlformats.org/officeDocument/2006/relationships", + "xmlns:v": "urn:schemas-microsoft-com:vml", + "xmlns:w": "http://schemas.openxmlformats.org/wordprocessingml/2006/main", + "xmlns:w10": "urn:schemas-microsoft-com:office:word", + "xmlns:w14": "http://schemas.microsoft.com/office/word/2010/wordml", + "xmlns:w15": "http://schemas.microsoft.com/office/word/2012/wordml", + "xmlns:wne": "http://schemas.microsoft.com/office/word/2006/wordml", + "xmlns:wp": "http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing", + "xmlns:wp14": "http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing", + "xmlns:wpc": "http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas", + "xmlns:wpg": "http://schemas.microsoft.com/office/word/2010/wordprocessingGroup", + "xmlns:wpi": "http://schemas.microsoft.com/office/word/2010/wordprocessingInk", + "xmlns:wps": "http://schemas.microsoft.com/office/word/2010/wordprocessingShape", + }, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "w14:paraId": "26EE0D7C", + "w14:textId": "15880D5D", + "w:rsidR": "008C40A7", + "w:rsidRDefault": "008C40A7", + }, + "_children": Array [ + Object { + "_attrs": Object {}, "_children": Array [ Object { "_attrs": Object {}, "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:b", - }, Object { "_attrs": Object { "w:val": "es-ES", @@ -36251,42 +35764,17 @@ Object { "_parent": [Circular], "_tag": "w:rPr", }, - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "2", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:r", + "_tag": "w:pPr", }, Object { - "_attrs": Object { - "w:rsidR": "00AF5DE1", - }, + "_attrs": Object {}, "_children": Array [ Object { "_attrs": Object {}, "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:b", - }, Object { "_attrs": Object { "w:val": "es-ES", @@ -36310,7 +35798,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "", + "_text": "Using string concatenation:", }, ], "_fTextNode": false, @@ -36322,21 +35810,50 @@ Object { "_parent": [Circular], "_tag": "w:r", }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + Object { + "_attrs": Object { + "w14:paraId": "338EC45A", + "w14:textId": "4DCE9908", + "w:rsidR": "00A86251", + "w:rsidRDefault": "00A85401", + }, + "_children": Array [ Object { - "_attrs": Object { - "w:rsidRPr": "005F6CF6", - }, + "_attrs": Object {}, "_children": Array [ Object { "_attrs": Object {}, "_children": Array [ Object { - "_attrs": Object {}, + "_attrs": Object { + "w:val": "es-ES", + }, "_children": Array [], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:b", + "_tag": "w:lang", }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:rPr", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:pPr", + }, + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ Object { "_attrs": Object { "w:val": "es-ES", @@ -36360,7 +35877,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "", + "_text": "3: FIRST, SECOND, THIRD", }, ], "_fTextNode": false, @@ -36374,19 +35891,12 @@ Object { }, Object { "_attrs": Object { - "w:rsidR": "000943ED", + "w:rsidR": "00BF60A3", }, "_children": Array [ Object { "_attrs": Object {}, "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:b", - }, Object { "_attrs": Object { "w:val": "es-ES", @@ -36423,20 +35933,11 @@ Object { "_tag": "w:r", }, Object { - "_attrs": Object { - "w:rsidRPr": "005F6CF6", - }, + "_attrs": Object {}, "_children": Array [ Object { "_attrs": Object {}, "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:b", - }, Object { "_attrs": Object { "w:val": "es-ES", @@ -36472,22 +35973,25 @@ Object { "_parent": [Circular], "_tag": "w:r", }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + Object { + "_attrs": Object { + "w14:paraId": "070F8704", + "w14:textId": "7792944F", + "w:rsidR": "00A85401", + "w:rsidRDefault": "008C40A7", + }, + "_children": Array [ Object { - "_attrs": Object { - "w:rsidR": "005F6CF6", - "w:rsidRPr": "005F6CF6", - }, + "_attrs": Object {}, "_children": Array [ Object { "_attrs": Object {}, "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:b", - }, Object { "_attrs": Object { "w:val": "es-ES", @@ -36502,58 +36006,17 @@ Object { "_parent": [Circular], "_tag": "w:rPr", }, - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "/", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "3", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:r", + "_tag": "w:pPr", }, Object { - "_attrs": Object { - "w:rsidR": "00AF5DE1", - }, + "_attrs": Object {}, "_children": Array [ Object { "_attrs": Object {}, "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:b", - }, Object { "_attrs": Object { "w:val": "es-ES", @@ -36577,7 +36040,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "", + "_text": "Using template strings:", }, ], "_fTextNode": false, @@ -36589,22 +36052,26 @@ Object { "_parent": [Circular], "_tag": "w:r", }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + Object { + "_attrs": Object { + "w14:paraId": "79BB6184", + "w14:textId": "4C3976E9", + "w:rsidR": "00A85401", + "w:rsidRDefault": "00A85401", + "w:rsidRPr": "00A86251", + }, + "_children": Array [ Object { - "_attrs": Object { - "w:rsidR": "005F6CF6", - "w:rsidRPr": "005F6CF6", - }, + "_attrs": Object {}, "_children": Array [ Object { "_attrs": Object {}, "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:b", - }, Object { "_attrs": Object { "w:val": "es-ES", @@ -36619,42 +36086,17 @@ Object { "_parent": [Circular], "_tag": "w:rPr", }, - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:r", + "_tag": "w:pPr", }, Object { - "_attrs": Object { - "w:rsidRPr": "005F6CF6", - }, + "_attrs": Object {}, "_children": Array [ Object { "_attrs": Object {}, "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:b", - }, Object { "_attrs": Object { "w:val": "es-ES", @@ -36678,7 +36120,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": ": ", + "_text": "3: FIRST, SECOND, THIRD", }, ], "_fTextNode": false, @@ -36692,7 +36134,7 @@ Object { }, Object { "_attrs": Object { - "w:rsidR": "00DF5CB3", + "w:rsidR": "00BF60A3", }, "_children": Array [ Object { @@ -36712,22 +36154,6 @@ Object { "_parent": [Circular], "_tag": "w:rPr", }, - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "SECOND", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, Object { "_attrs": Object { "xml:space": "preserve", @@ -36768,106 +36194,6 @@ Object { "_parent": [Circular], "_tag": "w:bookmarkEnd", }, - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "w:val": "es-ES", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:lang", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:rPr", - }, - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": " === ", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "SECOND", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - Object { - "_attrs": Object { - "w:rsidR": "00AF5DE1", - }, - "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "w:val": "es-ES", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:lang", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:rPr", - }, - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, Object { "_attrs": Object {}, "_children": Array [ @@ -36916,16 +36242,108 @@ Object { }, Object { "_attrs": Object { - "w14:paraId": "03722C4A", - "w14:textId": "1C8237E0", - "w:rsidP": "00F75464", - "w:rsidR": "00F75464", - "w:rsidRDefault": "00F75464", + "w:rsidR": "00A85401", + "w:rsidRPr": "00A86251", }, "_children": Array [ Object { - "_attrs": Object {}, - "_children": Array [ + "_attrs": Object { + "w:h": "15840", + "w:w": "12240", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:pgSz", + }, + Object { + "_attrs": Object { + "w:bottom": "1417", + "w:footer": "708", + "w:gutter": "0", + "w:header": "708", + "w:left": "1701", + "w:right": "1701", + "w:top": "1417", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:pgMar", + }, + Object { + "_attrs": Object { + "w:space": "708", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:cols", + }, + Object { + "_attrs": Object { + "w:linePitch": "360", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:docGrid", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:sectPr", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:body", + }, + ], + "_fTextNode": false, + "_tag": "w:document", +} +`; + +exports[`sandbox Template processing 32 Provides access to loop indices (JS) 1`] = ` +Object { + "_attrs": Object { + "mc:Ignorable": "w14 w15 wp14", + "xmlns:m": "http://schemas.openxmlformats.org/officeDocument/2006/math", + "xmlns:mc": "http://schemas.openxmlformats.org/markup-compatibility/2006", + "xmlns:mo": "http://schemas.microsoft.com/office/mac/office/2008/main", + "xmlns:mv": "urn:schemas-microsoft-com:mac:vml", + "xmlns:o": "urn:schemas-microsoft-com:office:office", + "xmlns:r": "http://schemas.openxmlformats.org/officeDocument/2006/relationships", + "xmlns:v": "urn:schemas-microsoft-com:vml", + "xmlns:w": "http://schemas.openxmlformats.org/wordprocessingml/2006/main", + "xmlns:w10": "urn:schemas-microsoft-com:office:word", + "xmlns:w14": "http://schemas.microsoft.com/office/word/2010/wordml", + "xmlns:w15": "http://schemas.microsoft.com/office/word/2012/wordml", + "xmlns:wne": "http://schemas.microsoft.com/office/word/2006/wordml", + "xmlns:wp": "http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing", + "xmlns:wp14": "http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing", + "xmlns:wpc": "http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas", + "xmlns:wpg": "http://schemas.microsoft.com/office/word/2010/wordprocessingGroup", + "xmlns:wpi": "http://schemas.microsoft.com/office/word/2010/wordprocessingInk", + "xmlns:wps": "http://schemas.microsoft.com/office/word/2010/wordprocessingShape", + }, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "w14:paraId": "03722C4A", + "w14:textId": "1C8237E0", + "w:rsidP": "00F75464", + "w:rsidR": "00F75464", + "w:rsidRDefault": "00F75464", + }, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ Object { "_attrs": Object {}, "_children": Array [ @@ -36986,7 +36404,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "3", + "_text": "1", }, ], "_fTextNode": false, @@ -37447,7 +36865,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "THIRD", + "_text": "FIRST", }, ], "_fTextNode": false, @@ -37539,7 +36957,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "THIRD", + "_text": "FIRST", }, ], "_fTextNode": false, @@ -37642,10 +37060,11 @@ Object { }, Object { "_attrs": Object { - "w14:paraId": "743B5CEB", - "w14:textId": "77777777", - "w:rsidR": "00D310BE", - "w:rsidRDefault": "00D310BE", + "w14:paraId": "03722C4A", + "w14:textId": "1C8237E0", + "w:rsidP": "00F75464", + "w:rsidR": "00F75464", + "w:rsidRDefault": "00F75464", }, "_children": Array [ Object { @@ -37673,141 +37092,21 @@ Object { "_parent": [Circular], "_tag": "w:pPr", }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:p", - }, - Object { - "_attrs": Object { - "w:rsidR": "00D310BE", - }, - "_children": Array [ - Object { - "_attrs": Object { - "w:h": "15840", - "w:w": "12240", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:pgSz", - }, - Object { - "_attrs": Object { - "w:bottom": "1417", - "w:footer": "708", - "w:gutter": "0", - "w:header": "708", - "w:left": "1701", - "w:right": "1701", - "w:top": "1417", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:pgMar", - }, - Object { - "_attrs": Object { - "w:space": "708", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:cols", - }, Object { "_attrs": Object { - "w:linePitch": "360", + "w:rsidRPr": "005F6CF6", }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:docGrid", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:sectPr", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:body", - }, - ], - "_fTextNode": false, - "_tag": "w:document", -} -`; - -exports[`sandbox Template processing 33 Processes EXEC commands (JS) 1`] = ` -Object { - "_attrs": Object { - "mc:Ignorable": "w14 w15 wp14", - "xmlns:m": "http://schemas.openxmlformats.org/officeDocument/2006/math", - "xmlns:mc": "http://schemas.openxmlformats.org/markup-compatibility/2006", - "xmlns:mo": "http://schemas.microsoft.com/office/mac/office/2008/main", - "xmlns:mv": "urn:schemas-microsoft-com:mac:vml", - "xmlns:o": "urn:schemas-microsoft-com:office:office", - "xmlns:r": "http://schemas.openxmlformats.org/officeDocument/2006/relationships", - "xmlns:v": "urn:schemas-microsoft-com:vml", - "xmlns:w": "http://schemas.openxmlformats.org/wordprocessingml/2006/main", - "xmlns:w10": "urn:schemas-microsoft-com:office:word", - "xmlns:w14": "http://schemas.microsoft.com/office/word/2010/wordml", - "xmlns:w15": "http://schemas.microsoft.com/office/word/2012/wordml", - "xmlns:wne": "http://schemas.microsoft.com/office/word/2006/wordml", - "xmlns:wp": "http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing", - "xmlns:wp14": "http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing", - "xmlns:wpc": "http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas", - "xmlns:wpg": "http://schemas.microsoft.com/office/word/2010/wordprocessingGroup", - "xmlns:wpi": "http://schemas.microsoft.com/office/word/2010/wordprocessingInk", - "xmlns:wps": "http://schemas.microsoft.com/office/word/2010/wordprocessingShape", - }, - "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "w14:paraId": "3DAD4C89", - "w14:textId": "363437C2", - "w:rsidR": "00354CD5", - "w:rsidRDefault": "00354CD5", - }, - "_children": Array [ - Object { - "_attrs": Object {}, "_children": Array [ Object { "_attrs": Object {}, "_children": Array [ Object { - "_attrs": Object { - "w:val": "es-ES", - }, + "_attrs": Object {}, "_children": Array [], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:lang", + "_tag": "w:b", }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:rPr", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:pPr", - }, - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ Object { "_attrs": Object { "w:val": "es-ES", @@ -37831,7 +37130,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "4", + "_text": "2", }, ], "_fTextNode": false, @@ -37845,12 +37144,19 @@ Object { }, Object { "_attrs": Object { - "w:rsidR": "00B31B3B", + "w:rsidR": "00AF5DE1", }, "_children": Array [ Object { "_attrs": Object {}, "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:b", + }, Object { "_attrs": Object { "w:val": "es-ES", @@ -37887,15 +37193,24 @@ Object { "_tag": "w:r", }, Object { - "_attrs": Object {}, + "_attrs": Object { + "w:rsidRPr": "005F6CF6", + }, "_children": Array [ Object { "_attrs": Object {}, "_children": Array [ Object { - "_attrs": Object { - "w:val": "es-ES", - }, + "_attrs": Object {}, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:b", + }, + Object { + "_attrs": Object { + "w:val": "es-ES", + }, "_children": Array [], "_fTextNode": false, "_parent": [Circular], @@ -37927,25 +37242,21 @@ Object { "_parent": [Circular], "_tag": "w:r", }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:p", - }, - Object { - "_attrs": Object { - "w14:paraId": "7D7089DF", - "w14:textId": "71DDE3CD", - "w:rsidR": "00F6571B", - "w:rsidRDefault": "00F6571B", - }, - "_children": Array [ Object { - "_attrs": Object {}, + "_attrs": Object { + "w:rsidR": "000943ED", + }, "_children": Array [ Object { "_attrs": Object {}, "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:b", + }, Object { "_attrs": Object { "w:val": "es-ES", @@ -37960,17 +37271,42 @@ Object { "_parent": [Circular], "_tag": "w:rPr", }, + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:pPr", + "_tag": "w:r", }, Object { - "_attrs": Object {}, + "_attrs": Object { + "w:rsidRPr": "005F6CF6", + }, "_children": Array [ Object { "_attrs": Object {}, "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:b", + }, Object { "_attrs": Object { "w:val": "es-ES", @@ -37994,7 +37330,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "enigrebua", + "_text": "", }, ], "_fTextNode": false, @@ -38006,116 +37342,22 @@ Object { "_parent": [Circular], "_tag": "w:r", }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:p", - }, - Object { - "_attrs": Object { - "w:rsidR": "00F6571B", - }, - "_children": Array [ - Object { - "_attrs": Object { - "w:h": "15840", - "w:w": "12240", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:pgSz", - }, - Object { - "_attrs": Object { - "w:bottom": "1417", - "w:footer": "708", - "w:gutter": "0", - "w:header": "708", - "w:left": "1701", - "w:right": "1701", - "w:top": "1417", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:pgMar", - }, - Object { - "_attrs": Object { - "w:space": "708", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:cols", - }, Object { "_attrs": Object { - "w:linePitch": "360", + "w:rsidR": "005F6CF6", + "w:rsidRPr": "005F6CF6", }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:docGrid", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:sectPr", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:body", - }, - ], - "_fTextNode": false, - "_tag": "w:document", -} -`; - -exports[`sandbox Template processing 33b Processes EXEC with shorthand (!) 1`] = ` -Object { - "_attrs": Object { - "mc:Ignorable": "w14 w15 wp14", - "xmlns:m": "http://schemas.openxmlformats.org/officeDocument/2006/math", - "xmlns:mc": "http://schemas.openxmlformats.org/markup-compatibility/2006", - "xmlns:mo": "http://schemas.microsoft.com/office/mac/office/2008/main", - "xmlns:mv": "urn:schemas-microsoft-com:mac:vml", - "xmlns:o": "urn:schemas-microsoft-com:office:office", - "xmlns:r": "http://schemas.openxmlformats.org/officeDocument/2006/relationships", - "xmlns:v": "urn:schemas-microsoft-com:vml", - "xmlns:w": "http://schemas.openxmlformats.org/wordprocessingml/2006/main", - "xmlns:w10": "urn:schemas-microsoft-com:office:word", - "xmlns:w14": "http://schemas.microsoft.com/office/word/2010/wordml", - "xmlns:w15": "http://schemas.microsoft.com/office/word/2012/wordml", - "xmlns:wne": "http://schemas.microsoft.com/office/word/2006/wordml", - "xmlns:wp": "http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing", - "xmlns:wp14": "http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing", - "xmlns:wpc": "http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas", - "xmlns:wpg": "http://schemas.microsoft.com/office/word/2010/wordprocessingGroup", - "xmlns:wpi": "http://schemas.microsoft.com/office/word/2010/wordprocessingInk", - "xmlns:wps": "http://schemas.microsoft.com/office/word/2010/wordprocessingShape", - }, - "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "w14:paraId": "3DAD4C89", - "w14:textId": "3DE2BC4B", - "w:rsidR": "00354CD5", - "w:rsidRDefault": "00354CD5", - }, - "_children": Array [ - Object { - "_attrs": Object {}, "_children": Array [ Object { "_attrs": Object {}, "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:b", + }, Object { "_attrs": Object { "w:val": "es-ES", @@ -38130,30 +37372,21 @@ Object { "_parent": [Circular], "_tag": "w:rPr", }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:pPr", - }, - Object { - "_attrs": Object {}, - "_children": Array [ Object { - "_attrs": Object {}, + "_attrs": Object { + "xml:space": "preserve", + }, "_children": Array [ Object { - "_attrs": Object { - "w:val": "es-ES", - }, "_children": Array [], - "_fTextNode": false, + "_fTextNode": true, "_parent": [Circular], - "_tag": "w:lang", + "_text": "/", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:rPr", + "_tag": "w:t", }, Object { "_attrs": Object { @@ -38164,7 +37397,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "4", + "_text": "3", }, ], "_fTextNode": false, @@ -38178,12 +37411,19 @@ Object { }, Object { "_attrs": Object { - "w:rsidR": "005F5C30", + "w:rsidR": "00AF5DE1", }, "_children": Array [ Object { "_attrs": Object {}, "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:b", + }, Object { "_attrs": Object { "w:val": "es-ES", @@ -38220,11 +37460,21 @@ Object { "_tag": "w:r", }, Object { - "_attrs": Object {}, + "_attrs": Object { + "w:rsidR": "005F6CF6", + "w:rsidRPr": "005F6CF6", + }, "_children": Array [ Object { "_attrs": Object {}, "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:b", + }, Object { "_attrs": Object { "w:val": "es-ES", @@ -38262,12 +37512,19 @@ Object { }, Object { "_attrs": Object { - "w:rsidR": "00B31B3B", + "w:rsidRPr": "005F6CF6", }, "_children": Array [ Object { "_attrs": Object {}, "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:b", + }, Object { "_attrs": Object { "w:val": "es-ES", @@ -38291,7 +37548,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "", + "_text": ": ", }, ], "_fTextNode": false, @@ -38304,7 +37561,9 @@ Object { "_tag": "w:r", }, Object { - "_attrs": Object {}, + "_attrs": Object { + "w:rsidR": "00DF5CB3", + }, "_children": Array [ Object { "_attrs": Object {}, @@ -38323,6 +37582,22 @@ Object { "_parent": [Circular], "_tag": "w:rPr", }, + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "SECOND", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, Object { "_attrs": Object { "xml:space": "preserve", @@ -38344,19 +37619,25 @@ Object { "_parent": [Circular], "_tag": "w:r", }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:p", - }, - Object { - "_attrs": Object { - "w14:paraId": "7D7089DF", - "w14:textId": "4570DBA6", - "w:rsidR": "00F6571B", - "w:rsidRDefault": "005F5C30", - }, - "_children": Array [ + Object { + "_attrs": Object { + "w:id": "0", + "w:name": "_GoBack", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:bookmarkStart", + }, + Object { + "_attrs": Object { + "w:id": "0", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:bookmarkEnd", + }, Object { "_attrs": Object {}, "_children": Array [ @@ -38377,13 +37658,47 @@ Object { "_parent": [Circular], "_tag": "w:rPr", }, + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": " === ", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "SECOND", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:pPr", + "_tag": "w:r", }, Object { - "_attrs": Object {}, + "_attrs": Object { + "w:rsidR": "00AF5DE1", + }, "_children": Array [ Object { "_attrs": Object {}, @@ -38411,7 +37726,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "enigrebua", + "_text": "", }, ], "_fTextNode": false, @@ -38424,28 +37739,7 @@ Object { "_tag": "w:r", }, Object { - "_attrs": Object { - "w:id": "0", - "w:name": "_GoBack", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:bookmarkStart", - }, - Object { - "_attrs": Object { - "w:id": "0", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:bookmarkEnd", - }, - Object { - "_attrs": Object { - "w:rsidR": "00F6571B", - }, + "_attrs": Object {}, "_children": Array [ Object { "_attrs": Object {}, @@ -38492,101 +37786,11 @@ Object { }, Object { "_attrs": Object { - "w:rsidR": "00F6571B", - }, - "_children": Array [ - Object { - "_attrs": Object { - "w:h": "15840", - "w:w": "12240", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:pgSz", - }, - Object { - "_attrs": Object { - "w:bottom": "1417", - "w:footer": "708", - "w:gutter": "0", - "w:header": "708", - "w:left": "1701", - "w:right": "1701", - "w:top": "1417", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:pgMar", - }, - Object { - "_attrs": Object { - "w:space": "708", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:cols", - }, - Object { - "_attrs": Object { - "w:linePitch": "360", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:docGrid", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:sectPr", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:body", - }, - ], - "_fTextNode": false, - "_tag": "w:document", -} -`; - -exports[`sandbox Template processing 33c Processes EXEC when a promise is returned 1`] = ` -Object { - "_attrs": Object { - "mc:Ignorable": "w14 w15 wp14", - "xmlns:m": "http://schemas.openxmlformats.org/officeDocument/2006/math", - "xmlns:mc": "http://schemas.openxmlformats.org/markup-compatibility/2006", - "xmlns:mo": "http://schemas.microsoft.com/office/mac/office/2008/main", - "xmlns:mv": "urn:schemas-microsoft-com:mac:vml", - "xmlns:o": "urn:schemas-microsoft-com:office:office", - "xmlns:r": "http://schemas.openxmlformats.org/officeDocument/2006/relationships", - "xmlns:v": "urn:schemas-microsoft-com:vml", - "xmlns:w": "http://schemas.openxmlformats.org/wordprocessingml/2006/main", - "xmlns:w10": "urn:schemas-microsoft-com:office:word", - "xmlns:w14": "http://schemas.microsoft.com/office/word/2010/wordml", - "xmlns:w15": "http://schemas.microsoft.com/office/word/2012/wordml", - "xmlns:wne": "http://schemas.microsoft.com/office/word/2006/wordml", - "xmlns:wp": "http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing", - "xmlns:wp14": "http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing", - "xmlns:wpc": "http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas", - "xmlns:wpg": "http://schemas.microsoft.com/office/word/2010/wordprocessingGroup", - "xmlns:wpi": "http://schemas.microsoft.com/office/word/2010/wordprocessingInk", - "xmlns:wps": "http://schemas.microsoft.com/office/word/2010/wordprocessingShape", - }, - "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "w14:paraId": "3DAD4C89", - "w14:textId": "23C6B9AF", - "w:rsidR": "00354CD5", - "w:rsidRDefault": "00354CD5", + "w14:paraId": "03722C4A", + "w14:textId": "1C8237E0", + "w:rsidP": "00F75464", + "w:rsidR": "00F75464", + "w:rsidRDefault": "00F75464", }, "_children": Array [ Object { @@ -38615,11 +37819,20 @@ Object { "_tag": "w:pPr", }, Object { - "_attrs": Object {}, + "_attrs": Object { + "w:rsidRPr": "005F6CF6", + }, "_children": Array [ Object { "_attrs": Object {}, "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:b", + }, Object { "_attrs": Object { "w:val": "es-ES", @@ -38643,7 +37856,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "hello", + "_text": "3", }, ], "_fTextNode": false, @@ -38657,12 +37870,19 @@ Object { }, Object { "_attrs": Object { - "w:rsidR": "005F5C30", + "w:rsidR": "00AF5DE1", }, "_children": Array [ Object { "_attrs": Object {}, "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:b", + }, Object { "_attrs": Object { "w:val": "es-ES", @@ -38700,12 +37920,19 @@ Object { }, Object { "_attrs": Object { - "w:rsidR": "00F345BF", + "w:rsidRPr": "005F6CF6", }, "_children": Array [ Object { "_attrs": Object {}, "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:b", + }, Object { "_attrs": Object { "w:val": "es-ES", @@ -38742,11 +37969,20 @@ Object { "_tag": "w:r", }, Object { - "_attrs": Object {}, + "_attrs": Object { + "w:rsidR": "000943ED", + }, "_children": Array [ Object { "_attrs": Object {}, "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:b", + }, Object { "_attrs": Object { "w:val": "es-ES", @@ -38782,208 +38018,72 @@ Object { "_parent": [Circular], "_tag": "w:r", }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:p", - }, - Object { - "_attrs": Object { - "w14:paraId": "7D7089DF", - "w14:textId": "3719D32A", - "w:rsidR": "00F6571B", - "w:rsidRDefault": "00F6571B", - }, - "_children": Array [ Object { - "_attrs": Object {}, + "_attrs": Object { + "w:rsidRPr": "005F6CF6", + }, "_children": Array [ Object { "_attrs": Object {}, "_children": Array [ Object { - "_attrs": Object { - "w:val": "es-ES", - }, + "_attrs": Object {}, "_children": Array [], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:lang", + "_tag": "w:b", + }, + Object { + "_attrs": Object { + "w:val": "es-ES", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:lang", }, ], "_fTextNode": false, "_parent": [Circular], "_tag": "w:rPr", }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:pPr", - }, - Object { - "_attrs": Object { - "w:id": "0", - "w:name": "_GoBack", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:bookmarkStart", - }, - Object { - "_attrs": Object { - "w:id": "0", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:bookmarkEnd", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:p", - }, - Object { - "_attrs": Object { - "w:rsidR": "00F6571B", - }, - "_children": Array [ - Object { - "_attrs": Object { - "w:h": "15840", - "w:w": "12240", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:pgSz", - }, - Object { - "_attrs": Object { - "w:bottom": "1417", - "w:footer": "708", - "w:gutter": "0", - "w:header": "708", - "w:left": "1701", - "w:right": "1701", - "w:top": "1417", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:pgMar", - }, - Object { - "_attrs": Object { - "w:space": "708", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:cols", - }, - Object { - "_attrs": Object { - "w:linePitch": "360", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:docGrid", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:sectPr", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:body", - }, - ], - "_fTextNode": false, - "_tag": "w:document", -} -`; - -exports[`sandbox Template processing 34 Processes INS with shorthand (=) 1`] = ` -Object { - "_attrs": Object { - "mc:Ignorable": "w14 w15 wp14", - "xmlns:m": "http://schemas.openxmlformats.org/officeDocument/2006/math", - "xmlns:mc": "http://schemas.openxmlformats.org/markup-compatibility/2006", - "xmlns:mo": "http://schemas.microsoft.com/office/mac/office/2008/main", - "xmlns:mv": "urn:schemas-microsoft-com:mac:vml", - "xmlns:o": "urn:schemas-microsoft-com:office:office", - "xmlns:r": "http://schemas.openxmlformats.org/officeDocument/2006/relationships", - "xmlns:v": "urn:schemas-microsoft-com:vml", - "xmlns:w": "http://schemas.openxmlformats.org/wordprocessingml/2006/main", - "xmlns:w10": "urn:schemas-microsoft-com:office:word", - "xmlns:w14": "http://schemas.microsoft.com/office/word/2010/wordml", - "xmlns:w15": "http://schemas.microsoft.com/office/word/2012/wordml", - "xmlns:wne": "http://schemas.microsoft.com/office/word/2006/wordml", - "xmlns:wp": "http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing", - "xmlns:wp14": "http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing", - "xmlns:wpc": "http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas", - "xmlns:wpg": "http://schemas.microsoft.com/office/word/2010/wordprocessingGroup", - "xmlns:wpi": "http://schemas.microsoft.com/office/word/2010/wordprocessingInk", - "xmlns:wps": "http://schemas.microsoft.com/office/word/2010/wordprocessingShape", - }, - "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "w14:paraId": "5C34C0EB", - "w14:textId": "3F3D8588", - "w:rsidP": "000943ED", - "w:rsidR": "00AC5982", - "w:rsidRDefault": "00AC5982", - }, - "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ Object { "_attrs": Object { - "w:val": "0", + "xml:space": "preserve", }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:outlineLvl", - }, - Object { - "_attrs": Object {}, "_children": Array [ Object { - "_attrs": Object { - "w:val": "es-ES", - }, "_children": Array [], - "_fTextNode": false, + "_fTextNode": true, "_parent": [Circular], - "_tag": "w:lang", + "_text": "", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:rPr", + "_tag": "w:t", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:pPr", + "_tag": "w:r", }, Object { - "_attrs": Object {}, + "_attrs": Object { + "w:rsidR": "005F6CF6", + "w:rsidRPr": "005F6CF6", + }, "_children": Array [ Object { "_attrs": Object {}, "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:b", + }, Object { "_attrs": Object { "w:val": "es-ES", @@ -39007,23 +38107,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "FIRST", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": " === ", + "_text": "/", }, ], "_fTextNode": false, @@ -39039,7 +38123,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "FIRST", + "_text": "3", }, ], "_fTextNode": false, @@ -39051,60 +38135,21 @@ Object { "_parent": [Circular], "_tag": "w:r", }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:p", - }, - Object { - "_attrs": Object { - "w14:paraId": "5C34C0EB", - "w14:textId": "3F3D8588", - "w:rsidP": "000943ED", - "w:rsidR": "00AC5982", - "w:rsidRDefault": "00AC5982", - }, - "_children": Array [ Object { - "_attrs": Object {}, + "_attrs": Object { + "w:rsidR": "00AF5DE1", + }, "_children": Array [ - Object { - "_attrs": Object { - "w:val": "0", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:outlineLvl", - }, Object { "_attrs": Object {}, "_children": Array [ Object { - "_attrs": Object { - "w:val": "es-ES", - }, + "_attrs": Object {}, "_children": Array [], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:lang", + "_tag": "w:b", }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:rPr", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:pPr", - }, - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ Object { "_attrs": Object { "w:val": "es-ES", @@ -39128,28 +38173,47 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "SECOND", + "_text": "", }, ], "_fTextNode": false, "_parent": [Circular], "_tag": "w:t", }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + Object { + "_attrs": Object { + "w:rsidR": "005F6CF6", + "w:rsidRPr": "005F6CF6", + }, + "_children": Array [ Object { - "_attrs": Object { - "xml:space": "preserve", - }, + "_attrs": Object {}, "_children": Array [ Object { + "_attrs": Object {}, "_children": Array [], - "_fTextNode": true, + "_fTextNode": false, "_parent": [Circular], - "_text": " === ", + "_tag": "w:b", + }, + Object { + "_attrs": Object { + "w:val": "es-ES", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:lang", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:t", + "_tag": "w:rPr", }, Object { "_attrs": Object { @@ -39160,7 +38224,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "SECOND", + "_text": "", }, ], "_fTextNode": false, @@ -39172,32 +38236,61 @@ Object { "_parent": [Circular], "_tag": "w:r", }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:p", - }, - Object { - "_attrs": Object { - "w14:paraId": "5C34C0EB", - "w14:textId": "3F3D8588", - "w:rsidP": "000943ED", - "w:rsidR": "00AC5982", - "w:rsidRDefault": "00AC5982", - }, - "_children": Array [ Object { - "_attrs": Object {}, + "_attrs": Object { + "w:rsidRPr": "005F6CF6", + }, "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:b", + }, + Object { + "_attrs": Object { + "w:val": "es-ES", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:lang", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:rPr", + }, Object { "_attrs": Object { - "w:val": "0", + "xml:space": "preserve", }, - "_children": Array [], + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": ": ", + }, + ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:outlineLvl", + "_tag": "w:t", }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + Object { + "_attrs": Object { + "w:rsidR": "00DF5CB3", + }, + "_children": Array [ Object { "_attrs": Object {}, "_children": Array [ @@ -39215,10 +38308,61 @@ Object { "_parent": [Circular], "_tag": "w:rPr", }, + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "THIRD", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:pPr", + "_tag": "w:r", + }, + Object { + "_attrs": Object { + "w:id": "0", + "w:name": "_GoBack", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:bookmarkStart", + }, + Object { + "_attrs": Object { + "w:id": "0", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:bookmarkEnd", }, Object { "_attrs": Object {}, @@ -39240,6 +38384,22 @@ Object { "_parent": [Circular], "_tag": "w:rPr", }, + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": " === ", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, Object { "_attrs": Object { "xml:space": "preserve", @@ -39256,6 +38416,33 @@ Object { "_parent": [Circular], "_tag": "w:t", }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + Object { + "_attrs": Object { + "w:rsidR": "00AF5DE1", + }, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "w:val": "es-ES", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:lang", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:rPr", + }, Object { "_attrs": Object { "xml:space": "preserve", @@ -39265,13 +38452,38 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": " === ", + "_text": "", }, ], "_fTextNode": false, "_parent": [Circular], "_tag": "w:t", }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "w:val": "es-ES", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:lang", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:rPr", + }, Object { "_attrs": Object { "xml:space": "preserve", @@ -39281,7 +38493,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "THIRD", + "_text": "", }, ], "_fTextNode": false, @@ -39400,23 +38612,14 @@ Object { } `; -exports[`sandbox Template processing 34b Processes INS omitting the command name 1`] = ` +exports[`sandbox Template processing 33 Processes EXEC commands (JS) 1`] = ` Object { "_attrs": Object { - "mc:Ignorable": "w14 w15 w16se w16cid wp14", - "xmlns:aink": "http://schemas.microsoft.com/office/drawing/2016/ink", - "xmlns:am3d": "http://schemas.microsoft.com/office/drawing/2017/model3d", - "xmlns:cx": "http://schemas.microsoft.com/office/drawing/2014/chartex", - "xmlns:cx1": "http://schemas.microsoft.com/office/drawing/2015/9/8/chartex", - "xmlns:cx2": "http://schemas.microsoft.com/office/drawing/2015/10/21/chartex", - "xmlns:cx3": "http://schemas.microsoft.com/office/drawing/2016/5/9/chartex", - "xmlns:cx4": "http://schemas.microsoft.com/office/drawing/2016/5/10/chartex", - "xmlns:cx5": "http://schemas.microsoft.com/office/drawing/2016/5/11/chartex", - "xmlns:cx6": "http://schemas.microsoft.com/office/drawing/2016/5/12/chartex", - "xmlns:cx7": "http://schemas.microsoft.com/office/drawing/2016/5/13/chartex", - "xmlns:cx8": "http://schemas.microsoft.com/office/drawing/2016/5/14/chartex", + "mc:Ignorable": "w14 w15 wp14", "xmlns:m": "http://schemas.openxmlformats.org/officeDocument/2006/math", "xmlns:mc": "http://schemas.openxmlformats.org/markup-compatibility/2006", + "xmlns:mo": "http://schemas.microsoft.com/office/mac/office/2008/main", + "xmlns:mv": "urn:schemas-microsoft-com:mac:vml", "xmlns:o": "urn:schemas-microsoft-com:office:office", "xmlns:r": "http://schemas.openxmlformats.org/officeDocument/2006/relationships", "xmlns:v": "urn:schemas-microsoft-com:vml", @@ -39424,8 +38627,6 @@ Object { "xmlns:w10": "urn:schemas-microsoft-com:office:word", "xmlns:w14": "http://schemas.microsoft.com/office/word/2010/wordml", "xmlns:w15": "http://schemas.microsoft.com/office/word/2012/wordml", - "xmlns:w16cid": "http://schemas.microsoft.com/office/word/2016/wordml/cid", - "xmlns:w16se": "http://schemas.microsoft.com/office/word/2015/wordml/symex", "xmlns:wne": "http://schemas.microsoft.com/office/word/2006/wordml", "xmlns:wp": "http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing", "xmlns:wp14": "http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing", @@ -39440,25 +38641,15 @@ Object { "_children": Array [ Object { "_attrs": Object { - "w14:paraId": "5C34C0EB", - "w14:textId": "6ADFFBFE", - "w:rsidP": "000943ED", - "w:rsidR": "00AC5982", - "w:rsidRDefault": "00AC5982", + "w14:paraId": "3DAD4C89", + "w14:textId": "363437C2", + "w:rsidR": "00354CD5", + "w:rsidRDefault": "00354CD5", }, "_children": Array [ Object { "_attrs": Object {}, "_children": Array [ - Object { - "_attrs": Object { - "w:val": "0", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:outlineLvl", - }, Object { "_attrs": Object {}, "_children": Array [ @@ -39510,39 +38701,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "FIRST", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": " === ", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "FIRST", + "_text": "4", }, ], "_fTextNode": false, @@ -39556,7 +38715,7 @@ Object { }, Object { "_attrs": Object { - "w:rsidR": "00E70AFF", + "w:rsidR": "00B31B3B", }, "_children": Array [ Object { @@ -39638,10 +38797,21 @@ Object { "_parent": [Circular], "_tag": "w:r", }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + Object { + "_attrs": Object { + "w14:paraId": "7D7089DF", + "w14:textId": "71DDE3CD", + "w:rsidR": "00F6571B", + "w:rsidRDefault": "00F6571B", + }, + "_children": Array [ Object { - "_attrs": Object { - "w:rsidR": "00E70AFF", - }, + "_attrs": Object {}, "_children": Array [ Object { "_attrs": Object {}, @@ -39660,21 +38830,30 @@ Object { "_parent": [Circular], "_tag": "w:rPr", }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:pPr", + }, + Object { + "_attrs": Object {}, + "_children": Array [ Object { - "_attrs": Object { - "xml:space": "preserve", - }, + "_attrs": Object {}, "_children": Array [ Object { + "_attrs": Object { + "w:val": "es-ES", + }, "_children": Array [], - "_fTextNode": true, + "_fTextNode": false, "_parent": [Circular], - "_text": " === ", + "_tag": "w:lang", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:t", + "_tag": "w:rPr", }, Object { "_attrs": Object { @@ -39685,7 +38864,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "FIRST", + "_text": "enigrebua", }, ], "_fTextNode": false, @@ -39697,51 +38876,113 @@ Object { "_parent": [Circular], "_tag": "w:r", }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + Object { + "_attrs": Object { + "w:rsidR": "00F6571B", + }, + "_children": Array [ Object { "_attrs": Object { - "w:id": "0", - "w:name": "_GoBack", + "w:h": "15840", + "w:w": "12240", }, "_children": Array [], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:bookmarkStart", + "_tag": "w:pgSz", }, Object { "_attrs": Object { - "w:id": "0", + "w:bottom": "1417", + "w:footer": "708", + "w:gutter": "0", + "w:header": "708", + "w:left": "1701", + "w:right": "1701", + "w:top": "1417", }, "_children": Array [], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:bookmarkEnd", + "_tag": "w:pgMar", + }, + Object { + "_attrs": Object { + "w:space": "708", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:cols", + }, + Object { + "_attrs": Object { + "w:linePitch": "360", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:docGrid", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:p", + "_tag": "w:sectPr", }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:body", + }, + ], + "_fTextNode": false, + "_tag": "w:document", +} +`; + +exports[`sandbox Template processing 33b Processes EXEC with shorthand (!) 1`] = ` +Object { + "_attrs": Object { + "mc:Ignorable": "w14 w15 wp14", + "xmlns:m": "http://schemas.openxmlformats.org/officeDocument/2006/math", + "xmlns:mc": "http://schemas.openxmlformats.org/markup-compatibility/2006", + "xmlns:mo": "http://schemas.microsoft.com/office/mac/office/2008/main", + "xmlns:mv": "urn:schemas-microsoft-com:mac:vml", + "xmlns:o": "urn:schemas-microsoft-com:office:office", + "xmlns:r": "http://schemas.openxmlformats.org/officeDocument/2006/relationships", + "xmlns:v": "urn:schemas-microsoft-com:vml", + "xmlns:w": "http://schemas.openxmlformats.org/wordprocessingml/2006/main", + "xmlns:w10": "urn:schemas-microsoft-com:office:word", + "xmlns:w14": "http://schemas.microsoft.com/office/word/2010/wordml", + "xmlns:w15": "http://schemas.microsoft.com/office/word/2012/wordml", + "xmlns:wne": "http://schemas.microsoft.com/office/word/2006/wordml", + "xmlns:wp": "http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing", + "xmlns:wp14": "http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing", + "xmlns:wpc": "http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas", + "xmlns:wpg": "http://schemas.microsoft.com/office/word/2010/wordprocessingGroup", + "xmlns:wpi": "http://schemas.microsoft.com/office/word/2010/wordprocessingInk", + "xmlns:wps": "http://schemas.microsoft.com/office/word/2010/wordprocessingShape", + }, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ Object { "_attrs": Object { - "w14:paraId": "5C34C0EB", - "w14:textId": "6ADFFBFE", - "w:rsidP": "000943ED", - "w:rsidR": "00AC5982", - "w:rsidRDefault": "00AC5982", + "w14:paraId": "3DAD4C89", + "w14:textId": "3DE2BC4B", + "w:rsidR": "00354CD5", + "w:rsidRDefault": "00354CD5", }, "_children": Array [ Object { "_attrs": Object {}, "_children": Array [ - Object { - "_attrs": Object { - "w:val": "0", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:outlineLvl", - }, Object { "_attrs": Object {}, "_children": Array [ @@ -39793,28 +39034,39 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "SECOND", + "_text": "4", }, ], "_fTextNode": false, "_parent": [Circular], "_tag": "w:t", }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + Object { + "_attrs": Object { + "w:rsidR": "005F5C30", + }, + "_children": Array [ Object { - "_attrs": Object { - "xml:space": "preserve", - }, + "_attrs": Object {}, "_children": Array [ Object { + "_attrs": Object { + "w:val": "es-ES", + }, "_children": Array [], - "_fTextNode": true, + "_fTextNode": false, "_parent": [Circular], - "_text": " === ", + "_tag": "w:lang", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:t", + "_tag": "w:rPr", }, Object { "_attrs": Object { @@ -39825,7 +39077,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "SECOND", + "_text": "", }, ], "_fTextNode": false, @@ -39838,9 +39090,7 @@ Object { "_tag": "w:r", }, Object { - "_attrs": Object { - "w:rsidR": "00E70AFF", - }, + "_attrs": Object {}, "_children": Array [ Object { "_attrs": Object {}, @@ -39881,7 +39131,9 @@ Object { "_tag": "w:r", }, Object { - "_attrs": Object {}, + "_attrs": Object { + "w:rsidR": "00B31B3B", + }, "_children": Array [ Object { "_attrs": Object {}, @@ -39922,9 +39174,7 @@ Object { "_tag": "w:r", }, Object { - "_attrs": Object { - "w:rsidR": "00E70AFF", - }, + "_attrs": Object {}, "_children": Array [ Object { "_attrs": Object {}, @@ -39952,23 +39202,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": " === ", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "SECOND", + "_text": "", }, ], "_fTextNode": false, @@ -39980,25 +39214,6 @@ Object { "_parent": [Circular], "_tag": "w:r", }, - Object { - "_attrs": Object { - "w:id": "0", - "w:name": "_GoBack", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:bookmarkStart", - }, - Object { - "_attrs": Object { - "w:id": "0", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:bookmarkEnd", - }, ], "_fTextNode": false, "_parent": [Circular], @@ -40006,25 +39221,15 @@ Object { }, Object { "_attrs": Object { - "w14:paraId": "5C34C0EB", - "w14:textId": "6ADFFBFE", - "w:rsidP": "000943ED", - "w:rsidR": "00AC5982", - "w:rsidRDefault": "00AC5982", + "w14:paraId": "7D7089DF", + "w14:textId": "4570DBA6", + "w:rsidR": "00F6571B", + "w:rsidRDefault": "005F5C30", }, "_children": Array [ Object { "_attrs": Object {}, "_children": Array [ - Object { - "_attrs": Object { - "w:val": "0", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:outlineLvl", - }, Object { "_attrs": Object {}, "_children": Array [ @@ -40076,39 +39281,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "THIRD", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": " === ", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "THIRD", + "_text": "enigrebua", }, ], "_fTextNode": false, @@ -40122,91 +39295,26 @@ Object { }, Object { "_attrs": Object { - "w:rsidR": "00E70AFF", + "w:id": "0", + "w:name": "_GoBack", }, - "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "w:val": "es-ES", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:lang", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:rPr", - }, - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - ], + "_children": Array [], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:r", + "_tag": "w:bookmarkStart", }, Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "w:val": "es-ES", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:lang", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:rPr", - }, - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - ], + "_attrs": Object { + "w:id": "0", + }, + "_children": Array [], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:r", + "_tag": "w:bookmarkEnd", }, Object { "_attrs": Object { - "w:rsidR": "00E70AFF", + "w:rsidR": "00F6571B", }, "_children": Array [ Object { @@ -40235,23 +39343,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": " === ", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "THIRD", + "_text": "", }, ], "_fTextNode": false, @@ -40263,63 +39355,6 @@ Object { "_parent": [Circular], "_tag": "w:r", }, - Object { - "_attrs": Object { - "w:id": "0", - "w:name": "_GoBack", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:bookmarkStart", - }, - Object { - "_attrs": Object { - "w:id": "0", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:bookmarkEnd", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:p", - }, - Object { - "_attrs": Object { - "w14:paraId": "743B5CEB", - "w14:textId": "77777777", - "w:rsidR": "00D310BE", - "w:rsidRDefault": "00D310BE", - }, - "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "w:val": "es-ES", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:lang", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:rPr", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:pPr", - }, ], "_fTextNode": false, "_parent": [Circular], @@ -40327,7 +39362,7 @@ Object { }, Object { "_attrs": Object { - "w:rsidR": "00D310BE", + "w:rsidR": "00F6571B", }, "_children": Array [ Object { @@ -40389,7 +39424,7 @@ Object { } `; -exports[`sandbox Template processing 35 Processes all snippets in the same sandbox 1`] = ` +exports[`sandbox Template processing 33c Processes EXEC when a promise is returned 1`] = ` Object { "_attrs": Object { "mc:Ignorable": "w14 w15 wp14", @@ -40418,12 +39453,10 @@ Object { "_children": Array [ Object { "_attrs": Object { - "w14:paraId": "52E3C98D", - "w14:textId": "4B40268C", - "w:rsidP": "0061273F", - "w:rsidR": "0061273F", - "w:rsidRDefault": "0061273F", - "w:rsidRPr": "0061273F", + "w14:paraId": "3DAD4C89", + "w14:textId": "23C6B9AF", + "w:rsidR": "00354CD5", + "w:rsidRDefault": "00354CD5", }, "_children": Array [ Object { @@ -40480,7 +39513,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "Hello there!", + "_text": "hello", }, ], "_fTextNode": false, @@ -40494,7 +39527,7 @@ Object { }, Object { "_attrs": Object { - "w:rsidR": "0084532F", + "w:rsidR": "005F5C30", }, "_children": Array [ Object { @@ -40537,16 +39570,7 @@ Object { }, Object { "_attrs": Object { - "w:type": "spellStart", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:proofErr", - }, - Object { - "_attrs": Object { - "w:rsidR": "00624714", + "w:rsidR": "00F345BF", }, "_children": Array [ Object { @@ -40588,18 +39612,7 @@ Object { "_tag": "w:r", }, Object { - "_attrs": Object { - "w:type": "spellEnd", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:proofErr", - }, - Object { - "_attrs": Object { - "w:rsidR": "00624714", - }, + "_attrs": Object {}, "_children": Array [ Object { "_attrs": Object {}, @@ -40639,71 +39652,21 @@ Object { "_parent": [Circular], "_tag": "w:r", }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + Object { + "_attrs": Object { + "w14:paraId": "7D7089DF", + "w14:textId": "3719D32A", + "w:rsidR": "00F6571B", + "w:rsidRDefault": "00F6571B", + }, + "_children": Array [ Object { - "_attrs": Object { - "w:type": "spellStart", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:proofErr", - }, - Object { - "_attrs": Object { - "w:rsidR": "00624714", - }, - "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "w:val": "es-ES", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:lang", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:rPr", - }, - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - Object { - "_attrs": Object { - "w:type": "spellEnd", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:proofErr", - }, - Object { - "_attrs": Object { - "w:rsidR": "00624714", - }, + "_attrs": Object {}, "_children": Array [ Object { "_attrs": Object {}, @@ -40722,26 +39685,10 @@ Object { "_parent": [Circular], "_tag": "w:rPr", }, - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:r", + "_tag": "w:pPr", }, Object { "_attrs": Object { @@ -40762,47 +39709,6 @@ Object { "_parent": [Circular], "_tag": "w:bookmarkEnd", }, - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "w:val": "es-ES", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:lang", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:rPr", - }, - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, ], "_fTextNode": false, "_parent": [Circular], @@ -40810,8 +39716,7 @@ Object { }, Object { "_attrs": Object { - "w:rsidR": "0061273F", - "w:rsidRPr": "0061273F", + "w:rsidR": "00F6571B", }, "_children": Array [ Object { @@ -40873,7 +39778,7 @@ Object { } `; -exports[`sandbox Template processing 36 Processes all snippets without sandbox 1`] = ` +exports[`sandbox Template processing 34 Processes INS with shorthand (=) 1`] = ` Object { "_attrs": Object { "mc:Ignorable": "w14 w15 wp14", @@ -40902,17 +39807,25 @@ Object { "_children": Array [ Object { "_attrs": Object { - "w14:paraId": "52E3C98D", - "w14:textId": "4B40268C", - "w:rsidP": "0061273F", - "w:rsidR": "0061273F", - "w:rsidRDefault": "0061273F", - "w:rsidRPr": "0061273F", + "w14:paraId": "5C34C0EB", + "w14:textId": "3F3D8588", + "w:rsidP": "000943ED", + "w:rsidR": "00AC5982", + "w:rsidRDefault": "00AC5982", }, "_children": Array [ Object { "_attrs": Object {}, "_children": Array [ + Object { + "_attrs": Object { + "w:val": "0", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:outlineLvl", + }, Object { "_attrs": Object {}, "_children": Array [ @@ -40964,39 +39877,28 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "Hello there!", + "_text": "FIRST", }, ], "_fTextNode": false, "_parent": [Circular], "_tag": "w:t", }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - Object { - "_attrs": Object { - "w:rsidR": "0084532F", - }, - "_children": Array [ Object { - "_attrs": Object {}, + "_attrs": Object { + "xml:space": "preserve", + }, "_children": Array [ Object { - "_attrs": Object { - "w:val": "es-ES", - }, "_children": Array [], - "_fTextNode": false, + "_fTextNode": true, "_parent": [Circular], - "_tag": "w:lang", + "_text": " === ", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:rPr", + "_tag": "w:t", }, Object { "_attrs": Object { @@ -41007,7 +39909,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "", + "_text": "FIRST", }, ], "_fTextNode": false, @@ -41019,20 +39921,32 @@ Object { "_parent": [Circular], "_tag": "w:r", }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + Object { + "_attrs": Object { + "w14:paraId": "5C34C0EB", + "w14:textId": "3F3D8588", + "w:rsidP": "000943ED", + "w:rsidR": "00AC5982", + "w:rsidRDefault": "00AC5982", + }, + "_children": Array [ Object { - "_attrs": Object { - "w:type": "spellStart", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:proofErr", - }, - Object { - "_attrs": Object { - "w:rsidR": "00624714", - }, + "_attrs": Object {}, "_children": Array [ + Object { + "_attrs": Object { + "w:val": "0", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:outlineLvl", + }, Object { "_attrs": Object {}, "_children": Array [ @@ -41050,40 +39964,13 @@ Object { "_parent": [Circular], "_tag": "w:rPr", }, - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:r", - }, - Object { - "_attrs": Object { - "w:type": "spellEnd", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:proofErr", + "_tag": "w:pPr", }, Object { - "_attrs": Object { - "w:rsidR": "00624714", - }, + "_attrs": Object {}, "_children": Array [ Object { "_attrs": Object {}, @@ -41111,48 +39998,28 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "", + "_text": "SECOND", }, ], "_fTextNode": false, "_parent": [Circular], "_tag": "w:t", }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - Object { - "_attrs": Object { - "w:type": "spellStart", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:proofErr", - }, - Object { - "_attrs": Object { - "w:rsidR": "00624714", - }, - "_children": Array [ Object { - "_attrs": Object {}, + "_attrs": Object { + "xml:space": "preserve", + }, "_children": Array [ Object { - "_attrs": Object { - "w:val": "es-ES", - }, "_children": Array [], - "_fTextNode": false, + "_fTextNode": true, "_parent": [Circular], - "_tag": "w:lang", + "_text": " === ", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:rPr", + "_tag": "w:t", }, Object { "_attrs": Object { @@ -41163,7 +40030,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "", + "_text": "SECOND", }, ], "_fTextNode": false, @@ -41175,19 +40042,56 @@ Object { "_parent": [Circular], "_tag": "w:r", }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + Object { + "_attrs": Object { + "w14:paraId": "5C34C0EB", + "w14:textId": "3F3D8588", + "w:rsidP": "000943ED", + "w:rsidR": "00AC5982", + "w:rsidRDefault": "00AC5982", + }, + "_children": Array [ Object { - "_attrs": Object { - "w:type": "spellEnd", - }, - "_children": Array [], + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "w:val": "0", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:outlineLvl", + }, + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "w:val": "es-ES", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:lang", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:rPr", + }, + ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:proofErr", + "_tag": "w:pPr", }, Object { - "_attrs": Object { - "w:rsidR": "00624714", - }, + "_attrs": Object {}, "_children": Array [ Object { "_attrs": Object {}, @@ -41215,56 +40119,28 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "", + "_text": "THIRD", }, ], "_fTextNode": false, "_parent": [Circular], "_tag": "w:t", }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - Object { - "_attrs": Object { - "w:id": "0", - "w:name": "_GoBack", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:bookmarkStart", - }, - Object { - "_attrs": Object { - "w:id": "0", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:bookmarkEnd", - }, - Object { - "_attrs": Object {}, - "_children": Array [ Object { - "_attrs": Object {}, + "_attrs": Object { + "xml:space": "preserve", + }, "_children": Array [ Object { - "_attrs": Object { - "w:val": "es-ES", - }, "_children": Array [], - "_fTextNode": false, + "_fTextNode": true, "_parent": [Circular], - "_tag": "w:lang", + "_text": " === ", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:rPr", + "_tag": "w:t", }, Object { "_attrs": Object { @@ -41275,7 +40151,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "", + "_text": "THIRD", }, ], "_fTextNode": false, @@ -41294,8 +40170,45 @@ Object { }, Object { "_attrs": Object { - "w:rsidR": "0061273F", - "w:rsidRPr": "0061273F", + "w14:paraId": "743B5CEB", + "w14:textId": "77777777", + "w:rsidR": "00D310BE", + "w:rsidRDefault": "00D310BE", + }, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "w:val": "es-ES", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:lang", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:rPr", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:pPr", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + Object { + "_attrs": Object { + "w:rsidR": "00D310BE", }, "_children": Array [ Object { @@ -41357,14 +40270,23 @@ Object { } `; -exports[`sandbox Template processing 36b Processes a snippet with additional context 1`] = ` +exports[`sandbox Template processing 34b Processes INS omitting the command name 1`] = ` Object { "_attrs": Object { - "mc:Ignorable": "w14 w15 wp14", + "mc:Ignorable": "w14 w15 w16se w16cid wp14", + "xmlns:aink": "http://schemas.microsoft.com/office/drawing/2016/ink", + "xmlns:am3d": "http://schemas.microsoft.com/office/drawing/2017/model3d", + "xmlns:cx": "http://schemas.microsoft.com/office/drawing/2014/chartex", + "xmlns:cx1": "http://schemas.microsoft.com/office/drawing/2015/9/8/chartex", + "xmlns:cx2": "http://schemas.microsoft.com/office/drawing/2015/10/21/chartex", + "xmlns:cx3": "http://schemas.microsoft.com/office/drawing/2016/5/9/chartex", + "xmlns:cx4": "http://schemas.microsoft.com/office/drawing/2016/5/10/chartex", + "xmlns:cx5": "http://schemas.microsoft.com/office/drawing/2016/5/11/chartex", + "xmlns:cx6": "http://schemas.microsoft.com/office/drawing/2016/5/12/chartex", + "xmlns:cx7": "http://schemas.microsoft.com/office/drawing/2016/5/13/chartex", + "xmlns:cx8": "http://schemas.microsoft.com/office/drawing/2016/5/14/chartex", "xmlns:m": "http://schemas.openxmlformats.org/officeDocument/2006/math", "xmlns:mc": "http://schemas.openxmlformats.org/markup-compatibility/2006", - "xmlns:mo": "http://schemas.microsoft.com/office/mac/office/2008/main", - "xmlns:mv": "urn:schemas-microsoft-com:mac:vml", "xmlns:o": "urn:schemas-microsoft-com:office:office", "xmlns:r": "http://schemas.openxmlformats.org/officeDocument/2006/relationships", "xmlns:v": "urn:schemas-microsoft-com:vml", @@ -41372,6 +40294,8 @@ Object { "xmlns:w10": "urn:schemas-microsoft-com:office:word", "xmlns:w14": "http://schemas.microsoft.com/office/word/2010/wordml", "xmlns:w15": "http://schemas.microsoft.com/office/word/2012/wordml", + "xmlns:w16cid": "http://schemas.microsoft.com/office/word/2016/wordml/cid", + "xmlns:w16se": "http://schemas.microsoft.com/office/word/2015/wordml/symex", "xmlns:wne": "http://schemas.microsoft.com/office/word/2006/wordml", "xmlns:wp": "http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing", "xmlns:wp14": "http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing", @@ -41386,11 +40310,11 @@ Object { "_children": Array [ Object { "_attrs": Object { - "w14:paraId": "360BBC7E", - "w14:textId": "50C1899D", - "w:rsidP": "00BE3B8D", - "w:rsidR": "00BE3B8D", - "w:rsidRDefault": "00BE3B8D", + "w14:paraId": "5C34C0EB", + "w14:textId": "6ADFFBFE", + "w:rsidP": "000943ED", + "w:rsidR": "00AC5982", + "w:rsidRDefault": "00AC5982", }, "_children": Array [ Object { @@ -41398,30 +40322,55 @@ Object { "_children": Array [ Object { "_attrs": Object { - "xml:space": "preserve", + "w:val": "0", }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:outlineLvl", + }, + Object { + "_attrs": Object {}, "_children": Array [ Object { + "_attrs": Object { + "w:val": "es-ES", + }, "_children": Array [], - "_fTextNode": true, + "_fTextNode": false, "_parent": [Circular], - "_text": "first", + "_tag": "w:lang", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:t", + "_tag": "w:rPr", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:r", + "_tag": "w:pPr", }, Object { - "_attrs": Object { - "w:rsidR": "006B2AD2", - }, + "_attrs": Object {}, "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "w:val": "es-ES", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:lang", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:rPr", + }, Object { "_attrs": Object { "xml:space": "preserve", @@ -41431,21 +40380,13 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "", + "_text": "FIRST", }, ], "_fTextNode": false, "_parent": [Circular], "_tag": "w:t", }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - Object { - "_attrs": Object {}, - "_children": Array [ Object { "_attrs": Object { "xml:space": "preserve", @@ -41455,23 +40396,13 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "", + "_text": " === ", }, ], "_fTextNode": false, "_parent": [Circular], "_tag": "w:t", }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - Object { - "_attrs": Object { - "w:rsidR": "006B2AD2", - }, - "_children": Array [ Object { "_attrs": Object { "xml:space": "preserve", @@ -41481,7 +40412,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "", + "_text": "FIRST", }, ], "_fTextNode": false, @@ -41495,9 +40426,26 @@ Object { }, Object { "_attrs": Object { - "w:rsidR": "0038298C", + "w:rsidR": "00E70AFF", }, "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "w:val": "es-ES", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:lang", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:rPr", + }, Object { "_attrs": Object { "xml:space": "preserve", @@ -41519,54 +40467,26 @@ Object { "_parent": [Circular], "_tag": "w:r", }, - Object { - "_attrs": Object { - "w:id": "0", - "w:name": "_GoBack", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:bookmarkStart", - }, - Object { - "_attrs": Object { - "w:id": "0", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:bookmarkEnd", - }, Object { "_attrs": Object {}, "_children": Array [ Object { - "_attrs": Object { - "xml:space": "preserve", - }, + "_attrs": Object {}, "_children": Array [ Object { + "_attrs": Object { + "w:val": "es-ES", + }, "_children": Array [], - "_fTextNode": true, + "_fTextNode": false, "_parent": [Circular], - "_text": "", + "_tag": "w:lang", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:t", + "_tag": "w:rPr", }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - Object { - "_attrs": Object { - "w:rsidR": "00160A38", - }, - "_children": Array [ Object { "_attrs": Object { "xml:space": "preserve", @@ -41590,9 +40510,26 @@ Object { }, Object { "_attrs": Object { - "w:rsidR": "006B2AD2", + "w:rsidR": "00E70AFF", }, "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "w:val": "es-ES", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:lang", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:rPr", + }, Object { "_attrs": Object { "xml:space": "preserve", @@ -41602,21 +40539,13 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "", + "_text": " === ", }, ], "_fTextNode": false, "_parent": [Circular], "_tag": "w:t", }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - Object { - "_attrs": Object {}, - "_children": Array [ Object { "_attrs": Object { "xml:space": "preserve", @@ -41626,7 +40555,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "", + "_text": "FIRST", }, ], "_fTextNode": false, @@ -41638,6 +40567,25 @@ Object { "_parent": [Circular], "_tag": "w:r", }, + Object { + "_attrs": Object { + "w:id": "0", + "w:name": "_GoBack", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:bookmarkStart", + }, + Object { + "_attrs": Object { + "w:id": "0", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:bookmarkEnd", + }, ], "_fTextNode": false, "_parent": [Circular], @@ -41645,11 +40593,11 @@ Object { }, Object { "_attrs": Object { - "w14:paraId": "360BBC7E", - "w14:textId": "50C1899D", - "w:rsidP": "00BE3B8D", - "w:rsidR": "00BE3B8D", - "w:rsidRDefault": "00BE3B8D", + "w14:paraId": "5C34C0EB", + "w14:textId": "6ADFFBFE", + "w:rsidP": "000943ED", + "w:rsidR": "00AC5982", + "w:rsidRDefault": "00AC5982", }, "_children": Array [ Object { @@ -41657,54 +40605,55 @@ Object { "_children": Array [ Object { "_attrs": Object { - "xml:space": "preserve", + "w:val": "0", }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:outlineLvl", + }, + Object { + "_attrs": Object {}, "_children": Array [ Object { + "_attrs": Object { + "w:val": "es-ES", + }, "_children": Array [], - "_fTextNode": true, + "_fTextNode": false, "_parent": [Circular], - "_text": "second", + "_tag": "w:lang", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:t", + "_tag": "w:rPr", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:r", + "_tag": "w:pPr", }, Object { - "_attrs": Object { - "w:rsidR": "006B2AD2", - }, + "_attrs": Object {}, "_children": Array [ Object { - "_attrs": Object { - "xml:space": "preserve", - }, + "_attrs": Object {}, "_children": Array [ Object { + "_attrs": Object { + "w:val": "es-ES", + }, "_children": Array [], - "_fTextNode": true, + "_fTextNode": false, "_parent": [Circular], - "_text": "", + "_tag": "w:lang", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:t", + "_tag": "w:rPr", }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - Object { - "_attrs": Object {}, - "_children": Array [ Object { "_attrs": Object { "xml:space": "preserve", @@ -41714,23 +40663,13 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "", + "_text": "SECOND", }, ], "_fTextNode": false, "_parent": [Circular], "_tag": "w:t", }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - Object { - "_attrs": Object { - "w:rsidR": "006B2AD2", - }, - "_children": Array [ Object { "_attrs": Object { "xml:space": "preserve", @@ -41740,23 +40679,13 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "", + "_text": " === ", }, ], "_fTextNode": false, "_parent": [Circular], "_tag": "w:t", }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - Object { - "_attrs": Object { - "w:rsidR": "0038298C", - }, - "_children": Array [ Object { "_attrs": Object { "xml:space": "preserve", @@ -41766,7 +40695,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "", + "_text": "SECOND", }, ], "_fTextNode": false, @@ -41780,52 +40709,26 @@ Object { }, Object { "_attrs": Object { - "w:id": "0", - "w:name": "_GoBack", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:bookmarkStart", - }, - Object { - "_attrs": Object { - "w:id": "0", + "w:rsidR": "00E70AFF", }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:bookmarkEnd", - }, - Object { - "_attrs": Object {}, "_children": Array [ Object { - "_attrs": Object { - "xml:space": "preserve", - }, + "_attrs": Object {}, "_children": Array [ Object { + "_attrs": Object { + "w:val": "es-ES", + }, "_children": Array [], - "_fTextNode": true, + "_fTextNode": false, "_parent": [Circular], - "_text": "", + "_tag": "w:lang", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:t", + "_tag": "w:rPr", }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - Object { - "_attrs": Object { - "w:rsidR": "00160A38", - }, - "_children": Array [ Object { "_attrs": Object { "xml:space": "preserve", @@ -41848,10 +40751,25 @@ Object { "_tag": "w:r", }, Object { - "_attrs": Object { - "w:rsidR": "006B2AD2", - }, + "_attrs": Object {}, "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "w:val": "es-ES", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:lang", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:rPr", + }, Object { "_attrs": Object { "xml:space": "preserve", @@ -41874,8 +40792,27 @@ Object { "_tag": "w:r", }, Object { - "_attrs": Object {}, + "_attrs": Object { + "w:rsidR": "00E70AFF", + }, "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "w:val": "es-ES", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:lang", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:rPr", + }, Object { "_attrs": Object { "xml:space": "preserve", @@ -41885,7 +40822,23 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "", + "_text": " === ", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "SECOND", }, ], "_fTextNode": false, @@ -41897,6 +40850,25 @@ Object { "_parent": [Circular], "_tag": "w:r", }, + Object { + "_attrs": Object { + "w:id": "0", + "w:name": "_GoBack", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:bookmarkStart", + }, + Object { + "_attrs": Object { + "w:id": "0", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:bookmarkEnd", + }, ], "_fTextNode": false, "_parent": [Circular], @@ -41904,11 +40876,11 @@ Object { }, Object { "_attrs": Object { - "w14:paraId": "360BBC7E", - "w14:textId": "50C1899D", - "w:rsidP": "00BE3B8D", - "w:rsidR": "00BE3B8D", - "w:rsidRDefault": "00BE3B8D", + "w14:paraId": "5C34C0EB", + "w14:textId": "6ADFFBFE", + "w:rsidP": "000943ED", + "w:rsidR": "00AC5982", + "w:rsidRDefault": "00AC5982", }, "_children": Array [ Object { @@ -41916,30 +40888,55 @@ Object { "_children": Array [ Object { "_attrs": Object { - "xml:space": "preserve", + "w:val": "0", }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:outlineLvl", + }, + Object { + "_attrs": Object {}, "_children": Array [ Object { + "_attrs": Object { + "w:val": "es-ES", + }, "_children": Array [], - "_fTextNode": true, + "_fTextNode": false, "_parent": [Circular], - "_text": "third", + "_tag": "w:lang", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:t", + "_tag": "w:rPr", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:r", + "_tag": "w:pPr", }, Object { - "_attrs": Object { - "w:rsidR": "006B2AD2", - }, + "_attrs": Object {}, "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "w:val": "es-ES", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:lang", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:rPr", + }, Object { "_attrs": Object { "xml:space": "preserve", @@ -41949,21 +40946,13 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "", + "_text": "THIRD", }, ], "_fTextNode": false, "_parent": [Circular], "_tag": "w:t", }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - Object { - "_attrs": Object {}, - "_children": Array [ Object { "_attrs": Object { "xml:space": "preserve", @@ -41973,23 +40962,13 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "", + "_text": " === ", }, ], "_fTextNode": false, "_parent": [Circular], "_tag": "w:t", }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - Object { - "_attrs": Object { - "w:rsidR": "006B2AD2", - }, - "_children": Array [ Object { "_attrs": Object { "xml:space": "preserve", @@ -41999,7 +40978,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "", + "_text": "THIRD", }, ], "_fTextNode": false, @@ -42013,9 +40992,26 @@ Object { }, Object { "_attrs": Object { - "w:rsidR": "0038298C", + "w:rsidR": "00E70AFF", }, "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "w:val": "es-ES", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:lang", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:rPr", + }, Object { "_attrs": Object { "xml:space": "preserve", @@ -42037,54 +41033,26 @@ Object { "_parent": [Circular], "_tag": "w:r", }, - Object { - "_attrs": Object { - "w:id": "0", - "w:name": "_GoBack", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:bookmarkStart", - }, - Object { - "_attrs": Object { - "w:id": "0", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:bookmarkEnd", - }, Object { "_attrs": Object {}, "_children": Array [ Object { - "_attrs": Object { - "xml:space": "preserve", - }, + "_attrs": Object {}, "_children": Array [ Object { + "_attrs": Object { + "w:val": "es-ES", + }, "_children": Array [], - "_fTextNode": true, + "_fTextNode": false, "_parent": [Circular], - "_text": "", + "_tag": "w:lang", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:t", + "_tag": "w:rPr", }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - Object { - "_attrs": Object { - "w:rsidR": "00160A38", - }, - "_children": Array [ Object { "_attrs": Object { "xml:space": "preserve", @@ -42108,9 +41076,26 @@ Object { }, Object { "_attrs": Object { - "w:rsidR": "006B2AD2", + "w:rsidR": "00E70AFF", }, "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "w:val": "es-ES", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:lang", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:rPr", + }, Object { "_attrs": Object { "xml:space": "preserve", @@ -42120,21 +41105,13 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "", + "_text": " === ", }, ], "_fTextNode": false, "_parent": [Circular], "_tag": "w:t", }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - Object { - "_attrs": Object {}, - "_children": Array [ Object { "_attrs": Object { "xml:space": "preserve", @@ -42144,7 +41121,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "", + "_text": "THIRD", }, ], "_fTextNode": false, @@ -42156,44 +41133,89 @@ Object { "_parent": [Circular], "_tag": "w:r", }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:p", - }, - Object { - "_attrs": Object { - "w14:paraId": "070E539E", - "w14:textId": "77777777", - "w:rsidR": "00426180", - "w:rsidRDefault": "00426180", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:p", - }, - Object { - "_attrs": Object { - "w:rsidR": "00426180", - }, - "_children": Array [ Object { "_attrs": Object { - "w:h": "15840", - "w:w": "12240", + "w:id": "0", + "w:name": "_GoBack", }, "_children": Array [], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:pgSz", + "_tag": "w:bookmarkStart", }, Object { "_attrs": Object { - "w:bottom": "1417", - "w:footer": "708", - "w:gutter": "0", - "w:header": "708", + "w:id": "0", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:bookmarkEnd", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + Object { + "_attrs": Object { + "w14:paraId": "743B5CEB", + "w14:textId": "77777777", + "w:rsidR": "00D310BE", + "w:rsidRDefault": "00D310BE", + }, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "w:val": "es-ES", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:lang", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:rPr", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:pPr", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + Object { + "_attrs": Object { + "w:rsidR": "00D310BE", + }, + "_children": Array [ + Object { + "_attrs": Object { + "w:h": "15840", + "w:w": "12240", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:pgSz", + }, + Object { + "_attrs": Object { + "w:bottom": "1417", + "w:footer": "708", + "w:gutter": "0", + "w:header": "708", "w:left": "1701", "w:right": "1701", "w:top": "1417", @@ -42237,7 +41259,7 @@ Object { } `; -exports[`sandbox Template processing 38b Processes IMAGE commands with base64 data 1`] = ` +exports[`sandbox Template processing 35 Processes all snippets in the same sandbox 1`] = ` Object { "_attrs": Object { "mc:Ignorable": "w14 w15 wp14", @@ -42266,11 +41288,12 @@ Object { "_children": Array [ Object { "_attrs": Object { - "w14:paraId": "46C87FB6", - "w14:textId": "77777777", - "w:rsidP": "00EC4C65", - "w:rsidR": "00EC4C65", - "w:rsidRDefault": "00EC4C65", + "w14:paraId": "52E3C98D", + "w14:textId": "4B40268C", + "w:rsidP": "0061273F", + "w:rsidR": "0061273F", + "w:rsidRDefault": "0061273F", + "w:rsidRPr": "0061273F", }, "_children": Array [ Object { @@ -42318,354 +41341,373 @@ Object { "_parent": [Circular], "_tag": "w:rPr", }, + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "Hello there!", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + Object { + "_attrs": Object { + "w:rsidR": "0084532F", + }, + "_children": Array [ Object { "_attrs": Object {}, "_children": Array [ Object { "_attrs": Object { - "distB": "0", - "distL": "0", - "distR": "0", - "distT": "0", + "w:val": "es-ES", }, - "_children": Array [ - Object { - "_attrs": Object { - "cx": "2160000", - "cy": "2160000", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "wp:extent", - }, - Object { - "_attrs": Object { - "descr": "desc", - "id": "1", - "name": "Picture 1", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "wp:docPr", - }, - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "noChangeAspect": "1", - "xmlns:a": "http://schemas.openxmlformats.org/drawingml/2006/main", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "a:graphicFrameLocks", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "wp:cNvGraphicFramePr", - }, - Object { - "_attrs": Object { - "xmlns:a": "http://schemas.openxmlformats.org/drawingml/2006/main", - }, - "_children": Array [ - Object { - "_attrs": Object { - "uri": "http://schemas.openxmlformats.org/drawingml/2006/picture", - }, - "_children": Array [ - Object { - "_attrs": Object { - "xmlns:pic": "http://schemas.openxmlformats.org/drawingml/2006/picture", - }, - "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "descr": "desc", - "id": "0", - "name": "Picture 1", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "pic:cNvPr", - }, - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "noChangeArrowheads": "1", - "noChangeAspect": "1", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "a:picLocks", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "pic:cNvPicPr", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "pic:nvPicPr", - }, - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "cstate": "print", - "r:embed": "img1", - }, - "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "uri": "{28A0092B-C50C-407E-A947-70E740481C1C}", - }, - "_children": Array [ - Object { - "_attrs": Object { - "val": "0", - "xmlns:a14": "http://schemas.microsoft.com/office/drawing/2010/main", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "a14:useLocalDpi", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "a:ext", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "a:extLst", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "a:blip", - }, - Object { - "_attrs": Object {}, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "a:srcRect", - }, - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "a:fillRect", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "a:stretch", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "pic:blipFill", - }, - Object { - "_attrs": Object { - "bwMode": "auto", - }, - "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "x": "0", - "y": "0", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "a:off", - }, - Object { - "_attrs": Object { - "cx": "2160000", - "cy": "2160000", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "a:ext", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "a:xfrm", - }, - Object { - "_attrs": Object { - "prst": "rect", - }, - "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "a:avLst", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "a:prstGeom", - }, - Object { - "_attrs": Object {}, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "a:noFill", - }, - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "a:noFill", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "a:ln", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "pic:spPr", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "pic:pic", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "a:graphicData", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "a:graphic", - }, - ], + "_children": Array [], "_fTextNode": false, "_parent": [Circular], - "_tag": "wp:inline", + "_tag": "w:lang", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:drawing", + "_tag": "w:rPr", + }, + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", }, ], "_fTextNode": false, "_parent": [Circular], "_tag": "w:r", }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:p", - }, - Object { - "_attrs": Object { - "w14:paraId": "4AABECA9", - "w14:textId": "77777777", - "w:rsidP": "00EC4C65", - "w:rsidR": "0095275F", - "w:rsidRDefault": "0095275F", - "w:rsidRPr": "00EC4C65", - }, - "_children": Array [ Object { "_attrs": Object { - "w:id": "0", - "w:name": "_GoBack", + "w:type": "spellStart", }, "_children": Array [], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:bookmarkStart", + "_tag": "w:proofErr", }, Object { "_attrs": Object { - "w:id": "0", + "w:rsidR": "00624714", }, - "_children": Array [], + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "w:val": "es-ES", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:lang", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:rPr", + }, + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:bookmarkEnd", + "_tag": "w:r", }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:p", - }, - Object { - "_attrs": Object { - "w:rsidR": "0095275F", - "w:rsidRPr": "00EC4C65", - "w:rsidSect": "00A0490B", - }, - "_children": Array [ Object { "_attrs": Object { - "w:h": "16840", - "w:w": "11900", + "w:type": "spellEnd", }, "_children": Array [], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:pgSz", + "_tag": "w:proofErr", }, Object { "_attrs": Object { - "w:bottom": "1417", - "w:footer": "708", - "w:gutter": "0", - "w:header": "708", - "w:left": "1701", - "w:right": "1701", - "w:top": "1417", + "w:rsidR": "00624714", }, - "_children": Array [], + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "w:val": "es-ES", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:lang", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:rPr", + }, + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:pgMar", + "_tag": "w:r", + }, + Object { + "_attrs": Object { + "w:type": "spellStart", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:proofErr", + }, + Object { + "_attrs": Object { + "w:rsidR": "00624714", + }, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "w:val": "es-ES", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:lang", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:rPr", + }, + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + Object { + "_attrs": Object { + "w:type": "spellEnd", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:proofErr", + }, + Object { + "_attrs": Object { + "w:rsidR": "00624714", + }, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "w:val": "es-ES", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:lang", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:rPr", + }, + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + Object { + "_attrs": Object { + "w:id": "0", + "w:name": "_GoBack", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:bookmarkStart", + }, + Object { + "_attrs": Object { + "w:id": "0", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:bookmarkEnd", + }, + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "w:val": "es-ES", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:lang", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:rPr", + }, + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + Object { + "_attrs": Object { + "w:rsidR": "0061273F", + "w:rsidRPr": "0061273F", + }, + "_children": Array [ + Object { + "_attrs": Object { + "w:h": "15840", + "w:w": "12240", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:pgSz", + }, + Object { + "_attrs": Object { + "w:bottom": "1417", + "w:footer": "708", + "w:gutter": "0", + "w:header": "708", + "w:left": "1701", + "w:right": "1701", + "w:top": "1417", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:pgMar", }, Object { "_attrs": Object { @@ -42701,7 +41743,7 @@ Object { } `; -exports[`sandbox Template processing 38c Processes IMAGE commands with alt text 1`] = ` +exports[`sandbox Template processing 36 Processes all snippets without sandbox 1`] = ` Object { "_attrs": Object { "mc:Ignorable": "w14 w15 wp14", @@ -42730,11 +41772,12 @@ Object { "_children": Array [ Object { "_attrs": Object { - "w14:paraId": "46C87FB6", - "w14:textId": "77777777", - "w:rsidP": "00EC4C65", - "w:rsidR": "00EC4C65", - "w:rsidRDefault": "00EC4C65", + "w14:paraId": "52E3C98D", + "w14:textId": "4B40268C", + "w:rsidP": "0061273F", + "w:rsidR": "0061273F", + "w:rsidRDefault": "0061273F", + "w:rsidRPr": "0061273F", }, "_children": Array [ Object { @@ -42782,438 +41825,49 @@ Object { "_parent": [Circular], "_tag": "w:rPr", }, + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "Hello there!", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + Object { + "_attrs": Object { + "w:rsidR": "0084532F", + }, + "_children": Array [ Object { "_attrs": Object {}, "_children": Array [ Object { "_attrs": Object { - "distB": "0", - "distL": "0", - "distR": "0", - "distT": "0", + "w:val": "es-ES", }, - "_children": Array [ - Object { - "_attrs": Object { - "cx": "2160000", - "cy": "2160000", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "wp:extent", - }, - Object { - "_attrs": Object { - "descr": "qr code for http://guigrpa.github.com", - "id": "1", - "name": "Picture 1", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "wp:docPr", - }, - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "noChangeAspect": "1", - "xmlns:a": "http://schemas.openxmlformats.org/drawingml/2006/main", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "a:graphicFrameLocks", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "wp:cNvGraphicFramePr", - }, - Object { - "_attrs": Object { - "xmlns:a": "http://schemas.openxmlformats.org/drawingml/2006/main", - }, - "_children": Array [ - Object { - "_attrs": Object { - "uri": "http://schemas.openxmlformats.org/drawingml/2006/picture", - }, - "_children": Array [ - Object { - "_attrs": Object { - "xmlns:pic": "http://schemas.openxmlformats.org/drawingml/2006/picture", - }, - "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "descr": "qr code for http://guigrpa.github.com", - "id": "0", - "name": "Picture 1", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "pic:cNvPr", - }, - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "noChangeArrowheads": "1", - "noChangeAspect": "1", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "a:picLocks", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "pic:cNvPicPr", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "pic:nvPicPr", - }, - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "cstate": "print", - "r:embed": "img1", - }, - "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "uri": "{28A0092B-C50C-407E-A947-70E740481C1C}", - }, - "_children": Array [ - Object { - "_attrs": Object { - "val": "0", - "xmlns:a14": "http://schemas.microsoft.com/office/drawing/2010/main", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "a14:useLocalDpi", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "a:ext", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "a:extLst", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "a:blip", - }, - Object { - "_attrs": Object {}, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "a:srcRect", - }, - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "a:fillRect", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "a:stretch", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "pic:blipFill", - }, - Object { - "_attrs": Object { - "bwMode": "auto", - }, - "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "x": "0", - "y": "0", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "a:off", - }, - Object { - "_attrs": Object { - "cx": "2160000", - "cy": "2160000", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "a:ext", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "a:xfrm", - }, - Object { - "_attrs": Object { - "prst": "rect", - }, - "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "a:avLst", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "a:prstGeom", - }, - Object { - "_attrs": Object {}, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "a:noFill", - }, - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "a:noFill", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "a:ln", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "pic:spPr", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "pic:pic", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "a:graphicData", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "a:graphic", - }, - ], + "_children": Array [], "_fTextNode": false, "_parent": [Circular], - "_tag": "wp:inline", + "_tag": "w:lang", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:drawing", + "_tag": "w:rPr", }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:p", - }, - Object { - "_attrs": Object { - "w14:paraId": "4AABECA9", - "w14:textId": "77777777", - "w:rsidP": "00EC4C65", - "w:rsidR": "0095275F", - "w:rsidRDefault": "0095275F", - "w:rsidRPr": "00EC4C65", - }, - "_children": Array [ - Object { - "_attrs": Object { - "w:id": "0", - "w:name": "_GoBack", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:bookmarkStart", - }, - Object { - "_attrs": Object { - "w:id": "0", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:bookmarkEnd", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:p", - }, - Object { - "_attrs": Object { - "w:rsidR": "0095275F", - "w:rsidRPr": "00EC4C65", - "w:rsidSect": "00A0490B", - }, - "_children": Array [ - Object { - "_attrs": Object { - "w:h": "16840", - "w:w": "11900", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:pgSz", - }, - Object { - "_attrs": Object { - "w:bottom": "1417", - "w:footer": "708", - "w:gutter": "0", - "w:header": "708", - "w:left": "1701", - "w:right": "1701", - "w:top": "1417", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:pgMar", - }, - Object { - "_attrs": Object { - "w:space": "708", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:cols", - }, - Object { - "_attrs": Object { - "w:linePitch": "360", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:docGrid", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:sectPr", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:body", - }, - ], - "_fTextNode": false, - "_tag": "w:document", -} -`; - -exports[`sandbox Template processing 39 Processes LINK commands 1`] = ` -Object { - "_attrs": Object { - "mc:Ignorable": "w14 w15 w16se w16cid wp14", - "xmlns:aink": "http://schemas.microsoft.com/office/drawing/2016/ink", - "xmlns:am3d": "http://schemas.microsoft.com/office/drawing/2017/model3d", - "xmlns:cx": "http://schemas.microsoft.com/office/drawing/2014/chartex", - "xmlns:cx1": "http://schemas.microsoft.com/office/drawing/2015/9/8/chartex", - "xmlns:cx2": "http://schemas.microsoft.com/office/drawing/2015/10/21/chartex", - "xmlns:cx3": "http://schemas.microsoft.com/office/drawing/2016/5/9/chartex", - "xmlns:cx4": "http://schemas.microsoft.com/office/drawing/2016/5/10/chartex", - "xmlns:cx5": "http://schemas.microsoft.com/office/drawing/2016/5/11/chartex", - "xmlns:cx6": "http://schemas.microsoft.com/office/drawing/2016/5/12/chartex", - "xmlns:cx7": "http://schemas.microsoft.com/office/drawing/2016/5/13/chartex", - "xmlns:cx8": "http://schemas.microsoft.com/office/drawing/2016/5/14/chartex", - "xmlns:m": "http://schemas.openxmlformats.org/officeDocument/2006/math", - "xmlns:mc": "http://schemas.openxmlformats.org/markup-compatibility/2006", - "xmlns:o": "urn:schemas-microsoft-com:office:office", - "xmlns:r": "http://schemas.openxmlformats.org/officeDocument/2006/relationships", - "xmlns:v": "urn:schemas-microsoft-com:vml", - "xmlns:w": "http://schemas.openxmlformats.org/wordprocessingml/2006/main", - "xmlns:w10": "urn:schemas-microsoft-com:office:word", - "xmlns:w14": "http://schemas.microsoft.com/office/word/2010/wordml", - "xmlns:w15": "http://schemas.microsoft.com/office/word/2012/wordml", - "xmlns:w16cid": "http://schemas.microsoft.com/office/word/2016/wordml/cid", - "xmlns:w16se": "http://schemas.microsoft.com/office/word/2015/wordml/symex", - "xmlns:wne": "http://schemas.microsoft.com/office/word/2006/wordml", - "xmlns:wp": "http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing", - "xmlns:wp14": "http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing", - "xmlns:wpc": "http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas", - "xmlns:wpg": "http://schemas.microsoft.com/office/word/2010/wordprocessingGroup", - "xmlns:wpi": "http://schemas.microsoft.com/office/word/2010/wordprocessingInk", - "xmlns:wps": "http://schemas.microsoft.com/office/word/2010/wordprocessingShape", - }, - "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "w14:paraId": "308C509A", - "w14:textId": "5E0E591D", - "w:rsidR": "00FD129A", - "w:rsidRDefault": "004C35D4", - }, - "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ Object { "_attrs": Object { "xml:space": "preserve", @@ -43223,7 +41877,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "There", + "_text": "", }, ], "_fTextNode": false, @@ -43237,9 +41891,35 @@ Object { }, Object { "_attrs": Object { - "w:rsidR": "00FD129A", + "w:type": "spellStart", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:proofErr", + }, + Object { + "_attrs": Object { + "w:rsidR": "00624714", }, "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "w:val": "es-ES", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:lang", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:rPr", + }, Object { "_attrs": Object { "xml:space": "preserve", @@ -43249,7 +41929,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": " should be ", + "_text": "", }, ], "_fTextNode": false, @@ -43263,33 +41943,35 @@ Object { }, Object { "_attrs": Object { - "w:rsidR": "00AC055A", + "w:type": "spellEnd", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:proofErr", + }, + Object { + "_attrs": Object { + "w:rsidR": "00624714", }, "_children": Array [ Object { - "_attrs": Object { - "xml:space": "preserve", - }, + "_attrs": Object {}, "_children": Array [ Object { + "_attrs": Object { + "w:val": "es-ES", + }, "_children": Array [], - "_fTextNode": true, + "_fTextNode": false, "_parent": [Circular], - "_text": "two hyperlinks ", + "_tag": "w:lang", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:t", + "_tag": "w:rPr", }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - Object { - "_attrs": Object {}, - "_children": Array [ Object { "_attrs": Object { "xml:space": "preserve", @@ -43299,7 +41981,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "below", + "_text": "", }, ], "_fTextNode": false, @@ -43313,9 +41995,35 @@ Object { }, Object { "_attrs": Object { - "w:rsidR": "00507C27", + "w:type": "spellStart", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:proofErr", + }, + Object { + "_attrs": Object { + "w:rsidR": "00624714", }, "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "w:val": "es-ES", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:lang", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:rPr", + }, Object { "_attrs": Object { "xml:space": "preserve", @@ -43325,7 +42033,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": ", the first one in red", + "_text": "", }, ], "_fTextNode": false, @@ -43339,163 +42047,89 @@ Object { }, Object { "_attrs": Object { - "w:id": "0", - "w:name": "_GoBack", + "w:type": "spellEnd", }, "_children": Array [], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:bookmarkStart", + "_tag": "w:proofErr", }, Object { "_attrs": Object { - "w:id": "0", + "w:rsidR": "00624714", }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:bookmarkEnd", - }, - Object { - "_attrs": Object { - "w:rsidR": "00FD129A", - }, - "_children": Array [ - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": ":", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:p", - }, - Object { - "_attrs": Object { - "w14:paraId": "4BC1E1BB", - "w14:textId": "2B023FD3", - "w:rsidR": "00AC055A", - "w:rsidRDefault": "00AC055A", - "w:rsidRPr": "00507C27", - }, - "_children": Array [ - Object { - "_attrs": Object {}, "_children": Array [ Object { "_attrs": Object {}, "_children": Array [ Object { "_attrs": Object { - "w:val": "FF0000", + "w:val": "es-ES", }, "_children": Array [], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:color", + "_tag": "w:lang", }, ], "_fTextNode": false, "_parent": [Circular], "_tag": "w:rPr", }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:pPr", - }, - Object { - "_attrs": Object { - "r:id": "link1", - "w:history": "1", - }, - "_children": Array [ Object { - "_attrs": Object {}, + "_attrs": Object { + "xml:space": "preserve", + }, "_children": Array [ Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "w:val": "FF0000", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:color", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:rPr", - }, - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "Apple", - }, - ], - "_fTextNode": false, + "_children": Array [], + "_fTextNode": true, "_parent": [Circular], - "_tag": "w:t", + "_text": "", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:r", + "_tag": "w:t", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:hyperlink", + "_tag": "w:r", }, Object { "_attrs": Object { - "w:type": "spellStart", + "w:id": "0", + "w:name": "_GoBack", }, "_children": Array [], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:proofErr", + "_tag": "w:bookmarkStart", }, Object { "_attrs": Object { - "w:rsidRPr": "00507C27", + "w:id": "0", }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:bookmarkEnd", + }, + Object { + "_attrs": Object {}, "_children": Array [ Object { "_attrs": Object {}, "_children": Array [ Object { "_attrs": Object { - "w:val": "FF0000", + "w:val": "es-ES", }, "_children": Array [], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:color", + "_tag": "w:lang", }, ], "_fTextNode": false, @@ -43523,37 +42157,141 @@ Object { "_parent": [Circular], "_tag": "w:r", }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + Object { + "_attrs": Object { + "w:rsidR": "0061273F", + "w:rsidRPr": "0061273F", + }, + "_children": Array [ + Object { + "_attrs": Object { + "w:h": "15840", + "w:w": "12240", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:pgSz", + }, Object { "_attrs": Object { - "w:type": "spellEnd", + "w:bottom": "1417", + "w:footer": "708", + "w:gutter": "0", + "w:header": "708", + "w:left": "1701", + "w:right": "1701", + "w:top": "1417", }, "_children": Array [], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:proofErr", + "_tag": "w:pgMar", }, Object { "_attrs": Object { - "w:rsidRPr": "00507C27", + "w:space": "708", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:cols", + }, + Object { + "_attrs": Object { + "w:linePitch": "360", }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:docGrid", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:sectPr", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:body", + }, + ], + "_fTextNode": false, + "_tag": "w:document", +} +`; + +exports[`sandbox Template processing 36b Processes a snippet with additional context 1`] = ` +Object { + "_attrs": Object { + "mc:Ignorable": "w14 w15 wp14", + "xmlns:m": "http://schemas.openxmlformats.org/officeDocument/2006/math", + "xmlns:mc": "http://schemas.openxmlformats.org/markup-compatibility/2006", + "xmlns:mo": "http://schemas.microsoft.com/office/mac/office/2008/main", + "xmlns:mv": "urn:schemas-microsoft-com:mac:vml", + "xmlns:o": "urn:schemas-microsoft-com:office:office", + "xmlns:r": "http://schemas.openxmlformats.org/officeDocument/2006/relationships", + "xmlns:v": "urn:schemas-microsoft-com:vml", + "xmlns:w": "http://schemas.openxmlformats.org/wordprocessingml/2006/main", + "xmlns:w10": "urn:schemas-microsoft-com:office:word", + "xmlns:w14": "http://schemas.microsoft.com/office/word/2010/wordml", + "xmlns:w15": "http://schemas.microsoft.com/office/word/2012/wordml", + "xmlns:wne": "http://schemas.microsoft.com/office/word/2006/wordml", + "xmlns:wp": "http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing", + "xmlns:wp14": "http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing", + "xmlns:wpc": "http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas", + "xmlns:wpg": "http://schemas.microsoft.com/office/word/2010/wordprocessingGroup", + "xmlns:wpi": "http://schemas.microsoft.com/office/word/2010/wordprocessingInk", + "xmlns:wps": "http://schemas.microsoft.com/office/word/2010/wordprocessingShape", + }, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "w14:paraId": "360BBC7E", + "w14:textId": "50C1899D", + "w:rsidP": "00BE3B8D", + "w:rsidR": "00BE3B8D", + "w:rsidRDefault": "00BE3B8D", + }, + "_children": Array [ + Object { + "_attrs": Object {}, "_children": Array [ Object { - "_attrs": Object {}, + "_attrs": Object { + "xml:space": "preserve", + }, "_children": Array [ Object { - "_attrs": Object { - "w:val": "FF0000", - }, "_children": Array [], - "_fTextNode": false, + "_fTextNode": true, "_parent": [Circular], - "_tag": "w:color", + "_text": "first", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:rPr", + "_tag": "w:t", }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + Object { + "_attrs": Object { + "w:rsidR": "006B2AD2", + }, + "_children": Array [ Object { "_attrs": Object { "xml:space": "preserve", @@ -43575,79 +42313,6 @@ Object { "_parent": [Circular], "_tag": "w:r", }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:p", - }, - Object { - "_attrs": Object { - "w14:paraId": "6A7A98AC", - "w14:textId": "7C3FF667", - "w:rsidP": "00AC055A", - "w:rsidR": "00AC055A", - "w:rsidRDefault": "00AC055A", - }, - "_children": Array [ - Object { - "_attrs": Object { - "r:id": "link2", - "w:history": "1", - }, - "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "w:val": "single", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:u", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:rPr", - }, - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "http://www.apple.com", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:hyperlink", - }, - Object { - "_attrs": Object { - "w:type": "spellStart", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:proofErr", - }, Object { "_attrs": Object {}, "_children": Array [ @@ -43674,15 +42339,8 @@ Object { }, Object { "_attrs": Object { - "w:type": "spellEnd", + "w:rsidR": "006B2AD2", }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:proofErr", - }, - Object { - "_attrs": Object {}, "_children": Array [ Object { "_attrs": Object { @@ -43705,154 +42363,51 @@ Object { "_parent": [Circular], "_tag": "w:r", }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:p", - }, - Object { - "_attrs": Object { - "w14:paraId": "3A62A2B1", - "w14:textId": "3CDCD5F0", - "w:rsidP": "00B9506E", - "w:rsidR": "00904BD3", - "w:rsidRDefault": "00904BD3", - }, - "_children": Array [ Object { - "_attrs": Object {}, + "_attrs": Object { + "w:rsidR": "0038298C", + }, "_children": Array [ Object { - "_attrs": Object {}, + "_attrs": Object { + "xml:space": "preserve", + }, "_children": Array [ Object { - "_attrs": Object { - "w:pos": "1478", - "w:val": "left", - }, "_children": Array [], - "_fTextNode": false, + "_fTextNode": true, "_parent": [Circular], - "_tag": "w:tab", + "_text": "", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:tabs", + "_tag": "w:t", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:pPr", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:p", - }, - Object { - "_attrs": Object { - "w:rsidR": "00904BD3", - "w:rsidSect": "00A0490B", - }, - "_children": Array [ - Object { - "_attrs": Object { - "w:h": "16840", - "w:w": "11900", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:pgSz", - }, - Object { - "_attrs": Object { - "w:bottom": "1417", - "w:footer": "708", - "w:gutter": "0", - "w:header": "708", - "w:left": "1701", - "w:right": "1701", - "w:top": "1417", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:pgMar", + "_tag": "w:r", }, Object { "_attrs": Object { - "w:space": "708", + "w:id": "0", + "w:name": "_GoBack", }, "_children": Array [], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:cols", + "_tag": "w:bookmarkStart", }, Object { "_attrs": Object { - "w:linePitch": "360", + "w:id": "0", }, "_children": Array [], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:docGrid", + "_tag": "w:bookmarkEnd", }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:sectPr", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:body", - }, - ], - "_fTextNode": false, - "_tag": "w:document", -} -`; - -exports[`sandbox Template processing 40 Throws on invalid command 1`] = `[Error: Error executing command: INS TTT foo Unexpected identifier]`; - -exports[`sandbox Template processing 41 Throws on invalid for logic 1`] = `[Error: Error executing command: END-FOR company Invalid command: END-FOR company]`; - -exports[`sandbox Template processing 41b Throws on invalid if logic (bad nesting) 1`] = `[Error: Error executing command: END-FOR company Invalid command: END-FOR company]`; - -exports[`sandbox Template processing 70 Allows customisation of cmd delimiter 1`] = ` -Object { - "_attrs": Object { - "mc:Ignorable": "w14 w15 wp14", - "xmlns:m": "http://schemas.openxmlformats.org/officeDocument/2006/math", - "xmlns:mc": "http://schemas.openxmlformats.org/markup-compatibility/2006", - "xmlns:o": "urn:schemas-microsoft-com:office:office", - "xmlns:r": "http://schemas.openxmlformats.org/officeDocument/2006/relationships", - "xmlns:v": "urn:schemas-microsoft-com:vml", - "xmlns:w": "http://schemas.openxmlformats.org/wordprocessingml/2006/main", - "xmlns:w10": "urn:schemas-microsoft-com:office:word", - "xmlns:w14": "http://schemas.microsoft.com/office/word/2010/wordml", - "xmlns:w15": "http://schemas.microsoft.com/office/word/2012/wordml", - "xmlns:wne": "http://schemas.microsoft.com/office/word/2006/wordml", - "xmlns:wp": "http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing", - "xmlns:wp14": "http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing", - "xmlns:wpc": "http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas", - "xmlns:wpg": "http://schemas.microsoft.com/office/word/2010/wordprocessingGroup", - "xmlns:wpi": "http://schemas.microsoft.com/office/word/2010/wordprocessingInk", - "xmlns:wps": "http://schemas.microsoft.com/office/word/2010/wordprocessingShape", - }, - "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "w:rsidP": "00BE3B8D", - "w:rsidR": "00BE3B8D", - "w:rsidRDefault": "00012506", - }, - "_children": Array [ Object { "_attrs": Object {}, "_children": Array [ @@ -43865,7 +42420,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "FIRST", + "_text": "", }, ], "_fTextNode": false, @@ -43879,7 +42434,7 @@ Object { }, Object { "_attrs": Object { - "w:rsidR": "00BE3B8D", + "w:rsidR": "00160A38", }, "_children": Array [ Object { @@ -43905,7 +42460,7 @@ Object { }, Object { "_attrs": Object { - "w:rsidR": "00160A38", + "w:rsidR": "006B2AD2", }, "_children": Array [ Object { @@ -43960,9 +42515,11 @@ Object { }, Object { "_attrs": Object { + "w14:paraId": "360BBC7E", + "w14:textId": "50C1899D", "w:rsidP": "00BE3B8D", "w:rsidR": "00BE3B8D", - "w:rsidRDefault": "00012506", + "w:rsidRDefault": "00BE3B8D", }, "_children": Array [ Object { @@ -43977,7 +42534,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "SECOND", + "_text": "second", }, ], "_fTextNode": false, @@ -43991,7 +42548,7 @@ Object { }, Object { "_attrs": Object { - "w:rsidR": "00BE3B8D", + "w:rsidR": "006B2AD2", }, "_children": Array [ Object { @@ -44016,9 +42573,7 @@ Object { "_tag": "w:r", }, Object { - "_attrs": Object { - "w:rsidR": "00160A38", - }, + "_attrs": Object {}, "_children": Array [ Object { "_attrs": Object { @@ -44042,7 +42597,9 @@ Object { "_tag": "w:r", }, Object { - "_attrs": Object {}, + "_attrs": Object { + "w:rsidR": "006B2AD2", + }, "_children": Array [ Object { "_attrs": Object { @@ -44065,20 +42622,10 @@ Object { "_parent": [Circular], "_tag": "w:r", }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:p", - }, - Object { - "_attrs": Object { - "w:rsidP": "00BE3B8D", - "w:rsidR": "00BE3B8D", - "w:rsidRDefault": "00012506", - }, - "_children": Array [ Object { - "_attrs": Object {}, + "_attrs": Object { + "w:rsidR": "0038298C", + }, "_children": Array [ Object { "_attrs": Object { @@ -44089,7 +42636,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "THIRD", + "_text": "", }, ], "_fTextNode": false, @@ -44103,21 +42650,38 @@ Object { }, Object { "_attrs": Object { - "w:rsidR": "00BE3B8D", + "w:id": "0", + "w:name": "_GoBack", }, - "_children": Array [ - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "", - }, - ], + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:bookmarkStart", + }, + Object { + "_attrs": Object { + "w:id": "0", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:bookmarkEnd", + }, + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "", + }, + ], "_fTextNode": false, "_parent": [Circular], "_tag": "w:t", @@ -44153,6 +42717,32 @@ Object { "_parent": [Circular], "_tag": "w:r", }, + Object { + "_attrs": Object { + "w:rsidR": "006B2AD2", + }, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, Object { "_attrs": Object {}, "_children": Array [ @@ -44184,135 +42774,90 @@ Object { }, Object { "_attrs": Object { - "w:rsidR": "00426180", - "w:rsidRDefault": "00426180", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:p", - }, - Object { - "_attrs": Object { - "w:rsidR": "00426180", + "w14:paraId": "360BBC7E", + "w14:textId": "50C1899D", + "w:rsidP": "00BE3B8D", + "w:rsidR": "00BE3B8D", + "w:rsidRDefault": "00BE3B8D", }, "_children": Array [ Object { - "_attrs": Object { - "w:h": "15840", - "w:w": "12240", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:pgSz", - }, - Object { - "_attrs": Object { - "w:bottom": "1417", - "w:footer": "708", - "w:gutter": "0", - "w:header": "708", - "w:left": "1701", - "w:right": "1701", - "w:top": "1417", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:pgMar", - }, - Object { - "_attrs": Object { - "w:space": "708", - }, - "_children": Array [], + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "third", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:cols", + "_tag": "w:r", }, Object { "_attrs": Object { - "w:linePitch": "360", + "w:rsidR": "006B2AD2", }, - "_children": Array [], + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:docGrid", + "_tag": "w:r", }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:sectPr", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:body", - }, - ], - "_fTextNode": false, - "_tag": "w:document", -} -`; - -exports[`sandbox Template processing 80 Copes with a more complex example: WBS 1`] = ` -Object { - "_attrs": Object { - "mc:Ignorable": "w14 w15 wp14", - "xmlns:m": "http://schemas.openxmlformats.org/officeDocument/2006/math", - "xmlns:mc": "http://schemas.openxmlformats.org/markup-compatibility/2006", - "xmlns:mo": "http://schemas.microsoft.com/office/mac/office/2008/main", - "xmlns:mv": "urn:schemas-microsoft-com:mac:vml", - "xmlns:o": "urn:schemas-microsoft-com:office:office", - "xmlns:r": "http://schemas.openxmlformats.org/officeDocument/2006/relationships", - "xmlns:v": "urn:schemas-microsoft-com:vml", - "xmlns:w": "http://schemas.openxmlformats.org/wordprocessingml/2006/main", - "xmlns:w10": "urn:schemas-microsoft-com:office:word", - "xmlns:w14": "http://schemas.microsoft.com/office/word/2010/wordml", - "xmlns:w15": "http://schemas.microsoft.com/office/word/2012/wordml", - "xmlns:wne": "http://schemas.microsoft.com/office/word/2006/wordml", - "xmlns:wp": "http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing", - "xmlns:wp14": "http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing", - "xmlns:wpc": "http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas", - "xmlns:wpg": "http://schemas.microsoft.com/office/word/2010/wordprocessingGroup", - "xmlns:wpi": "http://schemas.microsoft.com/office/word/2010/wordprocessingInk", - "xmlns:wps": "http://schemas.microsoft.com/office/word/2010/wordprocessingShape", - }, - "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "w14:paraId": "408C39CD", - "w14:textId": "546DA8E4", - "w:rsidP": "00213DB3", - "w:rsidR": "00213DB3", - "w:rsidRDefault": "00213DB3", - "w:rsidRPr": "00450A20", - }, - "_children": Array [ Object { "_attrs": Object {}, "_children": Array [ Object { "_attrs": Object { - "w:val": "Title", + "xml:space": "preserve", }, - "_children": Array [], + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "", + }, + ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:pStyle", + "_tag": "w:t", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:pPr", + "_tag": "w:r", }, Object { "_attrs": Object { - "w:rsidRPr": "00450A20", + "w:rsidR": "006B2AD2", }, "_children": Array [ Object { @@ -44324,7 +42869,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "docx-templates", + "_text": "", }, ], "_fTextNode": false, @@ -44338,8 +42883,7 @@ Object { }, Object { "_attrs": Object { - "w:rsidR": "00C233E0", - "w:rsidRPr": "00450A20", + "w:rsidR": "0038298C", }, "_children": Array [ Object { @@ -44351,7 +42895,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": " ", + "_text": "", }, ], "_fTextNode": false, @@ -44365,9 +42909,25 @@ Object { }, Object { "_attrs": Object { - "w:rsidR": "00143BCE", - "w:rsidRPr": "00450A20", + "w:id": "0", + "w:name": "_GoBack", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:bookmarkStart", + }, + Object { + "_attrs": Object { + "w:id": "0", }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:bookmarkEnd", + }, + Object { + "_attrs": Object {}, "_children": Array [ Object { "_attrs": Object { @@ -44378,7 +42938,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "WBS", + "_text": "", }, ], "_fTextNode": false, @@ -44390,887 +42950,1521 @@ Object { "_parent": [Circular], "_tag": "w:r", }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:p", - }, - Object { - "_attrs": Object {}, - "_children": Array [ Object { - "_attrs": Object {}, + "_attrs": Object { + "w:rsidR": "00160A38", + }, "_children": Array [ Object { "_attrs": Object { - "w:val": "LightShading-Accent3", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:tblStyle", - }, - Object { - "_attrs": Object { - "w:type": "pct", - "w:w": "5000", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:tblW", - }, - Object { - "_attrs": Object { - "w:type": "fixed", + "xml:space": "preserve", }, - "_children": Array [], + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "", + }, + ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:tblLayout", + "_tag": "w:t", }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + Object { + "_attrs": Object { + "w:rsidR": "006B2AD2", + }, + "_children": Array [ Object { "_attrs": Object { - "w:firstColumn": "1", - "w:firstRow": "1", - "w:lastColumn": "0", - "w:lastRow": "0", - "w:noHBand": "0", - "w:noVBand": "1", - "w:val": "04A0", + "xml:space": "preserve", }, - "_children": Array [], + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "", + }, + ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:tblLook", + "_tag": "w:t", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:tblPr", + "_tag": "w:r", }, Object { "_attrs": Object {}, "_children": Array [ Object { "_attrs": Object { - "w:w": "1242", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:gridCol", - }, - Object { - "_attrs": Object { - "w:w": "2268", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:gridCol", - }, - Object { - "_attrs": Object { - "w:w": "1134", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:gridCol", - }, - Object { - "_attrs": Object { - "w:w": "1843", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:gridCol", - }, - Object { - "_attrs": Object { - "w:w": "2029", + "xml:space": "preserve", }, - "_children": Array [], + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "", + }, + ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:gridCol", + "_tag": "w:t", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:tblGrid", + "_tag": "w:r", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + Object { + "_attrs": Object { + "w14:paraId": "070E539E", + "w14:textId": "77777777", + "w:rsidR": "00426180", + "w:rsidRDefault": "00426180", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + Object { + "_attrs": Object { + "w:rsidR": "00426180", + }, + "_children": Array [ + Object { + "_attrs": Object { + "w:h": "15840", + "w:w": "12240", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:pgSz", }, Object { "_attrs": Object { - "w14:paraId": "28941364", - "w14:textId": "77777777", - "w:rsidR": "00DD4490", - "w:rsidRPr": "00E43E2E", - "w:rsidTr": "005A12CC", + "w:bottom": "1417", + "w:footer": "708", + "w:gutter": "0", + "w:header": "708", + "w:left": "1701", + "w:right": "1701", + "w:top": "1417", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:pgMar", + }, + Object { + "_attrs": Object { + "w:space": "708", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:cols", + }, + Object { + "_attrs": Object { + "w:linePitch": "360", }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:docGrid", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:sectPr", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:body", + }, + ], + "_fTextNode": false, + "_tag": "w:document", +} +`; + +exports[`sandbox Template processing 38b Processes IMAGE commands with base64 data 1`] = ` +Object { + "_attrs": Object { + "mc:Ignorable": "w14 w15 wp14", + "xmlns:m": "http://schemas.openxmlformats.org/officeDocument/2006/math", + "xmlns:mc": "http://schemas.openxmlformats.org/markup-compatibility/2006", + "xmlns:mo": "http://schemas.microsoft.com/office/mac/office/2008/main", + "xmlns:mv": "urn:schemas-microsoft-com:mac:vml", + "xmlns:o": "urn:schemas-microsoft-com:office:office", + "xmlns:r": "http://schemas.openxmlformats.org/officeDocument/2006/relationships", + "xmlns:v": "urn:schemas-microsoft-com:vml", + "xmlns:w": "http://schemas.openxmlformats.org/wordprocessingml/2006/main", + "xmlns:w10": "urn:schemas-microsoft-com:office:word", + "xmlns:w14": "http://schemas.microsoft.com/office/word/2010/wordml", + "xmlns:w15": "http://schemas.microsoft.com/office/word/2012/wordml", + "xmlns:wne": "http://schemas.microsoft.com/office/word/2006/wordml", + "xmlns:wp": "http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing", + "xmlns:wp14": "http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing", + "xmlns:wpc": "http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas", + "xmlns:wpg": "http://schemas.microsoft.com/office/word/2010/wordprocessingGroup", + "xmlns:wpi": "http://schemas.microsoft.com/office/word/2010/wordprocessingInk", + "xmlns:wps": "http://schemas.microsoft.com/office/word/2010/wordprocessingShape", + }, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "w14:paraId": "46C87FB6", + "w14:textId": "77777777", + "w:rsidP": "00EC4C65", + "w:rsidR": "00EC4C65", + "w:rsidRDefault": "00EC4C65", + }, + "_children": Array [ + Object { + "_attrs": Object {}, "_children": Array [ Object { "_attrs": Object {}, "_children": Array [ Object { "_attrs": Object { - "w:evenHBand": "0", - "w:evenVBand": "0", - "w:firstColumn": "0", - "w:firstRow": "1", - "w:firstRowFirstColumn": "0", - "w:firstRowLastColumn": "0", - "w:lastColumn": "0", - "w:lastRow": "0", - "w:lastRowFirstColumn": "0", - "w:lastRowLastColumn": "0", - "w:oddHBand": "0", - "w:oddVBand": "0", - "w:val": "100000000000", + "w:val": "es-ES", }, "_children": Array [], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:cnfStyle", - }, - Object { - "_attrs": Object {}, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:cantSplit", - }, - Object { - "_attrs": Object {}, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:tblHeader", + "_tag": "w:lang", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:trPr", + "_tag": "w:rPr", }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:pPr", + }, + Object { + "_attrs": Object {}, + "_children": Array [ Object { "_attrs": Object {}, "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "w:evenHBand": "0", - "w:evenVBand": "0", - "w:firstColumn": "1", - "w:firstRow": "0", - "w:firstRowFirstColumn": "0", - "w:firstRowLastColumn": "0", - "w:lastColumn": "0", - "w:lastRow": "0", - "w:lastRowFirstColumn": "0", - "w:lastRowLastColumn": "0", - "w:oddHBand": "0", - "w:oddVBand": "0", - "w:val": "001000000000", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:cnfStyle", - }, - Object { - "_attrs": Object { - "w:type": "dxa", - "w:w": "1242", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:tcW", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:tcPr", - }, Object { "_attrs": Object { - "w14:paraId": "50180FBF", - "w14:textId": "1ABC0F69", - "w:rsidP": "00C233E0", - "w:rsidR": "00C233E0", - "w:rsidRDefault": "00143BCE", - "w:rsidRPr": "00E43E2E", + "w:val": "es-ES", }, - "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "w:after": "40", - "w:before": "40", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:spacing", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:pPr", - }, - Object { - "_attrs": Object { - "w:rsidRPr": "00E43E2E", - }, - "_children": Array [ - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "WP", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - ], + "_children": Array [], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:p", + "_tag": "w:lang", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:tc", + "_tag": "w:rPr", }, Object { "_attrs": Object {}, "_children": Array [ Object { - "_attrs": Object {}, + "_attrs": Object { + "distB": "0", + "distL": "0", + "distR": "0", + "distT": "0", + }, "_children": Array [ Object { "_attrs": Object { - "w:type": "dxa", - "w:w": "2268", + "cx": "2160000", + "cy": "2160000", }, "_children": Array [], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:tcW", + "_tag": "wp:extent", }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:tcPr", - }, - Object { - "_attrs": Object { - "w14:paraId": "4620F91D", - "w14:textId": "172E1754", - "w:rsidP": "00C233E0", - "w:rsidR": "00C233E0", - "w:rsidRDefault": "00143BCE", - "w:rsidRPr": "00E43E2E", - }, - "_children": Array [ Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "w:after": "40", - "w:before": "40", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:spacing", - }, - Object { - "_attrs": Object { - "w:evenHBand": "0", - "w:evenVBand": "0", - "w:firstColumn": "0", - "w:firstRow": "1", - "w:firstRowFirstColumn": "0", - "w:firstRowLastColumn": "0", - "w:lastColumn": "0", - "w:lastRow": "0", - "w:lastRowFirstColumn": "0", - "w:lastRowLastColumn": "0", - "w:oddHBand": "0", - "w:oddVBand": "0", - "w:val": "100000000000", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:cnfStyle", - }, - ], + "_attrs": Object { + "descr": "desc", + "id": "1", + "name": "Picture 1", + }, + "_children": Array [], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:pPr", + "_tag": "wp:docPr", }, Object { - "_attrs": Object { - "w:rsidRPr": "00E43E2E", - }, + "_attrs": Object {}, "_children": Array [ Object { "_attrs": Object { - "xml:space": "preserve", + "noChangeAspect": "1", + "xmlns:a": "http://schemas.openxmlformats.org/drawingml/2006/main", }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "Title", - }, - ], + "_children": Array [], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:t", + "_tag": "a:graphicFrameLocks", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:r", + "_tag": "wp:cNvGraphicFramePr", }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:p", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:tc", - }, - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ Object { "_attrs": Object { - "w:type": "dxa", - "w:w": "1134", + "xmlns:a": "http://schemas.openxmlformats.org/drawingml/2006/main", }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:tcW", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:tcPr", - }, - Object { - "_attrs": Object { - "w14:paraId": "7A01A87F", - "w14:textId": "328B40FD", - "w:rsidP": "00C233E0", - "w:rsidR": "00C233E0", - "w:rsidRDefault": "00143BCE", - "w:rsidRPr": "00E43E2E", - }, - "_children": Array [ - Object { - "_attrs": Object {}, "_children": Array [ Object { "_attrs": Object { - "w:after": "40", - "w:before": "40", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:spacing", - }, - Object { - "_attrs": Object { - "w:evenHBand": "0", - "w:evenVBand": "0", - "w:firstColumn": "0", - "w:firstRow": "1", - "w:firstRowFirstColumn": "0", - "w:firstRowLastColumn": "0", - "w:lastColumn": "0", - "w:lastRow": "0", - "w:lastRowFirstColumn": "0", - "w:lastRowLastColumn": "0", - "w:oddHBand": "0", - "w:oddVBand": "0", - "w:val": "100000000000", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:cnfStyle", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:pPr", - }, - Object { - "_attrs": Object { - "w:rsidRPr": "00E43E2E", - }, - "_children": Array [ - Object { - "_attrs": Object { - "xml:space": "preserve", + "uri": "http://schemas.openxmlformats.org/drawingml/2006/picture", }, "_children": Array [ Object { - "_children": Array [], - "_fTextNode": true, + "_attrs": Object { + "xmlns:pic": "http://schemas.openxmlformats.org/drawingml/2006/picture", + }, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "descr": "desc", + "id": "0", + "name": "Picture 1", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "pic:cNvPr", + }, + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "noChangeArrowheads": "1", + "noChangeAspect": "1", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "a:picLocks", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "pic:cNvPicPr", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "pic:nvPicPr", + }, + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "cstate": "print", + "r:embed": "img1", + }, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "uri": "{28A0092B-C50C-407E-A947-70E740481C1C}", + }, + "_children": Array [ + Object { + "_attrs": Object { + "val": "0", + "xmlns:a14": "http://schemas.microsoft.com/office/drawing/2010/main", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "a14:useLocalDpi", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "a:ext", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "a:extLst", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "a:blip", + }, + Object { + "_attrs": Object {}, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "a:srcRect", + }, + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "a:fillRect", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "a:stretch", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "pic:blipFill", + }, + Object { + "_attrs": Object { + "bwMode": "auto", + }, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "x": "0", + "y": "0", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "a:off", + }, + Object { + "_attrs": Object { + "cx": "2160000", + "cy": "2160000", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "a:ext", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "a:xfrm", + }, + Object { + "_attrs": Object { + "prst": "rect", + }, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "a:avLst", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "a:prstGeom", + }, + Object { + "_attrs": Object {}, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "a:noFill", + }, + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "a:noFill", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "a:ln", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "pic:spPr", + }, + ], + "_fTextNode": false, "_parent": [Circular], - "_text": "Leader", + "_tag": "pic:pic", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:t", + "_tag": "a:graphicData", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:r", + "_tag": "a:graphic", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:p", + "_tag": "wp:inline", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:tc", + "_tag": "w:drawing", }, - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "w:type": "dxa", - "w:w": "1843", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:tcW", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:tcPr", - }, - Object { + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + Object { + "_attrs": Object { + "w14:paraId": "4AABECA9", + "w14:textId": "77777777", + "w:rsidP": "00EC4C65", + "w:rsidR": "0095275F", + "w:rsidRDefault": "0095275F", + "w:rsidRPr": "00EC4C65", + }, + "_children": Array [ + Object { + "_attrs": Object { + "w:id": "0", + "w:name": "_GoBack", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:bookmarkStart", + }, + Object { + "_attrs": Object { + "w:id": "0", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:bookmarkEnd", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + Object { + "_attrs": Object { + "w:rsidR": "0095275F", + "w:rsidRPr": "00EC4C65", + "w:rsidSect": "00A0490B", + }, + "_children": Array [ + Object { + "_attrs": Object { + "w:h": "16840", + "w:w": "11900", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:pgSz", + }, + Object { + "_attrs": Object { + "w:bottom": "1417", + "w:footer": "708", + "w:gutter": "0", + "w:header": "708", + "w:left": "1701", + "w:right": "1701", + "w:top": "1417", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:pgMar", + }, + Object { + "_attrs": Object { + "w:space": "708", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:cols", + }, + Object { + "_attrs": Object { + "w:linePitch": "360", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:docGrid", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:sectPr", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:body", + }, + ], + "_fTextNode": false, + "_tag": "w:document", +} +`; + +exports[`sandbox Template processing 38c Processes IMAGE commands with alt text 1`] = ` +Object { + "_attrs": Object { + "mc:Ignorable": "w14 w15 wp14", + "xmlns:m": "http://schemas.openxmlformats.org/officeDocument/2006/math", + "xmlns:mc": "http://schemas.openxmlformats.org/markup-compatibility/2006", + "xmlns:mo": "http://schemas.microsoft.com/office/mac/office/2008/main", + "xmlns:mv": "urn:schemas-microsoft-com:mac:vml", + "xmlns:o": "urn:schemas-microsoft-com:office:office", + "xmlns:r": "http://schemas.openxmlformats.org/officeDocument/2006/relationships", + "xmlns:v": "urn:schemas-microsoft-com:vml", + "xmlns:w": "http://schemas.openxmlformats.org/wordprocessingml/2006/main", + "xmlns:w10": "urn:schemas-microsoft-com:office:word", + "xmlns:w14": "http://schemas.microsoft.com/office/word/2010/wordml", + "xmlns:w15": "http://schemas.microsoft.com/office/word/2012/wordml", + "xmlns:wne": "http://schemas.microsoft.com/office/word/2006/wordml", + "xmlns:wp": "http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing", + "xmlns:wp14": "http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing", + "xmlns:wpc": "http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas", + "xmlns:wpg": "http://schemas.microsoft.com/office/word/2010/wordprocessingGroup", + "xmlns:wpi": "http://schemas.microsoft.com/office/word/2010/wordprocessingInk", + "xmlns:wps": "http://schemas.microsoft.com/office/word/2010/wordprocessingShape", + }, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "w14:paraId": "46C87FB6", + "w14:textId": "77777777", + "w:rsidP": "00EC4C65", + "w:rsidR": "00EC4C65", + "w:rsidRDefault": "00EC4C65", + }, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { "_attrs": Object { - "w14:paraId": "2CA9FD9C", - "w14:textId": "3EFA1E46", - "w:rsidP": "00C233E0", - "w:rsidR": "00C233E0", - "w:rsidRDefault": "00143BCE", - "w:rsidRPr": "00E43E2E", + "w:val": "es-ES", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:lang", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:rPr", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:pPr", + }, + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "w:val": "es-ES", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:lang", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:rPr", + }, + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "distB": "0", + "distL": "0", + "distR": "0", + "distT": "0", }, "_children": Array [ + Object { + "_attrs": Object { + "cx": "2160000", + "cy": "2160000", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "wp:extent", + }, + Object { + "_attrs": Object { + "descr": "qr code for http://guigrpa.github.com", + "id": "1", + "name": "Picture 1", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "wp:docPr", + }, Object { "_attrs": Object {}, "_children": Array [ Object { "_attrs": Object { - "w:after": "40", - "w:before": "40", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:spacing", - }, - Object { - "_attrs": Object { - "w:evenHBand": "0", - "w:evenVBand": "0", - "w:firstColumn": "0", - "w:firstRow": "1", - "w:firstRowFirstColumn": "0", - "w:firstRowLastColumn": "0", - "w:lastColumn": "0", - "w:lastRow": "0", - "w:lastRowFirstColumn": "0", - "w:lastRowLastColumn": "0", - "w:oddHBand": "0", - "w:oddVBand": "0", - "w:val": "100000000000", + "noChangeAspect": "1", + "xmlns:a": "http://schemas.openxmlformats.org/drawingml/2006/main", }, "_children": Array [], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:cnfStyle", + "_tag": "a:graphicFrameLocks", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:pPr", + "_tag": "wp:cNvGraphicFramePr", }, Object { "_attrs": Object { - "w:rsidRPr": "00E43E2E", + "xmlns:a": "http://schemas.openxmlformats.org/drawingml/2006/main", }, "_children": Array [ Object { "_attrs": Object { - "xml:space": "preserve", + "uri": "http://schemas.openxmlformats.org/drawingml/2006/picture", }, "_children": Array [ Object { - "_children": Array [], - "_fTextNode": true, + "_attrs": Object { + "xmlns:pic": "http://schemas.openxmlformats.org/drawingml/2006/picture", + }, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "descr": "qr code for http://guigrpa.github.com", + "id": "0", + "name": "Picture 1", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "pic:cNvPr", + }, + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "noChangeArrowheads": "1", + "noChangeAspect": "1", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "a:picLocks", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "pic:cNvPicPr", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "pic:nvPicPr", + }, + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "cstate": "print", + "r:embed": "img1", + }, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "uri": "{28A0092B-C50C-407E-A947-70E740481C1C}", + }, + "_children": Array [ + Object { + "_attrs": Object { + "val": "0", + "xmlns:a14": "http://schemas.microsoft.com/office/drawing/2010/main", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "a14:useLocalDpi", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "a:ext", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "a:extLst", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "a:blip", + }, + Object { + "_attrs": Object {}, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "a:srcRect", + }, + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "a:fillRect", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "a:stretch", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "pic:blipFill", + }, + Object { + "_attrs": Object { + "bwMode": "auto", + }, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "x": "0", + "y": "0", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "a:off", + }, + Object { + "_attrs": Object { + "cx": "2160000", + "cy": "2160000", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "a:ext", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "a:xfrm", + }, + Object { + "_attrs": Object { + "prst": "rect", + }, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "a:avLst", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "a:prstGeom", + }, + Object { + "_attrs": Object {}, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "a:noFill", + }, + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "a:noFill", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "a:ln", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "pic:spPr", + }, + ], + "_fTextNode": false, "_parent": [Circular], - "_text": "Starts", + "_tag": "pic:pic", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:t", + "_tag": "a:graphicData", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:r", + "_tag": "a:graphic", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:p", + "_tag": "wp:inline", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:tc", + "_tag": "w:drawing", }, - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "w:type": "dxa", - "w:w": "2029", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:tcW", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:tcPr", - }, - Object { - "_attrs": Object { - "w14:paraId": "10730BB0", - "w14:textId": "647C6353", - "w:rsidP": "00C233E0", - "w:rsidR": "00C233E0", - "w:rsidRDefault": "00143BCE", - "w:rsidRPr": "00E43E2E", - }, - "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "w:after": "40", - "w:before": "40", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:spacing", - }, - Object { - "_attrs": Object { - "w:evenHBand": "0", - "w:evenVBand": "0", - "w:firstColumn": "0", - "w:firstRow": "1", - "w:firstRowFirstColumn": "0", - "w:firstRowLastColumn": "0", - "w:lastColumn": "0", - "w:lastRow": "0", - "w:lastRowFirstColumn": "0", - "w:lastRowLastColumn": "0", - "w:oddHBand": "0", - "w:oddVBand": "0", - "w:val": "100000000000", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:cnfStyle", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:pPr", - }, - Object { - "_attrs": Object { - "w:rsidRPr": "00E43E2E", - }, - "_children": Array [ - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "Ends", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - ], - "_fTextNode": false, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + Object { + "_attrs": Object { + "w14:paraId": "4AABECA9", + "w14:textId": "77777777", + "w:rsidP": "00EC4C65", + "w:rsidR": "0095275F", + "w:rsidRDefault": "0095275F", + "w:rsidRPr": "00EC4C65", + }, + "_children": Array [ + Object { + "_attrs": Object { + "w:id": "0", + "w:name": "_GoBack", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:bookmarkStart", + }, + Object { + "_attrs": Object { + "w:id": "0", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:bookmarkEnd", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + Object { + "_attrs": Object { + "w:rsidR": "0095275F", + "w:rsidRPr": "00EC4C65", + "w:rsidSect": "00A0490B", + }, + "_children": Array [ + Object { + "_attrs": Object { + "w:h": "16840", + "w:w": "11900", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:pgSz", + }, + Object { + "_attrs": Object { + "w:bottom": "1417", + "w:footer": "708", + "w:gutter": "0", + "w:header": "708", + "w:left": "1701", + "w:right": "1701", + "w:top": "1417", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:pgMar", + }, + Object { + "_attrs": Object { + "w:space": "708", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:cols", + }, + Object { + "_attrs": Object { + "w:linePitch": "360", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:docGrid", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:sectPr", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:body", + }, + ], + "_fTextNode": false, + "_tag": "w:document", +} +`; + +exports[`sandbox Template processing 39 Processes LINK commands 1`] = ` +Object { + "_attrs": Object { + "mc:Ignorable": "w14 w15 w16se w16cid wp14", + "xmlns:aink": "http://schemas.microsoft.com/office/drawing/2016/ink", + "xmlns:am3d": "http://schemas.microsoft.com/office/drawing/2017/model3d", + "xmlns:cx": "http://schemas.microsoft.com/office/drawing/2014/chartex", + "xmlns:cx1": "http://schemas.microsoft.com/office/drawing/2015/9/8/chartex", + "xmlns:cx2": "http://schemas.microsoft.com/office/drawing/2015/10/21/chartex", + "xmlns:cx3": "http://schemas.microsoft.com/office/drawing/2016/5/9/chartex", + "xmlns:cx4": "http://schemas.microsoft.com/office/drawing/2016/5/10/chartex", + "xmlns:cx5": "http://schemas.microsoft.com/office/drawing/2016/5/11/chartex", + "xmlns:cx6": "http://schemas.microsoft.com/office/drawing/2016/5/12/chartex", + "xmlns:cx7": "http://schemas.microsoft.com/office/drawing/2016/5/13/chartex", + "xmlns:cx8": "http://schemas.microsoft.com/office/drawing/2016/5/14/chartex", + "xmlns:m": "http://schemas.openxmlformats.org/officeDocument/2006/math", + "xmlns:mc": "http://schemas.openxmlformats.org/markup-compatibility/2006", + "xmlns:o": "urn:schemas-microsoft-com:office:office", + "xmlns:r": "http://schemas.openxmlformats.org/officeDocument/2006/relationships", + "xmlns:v": "urn:schemas-microsoft-com:vml", + "xmlns:w": "http://schemas.openxmlformats.org/wordprocessingml/2006/main", + "xmlns:w10": "urn:schemas-microsoft-com:office:word", + "xmlns:w14": "http://schemas.microsoft.com/office/word/2010/wordml", + "xmlns:w15": "http://schemas.microsoft.com/office/word/2012/wordml", + "xmlns:w16cid": "http://schemas.microsoft.com/office/word/2016/wordml/cid", + "xmlns:w16se": "http://schemas.microsoft.com/office/word/2015/wordml/symex", + "xmlns:wne": "http://schemas.microsoft.com/office/word/2006/wordml", + "xmlns:wp": "http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing", + "xmlns:wp14": "http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing", + "xmlns:wpc": "http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas", + "xmlns:wpg": "http://schemas.microsoft.com/office/word/2010/wordprocessingGroup", + "xmlns:wpi": "http://schemas.microsoft.com/office/word/2010/wordprocessingInk", + "xmlns:wps": "http://schemas.microsoft.com/office/word/2010/wordprocessingShape", + }, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "w14:paraId": "308C509A", + "w14:textId": "5E0E591D", + "w:rsidR": "00FD129A", + "w:rsidRDefault": "004C35D4", + }, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, "_parent": [Circular], - "_tag": "w:p", + "_text": "There", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:tc", + "_tag": "w:t", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:tr", + "_tag": "w:r", }, Object { "_attrs": Object { - "w14:paraId": "3B5FF6EB", - "w14:textId": "77777777", - "w:rsidR": "00D8592F", - "w:rsidRPr": "00E43E2E", - "w:rsidTr": "005A12CC", + "w:rsidR": "00FD129A", }, "_children": Array [ Object { - "_attrs": Object {}, + "_attrs": Object { + "xml:space": "preserve", + }, "_children": Array [ Object { - "_attrs": Object {}, "_children": Array [], - "_fTextNode": false, + "_fTextNode": true, "_parent": [Circular], - "_tag": "w:cantSplit", + "_text": " should be ", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:trPr", + "_tag": "w:t", }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + Object { + "_attrs": Object { + "w:rsidR": "00AC055A", + }, + "_children": Array [ Object { - "_attrs": Object {}, + "_attrs": Object { + "xml:space": "preserve", + }, "_children": Array [ Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "w:evenHBand": "0", - "w:evenVBand": "0", - "w:firstColumn": "1", - "w:firstRow": "0", - "w:firstRowFirstColumn": "0", - "w:firstRowLastColumn": "0", - "w:lastColumn": "0", - "w:lastRow": "0", - "w:lastRowFirstColumn": "0", - "w:lastRowLastColumn": "0", - "w:oddHBand": "0", - "w:oddVBand": "0", - "w:val": "001000000000", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:cnfStyle", - }, + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "two hyperlinks ", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "below", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + Object { + "_attrs": Object { + "w:rsidR": "00507C27", + }, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": ", the first one in red", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + Object { + "_attrs": Object { + "w:id": "0", + "w:name": "_GoBack", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:bookmarkStart", + }, + Object { + "_attrs": Object { + "w:id": "0", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:bookmarkEnd", + }, + Object { + "_attrs": Object { + "w:rsidR": "00FD129A", + }, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": ":", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + Object { + "_attrs": Object { + "w14:paraId": "4BC1E1BB", + "w14:textId": "2B023FD3", + "w:rsidR": "00AC055A", + "w:rsidRDefault": "00AC055A", + "w:rsidRPr": "00507C27", + }, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "w:val": "FF0000", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:color", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:rPr", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:pPr", + }, + Object { + "_attrs": Object { + "r:id": "link1", + "w:history": "1", + }, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ Object { "_attrs": Object { - "w:type": "dxa", - "w:w": "1242", + "w:val": "FF0000", }, "_children": Array [], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:tcW", + "_tag": "w:color", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:tcPr", + "_tag": "w:rPr", }, Object { - "_attrs": Object { - "w14:paraId": "41EE1143", - "w14:textId": "7C59A011", - "w:rsidP": "00632851", - "w:rsidR": "00C233E0", - "w:rsidRDefault": "004124FA", - "w:rsidRPr": "00E43E2E", - }, + "_attrs": Object {}, "_children": Array [ Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "w:after": "40", - "w:before": "40", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:spacing", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:pPr", - }, - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "WP1", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - ], - "_fTextNode": false, + "_children": Array [], + "_fTextNode": true, "_parent": [Circular], - "_tag": "w:r", - }, - Object { - "_attrs": Object { - "w:rsidR": "00632851", - "w:rsidRPr": "00E43E2E", - }, - "_children": Array [ - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - Object { - "_attrs": Object { - "w:rsidR": "00C233E0", - "w:rsidRPr": "00E43E2E", - }, - "_children": Array [ - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", + "_text": "Apple", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:p", + "_tag": "w:t", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:tc", + "_tag": "w:r", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:hyperlink", + }, + Object { + "_attrs": Object { + "w:type": "spellStart", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:proofErr", + }, + Object { + "_attrs": Object { + "w:rsidRPr": "00507C27", + }, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "w:val": "FF0000", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:color", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:rPr", + }, + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + Object { + "_attrs": Object { + "w:type": "spellEnd", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:proofErr", + }, + Object { + "_attrs": Object { + "w:rsidRPr": "00507C27", + }, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "w:val": "FF0000", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:color", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:rPr", + }, + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + Object { + "_attrs": Object { + "w14:paraId": "6A7A98AC", + "w14:textId": "7C3FF667", + "w:rsidP": "00AC055A", + "w:rsidR": "00AC055A", + "w:rsidRDefault": "00AC055A", + }, + "_children": Array [ + Object { + "_attrs": Object { + "r:id": "link2", + "w:history": "1", + }, + "_children": Array [ Object { "_attrs": Object {}, "_children": Array [ @@ -45279,1829 +44473,3505 @@ Object { "_children": Array [ Object { "_attrs": Object { - "w:type": "dxa", - "w:w": "2268", + "w:val": "single", }, "_children": Array [], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:tcW", + "_tag": "w:u", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:tcPr", + "_tag": "w:rPr", }, Object { - "_attrs": Object { - "w14:paraId": "65190111", - "w14:textId": "52CDBF06", - "w:rsidP": "00632851", - "w:rsidR": "00C233E0", - "w:rsidRDefault": "004124FA", - "w:rsidRPr": "00E43E2E", - }, + "_attrs": Object {}, "_children": Array [ Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "w:after": "40", - "w:before": "40", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:spacing", - }, - Object { - "_attrs": Object { - "w:evenHBand": "0", - "w:evenVBand": "0", - "w:firstColumn": "0", - "w:firstRow": "0", - "w:firstRowFirstColumn": "0", - "w:firstRowLastColumn": "0", - "w:lastColumn": "0", - "w:lastRow": "0", - "w:lastRowFirstColumn": "0", - "w:lastRowLastColumn": "0", - "w:oddHBand": "0", - "w:oddVBand": "0", - "w:val": "000000000000", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:cnfStyle", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:pPr", - }, - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "Work Package 1", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - ], - "_fTextNode": false, + "_children": Array [], + "_fTextNode": true, "_parent": [Circular], - "_tag": "w:r", - }, - Object { - "_attrs": Object { - "w:rsidR": "00632851", - "w:rsidRPr": "00E43E2E", - }, - "_children": Array [ - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - Object { - "_attrs": Object { - "w:rsidR": "00C233E0", - "w:rsidRPr": "00E43E2E", - }, - "_children": Array [ - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", + "_text": "http://www.apple.com", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:p", + "_tag": "w:t", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:tc", + "_tag": "w:r", }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:hyperlink", + }, + Object { + "_attrs": Object { + "w:type": "spellStart", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:proofErr", + }, + Object { + "_attrs": Object {}, + "_children": Array [ Object { - "_attrs": Object {}, + "_attrs": Object { + "xml:space": "preserve", + }, "_children": Array [ Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "w:type": "dxa", - "w:w": "1134", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:tcW", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:tcPr", - }, - Object { - "_attrs": Object { - "w14:paraId": "0B4ADF31", - "w14:textId": "0E384168", - "w:rsidP": "004124FA", - "w:rsidR": "00C233E0", - "w:rsidRDefault": "00C233E0", - "w:rsidRPr": "00E43E2E", - }, - "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "w:after": "40", - "w:before": "40", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:spacing", - }, - Object { - "_attrs": Object { - "w:evenHBand": "0", - "w:evenVBand": "0", - "w:firstColumn": "0", - "w:firstRow": "0", - "w:firstRowFirstColumn": "0", - "w:firstRowLastColumn": "0", - "w:lastColumn": "0", - "w:lastRow": "0", - "w:lastRowFirstColumn": "0", - "w:lastRowLastColumn": "0", - "w:oddHBand": "0", - "w:oddVBand": "0", - "w:val": "000000000000", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:cnfStyle", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:pPr", - }, - Object { - "_attrs": Object { - "w:rsidRPr": "00E43E2E", - }, - "_children": Array [ - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "me", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - Object { - "_attrs": Object { - "w:rsidR": "004124FA", - }, - "_children": Array [ - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - Object { - "_attrs": Object { - "w:rsidR": "00632851", - "w:rsidRPr": "00E43E2E", - }, - "_children": Array [ - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - Object { - "_attrs": Object { - "w:rsidRPr": "00E43E2E", - }, - "_children": Array [ - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - ], - "_fTextNode": false, + "_children": Array [], + "_fTextNode": true, "_parent": [Circular], - "_tag": "w:p", + "_text": "", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:tc", + "_tag": "w:t", }, - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "w:type": "dxa", - "w:w": "1843", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:tcW", - }, - ], - "_fTextNode": false, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + Object { + "_attrs": Object { + "w:type": "spellEnd", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:proofErr", + }, + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, "_parent": [Circular], - "_tag": "w:tcPr", + "_text": "", }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + Object { + "_attrs": Object { + "w14:paraId": "3A62A2B1", + "w14:textId": "3CDCD5F0", + "w:rsidP": "00B9506E", + "w:rsidR": "00904BD3", + "w:rsidRDefault": "00904BD3", + }, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ Object { "_attrs": Object { - "w14:paraId": "5261117F", - "w14:textId": "52F81B4E", - "w:rsidP": "004124FA", - "w:rsidR": "00C233E0", - "w:rsidRDefault": "00C233E0", - "w:rsidRPr": "00E43E2E", + "w:pos": "1478", + "w:val": "left", }, - "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "w:after": "40", - "w:before": "40", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:spacing", - }, - Object { - "_attrs": Object { - "w:evenHBand": "0", - "w:evenVBand": "0", - "w:firstColumn": "0", - "w:firstRow": "0", - "w:firstRowFirstColumn": "0", - "w:firstRowLastColumn": "0", - "w:lastColumn": "0", - "w:lastRow": "0", - "w:lastRowFirstColumn": "0", - "w:lastRowLastColumn": "0", - "w:oddHBand": "0", - "w:oddVBand": "0", - "w:val": "000000000000", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:cnfStyle", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:pPr", - }, - Object { - "_attrs": Object { - "w:rsidRPr": "00E43E2E", - }, - "_children": Array [ - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "M1", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - Object { - "_attrs": Object { - "w:rsidR": "004124FA", - }, - "_children": Array [ - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - Object { - "_attrs": Object { - "w:rsidR": "00632851", - "w:rsidRPr": "00E43E2E", - }, - "_children": Array [ - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - Object { - "_attrs": Object { - "w:rsidRPr": "00E43E2E", - }, - "_children": Array [ - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - Object { - "_attrs": Object { - "w:rsidR": "004124FA", - }, - "_children": Array [ - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": " (T0 + ", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "0 m", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - Object { - "_attrs": Object { - "w:rsidR": "00C94DDF", - "w:rsidRPr": "00E43E2E", - }, - "_children": Array [ - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": ")", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - ], + "_children": Array [], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:p", + "_tag": "w:tab", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:tc", + "_tag": "w:tabs", }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:pPr", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + Object { + "_attrs": Object { + "w:rsidR": "00904BD3", + "w:rsidSect": "00A0490B", + }, + "_children": Array [ + Object { + "_attrs": Object { + "w:h": "16840", + "w:w": "11900", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:pgSz", + }, + Object { + "_attrs": Object { + "w:bottom": "1417", + "w:footer": "708", + "w:gutter": "0", + "w:header": "708", + "w:left": "1701", + "w:right": "1701", + "w:top": "1417", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:pgMar", + }, + Object { + "_attrs": Object { + "w:space": "708", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:cols", + }, + Object { + "_attrs": Object { + "w:linePitch": "360", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:docGrid", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:sectPr", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:body", + }, + ], + "_fTextNode": false, + "_tag": "w:document", +} +`; + +exports[`sandbox Template processing 40 Throws on invalid command 1`] = `[Error: Error executing command: INS TTT foo Unexpected identifier]`; + +exports[`sandbox Template processing 41 Throws on invalid for logic 1`] = `[Error: Error executing command: END-FOR company Invalid command: END-FOR company]`; + +exports[`sandbox Template processing 41b Throws on invalid if logic (bad nesting) 1`] = `[Error: Error executing command: END-FOR company Invalid command: END-FOR company]`; + +exports[`sandbox Template processing 70 Allows customisation of cmd delimiter 1`] = ` +Object { + "_attrs": Object { + "mc:Ignorable": "w14 w15 wp14", + "xmlns:m": "http://schemas.openxmlformats.org/officeDocument/2006/math", + "xmlns:mc": "http://schemas.openxmlformats.org/markup-compatibility/2006", + "xmlns:o": "urn:schemas-microsoft-com:office:office", + "xmlns:r": "http://schemas.openxmlformats.org/officeDocument/2006/relationships", + "xmlns:v": "urn:schemas-microsoft-com:vml", + "xmlns:w": "http://schemas.openxmlformats.org/wordprocessingml/2006/main", + "xmlns:w10": "urn:schemas-microsoft-com:office:word", + "xmlns:w14": "http://schemas.microsoft.com/office/word/2010/wordml", + "xmlns:w15": "http://schemas.microsoft.com/office/word/2012/wordml", + "xmlns:wne": "http://schemas.microsoft.com/office/word/2006/wordml", + "xmlns:wp": "http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing", + "xmlns:wp14": "http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing", + "xmlns:wpc": "http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas", + "xmlns:wpg": "http://schemas.microsoft.com/office/word/2010/wordprocessingGroup", + "xmlns:wpi": "http://schemas.microsoft.com/office/word/2010/wordprocessingInk", + "xmlns:wps": "http://schemas.microsoft.com/office/word/2010/wordprocessingShape", + }, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "w:rsidP": "00BE3B8D", + "w:rsidR": "00BE3B8D", + "w:rsidRDefault": "00012506", + }, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ Object { - "_attrs": Object {}, + "_attrs": Object { + "xml:space": "preserve", + }, "_children": Array [ Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "w:type": "dxa", - "w:w": "2029", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:tcW", - }, - ], - "_fTextNode": false, + "_children": Array [], + "_fTextNode": true, "_parent": [Circular], - "_tag": "w:tcPr", + "_text": "FIRST", }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + Object { + "_attrs": Object { + "w:rsidR": "00BE3B8D", + }, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ Object { - "_attrs": Object { - "w14:paraId": "70E925E7", - "w14:textId": "3B574437", - "w:rsidP": "004124FA", - "w:rsidR": "00C233E0", - "w:rsidRDefault": "00C233E0", - "w:rsidRPr": "00E43E2E", - }, - "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "w:after": "40", - "w:before": "40", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:spacing", - }, - Object { - "_attrs": Object { - "w:evenHBand": "0", - "w:evenVBand": "0", - "w:firstColumn": "0", - "w:firstRow": "0", - "w:firstRowFirstColumn": "0", - "w:firstRowLastColumn": "0", - "w:lastColumn": "0", - "w:lastRow": "0", - "w:lastRowFirstColumn": "0", - "w:lastRowLastColumn": "0", - "w:oddHBand": "0", - "w:oddVBand": "0", - "w:val": "000000000000", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:cnfStyle", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:pPr", - }, - Object { - "_attrs": Object { - "w:rsidRPr": "00E43E2E", - }, - "_children": Array [ - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "M2", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - Object { - "_attrs": Object { - "w:rsidR": "004124FA", - }, - "_children": Array [ - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - Object { - "_attrs": Object { - "w:rsidR": "00632851", - "w:rsidRPr": "00E43E2E", - }, - "_children": Array [ - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - Object { - "_attrs": Object { - "w:rsidRPr": "00E43E2E", - }, - "_children": Array [ - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - Object { - "_attrs": Object { - "w:rsidR": "004124FA", - }, - "_children": Array [ - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": " (T0 + ", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "2 m", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - Object { - "_attrs": Object { - "w:rsidR": "00C94DDF", - "w:rsidRPr": "00E43E2E", - }, - "_children": Array [ - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": ")", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - ], - "_fTextNode": false, + "_children": Array [], + "_fTextNode": true, "_parent": [Circular], - "_tag": "w:p", + "_text": "", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:tc", + "_tag": "w:t", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:tr", + "_tag": "w:r", }, Object { "_attrs": Object { - "w14:paraId": "3B5FF6EB", - "w14:textId": "77777777", - "w:rsidR": "00D8592F", - "w:rsidRPr": "00E43E2E", - "w:rsidTr": "005A12CC", + "w:rsidR": "00160A38", }, "_children": Array [ Object { - "_attrs": Object {}, + "_attrs": Object { + "xml:space": "preserve", + }, "_children": Array [ Object { - "_attrs": Object {}, "_children": Array [], - "_fTextNode": false, + "_fTextNode": true, "_parent": [Circular], - "_tag": "w:cantSplit", + "_text": "", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:trPr", + "_tag": "w:t", }, - Object { - "_attrs": Object {}, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, "_children": Array [ Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "w:evenHBand": "0", - "w:evenVBand": "0", - "w:firstColumn": "1", - "w:firstRow": "0", - "w:firstRowFirstColumn": "0", - "w:firstRowLastColumn": "0", - "w:lastColumn": "0", - "w:lastRow": "0", - "w:lastRowFirstColumn": "0", - "w:lastRowLastColumn": "0", - "w:oddHBand": "0", - "w:oddVBand": "0", - "w:val": "001000000000", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:cnfStyle", - }, - Object { - "_attrs": Object { - "w:type": "dxa", - "w:w": "1242", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:tcW", - }, - ], - "_fTextNode": false, + "_children": Array [], + "_fTextNode": true, "_parent": [Circular], - "_tag": "w:tcPr", + "_text": "", }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + Object { + "_attrs": Object { + "w:rsidP": "00BE3B8D", + "w:rsidR": "00BE3B8D", + "w:rsidRDefault": "00012506", + }, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ Object { - "_attrs": Object { - "w14:paraId": "41EE1143", - "w14:textId": "7C59A011", - "w:rsidP": "00632851", - "w:rsidR": "00C233E0", - "w:rsidRDefault": "004124FA", - "w:rsidRPr": "00E43E2E", - }, - "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "w:after": "40", - "w:before": "40", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:spacing", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:pPr", - }, - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "WP2", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - Object { - "_attrs": Object { - "w:rsidR": "00632851", - "w:rsidRPr": "00E43E2E", - }, - "_children": Array [ - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - Object { - "_attrs": Object { - "w:rsidR": "00C233E0", - "w:rsidRPr": "00E43E2E", - }, - "_children": Array [ - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - ], - "_fTextNode": false, + "_children": Array [], + "_fTextNode": true, "_parent": [Circular], - "_tag": "w:p", + "_text": "SECOND", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:tc", + "_tag": "w:t", }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + Object { + "_attrs": Object { + "w:rsidR": "00BE3B8D", + }, + "_children": Array [ Object { - "_attrs": Object {}, + "_attrs": Object { + "xml:space": "preserve", + }, "_children": Array [ Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "w:type": "dxa", - "w:w": "2268", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:tcW", - }, - ], - "_fTextNode": false, + "_children": Array [], + "_fTextNode": true, "_parent": [Circular], - "_tag": "w:tcPr", + "_text": "", }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + Object { + "_attrs": Object { + "w:rsidR": "00160A38", + }, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ Object { - "_attrs": Object { - "w14:paraId": "65190111", - "w14:textId": "52CDBF06", - "w:rsidP": "00632851", - "w:rsidR": "00C233E0", - "w:rsidRDefault": "004124FA", - "w:rsidRPr": "00E43E2E", - }, - "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "w:after": "40", - "w:before": "40", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:spacing", - }, - Object { - "_attrs": Object { - "w:evenHBand": "0", - "w:evenVBand": "0", - "w:firstColumn": "0", - "w:firstRow": "0", - "w:firstRowFirstColumn": "0", - "w:firstRowLastColumn": "0", - "w:lastColumn": "0", - "w:lastRow": "0", - "w:lastRowFirstColumn": "0", - "w:lastRowLastColumn": "0", - "w:oddHBand": "0", - "w:oddVBand": "0", - "w:val": "000000000000", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:cnfStyle", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:pPr", - }, - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "Work Package 2", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - Object { - "_attrs": Object { - "w:rsidR": "00632851", - "w:rsidRPr": "00E43E2E", - }, - "_children": Array [ - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - Object { - "_attrs": Object { - "w:rsidR": "00C233E0", - "w:rsidRPr": "00E43E2E", - }, - "_children": Array [ - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - ], - "_fTextNode": false, + "_children": Array [], + "_fTextNode": true, "_parent": [Circular], - "_tag": "w:p", + "_text": "", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:tc", + "_tag": "w:t", }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + Object { + "_attrs": Object {}, + "_children": Array [ Object { - "_attrs": Object {}, + "_attrs": Object { + "xml:space": "preserve", + }, "_children": Array [ Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "w:type": "dxa", - "w:w": "1134", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:tcW", - }, - ], - "_fTextNode": false, + "_children": Array [], + "_fTextNode": true, "_parent": [Circular], - "_tag": "w:tcPr", + "_text": "", }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + Object { + "_attrs": Object { + "w:rsidP": "00BE3B8D", + "w:rsidR": "00BE3B8D", + "w:rsidRDefault": "00012506", + }, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ Object { - "_attrs": Object { - "w14:paraId": "0B4ADF31", - "w14:textId": "0E384168", - "w:rsidP": "004124FA", - "w:rsidR": "00C233E0", - "w:rsidRDefault": "00C233E0", - "w:rsidRPr": "00E43E2E", - }, - "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "w:after": "40", - "w:before": "40", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:spacing", - }, - Object { - "_attrs": Object { - "w:evenHBand": "0", - "w:evenVBand": "0", - "w:firstColumn": "0", - "w:firstRow": "0", - "w:firstRowFirstColumn": "0", - "w:firstRowLastColumn": "0", - "w:lastColumn": "0", - "w:lastRow": "0", - "w:lastRowFirstColumn": "0", - "w:lastRowLastColumn": "0", - "w:oddHBand": "0", - "w:oddVBand": "0", - "w:val": "000000000000", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:cnfStyle", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:pPr", - }, - Object { - "_attrs": Object { - "w:rsidRPr": "00E43E2E", - }, - "_children": Array [ - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - Object { - "_attrs": Object { - "w:rsidR": "004124FA", - }, - "_children": Array [ - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - Object { - "_attrs": Object { - "w:rsidR": "00632851", - "w:rsidRPr": "00E43E2E", - }, - "_children": Array [ - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - Object { - "_attrs": Object { - "w:rsidRPr": "00E43E2E", - }, - "_children": Array [ - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - ], - "_fTextNode": false, + "_children": Array [], + "_fTextNode": true, "_parent": [Circular], - "_tag": "w:p", + "_text": "THIRD", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:tc", + "_tag": "w:t", }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + Object { + "_attrs": Object { + "w:rsidR": "00BE3B8D", + }, + "_children": Array [ Object { - "_attrs": Object {}, + "_attrs": Object { + "xml:space": "preserve", + }, "_children": Array [ Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "w:type": "dxa", - "w:w": "1843", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:tcW", - }, - ], - "_fTextNode": false, + "_children": Array [], + "_fTextNode": true, "_parent": [Circular], - "_tag": "w:tcPr", + "_text": "", }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + Object { + "_attrs": Object { + "w:rsidR": "00160A38", + }, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ Object { - "_attrs": Object { - "w14:paraId": "5261117F", - "w14:textId": "52F81B4E", - "w:rsidP": "004124FA", - "w:rsidR": "00C233E0", - "w:rsidRDefault": "00C233E0", - "w:rsidRPr": "00E43E2E", - }, - "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "w:after": "40", - "w:before": "40", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:spacing", - }, - Object { - "_attrs": Object { - "w:evenHBand": "0", - "w:evenVBand": "0", - "w:firstColumn": "0", - "w:firstRow": "0", - "w:firstRowFirstColumn": "0", - "w:firstRowLastColumn": "0", - "w:lastColumn": "0", - "w:lastRow": "0", - "w:lastRowFirstColumn": "0", - "w:lastRowLastColumn": "0", - "w:oddHBand": "0", - "w:oddVBand": "0", - "w:val": "000000000000", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:cnfStyle", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:pPr", - }, - Object { - "_attrs": Object { - "w:rsidRPr": "00E43E2E", - }, - "_children": Array [ - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "M2", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - Object { - "_attrs": Object { - "w:rsidR": "004124FA", - }, - "_children": Array [ - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - Object { - "_attrs": Object { - "w:rsidR": "00632851", - "w:rsidRPr": "00E43E2E", - }, - "_children": Array [ - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - Object { - "_attrs": Object { - "w:rsidRPr": "00E43E2E", - }, - "_children": Array [ - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - Object { - "_attrs": Object { - "w:rsidR": "004124FA", - }, - "_children": Array [ - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": " (T0 + ", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "2 m", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - Object { - "_attrs": Object { - "w:rsidR": "00C94DDF", - "w:rsidRPr": "00E43E2E", - }, - "_children": Array [ - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": ")", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:r", - }, - ], - "_fTextNode": false, + "_children": Array [], + "_fTextNode": true, "_parent": [Circular], - "_tag": "w:p", + "_text": "", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:tc", + "_tag": "w:t", }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + Object { + "_attrs": Object {}, + "_children": Array [ Object { - "_attrs": Object {}, + "_attrs": Object { + "xml:space": "preserve", + }, "_children": Array [ Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "w:type": "dxa", - "w:w": "2029", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:tcW", - }, - ], - "_fTextNode": false, + "_children": Array [], + "_fTextNode": true, "_parent": [Circular], - "_tag": "w:tcPr", + "_text": "", }, - Object { - "_attrs": Object { - "w14:paraId": "70E925E7", - "w14:textId": "3B574437", - "w:rsidP": "004124FA", - "w:rsidR": "00C233E0", - "w:rsidRDefault": "00C233E0", - "w:rsidRPr": "00E43E2E", - }, - "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "w:after": "40", - "w:before": "40", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:spacing", - }, - Object { - "_attrs": Object { - "w:evenHBand": "0", - "w:evenVBand": "0", - "w:firstColumn": "0", - "w:firstRow": "0", - "w:firstRowFirstColumn": "0", - "w:firstRowLastColumn": "0", - "w:lastColumn": "0", - "w:lastRow": "0", - "w:lastRowFirstColumn": "0", - "w:lastRowLastColumn": "0", - "w:oddHBand": "0", - "w:oddVBand": "0", - "w:val": "000000000000", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:cnfStyle", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:pPr", - }, - Object { - "_attrs": Object { - "w:rsidRPr": "00E43E2E", - }, - "_children": Array [ - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + Object { + "_attrs": Object { + "w:rsidR": "00426180", + "w:rsidRDefault": "00426180", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + Object { + "_attrs": Object { + "w:rsidR": "00426180", + }, + "_children": Array [ + Object { + "_attrs": Object { + "w:h": "15840", + "w:w": "12240", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:pgSz", + }, + Object { + "_attrs": Object { + "w:bottom": "1417", + "w:footer": "708", + "w:gutter": "0", + "w:header": "708", + "w:left": "1701", + "w:right": "1701", + "w:top": "1417", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:pgMar", + }, + Object { + "_attrs": Object { + "w:space": "708", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:cols", + }, + Object { + "_attrs": Object { + "w:linePitch": "360", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:docGrid", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:sectPr", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:body", + }, + ], + "_fTextNode": false, + "_tag": "w:document", +} +`; + +exports[`sandbox Template processing 80 Copes with a more complex example: WBS 1`] = ` +Object { + "_attrs": Object { + "mc:Ignorable": "w14 w15 wp14", + "xmlns:m": "http://schemas.openxmlformats.org/officeDocument/2006/math", + "xmlns:mc": "http://schemas.openxmlformats.org/markup-compatibility/2006", + "xmlns:mo": "http://schemas.microsoft.com/office/mac/office/2008/main", + "xmlns:mv": "urn:schemas-microsoft-com:mac:vml", + "xmlns:o": "urn:schemas-microsoft-com:office:office", + "xmlns:r": "http://schemas.openxmlformats.org/officeDocument/2006/relationships", + "xmlns:v": "urn:schemas-microsoft-com:vml", + "xmlns:w": "http://schemas.openxmlformats.org/wordprocessingml/2006/main", + "xmlns:w10": "urn:schemas-microsoft-com:office:word", + "xmlns:w14": "http://schemas.microsoft.com/office/word/2010/wordml", + "xmlns:w15": "http://schemas.microsoft.com/office/word/2012/wordml", + "xmlns:wne": "http://schemas.microsoft.com/office/word/2006/wordml", + "xmlns:wp": "http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing", + "xmlns:wp14": "http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing", + "xmlns:wpc": "http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas", + "xmlns:wpg": "http://schemas.microsoft.com/office/word/2010/wordprocessingGroup", + "xmlns:wpi": "http://schemas.microsoft.com/office/word/2010/wordprocessingInk", + "xmlns:wps": "http://schemas.microsoft.com/office/word/2010/wordprocessingShape", + }, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "w14:paraId": "408C39CD", + "w14:textId": "546DA8E4", + "w:rsidP": "00213DB3", + "w:rsidR": "00213DB3", + "w:rsidRDefault": "00213DB3", + "w:rsidRPr": "00450A20", + }, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "w:val": "Title", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:pStyle", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:pPr", + }, + Object { + "_attrs": Object { + "w:rsidRPr": "00450A20", + }, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "docx-templates", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + Object { + "_attrs": Object { + "w:rsidR": "00C233E0", + "w:rsidRPr": "00450A20", + }, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": " ", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + Object { + "_attrs": Object { + "w:rsidR": "00143BCE", + "w:rsidRPr": "00450A20", + }, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "WBS", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "w:val": "LightShading-Accent3", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:tblStyle", + }, + Object { + "_attrs": Object { + "w:type": "pct", + "w:w": "5000", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:tblW", + }, + Object { + "_attrs": Object { + "w:type": "fixed", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:tblLayout", + }, + Object { + "_attrs": Object { + "w:firstColumn": "1", + "w:firstRow": "1", + "w:lastColumn": "0", + "w:lastRow": "0", + "w:noHBand": "0", + "w:noVBand": "1", + "w:val": "04A0", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:tblLook", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:tblPr", + }, + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "w:w": "1242", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:gridCol", + }, + Object { + "_attrs": Object { + "w:w": "2268", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:gridCol", + }, + Object { + "_attrs": Object { + "w:w": "1134", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:gridCol", + }, + Object { + "_attrs": Object { + "w:w": "1843", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:gridCol", + }, + Object { + "_attrs": Object { + "w:w": "2029", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:gridCol", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:tblGrid", + }, + Object { + "_attrs": Object { + "w14:paraId": "28941364", + "w14:textId": "77777777", + "w:rsidR": "00DD4490", + "w:rsidRPr": "00E43E2E", + "w:rsidTr": "005A12CC", + }, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "w:evenHBand": "0", + "w:evenVBand": "0", + "w:firstColumn": "0", + "w:firstRow": "1", + "w:firstRowFirstColumn": "0", + "w:firstRowLastColumn": "0", + "w:lastColumn": "0", + "w:lastRow": "0", + "w:lastRowFirstColumn": "0", + "w:lastRowLastColumn": "0", + "w:oddHBand": "0", + "w:oddVBand": "0", + "w:val": "100000000000", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:cnfStyle", + }, + Object { + "_attrs": Object {}, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:cantSplit", + }, + Object { + "_attrs": Object {}, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:tblHeader", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:trPr", + }, + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "w:evenHBand": "0", + "w:evenVBand": "0", + "w:firstColumn": "1", + "w:firstRow": "0", + "w:firstRowFirstColumn": "0", + "w:firstRowLastColumn": "0", + "w:lastColumn": "0", + "w:lastRow": "0", + "w:lastRowFirstColumn": "0", + "w:lastRowLastColumn": "0", + "w:oddHBand": "0", + "w:oddVBand": "0", + "w:val": "001000000000", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:cnfStyle", + }, + Object { + "_attrs": Object { + "w:type": "dxa", + "w:w": "1242", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:tcW", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:tcPr", + }, + Object { + "_attrs": Object { + "w14:paraId": "50180FBF", + "w14:textId": "1ABC0F69", + "w:rsidP": "00C233E0", + "w:rsidR": "00C233E0", + "w:rsidRDefault": "00143BCE", + "w:rsidRPr": "00E43E2E", + }, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "w:after": "40", + "w:before": "40", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:spacing", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:pPr", + }, + Object { + "_attrs": Object { + "w:rsidRPr": "00E43E2E", + }, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "WP", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:tc", + }, + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "w:type": "dxa", + "w:w": "2268", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:tcW", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:tcPr", + }, + Object { + "_attrs": Object { + "w14:paraId": "4620F91D", + "w14:textId": "172E1754", + "w:rsidP": "00C233E0", + "w:rsidR": "00C233E0", + "w:rsidRDefault": "00143BCE", + "w:rsidRPr": "00E43E2E", + }, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "w:after": "40", + "w:before": "40", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:spacing", + }, + Object { + "_attrs": Object { + "w:evenHBand": "0", + "w:evenVBand": "0", + "w:firstColumn": "0", + "w:firstRow": "1", + "w:firstRowFirstColumn": "0", + "w:firstRowLastColumn": "0", + "w:lastColumn": "0", + "w:lastRow": "0", + "w:lastRowFirstColumn": "0", + "w:lastRowLastColumn": "0", + "w:oddHBand": "0", + "w:oddVBand": "0", + "w:val": "100000000000", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:cnfStyle", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:pPr", + }, + Object { + "_attrs": Object { + "w:rsidRPr": "00E43E2E", + }, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "Title", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:tc", + }, + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "w:type": "dxa", + "w:w": "1134", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:tcW", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:tcPr", + }, + Object { + "_attrs": Object { + "w14:paraId": "7A01A87F", + "w14:textId": "328B40FD", + "w:rsidP": "00C233E0", + "w:rsidR": "00C233E0", + "w:rsidRDefault": "00143BCE", + "w:rsidRPr": "00E43E2E", + }, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "w:after": "40", + "w:before": "40", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:spacing", + }, + Object { + "_attrs": Object { + "w:evenHBand": "0", + "w:evenVBand": "0", + "w:firstColumn": "0", + "w:firstRow": "1", + "w:firstRowFirstColumn": "0", + "w:firstRowLastColumn": "0", + "w:lastColumn": "0", + "w:lastRow": "0", + "w:lastRowFirstColumn": "0", + "w:lastRowLastColumn": "0", + "w:oddHBand": "0", + "w:oddVBand": "0", + "w:val": "100000000000", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:cnfStyle", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:pPr", + }, + Object { + "_attrs": Object { + "w:rsidRPr": "00E43E2E", + }, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "Leader", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:tc", + }, + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "w:type": "dxa", + "w:w": "1843", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:tcW", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:tcPr", + }, + Object { + "_attrs": Object { + "w14:paraId": "2CA9FD9C", + "w14:textId": "3EFA1E46", + "w:rsidP": "00C233E0", + "w:rsidR": "00C233E0", + "w:rsidRDefault": "00143BCE", + "w:rsidRPr": "00E43E2E", + }, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "w:after": "40", + "w:before": "40", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:spacing", + }, + Object { + "_attrs": Object { + "w:evenHBand": "0", + "w:evenVBand": "0", + "w:firstColumn": "0", + "w:firstRow": "1", + "w:firstRowFirstColumn": "0", + "w:firstRowLastColumn": "0", + "w:lastColumn": "0", + "w:lastRow": "0", + "w:lastRowFirstColumn": "0", + "w:lastRowLastColumn": "0", + "w:oddHBand": "0", + "w:oddVBand": "0", + "w:val": "100000000000", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:cnfStyle", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:pPr", + }, + Object { + "_attrs": Object { + "w:rsidRPr": "00E43E2E", + }, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "Starts", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:tc", + }, + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "w:type": "dxa", + "w:w": "2029", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:tcW", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:tcPr", + }, + Object { + "_attrs": Object { + "w14:paraId": "10730BB0", + "w14:textId": "647C6353", + "w:rsidP": "00C233E0", + "w:rsidR": "00C233E0", + "w:rsidRDefault": "00143BCE", + "w:rsidRPr": "00E43E2E", + }, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "w:after": "40", + "w:before": "40", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:spacing", + }, + Object { + "_attrs": Object { + "w:evenHBand": "0", + "w:evenVBand": "0", + "w:firstColumn": "0", + "w:firstRow": "1", + "w:firstRowFirstColumn": "0", + "w:firstRowLastColumn": "0", + "w:lastColumn": "0", + "w:lastRow": "0", + "w:lastRowFirstColumn": "0", + "w:lastRowLastColumn": "0", + "w:oddHBand": "0", + "w:oddVBand": "0", + "w:val": "100000000000", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:cnfStyle", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:pPr", + }, + Object { + "_attrs": Object { + "w:rsidRPr": "00E43E2E", + }, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "Ends", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:tc", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:tr", + }, + Object { + "_attrs": Object { + "w14:paraId": "3B5FF6EB", + "w14:textId": "77777777", + "w:rsidR": "00D8592F", + "w:rsidRPr": "00E43E2E", + "w:rsidTr": "005A12CC", + }, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:cantSplit", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:trPr", + }, + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "w:evenHBand": "0", + "w:evenVBand": "0", + "w:firstColumn": "1", + "w:firstRow": "0", + "w:firstRowFirstColumn": "0", + "w:firstRowLastColumn": "0", + "w:lastColumn": "0", + "w:lastRow": "0", + "w:lastRowFirstColumn": "0", + "w:lastRowLastColumn": "0", + "w:oddHBand": "0", + "w:oddVBand": "0", + "w:val": "001000000000", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:cnfStyle", + }, + Object { + "_attrs": Object { + "w:type": "dxa", + "w:w": "1242", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:tcW", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:tcPr", + }, + Object { + "_attrs": Object { + "w14:paraId": "41EE1143", + "w14:textId": "7C59A011", + "w:rsidP": "00632851", + "w:rsidR": "00C233E0", + "w:rsidRDefault": "004124FA", + "w:rsidRPr": "00E43E2E", + }, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "w:after": "40", + "w:before": "40", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:spacing", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:pPr", + }, + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "WP1", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + Object { + "_attrs": Object { + "w:rsidR": "00632851", + "w:rsidRPr": "00E43E2E", + }, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + Object { + "_attrs": Object { + "w:rsidR": "00C233E0", + "w:rsidRPr": "00E43E2E", + }, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:tc", + }, + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "w:type": "dxa", + "w:w": "2268", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:tcW", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:tcPr", + }, + Object { + "_attrs": Object { + "w14:paraId": "65190111", + "w14:textId": "52CDBF06", + "w:rsidP": "00632851", + "w:rsidR": "00C233E0", + "w:rsidRDefault": "004124FA", + "w:rsidRPr": "00E43E2E", + }, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "w:after": "40", + "w:before": "40", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:spacing", + }, + Object { + "_attrs": Object { + "w:evenHBand": "0", + "w:evenVBand": "0", + "w:firstColumn": "0", + "w:firstRow": "0", + "w:firstRowFirstColumn": "0", + "w:firstRowLastColumn": "0", + "w:lastColumn": "0", + "w:lastRow": "0", + "w:lastRowFirstColumn": "0", + "w:lastRowLastColumn": "0", + "w:oddHBand": "0", + "w:oddVBand": "0", + "w:val": "000000000000", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:cnfStyle", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:pPr", + }, + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "Work Package 1", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + Object { + "_attrs": Object { + "w:rsidR": "00632851", + "w:rsidRPr": "00E43E2E", + }, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + Object { + "_attrs": Object { + "w:rsidR": "00C233E0", + "w:rsidRPr": "00E43E2E", + }, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:tc", + }, + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "w:type": "dxa", + "w:w": "1134", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:tcW", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:tcPr", + }, + Object { + "_attrs": Object { + "w14:paraId": "0B4ADF31", + "w14:textId": "0E384168", + "w:rsidP": "004124FA", + "w:rsidR": "00C233E0", + "w:rsidRDefault": "00C233E0", + "w:rsidRPr": "00E43E2E", + }, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "w:after": "40", + "w:before": "40", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:spacing", + }, + Object { + "_attrs": Object { + "w:evenHBand": "0", + "w:evenVBand": "0", + "w:firstColumn": "0", + "w:firstRow": "0", + "w:firstRowFirstColumn": "0", + "w:firstRowLastColumn": "0", + "w:lastColumn": "0", + "w:lastRow": "0", + "w:lastRowFirstColumn": "0", + "w:lastRowLastColumn": "0", + "w:oddHBand": "0", + "w:oddVBand": "0", + "w:val": "000000000000", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:cnfStyle", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:pPr", + }, + Object { + "_attrs": Object { + "w:rsidRPr": "00E43E2E", + }, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "me", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + Object { + "_attrs": Object { + "w:rsidR": "004124FA", + }, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + Object { + "_attrs": Object { + "w:rsidR": "00632851", + "w:rsidRPr": "00E43E2E", + }, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + Object { + "_attrs": Object { + "w:rsidRPr": "00E43E2E", + }, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:tc", + }, + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "w:type": "dxa", + "w:w": "1843", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:tcW", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:tcPr", + }, + Object { + "_attrs": Object { + "w14:paraId": "5261117F", + "w14:textId": "52F81B4E", + "w:rsidP": "004124FA", + "w:rsidR": "00C233E0", + "w:rsidRDefault": "00C233E0", + "w:rsidRPr": "00E43E2E", + }, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "w:after": "40", + "w:before": "40", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:spacing", + }, + Object { + "_attrs": Object { + "w:evenHBand": "0", + "w:evenVBand": "0", + "w:firstColumn": "0", + "w:firstRow": "0", + "w:firstRowFirstColumn": "0", + "w:firstRowLastColumn": "0", + "w:lastColumn": "0", + "w:lastRow": "0", + "w:lastRowFirstColumn": "0", + "w:lastRowLastColumn": "0", + "w:oddHBand": "0", + "w:oddVBand": "0", + "w:val": "000000000000", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:cnfStyle", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:pPr", + }, + Object { + "_attrs": Object { + "w:rsidRPr": "00E43E2E", + }, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "M1", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + Object { + "_attrs": Object { + "w:rsidR": "004124FA", + }, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + Object { + "_attrs": Object { + "w:rsidR": "00632851", + "w:rsidRPr": "00E43E2E", + }, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + Object { + "_attrs": Object { + "w:rsidRPr": "00E43E2E", + }, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + Object { + "_attrs": Object { + "w:rsidR": "004124FA", + }, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": " (T0 + ", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "0 m", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + Object { + "_attrs": Object { + "w:rsidR": "00C94DDF", + "w:rsidRPr": "00E43E2E", + }, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": ")", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:tc", + }, + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "w:type": "dxa", + "w:w": "2029", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:tcW", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:tcPr", + }, + Object { + "_attrs": Object { + "w14:paraId": "70E925E7", + "w14:textId": "3B574437", + "w:rsidP": "004124FA", + "w:rsidR": "00C233E0", + "w:rsidRDefault": "00C233E0", + "w:rsidRPr": "00E43E2E", + }, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "w:after": "40", + "w:before": "40", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:spacing", + }, + Object { + "_attrs": Object { + "w:evenHBand": "0", + "w:evenVBand": "0", + "w:firstColumn": "0", + "w:firstRow": "0", + "w:firstRowFirstColumn": "0", + "w:firstRowLastColumn": "0", + "w:lastColumn": "0", + "w:lastRow": "0", + "w:lastRowFirstColumn": "0", + "w:lastRowLastColumn": "0", + "w:oddHBand": "0", + "w:oddVBand": "0", + "w:val": "000000000000", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:cnfStyle", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:pPr", + }, + Object { + "_attrs": Object { + "w:rsidRPr": "00E43E2E", + }, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "M2", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + Object { + "_attrs": Object { + "w:rsidR": "004124FA", + }, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + Object { + "_attrs": Object { + "w:rsidR": "00632851", + "w:rsidRPr": "00E43E2E", + }, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + Object { + "_attrs": Object { + "w:rsidRPr": "00E43E2E", + }, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + Object { + "_attrs": Object { + "w:rsidR": "004124FA", + }, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": " (T0 + ", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "2 m", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + Object { + "_attrs": Object { + "w:rsidR": "00C94DDF", + "w:rsidRPr": "00E43E2E", + }, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": ")", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:tc", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:tr", + }, + Object { + "_attrs": Object { + "w14:paraId": "3B5FF6EB", + "w14:textId": "77777777", + "w:rsidR": "00D8592F", + "w:rsidRPr": "00E43E2E", + "w:rsidTr": "005A12CC", + }, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:cantSplit", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:trPr", + }, + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "w:evenHBand": "0", + "w:evenVBand": "0", + "w:firstColumn": "1", + "w:firstRow": "0", + "w:firstRowFirstColumn": "0", + "w:firstRowLastColumn": "0", + "w:lastColumn": "0", + "w:lastRow": "0", + "w:lastRowFirstColumn": "0", + "w:lastRowLastColumn": "0", + "w:oddHBand": "0", + "w:oddVBand": "0", + "w:val": "001000000000", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:cnfStyle", + }, + Object { + "_attrs": Object { + "w:type": "dxa", + "w:w": "1242", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:tcW", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:tcPr", + }, + Object { + "_attrs": Object { + "w14:paraId": "41EE1143", + "w14:textId": "7C59A011", + "w:rsidP": "00632851", + "w:rsidR": "00C233E0", + "w:rsidRDefault": "004124FA", + "w:rsidRPr": "00E43E2E", + }, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "w:after": "40", + "w:before": "40", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:spacing", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:pPr", + }, + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "WP2", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + Object { + "_attrs": Object { + "w:rsidR": "00632851", + "w:rsidRPr": "00E43E2E", + }, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + Object { + "_attrs": Object { + "w:rsidR": "00C233E0", + "w:rsidRPr": "00E43E2E", + }, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:tc", + }, + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "w:type": "dxa", + "w:w": "2268", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:tcW", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:tcPr", + }, + Object { + "_attrs": Object { + "w14:paraId": "65190111", + "w14:textId": "52CDBF06", + "w:rsidP": "00632851", + "w:rsidR": "00C233E0", + "w:rsidRDefault": "004124FA", + "w:rsidRPr": "00E43E2E", + }, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "w:after": "40", + "w:before": "40", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:spacing", + }, + Object { + "_attrs": Object { + "w:evenHBand": "0", + "w:evenVBand": "0", + "w:firstColumn": "0", + "w:firstRow": "0", + "w:firstRowFirstColumn": "0", + "w:firstRowLastColumn": "0", + "w:lastColumn": "0", + "w:lastRow": "0", + "w:lastRowFirstColumn": "0", + "w:lastRowLastColumn": "0", + "w:oddHBand": "0", + "w:oddVBand": "0", + "w:val": "000000000000", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:cnfStyle", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:pPr", + }, + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "Work Package 2", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + Object { + "_attrs": Object { + "w:rsidR": "00632851", + "w:rsidRPr": "00E43E2E", + }, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + Object { + "_attrs": Object { + "w:rsidR": "00C233E0", + "w:rsidRPr": "00E43E2E", + }, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:tc", + }, + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "w:type": "dxa", + "w:w": "1134", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:tcW", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:tcPr", + }, + Object { + "_attrs": Object { + "w14:paraId": "0B4ADF31", + "w14:textId": "0E384168", + "w:rsidP": "004124FA", + "w:rsidR": "00C233E0", + "w:rsidRDefault": "00C233E0", + "w:rsidRPr": "00E43E2E", + }, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "w:after": "40", + "w:before": "40", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:spacing", + }, + Object { + "_attrs": Object { + "w:evenHBand": "0", + "w:evenVBand": "0", + "w:firstColumn": "0", + "w:firstRow": "0", + "w:firstRowFirstColumn": "0", + "w:firstRowLastColumn": "0", + "w:lastColumn": "0", + "w:lastRow": "0", + "w:lastRowFirstColumn": "0", + "w:lastRowLastColumn": "0", + "w:oddHBand": "0", + "w:oddVBand": "0", + "w:val": "000000000000", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:cnfStyle", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:pPr", + }, + Object { + "_attrs": Object { + "w:rsidRPr": "00E43E2E", + }, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + Object { + "_attrs": Object { + "w:rsidR": "004124FA", + }, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + Object { + "_attrs": Object { + "w:rsidR": "00632851", + "w:rsidRPr": "00E43E2E", + }, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + Object { + "_attrs": Object { + "w:rsidRPr": "00E43E2E", + }, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:tc", + }, + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "w:type": "dxa", + "w:w": "1843", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:tcW", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:tcPr", + }, + Object { + "_attrs": Object { + "w14:paraId": "5261117F", + "w14:textId": "52F81B4E", + "w:rsidP": "004124FA", + "w:rsidR": "00C233E0", + "w:rsidRDefault": "00C233E0", + "w:rsidRPr": "00E43E2E", + }, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "w:after": "40", + "w:before": "40", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:spacing", + }, + Object { + "_attrs": Object { + "w:evenHBand": "0", + "w:evenVBand": "0", + "w:firstColumn": "0", + "w:firstRow": "0", + "w:firstRowFirstColumn": "0", + "w:firstRowLastColumn": "0", + "w:lastColumn": "0", + "w:lastRow": "0", + "w:lastRowFirstColumn": "0", + "w:lastRowLastColumn": "0", + "w:oddHBand": "0", + "w:oddVBand": "0", + "w:val": "000000000000", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:cnfStyle", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:pPr", + }, + Object { + "_attrs": Object { + "w:rsidRPr": "00E43E2E", + }, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "M2", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + Object { + "_attrs": Object { + "w:rsidR": "004124FA", + }, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + Object { + "_attrs": Object { + "w:rsidR": "00632851", + "w:rsidRPr": "00E43E2E", + }, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + Object { + "_attrs": Object { + "w:rsidRPr": "00E43E2E", + }, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + Object { + "_attrs": Object { + "w:rsidR": "004124FA", + }, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": " (T0 + ", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "2 m", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + Object { + "_attrs": Object { + "w:rsidR": "00C94DDF", + "w:rsidRPr": "00E43E2E", + }, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": ")", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:tc", + }, + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "w:type": "dxa", + "w:w": "2029", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:tcW", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:tcPr", + }, + Object { + "_attrs": Object { + "w14:paraId": "70E925E7", + "w14:textId": "3B574437", + "w:rsidP": "004124FA", + "w:rsidR": "00C233E0", + "w:rsidRDefault": "00C233E0", + "w:rsidRPr": "00E43E2E", + }, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "w:after": "40", + "w:before": "40", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:spacing", + }, + Object { + "_attrs": Object { + "w:evenHBand": "0", + "w:evenVBand": "0", + "w:firstColumn": "0", + "w:firstRow": "0", + "w:firstRowFirstColumn": "0", + "w:firstRowLastColumn": "0", + "w:lastColumn": "0", + "w:lastRow": "0", + "w:lastRowFirstColumn": "0", + "w:lastRowLastColumn": "0", + "w:oddHBand": "0", + "w:oddVBand": "0", + "w:val": "000000000000", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:cnfStyle", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:pPr", + }, + Object { + "_attrs": Object { + "w:rsidRPr": "00E43E2E", + }, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], "_text": "M3", }, ], @@ -47142,170 +48012,953 @@ Object { }, Object { "_attrs": Object { - "w:rsidR": "00632851", - "w:rsidRPr": "00E43E2E", + "w:rsidR": "00632851", + "w:rsidRPr": "00E43E2E", + }, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + Object { + "_attrs": Object { + "w:rsidRPr": "00E43E2E", + }, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + Object { + "_attrs": Object { + "w:rsidR": "004124FA", + }, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": " (T0 + ", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "4 m", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + Object { + "_attrs": Object { + "w:rsidR": "00C94DDF", + "w:rsidRPr": "00E43E2E", + }, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": ")", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:tc", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:tr", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:tbl", + }, + Object { + "_attrs": Object { + "w14:paraId": "03AE6C06", + "w14:textId": "77777777", + "w:rsidP": "000E451C", + "w:rsidR": "00C233E0", + "w:rsidRDefault": "00C233E0", + "w:rsidRPr": "00E43E2E", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + Object { + "_attrs": Object { + "w:rsidR": "00C233E0", + "w:rsidRPr": "00E43E2E", + "w:rsidSect": "00143BCE", + }, + "_children": Array [ + Object { + "_attrs": Object { + "w:h": "16840", + "w:w": "11900", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:pgSz", + }, + Object { + "_attrs": Object { + "w:bottom": "1440", + "w:footer": "708", + "w:gutter": "0", + "w:header": "708", + "w:left": "1800", + "w:right": "1800", + "w:top": "1440", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:pgMar", + }, + Object { + "_attrs": Object { + "w:space": "708", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:cols", + }, + Object { + "_attrs": Object { + "w:linePitch": "360", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:docGrid", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:sectPr", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:body", + }, + ], + "_fTextNode": false, + "_tag": "w:document", +} +`; + +exports[`sandbox Template processing 83 LINK inside FOR loop: regression test for issue #83 1`] = ` +Object { + "_attrs": Object { + "mc:Ignorable": "w14 w15 w16se w16cid wp14", + "xmlns:aink": "http://schemas.microsoft.com/office/drawing/2016/ink", + "xmlns:am3d": "http://schemas.microsoft.com/office/drawing/2017/model3d", + "xmlns:cx": "http://schemas.microsoft.com/office/drawing/2014/chartex", + "xmlns:cx1": "http://schemas.microsoft.com/office/drawing/2015/9/8/chartex", + "xmlns:cx2": "http://schemas.microsoft.com/office/drawing/2015/10/21/chartex", + "xmlns:cx3": "http://schemas.microsoft.com/office/drawing/2016/5/9/chartex", + "xmlns:cx4": "http://schemas.microsoft.com/office/drawing/2016/5/10/chartex", + "xmlns:cx5": "http://schemas.microsoft.com/office/drawing/2016/5/11/chartex", + "xmlns:cx6": "http://schemas.microsoft.com/office/drawing/2016/5/12/chartex", + "xmlns:cx7": "http://schemas.microsoft.com/office/drawing/2016/5/13/chartex", + "xmlns:cx8": "http://schemas.microsoft.com/office/drawing/2016/5/14/chartex", + "xmlns:m": "http://schemas.openxmlformats.org/officeDocument/2006/math", + "xmlns:mc": "http://schemas.openxmlformats.org/markup-compatibility/2006", + "xmlns:o": "urn:schemas-microsoft-com:office:office", + "xmlns:r": "http://schemas.openxmlformats.org/officeDocument/2006/relationships", + "xmlns:v": "urn:schemas-microsoft-com:vml", + "xmlns:w": "http://schemas.openxmlformats.org/wordprocessingml/2006/main", + "xmlns:w10": "urn:schemas-microsoft-com:office:word", + "xmlns:w14": "http://schemas.microsoft.com/office/word/2010/wordml", + "xmlns:w15": "http://schemas.microsoft.com/office/word/2012/wordml", + "xmlns:w16cid": "http://schemas.microsoft.com/office/word/2016/wordml/cid", + "xmlns:w16se": "http://schemas.microsoft.com/office/word/2015/wordml/symex", + "xmlns:wne": "http://schemas.microsoft.com/office/word/2006/wordml", + "xmlns:wp": "http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing", + "xmlns:wp14": "http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing", + "xmlns:wpc": "http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas", + "xmlns:wpg": "http://schemas.microsoft.com/office/word/2010/wordprocessingGroup", + "xmlns:wpi": "http://schemas.microsoft.com/office/word/2010/wordprocessingInk", + "xmlns:wps": "http://schemas.microsoft.com/office/word/2010/wordprocessingShape", + }, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "w:rsidR": "00255E80", + "w:rsidRDefault": "00255E80", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + Object { + "_attrs": Object { + "w:rsidP": "00255E80", + "w:rsidR": "00255E80", + "w:rsidRDefault": "00255E80", + }, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "FIRST", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + Object { + "_attrs": Object { + "w:rsidP": "00255E80", + "w:rsidR": "00255E80", + "w:rsidRDefault": "00255E80", + }, + "_children": Array [ + Object { + "_attrs": Object { + "r:id": "link1", + "w:history": "1", + }, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "w:val": "single", }, - "_children": Array [ - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - ], + "_children": Array [], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:r", + "_tag": "w:u", }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:rPr", + }, + Object { + "_attrs": Object {}, + "_children": Array [ Object { - "_attrs": Object { - "w:rsidRPr": "00E43E2E", - }, - "_children": Array [ - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - ], - "_fTextNode": false, + "_children": Array [], + "_fTextNode": true, "_parent": [Circular], - "_tag": "w:r", + "_text": "Link", }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:hyperlink", + }, + Object { + "_attrs": Object { + "w:type": "spellStart", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:proofErr", + }, + Object { + "_attrs": Object { + "w:rsidRPr": "002E092B", + }, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + Object { + "_attrs": Object { + "w:type": "spellEnd", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:proofErr", + }, + Object { + "_attrs": Object { + "w:rsidRPr": "002E092B", + }, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + Object { + "_attrs": Object { + "w:id": "0", + "w:name": "_GoBack", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:bookmarkStart", + }, + Object { + "_attrs": Object { + "w:id": "0", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:bookmarkEnd", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + Object { + "_attrs": Object { + "w:rsidP": "00255E80", + "w:rsidR": "00255E80", + "w:rsidRDefault": "00255E80", + }, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "SECOND", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + Object { + "_attrs": Object { + "w:rsidP": "00255E80", + "w:rsidR": "00255E80", + "w:rsidRDefault": "00255E80", + }, + "_children": Array [ + Object { + "_attrs": Object { + "r:id": "link2", + "w:history": "1", + }, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ Object { "_attrs": Object { - "w:rsidR": "004124FA", + "w:val": "single", }, - "_children": Array [ - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": " (T0 + ", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "4 m", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - ], + "_children": Array [], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:r", + "_tag": "w:u", }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:rPr", + }, + Object { + "_attrs": Object {}, + "_children": Array [ Object { - "_attrs": Object { - "w:rsidR": "00C94DDF", - "w:rsidRPr": "00E43E2E", - }, - "_children": Array [ - Object { - "_attrs": Object { - "xml:space": "preserve", - }, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": ")", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:t", - }, - ], - "_fTextNode": false, + "_children": Array [], + "_fTextNode": true, "_parent": [Circular], - "_tag": "w:r", + "_text": "Link", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:p", + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:hyperlink", + }, + Object { + "_attrs": Object { + "w:type": "spellStart", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:proofErr", + }, + Object { + "_attrs": Object { + "w:rsidRPr": "002E092B", + }, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + Object { + "_attrs": Object { + "w:type": "spellEnd", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:proofErr", + }, + Object { + "_attrs": Object { + "w:rsidRPr": "002E092B", + }, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + Object { + "_attrs": Object { + "w:id": "0", + "w:name": "_GoBack", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:bookmarkStart", + }, + Object { + "_attrs": Object { + "w:id": "0", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:bookmarkEnd", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + Object { + "_attrs": Object { + "w:rsidP": "00255E80", + "w:rsidR": "00255E80", + "w:rsidRDefault": "00255E80", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + Object { + "_attrs": Object { + "w:rsidR": "00255E80", + "w:rsidRDefault": "00255E80", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + Object { + "_attrs": Object { + "w:rsidR": "00255E80", + "w:rsidSect": "0019199C", + }, + "_children": Array [ + Object { + "_attrs": Object { + "w:h": "16840", + "w:w": "11900", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:pgSz", + }, + Object { + "_attrs": Object { + "w:bottom": "1440", + "w:footer": "708", + "w:gutter": "0", + "w:header": "708", + "w:left": "1440", + "w:right": "1440", + "w:top": "1440", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:pgMar", + }, + Object { + "_attrs": Object { + "w:space": "708", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:cols", + }, + Object { + "_attrs": Object { + "w:linePitch": "360", + }, + "_children": Array [], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:docGrid", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:sectPr", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:body", + }, + ], + "_fTextNode": false, + "_tag": "w:document", +} +`; + +exports[`sandbox Template processing 112a failFast: false lists all errors in the document before failing. 1`] = ` +Array [ + [Error: Error executing command: INS notavailable notavailable is not defined], + [Error: Error executing command: INS something something is not defined], + [Error: Error executing command: END-FOR company Invalid command: END-FOR company], +] +`; + +exports[`sandbox Template processing 112b failFast: true has the same behaviour as when failFast is undefined 1`] = `[Error: Error executing command: INS notavailable notavailable is not defined]`; + +exports[`sandbox Template processing avoids confusion between variable name and built-in command 1`] = ` +Object { + "_attrs": Object { + "mc:Ignorable": "w14 w15 w16se w16cid wp14", + "xmlns:aink": "http://schemas.microsoft.com/office/drawing/2016/ink", + "xmlns:am3d": "http://schemas.microsoft.com/office/drawing/2017/model3d", + "xmlns:cx": "http://schemas.microsoft.com/office/drawing/2014/chartex", + "xmlns:cx1": "http://schemas.microsoft.com/office/drawing/2015/9/8/chartex", + "xmlns:cx2": "http://schemas.microsoft.com/office/drawing/2015/10/21/chartex", + "xmlns:cx3": "http://schemas.microsoft.com/office/drawing/2016/5/9/chartex", + "xmlns:cx4": "http://schemas.microsoft.com/office/drawing/2016/5/10/chartex", + "xmlns:cx5": "http://schemas.microsoft.com/office/drawing/2016/5/11/chartex", + "xmlns:cx6": "http://schemas.microsoft.com/office/drawing/2016/5/12/chartex", + "xmlns:cx7": "http://schemas.microsoft.com/office/drawing/2016/5/13/chartex", + "xmlns:cx8": "http://schemas.microsoft.com/office/drawing/2016/5/14/chartex", + "xmlns:m": "http://schemas.openxmlformats.org/officeDocument/2006/math", + "xmlns:mc": "http://schemas.openxmlformats.org/markup-compatibility/2006", + "xmlns:o": "urn:schemas-microsoft-com:office:office", + "xmlns:r": "http://schemas.openxmlformats.org/officeDocument/2006/relationships", + "xmlns:v": "urn:schemas-microsoft-com:vml", + "xmlns:w": "http://schemas.openxmlformats.org/wordprocessingml/2006/main", + "xmlns:w10": "urn:schemas-microsoft-com:office:word", + "xmlns:w14": "http://schemas.microsoft.com/office/word/2010/wordml", + "xmlns:w15": "http://schemas.microsoft.com/office/word/2012/wordml", + "xmlns:w16cid": "http://schemas.microsoft.com/office/word/2016/wordml/cid", + "xmlns:w16se": "http://schemas.microsoft.com/office/word/2015/wordml/symex", + "xmlns:wne": "http://schemas.microsoft.com/office/word/2006/wordml", + "xmlns:wp": "http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing", + "xmlns:wp14": "http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing", + "xmlns:wpc": "http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas", + "xmlns:wpg": "http://schemas.microsoft.com/office/word/2010/wordprocessingGroup", + "xmlns:wpi": "http://schemas.microsoft.com/office/word/2010/wordprocessingInk", + "xmlns:wps": "http://schemas.microsoft.com/office/word/2010/wordprocessingShape", + }, + "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "w14:paraId": "22C0E912", + "w14:textId": "2E9180DE", + "w:rsidP": "00C742D4", + "w:rsidR": "00C742D4", + "w:rsidRDefault": "00C742D4", + "w:rsidRPr": "00C742D4", + }, + "_children": Array [ + Object { + "_attrs": Object { + "w:rsidRPr": "00C742D4", + }, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "should show up 1", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + Object { + "_attrs": Object { + "w:rsidR": "00177C6D", + }, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + Object { + "_attrs": Object { + "w14:paraId": "45BF5C01", + "w14:textId": "31817187", + "w:rsidP": "00C742D4", + "w:rsidR": "00F35C33", + "w:rsidRDefault": "00C742D4", + "w:rsidRPr": "00C742D4", + }, + "_children": Array [ + Object { + "_attrs": Object { + "w:rsidRPr": "00C742D4", + }, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "should show up 2", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + Object { + "_attrs": Object { + "w14:paraId": "4DED2421", + "w14:textId": "7391BE6E", + "w:rsidP": "00C742D4", + "w:rsidR": "00C742D4", + "w:rsidRDefault": "00C742D4", + }, + "_children": Array [ + Object { + "_attrs": Object { + "w:rsidRPr": "00C742D4", + }, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "123", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:tc", + "_tag": "w:t", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:tr", + "_tag": "w:r", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:tbl", + "_tag": "w:p", }, Object { "_attrs": Object { - "w14:paraId": "03AE6C06", - "w14:textId": "77777777", - "w:rsidP": "000E451C", - "w:rsidR": "00C233E0", - "w:rsidRDefault": "00C233E0", - "w:rsidRPr": "00E43E2E", + "w14:paraId": "394373DA", + "w14:textId": "6BC04FA1", + "w:rsidP": "00C742D4", + "w:rsidR": "00F13BA1", + "w:rsidRDefault": "00F13BA1", }, "_children": Array [], "_fTextNode": false, @@ -47314,125 +48967,132 @@ Object { }, Object { "_attrs": Object { - "w:rsidR": "00C233E0", - "w:rsidRPr": "00E43E2E", - "w:rsidSect": "00143BCE", + "w14:paraId": "1092F8D7", + "w14:textId": "20EC5690", + "w:rsidP": "00F13BA1", + "w:rsidR": "00F13BA1", + "w:rsidRDefault": "00F13BA1", }, "_children": Array [ + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "FIRST", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, Object { "_attrs": Object { - "w:h": "16840", - "w:w": "11900", + "w:rsidR": "0027342B", }, - "_children": Array [], + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:pgSz", + "_tag": "w:r", + }, + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", }, Object { "_attrs": Object { - "w:bottom": "1440", - "w:footer": "708", - "w:gutter": "0", - "w:header": "708", - "w:left": "1800", - "w:right": "1800", - "w:top": "1440", + "w:rsidR": "00154EEC", }, - "_children": Array [], + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:pgMar", + "_tag": "w:r", }, Object { "_attrs": Object { - "w:space": "708", + "w:id": "0", + "w:name": "_GoBack", }, "_children": Array [], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:cols", + "_tag": "w:bookmarkStart", }, Object { "_attrs": Object { - "w:linePitch": "360", + "w:id": "0", }, "_children": Array [], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:docGrid", + "_tag": "w:bookmarkEnd", }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:sectPr", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:body", - }, - ], - "_fTextNode": false, - "_tag": "w:document", -} -`; - -exports[`sandbox Template processing 83 LINK inside FOR loop: regression test for issue #83 1`] = ` -Object { - "_attrs": Object { - "mc:Ignorable": "w14 w15 w16se w16cid wp14", - "xmlns:aink": "http://schemas.microsoft.com/office/drawing/2016/ink", - "xmlns:am3d": "http://schemas.microsoft.com/office/drawing/2017/model3d", - "xmlns:cx": "http://schemas.microsoft.com/office/drawing/2014/chartex", - "xmlns:cx1": "http://schemas.microsoft.com/office/drawing/2015/9/8/chartex", - "xmlns:cx2": "http://schemas.microsoft.com/office/drawing/2015/10/21/chartex", - "xmlns:cx3": "http://schemas.microsoft.com/office/drawing/2016/5/9/chartex", - "xmlns:cx4": "http://schemas.microsoft.com/office/drawing/2016/5/10/chartex", - "xmlns:cx5": "http://schemas.microsoft.com/office/drawing/2016/5/11/chartex", - "xmlns:cx6": "http://schemas.microsoft.com/office/drawing/2016/5/12/chartex", - "xmlns:cx7": "http://schemas.microsoft.com/office/drawing/2016/5/13/chartex", - "xmlns:cx8": "http://schemas.microsoft.com/office/drawing/2016/5/14/chartex", - "xmlns:m": "http://schemas.openxmlformats.org/officeDocument/2006/math", - "xmlns:mc": "http://schemas.openxmlformats.org/markup-compatibility/2006", - "xmlns:o": "urn:schemas-microsoft-com:office:office", - "xmlns:r": "http://schemas.openxmlformats.org/officeDocument/2006/relationships", - "xmlns:v": "urn:schemas-microsoft-com:vml", - "xmlns:w": "http://schemas.openxmlformats.org/wordprocessingml/2006/main", - "xmlns:w10": "urn:schemas-microsoft-com:office:word", - "xmlns:w14": "http://schemas.microsoft.com/office/word/2010/wordml", - "xmlns:w15": "http://schemas.microsoft.com/office/word/2012/wordml", - "xmlns:w16cid": "http://schemas.microsoft.com/office/word/2016/wordml/cid", - "xmlns:w16se": "http://schemas.microsoft.com/office/word/2015/wordml/symex", - "xmlns:wne": "http://schemas.microsoft.com/office/word/2006/wordml", - "xmlns:wp": "http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing", - "xmlns:wp14": "http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing", - "xmlns:wpc": "http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas", - "xmlns:wpg": "http://schemas.microsoft.com/office/word/2010/wordprocessingGroup", - "xmlns:wpi": "http://schemas.microsoft.com/office/word/2010/wordprocessingInk", - "xmlns:wps": "http://schemas.microsoft.com/office/word/2010/wordprocessingShape", - }, - "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "w:rsidR": "00255E80", - "w:rsidRDefault": "00255E80", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:p", - }, - Object { - "_attrs": Object { - "w:rsidP": "00255E80", - "w:rsidR": "00255E80", - "w:rsidRDefault": "00255E80", - }, - "_children": Array [ Object { "_attrs": Object {}, "_children": Array [ @@ -47445,7 +49105,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "FIRST", + "_text": "", }, ], "_fTextNode": false, @@ -47464,73 +49124,80 @@ Object { }, Object { "_attrs": Object { - "w:rsidP": "00255E80", - "w:rsidR": "00255E80", - "w:rsidRDefault": "00255E80", + "w14:paraId": "4F9B74A3", + "w14:textId": "7B02F1B1", + "w:rsidP": "00F13BA1", + "w:rsidR": "00F13BA1", + "w:rsidRDefault": "00F13BA1", }, "_children": Array [ Object { "_attrs": Object { - "r:id": "link1", - "w:history": "1", + "w:rsidRPr": "00C742D4", }, "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "w:val": "single", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:u", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:rPr", - }, - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "Link", - }, - ], - "_fTextNode": false, + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, "_parent": [Circular], - "_tag": "w:t", + "_text": "123", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:r", + "_tag": "w:t", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:hyperlink", + "_tag": "w:r", }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:p", + }, + Object { + "_attrs": Object { + "w14:paraId": "1092F8D7", + "w14:textId": "20EC5690", + "w:rsidP": "00F13BA1", + "w:rsidR": "00F13BA1", + "w:rsidRDefault": "00F13BA1", + }, + "_children": Array [ Object { - "_attrs": Object { - "w:type": "spellStart", - }, - "_children": Array [], + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "SECOND", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:proofErr", + "_tag": "w:r", }, Object { "_attrs": Object { - "w:rsidRPr": "002E092B", + "w:rsidR": "0027342B", }, "_children": Array [ Object { @@ -47555,17 +49222,32 @@ Object { "_tag": "w:r", }, Object { - "_attrs": Object { - "w:type": "spellEnd", - }, - "_children": Array [], + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:proofErr", + "_tag": "w:r", }, Object { "_attrs": Object { - "w:rsidRPr": "002E092B", + "w:rsidR": "00154EEC", }, "_children": Array [ Object { @@ -47608,6 +49290,30 @@ Object { "_parent": [Circular], "_tag": "w:bookmarkEnd", }, + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, ], "_fTextNode": false, "_parent": [Circular], @@ -47615,13 +49321,17 @@ Object { }, Object { "_attrs": Object { - "w:rsidP": "00255E80", - "w:rsidR": "00255E80", - "w:rsidRDefault": "00255E80", + "w14:paraId": "4F9B74A3", + "w14:textId": "7B02F1B1", + "w:rsidP": "00F13BA1", + "w:rsidR": "00F13BA1", + "w:rsidRDefault": "00F13BA1", }, "_children": Array [ Object { - "_attrs": Object {}, + "_attrs": Object { + "w:rsidRPr": "00C742D4", + }, "_children": Array [ Object { "_attrs": Object { @@ -47632,7 +49342,7 @@ Object { "_children": Array [], "_fTextNode": true, "_parent": [Circular], - "_text": "SECOND", + "_text": "123", }, ], "_fTextNode": false, @@ -47651,73 +49361,40 @@ Object { }, Object { "_attrs": Object { - "w:rsidP": "00255E80", - "w:rsidR": "00255E80", - "w:rsidRDefault": "00255E80", + "w14:paraId": "1092F8D7", + "w14:textId": "20EC5690", + "w:rsidP": "00F13BA1", + "w:rsidR": "00F13BA1", + "w:rsidRDefault": "00F13BA1", }, "_children": Array [ Object { - "_attrs": Object { - "r:id": "link2", - "w:history": "1", - }, + "_attrs": Object {}, "_children": Array [ Object { - "_attrs": Object {}, + "_attrs": Object { + "xml:space": "preserve", + }, "_children": Array [ Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_attrs": Object { - "w:val": "single", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:u", - }, - ], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:rPr", - }, - Object { - "_attrs": Object {}, - "_children": Array [ - Object { - "_children": Array [], - "_fTextNode": true, - "_parent": [Circular], - "_text": "Link", - }, - ], - "_fTextNode": false, + "_children": Array [], + "_fTextNode": true, "_parent": [Circular], - "_tag": "w:t", + "_text": "THIRD", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:r", + "_tag": "w:t", }, ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:hyperlink", - }, - Object { - "_attrs": Object { - "w:type": "spellStart", - }, - "_children": Array [], - "_fTextNode": false, - "_parent": [Circular], - "_tag": "w:proofErr", + "_tag": "w:r", }, Object { "_attrs": Object { - "w:rsidRPr": "002E092B", + "w:rsidR": "0027342B", }, "_children": Array [ Object { @@ -47742,17 +49419,32 @@ Object { "_tag": "w:r", }, Object { - "_attrs": Object { - "w:type": "spellEnd", - }, - "_children": Array [], + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], "_fTextNode": false, "_parent": [Circular], - "_tag": "w:proofErr", + "_tag": "w:r", }, Object { "_attrs": Object { - "w:rsidRPr": "002E092B", + "w:rsidR": "00154EEC", }, "_children": Array [ Object { @@ -47795,6 +49487,30 @@ Object { "_parent": [Circular], "_tag": "w:bookmarkEnd", }, + Object { + "_attrs": Object {}, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, ], "_fTextNode": false, "_parent": [Circular], @@ -47802,19 +49518,52 @@ Object { }, Object { "_attrs": Object { - "w:rsidP": "00255E80", - "w:rsidR": "00255E80", - "w:rsidRDefault": "00255E80", + "w14:paraId": "4F9B74A3", + "w14:textId": "7B02F1B1", + "w:rsidP": "00F13BA1", + "w:rsidR": "00F13BA1", + "w:rsidRDefault": "00F13BA1", }, - "_children": Array [], + "_children": Array [ + Object { + "_attrs": Object { + "w:rsidRPr": "00C742D4", + }, + "_children": Array [ + Object { + "_attrs": Object { + "xml:space": "preserve", + }, + "_children": Array [ + Object { + "_children": Array [], + "_fTextNode": true, + "_parent": [Circular], + "_text": "123", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:t", + }, + ], + "_fTextNode": false, + "_parent": [Circular], + "_tag": "w:r", + }, + ], "_fTextNode": false, "_parent": [Circular], "_tag": "w:p", }, Object { "_attrs": Object { - "w:rsidR": "00255E80", - "w:rsidRDefault": "00255E80", + "w14:paraId": "4BBBC0BC", + "w14:textId": "77777777", + "w:rsidP": "00C742D4", + "w:rsidR": "00F13BA1", + "w:rsidRDefault": "00F13BA1", + "w:rsidRPr": "00C742D4", }, "_children": Array [], "_fTextNode": false, @@ -47823,7 +49572,8 @@ Object { }, Object { "_attrs": Object { - "w:rsidR": "00255E80", + "w:rsidR": "00F13BA1", + "w:rsidRPr": "00C742D4", "w:rsidSect": "0019199C", }, "_children": Array [ @@ -47885,13 +49635,3 @@ Object { "_tag": "w:document", } `; - -exports[`sandbox Template processing 112a failFast: false lists all errors in the document before failing. 1`] = ` -Array [ - [Error: Error executing command: INS notavailable notavailable is not defined], - [Error: Error executing command: INS something something is not defined], - [Error: Error executing command: END-FOR company Invalid command: END-FOR company], -] -`; - -exports[`sandbox Template processing 112b failFast: true has the same behaviour as when failFast is undefined 1`] = `[Error: Error executing command: INS notavailable notavailable is not defined]`; diff --git a/src/__tests__/fixtures/confusingCommandNames.docx b/src/__tests__/fixtures/confusingCommandNames.docx new file mode 100644 index 00000000..bd7be1b1 Binary files /dev/null and b/src/__tests__/fixtures/confusingCommandNames.docx differ diff --git a/src/__tests__/indexNode.test.ts b/src/__tests__/indexNode.test.ts index b96bd13c..b1755c57 100755 --- a/src/__tests__/indexNode.test.ts +++ b/src/__tests__/indexNode.test.ts @@ -957,6 +957,29 @@ Morbi dignissim consequat ex, non finibus est faucibus sodales. Integer sed just ) ).rejects.toMatchSnapshot(); }); + + it('avoids confusion between variable name and built-in command', async () => { + const template = await fs.promises.readFile( + path.join(__dirname, 'fixtures', 'confusingCommandNames.docx') + ); + const opts = { + noSandbox, + template, + data: { + something: 'should show up 1', + INSertable: 'should show up 2', + companies: [ + { name: 'FIRST' }, + { name: 'SECOND' }, + { name: 'THIRD' }, + ], + }, + additionalJsContext: { formatNumber: (n: number) => n.toFixed() }, + }; + + // Render to an object and compare with snapshot. + expect(await createReport(opts, 'JS')).toMatchSnapshot(); + }); }); }); });