Uname: Linux business55.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
Software: LiteSpeed
PHP version: 8.1.31 [ PHP INFO ] PHP os: Linux
Server Ip: 162.213.251.212
Your Ip: 3.21.113.43
User: allssztx (535) | Group: allssztx (533)
Safe Mode: OFF
Disable Function:
NONE

name : __snapshots.js
"use strict";

/***************** This file is autogenerated *****************************

   Please don't modify it manually !
   Instead, to update the file, run :

   npm run test:es6:update-snapshots
*/

exports["Api versioning should fail with invalid versions"] = {
  "_type": "XTAPIVersionError",
  "name": "APIVersionError",
  "message": "neededVersion is not a valid version",
  "properties": {
    "id": "api_version_error",
    "neededVersion": [5, 0],
    "explanation": "the neededVersion must be an array of length 3"
  }
};
exports["Api versioning should fail with invalid versions-1"] = {
  "_type": "XTAPIVersionError",
  "name": "APIVersionError",
  "message": "The major api version do not match, you probably have to update docxtemplater with npm install --save docxtemplater",
  "properties": {
    "id": "api_version_error",
    "neededVersion": [5, 6, 0],
    "currentModuleApiVersion": [3, 41, 0],
    "explanation": "moduleAPIVersionMismatch : needed=5.6.0, current=3.41.0"
  }
};
exports["Api versioning should fail with invalid versions-2"] = {
  "_type": "XTAPIVersionError",
  "name": "APIVersionError",
  "message": "The minor api version is not uptodate, you probably have to update docxtemplater with npm install --save docxtemplater",
  "properties": {
    "id": "api_version_error",
    "neededVersion": [3, 44, 0],
    "currentModuleApiVersion": [3, 41, 0],
    "explanation": "moduleAPIVersionMismatch : needed=3.44.0, current=3.41.0"
  }
};
exports["Api versioning should fail with invalid versions-3"] = {
  "_type": "XTAPIVersionError",
  "name": "APIVersionError",
  "message": "The patch api version is not uptodate, you probably have to update docxtemplater with npm install --save docxtemplater",
  "properties": {
    "id": "api_version_error",
    "neededVersion": [3, 41, 100],
    "currentModuleApiVersion": [3, 41, 0],
    "explanation": "moduleAPIVersionMismatch : needed=3.41.100, current=3.41.0"
  }
};
exports["Compilation errors should count 3 errors when having rawxml and two other errors"] = {
  "_type": "XTTemplateError",
  "name": "TemplateError",
  "message": "Multi error",
  "properties": {
    "errors": [{
      "_type": "XTTemplateError",
      "name": "TemplateError",
      "message": "Unopened tag",
      "properties": {
        "xtag": "foo",
        "id": "unopened_tag",
        "context": "foo",
        "offset": 3,
        "explanation": "The tag beginning with \"foo\" is unopened",
        "file": "word/document.xml"
      }
    }, {
      "_type": "XTTemplateError",
      "name": "TemplateError",
      "message": "Unopened tag",
      "properties": {
        "xtag": "bar",
        "id": "unopened_tag",
        "context": "} bar",
        "offset": 16,
        "explanation": "The tag beginning with \"} bar\" is unopened",
        "file": "word/document.xml"
      }
    }, {
      "_type": "XTTemplateError",
      "name": "TemplateError",
      "message": "Raw tag should be the only text in paragraph",
      "properties": {
        "id": "raw_xml_tag_should_be_only_text_in_paragraph",
        "explanation": "The raw tag \"bang\" should be the only text in this paragraph. This means that this tag should not be surrounded by any text or spaces.",
        "xtag": "bang",
        "offset": 5,
        "paragraphParts": [{
          "type": "tag",
          "position": "start",
          "text": false,
          "value": "<w:r>",
          "tag": "w:r",
          "lIndex": 1
        }, {
          "type": "tag",
          "position": "start",
          "text": true,
          "value": "<w:t xml:space=\"preserve\">",
          "tag": "w:t",
          "lIndex": 2
        }, {
          "type": "content",
          "value": "foo",
          "position": "insidetag",
          "lIndex": 3
        }, {
          "type": "placeholder",
          "value": "",
          "endLindex": 4,
          "lIndex": 4
        }, {
          "type": "content",
          "value": " ",
          "position": "insidetag",
          "lIndex": 5
        }, {
          "type": "placeholder",
          "module": "rawxml",
          "value": "bang",
          "offset": 5,
          "endLindex": 8,
          "lIndex": 8,
          "raw": "@bang"
        }, {
          "type": "content",
          "value": " bar",
          "position": "insidetag",
          "lIndex": 9
        }, {
          "type": "placeholder",
          "value": "",
          "offset": 5,
          "endLindex": 10,
          "lIndex": 10
        }, {
          "type": "tag",
          "position": "end",
          "text": true,
          "value": "</w:t>",
          "tag": "w:t",
          "lIndex": 11
        }, {
          "type": "tag",
          "position": "end",
          "text": false,
          "value": "</w:r>",
          "tag": "w:r",
          "lIndex": 12
        }],
        "file": "word/document.xml"
      }
    }],
    "id": "multi_error",
    "explanation": "The template has multiple errors"
  }
};
exports["Compilation errors should fail early when a loop closes the wrong loop"] = {
  "_type": "XTTemplateError",
  "name": "TemplateError",
  "message": "Multi error",
  "properties": {
    "errors": [{
      "_type": "XTTemplateError",
      "name": "TemplateError",
      "message": "Unopened loop",
      "properties": {
        "id": "unopened_loop",
        "explanation": "The loop with tag \"loop3\" is unopened",
        "xtag": "loop3",
        "offset": 16,
        "file": "word/document.xml"
      }
    }, {
      "_type": "XTTemplateError",
      "name": "TemplateError",
      "message": "Unopened loop",
      "properties": {
        "id": "unopened_loop",
        "explanation": "The loop with tag \"loop3\" is unopened",
        "xtag": "loop3",
        "offset": 24,
        "file": "word/document.xml"
      }
    }],
    "id": "multi_error",
    "explanation": "The template has multiple errors"
  }
};
exports["Compilation errors should fail when rawtag is in table without paragraph"] = {
  "_type": "XTTemplateError",
  "name": "TemplateError",
  "message": "Multi error",
  "properties": {
    "errors": [{
      "_type": "XTTemplateError",
      "name": "TemplateError",
      "message": "Raw tag not in paragraph",
      "properties": {
        "id": "raw_tag_outerxml_invalid",
        "explanation": "The tag \"myrawtag\" is not inside a paragraph, putting raw tags inside an inline loop is disallowed.",
        "rootError": {
          "_type": "XTTemplateError",
          "name": "TemplateError",
          "message": "No tag \"w:p\" was found at the left",
          "properties": {
            "id": "no_xml_tag_found_at_left",
            "explanation": "No tag \"w:p\" was found at the left",
            "offset": 0,
            "part": {
              "type": "placeholder",
              "module": "rawxml",
              "value": "myrawtag",
              "offset": 0,
              "endLindex": 4,
              "lIndex": 4,
              "raw": "@myrawtag"
            },
            "parsed": [{
              "type": "tag",
              "position": "start",
              "text": false,
              "value": "<w:tbl>",
              "tag": "w:tbl",
              "lIndex": 0
            }, {
              "type": "tag",
              "position": "start",
              "text": true,
              "value": "<w:t xml:space=\"preserve\">",
              "tag": "w:t",
              "lIndex": 1
            }, {
              "type": "placeholder",
              "module": "rawxml",
              "value": "myrawtag",
              "offset": 0,
              "endLindex": 4,
              "lIndex": 4,
              "raw": "@myrawtag"
            }, {
              "type": "tag",
              "position": "end",
              "text": true,
              "value": "</w:t>",
              "tag": "w:t",
              "lIndex": 5
            }, {
              "type": "tag",
              "position": "end",
              "text": false,
              "value": "</w:p>",
              "tag": "w:p",
              "lIndex": 6
            }, {
              "type": "tag",
              "position": "end",
              "text": false,
              "value": "</w:tbl>",
              "tag": "w:tbl",
              "lIndex": 7
            }],
            "index": 2,
            "element": "w:p"
          }
        },
        "xtag": "myrawtag",
        "offset": 0,
        "postparsed": [{
          "type": "tag",
          "position": "start",
          "text": false,
          "value": "<w:tbl>",
          "tag": "w:tbl",
          "lIndex": 0
        }, {
          "type": "tag",
          "position": "start",
          "text": true,
          "value": "<w:t xml:space=\"preserve\">",
          "tag": "w:t",
          "lIndex": 1
        }, {
          "type": "placeholder",
          "module": "rawxml",
          "value": "myrawtag",
          "offset": 0,
          "endLindex": 4,
          "lIndex": 4,
          "raw": "@myrawtag"
        }, {
          "type": "tag",
          "position": "end",
          "text": true,
          "value": "</w:t>",
          "tag": "w:t",
          "lIndex": 5
        }, {
          "type": "tag",
          "position": "end",
          "text": false,
          "value": "</w:p>",
          "tag": "w:p",
          "lIndex": 6
        }, {
          "type": "tag",
          "position": "end",
          "text": false,
          "value": "</w:tbl>",
          "tag": "w:tbl",
          "lIndex": 7
        }],
        "expandTo": "w:p",
        "index": 2,
        "file": "word/document.xml"
      }
    }],
    "id": "multi_error",
    "explanation": "The template has multiple errors"
  }
};
exports["Compilation errors should fail when rawtag is not in paragraph"] = {
  "_type": "XTTemplateError",
  "name": "TemplateError",
  "message": "Multi error",
  "properties": {
    "errors": [{
      "_type": "XTTemplateError",
      "name": "TemplateError",
      "message": "Raw tag not in paragraph",
      "properties": {
        "id": "raw_tag_outerxml_invalid",
        "explanation": "The tag \"myrawtag\" is not inside a paragraph, putting raw tags inside an inline loop is disallowed.",
        "rootError": {
          "_type": "XTTemplateError",
          "name": "TemplateError",
          "message": "No tag \"w:p\" was found at the left",
          "properties": {
            "id": "no_xml_tag_found_at_left",
            "explanation": "No tag \"w:p\" was found at the left",
            "offset": 0,
            "part": {
              "type": "placeholder",
              "module": "rawxml",
              "value": "myrawtag",
              "offset": 0,
              "endLindex": 3,
              "lIndex": 3,
              "raw": "@myrawtag"
            },
            "parsed": [{
              "type": "tag",
              "position": "start",
              "text": true,
              "value": "<w:t xml:space=\"preserve\">",
              "tag": "w:t",
              "lIndex": 0
            }, {
              "type": "placeholder",
              "module": "rawxml",
              "value": "myrawtag",
              "offset": 0,
              "endLindex": 3,
              "lIndex": 3,
              "raw": "@myrawtag"
            }, {
              "type": "tag",
              "position": "end",
              "text": true,
              "value": "</w:t>",
              "tag": "w:t",
              "lIndex": 4
            }],
            "index": 1,
            "element": "w:p"
          }
        },
        "xtag": "myrawtag",
        "offset": 0,
        "postparsed": [{
          "type": "tag",
          "position": "start",
          "text": true,
          "value": "<w:t xml:space=\"preserve\">",
          "tag": "w:t",
          "lIndex": 0
        }, {
          "type": "placeholder",
          "module": "rawxml",
          "value": "myrawtag",
          "offset": 0,
          "endLindex": 3,
          "lIndex": 3,
          "raw": "@myrawtag"
        }, {
          "type": "tag",
          "position": "end",
          "text": true,
          "value": "</w:t>",
          "tag": "w:t",
          "lIndex": 4
        }],
        "expandTo": "w:p",
        "index": 1,
        "file": "word/document.xml"
      }
    }],
    "id": "multi_error",
    "explanation": "The template has multiple errors"
  }
};
exports["Inspect module should get all tags (pptx file)"] = [{
  "type": "placeholder",
  "value": "tag",
  "offset": 0,
  "endLindex": 36,
  "lIndex": 36
}];
exports["Inspect module should get main tags"] = [{
  "type": "placeholder",
  "module": "loop",
  "inverted": false,
  "value": "offre",
  "offset": 29,
  "endLindex": 332,
  "lIndex": 188,
  "raw": "#offre",
  "sectPrCount": 0,
  "lastParagrapSectPr": "",
  "subparsed": [{
    "type": "placeholder",
    "value": "nom",
    "offset": 37,
    "endLindex": 214,
    "lIndex": 214
  }, {
    "type": "placeholder",
    "value": "prix",
    "offset": 48,
    "endLindex": 241,
    "lIndex": 241
  }, {
    "type": "placeholder",
    "value": "titre",
    "offset": 60,
    "endLindex": 268,
    "lIndex": 268
  }]
}, {
  "type": "placeholder",
  "value": "nom",
  "offset": 75,
  "endLindex": 354,
  "lIndex": 354
}, {
  "type": "placeholder",
  "value": "prenom",
  "offset": 80,
  "endLindex": 378,
  "lIndex": 378
}];
exports["Multi errors should work with loops unopened"] = {
  "_type": "XTTemplateError",
  "name": "TemplateError",
  "message": "Multi error",
  "properties": {
    "errors": [{
      "_type": "XTTemplateError",
      "name": "TemplateError",
      "message": "Unopened loop",
      "properties": {
        "id": "unopened_loop",
        "explanation": "The loop with tag \"loop\" is unopened",
        "xtag": "loop",
        "offset": 0,
        "file": "word/document.xml"
      }
    }, {
      "_type": "XTTemplateError",
      "name": "TemplateError",
      "message": "Closing tag does not match opening tag",
      "properties": {
        "id": "closing_tag_does_not_match_opening_tag",
        "explanation": "The tag \"users\" is closed by the tag \"foo\"",
        "openingtag": "users",
        "offset": [8, 25],
        "closingtag": "foo",
        "file": "word/document.xml"
      }
    }, {
      "_type": "XTTemplateError",
      "name": "TemplateError",
      "message": "Closing tag does not match opening tag",
      "properties": {
        "id": "closing_tag_does_not_match_opening_tag",
        "explanation": "The tag \"bang\" is closed by the tag \"baz\"",
        "openingtag": "bang",
        "offset": [34, 50],
        "closingtag": "baz",
        "file": "word/document.xml"
      }
    }, {
      "_type": "XTTemplateError",
      "name": "TemplateError",
      "message": "Unopened loop",
      "properties": {
        "id": "unopened_loop",
        "explanation": "The loop with tag \"fff\" is unopened",
        "xtag": "fff",
        "offset": 59,
        "file": "word/document.xml"
      }
    }, {
      "_type": "XTTemplateError",
      "name": "TemplateError",
      "message": "Unclosed loop",
      "properties": {
        "id": "unclosed_loop",
        "explanation": "The loop with tag \"yum\" is unclosed",
        "xtag": "yum",
        "offset": 68,
        "file": "word/document.xml"
      }
    }],
    "id": "multi_error",
    "explanation": "The template has multiple errors"
  }
};
exports["Multi errors should work with multiple errors complex"] = {
  "_type": "XTTemplateError",
  "name": "TemplateError",
  "message": "Multi error",
  "properties": {
    "errors": [{
      "_type": "XTTemplateError",
      "name": "TemplateError",
      "message": "Unopened tag",
      "properties": {
        "xtag": "foo",
        "id": "unopened_tag",
        "context": "foo",
        "offset": 3,
        "explanation": "The tag beginning with \"foo\" is unopened",
        "file": "word/document.xml"
      }
    }, {
      "_type": "XTTemplateError",
      "name": "TemplateError",
      "message": "Unclosed tag",
      "properties": {
        "xtag": "user,",
        "id": "unclosed_tag",
        "context": "{user, my age is ",
        "offset": 11,
        "explanation": "The tag beginning with \"{user, my \" is unclosed",
        "file": "word/document.xml"
      }
    }, {
      "_type": "XTTemplateError",
      "name": "TemplateError",
      "message": "Unopened tag",
      "properties": {
        "xtag": "bang",
        "id": "unopened_tag",
        "context": "}!Hi bang",
        "offset": 41,
        "explanation": "The tag beginning with \"}!Hi bang\" is unopened",
        "file": "word/document.xml"
      }
    }, {
      "_type": "XTTemplateError",
      "name": "TemplateError",
      "message": "Unclosed tag",
      "properties": {
        "xtag": "user,",
        "id": "unclosed_tag",
        "context": "{user, my age is ",
        "offset": 123,
        "explanation": "The tag beginning with \"{user, my \" is unclosed",
        "file": "word/document.xml"
      }
    }, {
      "_type": "XTTemplateError",
      "name": "TemplateError",
      "message": "Unclosed tag",
      "properties": {
        "xtag": "bar!",
        "id": "unclosed_tag",
        "context": "{bar!",
        "offset": 140,
        "explanation": "The tag beginning with \"{bar!\" is unclosed",
        "file": "word/document.xml"
      }
    }],
    "id": "multi_error",
    "explanation": "The template has multiple errors"
  }
};
exports["ParagraphLoop should not fail when having paragraph in paragraph"] = "\n(0)<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\n(0)<w:document xmlns:wpc=\"http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas\" 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:mc=\"http://schemas.openxmlformats.org/markup-compatibility/2006\" xmlns:aink=\"http://schemas.microsoft.com/office/drawing/2016/ink\" xmlns:am3d=\"http://schemas.microsoft.com/office/drawing/2017/model3d\" xmlns:o=\"urn:schemas-microsoft-com:office:office\" xmlns:r=\"http://schemas.openxmlformats.org/officeDocument/2006/relationships\" xmlns:m=\"http://schemas.openxmlformats.org/officeDocument/2006/math\" xmlns:v=\"urn:schemas-microsoft-com:vml\" xmlns:wp14=\"http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing\" xmlns:wp=\"http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing\" xmlns:w10=\"urn:schemas-microsoft-com:office:word\" xmlns:w=\"http://schemas.openxmlformats.org/wordprocessingml/2006/main\" 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:wpg=\"http://schemas.microsoft.com/office/word/2010/wordprocessingGroup\" xmlns:wpi=\"http://schemas.microsoft.com/office/word/2010/wordprocessingInk\" xmlns:wne=\"http://schemas.microsoft.com/office/word/2006/wordml\" xmlns:wps=\"http://schemas.microsoft.com/office/word/2010/wordprocessingShape\" mc:Ignorable=\"w14 w15 w16se w16cid wp14\">\n(1)   <w:body>\n*********START LOOP OF hi\n(3)         <w:p>\n(4)            <w:r>\n(5)               <w:t xml:space=\"preserve\">\n(5)               </w:t>\n(4)            </w:r>\n(4)            <w:p w14:paraId=\"736A2D9F\" w14:textId=\"77777777\" w:rsidR=\"008E1095\" w:rsidRDefault=\"008E1095\"/>\n(4)            <w:sdt>\n(5)               <w:sdtPr><w:alias w:val=\"SF:Table\"/><w:id w:val=\"2039776175\"/><w:placeholder><w:docPart w:val=\"CFCF8C7E6B33489A9DD50D7417AD410D\"/></w:placeholder><w15:color w:val=\"008000\"/><w15:appearance w15:val=\"hidden\"/></w:sdtPr>\n(5)               <w:sdtContent>\n(6)                  <w:p w14:paraId=\"4800949B\" w14:textId=\"77777777\" w:rsidR=\"00D3440B\" w:rsidRDefault=\"00D3440B\" w:rsidP=\"00D3440B\"/>\n(6)                  <w:tbl>\n(7)                     <w:tblPr><w:tblStyle w:val=\"TableGrid\"/><w:tblW w:w=\"0\" w:type=\"auto\"/><w:tblLook w:val=\"0660\" w:firstRow=\"1\" w:lastRow=\"1\" w:firstColumn=\"0\" w:lastColumn=\"0\" w:noHBand=\"1\" w:noVBand=\"1\"/></w:tblPr><w:tblGrid><w:gridCol w:w=\"2909\"/><w:gridCol w:w=\"2928\"/><w:gridCol w:w=\"2793\"/></w:tblGrid>\n(7)                     <w:tr w:rsidR=\"00D3440B\" w14:paraId=\"5887C255\" w14:textId=\"77777777\" w:rsidTr=\"00F617CB\">\n(8)                        <w:trPr><w:tblHeader/></w:trPr>\n(8)                        <w:tc>\n(9)                           <w:tcPr><w:tcW w:w=\"0\" w:type=\"auto\"/></w:tcPr>\n(9)                           <w:p w14:paraId=\"5951DD51\" w14:textId=\"77777777\" w:rsidR=\"00D3440B\" w:rsidRDefault=\"00D3440B\" w:rsidP=\"00F617CB\">\n(10)                              <w:r>\n(11)                                 <w:t xml:space=\"preserve\">\n(12)                                    name\n(11)                                 </w:t>\n(10)                              </w:r>\n(9)                           </w:p>\n(8)                        </w:tc>\n(8)                        <w:tc>\n(9)                           <w:tcPr><w:tcW w:w=\"0\" w:type=\"auto\"/></w:tcPr>\n(9)                           <w:p w14:paraId=\"34A4528E\" w14:textId=\"77777777\" w:rsidR=\"00D3440B\" w:rsidRDefault=\"00D3440B\" w:rsidP=\"00F617CB\">\n(10)                              <w:r>\n(11)                                 <w:t xml:space=\"preserve\">\n(12)                                    phone\n(11)                                 </w:t>\n(10)                              </w:r>\n(9)                           </w:p>\n(8)                        </w:tc>\n(8)                        <w:tc>\n(9)                           <w:tcPr><w:tcW w:w=\"0\" w:type=\"auto\"/></w:tcPr>\n(9)                           <w:p w14:paraId=\"1EFFDB2B\" w14:textId=\"77777777\" w:rsidR=\"00D3440B\" w:rsidRDefault=\"00D3440B\" w:rsidP=\"00F617CB\">\n(10)                              <w:r>\n(11)                                 <w:t xml:space=\"preserve\">\n(12)                                    website\n(11)                                 </w:t>\n(10)                              </w:r>\n(9)                           </w:p>\n(8)                        </w:tc>\n(7)                     </w:tr>\n(7)                     <w:tr w:rsidR=\"00D3440B\" w14:paraId=\"53971E16\" w14:textId=\"77777777\" w:rsidTr=\"00F617CB\">\n(8)                        <w:sdt>\n(9)                           <w:sdtPr><w:alias w:val=\"SF:R\"/><w:id w:val=\"1927457022\"/><w15:color w:val=\"008000\"/><w15:appearance w15:val=\"hidden\"/></w:sdtPr>\n(9)                           <w:sdtContent>\n(10)                              <w:tc>\n(11)                                 <w:tcPr><w:tcW w:w=\"0\" w:type=\"auto\"/></w:tcPr>\n(11)                                 <w:p w14:paraId=\"6B371C2E\" w14:textId=\"77777777\" w:rsidR=\"00D3440B\" w:rsidRDefault=\"00D3440B\" w:rsidP=\"00F617CB\">\n(12)                                    <w:pPr>\n(13)                                       <w:spacing w:line=\"360\" w:lineRule=\"auto\"/>\n(13)                                       <w:jc w:val=\"both\"/>\n(12)                                    </w:pPr>\n(12)                                    <w:r>\n(13)                                       <w:t xml:space=\"preserve\">\n=============================================={foo}\n(13)                                       </w:t>\n(12)                                    </w:r>\n(11)                                 </w:p>\n(10)                              </w:tc>\n(9)                           </w:sdtContent>\n(8)                        </w:sdt>\n(8)                        <w:sdt>\n(9)                           <w:sdtPr><w:alias w:val=\"SF:R\"/><w:id w:val=\"1556285925\"/><w15:color w:val=\"008000\"/><w15:appearance w15:val=\"hidden\"/></w:sdtPr>\n(9)                           <w:sdtContent>\n(10)                              <w:tc>\n(11)                                 <w:tcPr><w:tcW w:w=\"0\" w:type=\"auto\"/></w:tcPr>\n(11)                                 <w:p w14:paraId=\"3C4100BB\" w14:textId=\"77777777\" w:rsidR=\"00D3440B\" w:rsidRDefault=\"00D3440B\" w:rsidP=\"00F617CB\">\n(12)                                    <w:pPr>\n(13)                                       <w:spacing w:line=\"360\" w:lineRule=\"auto\"/>\n(13)                                       <w:jc w:val=\"both\"/>\n(12)                                    </w:pPr>\n(12)                                    <w:r>\n(13)                                       <w:t xml:space=\"preserve\">\n=============================================={bar}\n(13)                                       </w:t>\n(12)                                    </w:r>\n(11)                                 </w:p>\n(10)                              </w:tc>\n(9)                           </w:sdtContent>\n(8)                        </w:sdt>\n(8)                        <w:sdt>\n(9)                           <w:sdtPr><w:alias w:val=\"SF:R\"/><w:id w:val=\"-788971804\"/><w15:color w:val=\"008000\"/><w15:appearance w15:val=\"hidden\"/></w:sdtPr>\n(9)                           <w:sdtContent>\n(10)                              <w:tc>\n(11)                                 <w:tcPr><w:tcW w:w=\"0\" w:type=\"auto\"/></w:tcPr>\n(11)                                 <w:p w14:paraId=\"24C5CEB1\" w14:textId=\"77777777\" w:rsidR=\"00D3440B\" w:rsidRDefault=\"00D3440B\" w:rsidP=\"00F617CB\">\n(12)                                    <w:pPr>\n(13)                                       <w:spacing w:line=\"360\" w:lineRule=\"auto\"/>\n(13)                                       <w:jc w:val=\"both\"/>\n(12)                                    </w:pPr>\n(12)                                    <w:r>\n(13)                                       <w:t xml:space=\"preserve\">\n=============================================={bar}\n(13)                                       </w:t>\n(12)                                    </w:r>\n(11)                                 </w:p>\n(10)                              </w:tc>\n(9)                           </w:sdtContent>\n(8)                        </w:sdt>\n(7)                     </w:tr>\n(6)                  </w:tbl>\n(6)                  <w:p w14:paraId=\"676A1E43\" w14:textId=\"77777777\" w:rsidR=\"00D3440B\" w:rsidRDefault=\"00D3440B\" w:rsidP=\"00D3440B\"/>\n(5)               </w:sdtContent>\n(4)            </w:sdt>\n(4)            <w:p w14:paraId=\"22D858B2\" w14:textId=\"69A6ACE6\" w:rsidR=\"009843AE\" w:rsidRDefault=\"00EB53B3\"/>\n(3)         </w:p>\n*********END LOOP OF hi\n(1)   </w:body>\n(0)</w:document>";
exports["Pptx generation should work with loop table"] = [{
  "tag": "products",
  "lIndex": 59,
  "value": [[{
    "tag": "name",
    "lIndex": 62,
    "value": "Acme"
  }, {
    "tag": "price",
    "lIndex": 80,
    "value": 10
  }], [{
    "tag": "name",
    "lIndex": 62,
    "value": "Ecma"
  }, {
    "tag": "price",
    "lIndex": 80,
    "value": 20
  }]]
}];
© 2025 GrazzMean-Shell