{"project":"html2pdfjs","branch":"main","commit":"1693be51777f2ed9544dada1c3429aa1f79492b0","component":{"name":"HomePage","nodes":{"root":{"tag":"div","type":"element","children":["qUZX5B_obx9JdrREoZr8I"],"classes":{"bTqdax":{"formula":{"type":"value","value":true}}},"customProperties":{}},"-bJVUs5BMQoP7bjFs9kdh":{"tag":"p","type":"element","children":["wUjBI6kuHp28alXCXPOBh"],"classes":{"fGkzK":{"formula":{"type":"value","value":true}}},"customProperties":{}},"-dJpn9svpOSQQEPYTLoUE":{"tag":"input","type":"element","attrs":{"type":{"type":"value","value":"text"},"value":{"path":["Variables","orientation"],"type":"path"},"placeholder":{"type":"value","value":""}},"events":{"input":{"actions":[{"data":{"path":["Event","target","value"],"type":"path"},"type":"SetVariable","variable":"orientation"}],"trigger":"input"}},"classes":{"bFgXov":{"formula":{"type":"value","value":true}}},"customProperties":{}},"0RZC-RpXQmonWeFyYGRCz":{"tag":"td","type":"element","children":["jkOrzNEogklPfgvaBjsXQ"],"classes":{"fByBIF":{"formula":{"type":"value","value":true}}},"customProperties":{}},"0UOW2OdKp5CPOIgUtBnRp":{"tag":"td","type":"element","children":["cJGeoqgw20QbdpIlydXDC"],"classes":{"fByBIF":{"formula":{"type":"value","value":true}}},"customProperties":{}},"0WVYaccit9uoYb1zhR1k7":{"type":"text","value":{"type":"value","value":"Guide"}},"21KkvZsAmqJmiSo47gev8":{"type":"text","value":{"type":"value","value":"The quality of images in the PDF, from 0 to 1 (default: 0.98)."}},"2CSJD1z0MJImvROLyiSli":{"type":"text","value":{"type":"value","value":"Events"}},"2McQVvhh3c456XS8UFOq5":{"type":"text","value":{"type":"value","value":"pdfGenerationFailed"}},"2rgze7sWg4pH2jKwO8Mn1":{"tag":"div","type":"element","children":["WjcpuHWSVTMO9y8QqvsKG","-dJpn9svpOSQQEPYTLoUE"],"classes":{"dubyRi":{"formula":{"type":"value","value":true}}},"customProperties":{}},"2wLefXVRZBS7Y1D4DY3qP":{"tag":"h2","type":"element","children":["0WVYaccit9uoYb1zhR1k7"],"classes":{"izyDZ":{"formula":{"type":"value","value":true}}},"customProperties":{}},"37V2qPiMCXYjX3HPIkfHe":{"tag":"div","type":"element","children":["HdLQFzINRI3KH1Vlf1TBj","wq5_W_6UHyqR8OGs_54zr"],"classes":{"bkeoKw":{"formula":{"type":"value","value":true}}},"customProperties":{}},"3SpNUBwKroQakJqHL5RcC":{"type":"text","value":{"type":"value","value":"unit"}},"3sx5ug4E_541loOreslZ_":{"tag":"td","type":"element","children":["I2ccFO-mUCuJRBoZfVgYo"],"classes":{"fByBIF":{"formula":{"type":"value","value":true}}},"customProperties":{}},"51gdQUFdSfGswAFmjTC_L":{"tag":"li","type":"element","children":["eooyeUNQlg1KdKzgZuAfo","xyuX-nrX6Td88XUn9x6qd"],"classes":{"cEskVI":{"formula":{"type":"value","value":true}}},"customProperties":{}},"5P84Of1l6IpLLJDcms6tx":{"tag":"label","type":"element","attrs":{"title":{"type":"value","value":"fileName"}},"children":["8OWx32Kgxf3DeuDfAtsNY"],"classes":{"cvzyeh":{"formula":{"type":"value","value":true}}},"customProperties":{}},"5T4TYTBWumflPSNTMLhQu":{"tag":"h3","type":"element","children":["hFo8uJ51QQ_OLJ_KHvJlf"],"classes":{"blVCsl":{"formula":{"type":"value","value":true}}},"customProperties":{}},"5yGVuuj3ObKkYVjxYEYhy":{"tag":"td","type":"element","children":["CC6f1_LNAQ3Tt2qQIPNe8"],"classes":{"bXuRfo":{"formula":{"type":"value","value":true}}},"customProperties":{}},"616n7TVOO6f-PV1o3Ttcf":{"tag":"section","type":"element","children":["rPritJtWLr5om5Mf7ZQl4","j05a1EF9qqP54ALyfXibA","dPIDQY2NRCodcOF5VifV1"],"classes":{"tSDEA":{"formula":{"type":"value","value":true}}},"customProperties":{}},"67nXFvf9Fg7nxk9dy88VG":{"tag":"td","type":"element","children":["b1onMveeJIfT-HjOJw1IC"],"classes":{"bXuRfo":{"formula":{"type":"value","value":true}}},"customProperties":{}},"6N45ngHYMTVxVMVsCqBSd":{"tag":"td","type":"element","children":["sH1BO5GE2b9wVkrJYQQdh"],"classes":{"fByBIF":{"formula":{"type":"value","value":true}}},"customProperties":{}},"6PGj96AmATcM9sOxJS3fb":{"tag":"tr","type":"element","children":["HjGQLgOwh8jgZsRluBrnN","0RZC-RpXQmonWeFyYGRCz"],"classes":{"dbSwHR":{"formula":{"type":"value","value":true}}},"customProperties":{}},"6UZC_ISh9-OebCRjH0sHv":{"tag":"h3","type":"element","children":["CiZ6bdYzUzdzI-BVa0Mls"],"classes":{"blVCsl":{"formula":{"type":"value","value":true}}},"customProperties":{}},"6VHMgnyT_wxRewnktFWHf":{"tag":"li","type":"element","children":["IFMQzezimFx-N4DfwGM48","kK7jumbGKUJc9_U3Pz-4H"],"classes":{"cEskVI":{"formula":{"type":"value","value":true}}},"customProperties":{}},"6elHs5bKFPAasAm5lrTTY":{"tag":"p","type":"element","children":["izDg-JMFuh9MDzTJ1yGHu"],"classes":{"fGkzK":{"formula":{"type":"value","value":true}}},"customProperties":{}},"6eu1I68GWDE7CQs_D3fVa":{"tag":"li","type":"element","children":["k7GYL_5fydmBpndRRBDPV","DjF6n2v73sL8oqjrgiDfJ"],"classes":{"cEskVI":{"formula":{"type":"value","value":true}}},"customProperties":{}},"6teMbEBBT1H-YrUXvUVP_":{"id":"G9NMRjsMq6XnzpGNemg81","tag":"ul","type":"element","children":["6VHMgnyT_wxRewnktFWHf"],"classes":{"fBBdzh":{"formula":{"type":"value","value":true}}},"customProperties":{}},"7-766aavQ4OdHNQHgnV8W":{"tag":"h2","type":"element","children":["pGdhQYBY8oYGkxIjg72Mj"],"classes":{"izyDZ":{"formula":{"type":"value","value":true}}},"customProperties":{}},"87eadmVP11zAMzSzK6AYP":{"tag":"p","type":"element","children":["lPI30qVIYlwHGL5CiusKm"],"classes":{"fGkzK":{"formula":{"type":"value","value":true}}},"customProperties":{}},"8DI6XeJgVBS6DpJjydPGV":{"type":"text","value":{"type":"value","value":"Why does the generated PDF have blank pages?"}},"8JMmh1JG6yvg9WglgEwJc":{"tag":"div","type":"element","children":["gKOdXbW-on_939JSdA1t-"],"classes":{"CsusC":{"formula":{"type":"value","value":true}}},"customProperties":{}},"8Ntna7wiqYl5FXNijkdbA":{"tag":"label","type":"element","attrs":{"title":{"type":"value","value":"format"}},"children":["g4ng86C71fzGGAZxeBR-M"],"classes":{"cvzyeh":{"formula":{"type":"value","value":true}}},"customProperties":{}},"8Nx0LFy4mN5KIbi1W8k9T":{"tag":"td","type":"element","children":["Sg2F1YMCd3uJpFCqGqNyB"],"classes":{"fByBIF":{"formula":{"type":"value","value":true}}},"customProperties":{}},"8OWx32Kgxf3DeuDfAtsNY":{"type":"text","value":{"type":"value","value":"fileName"}},"9ORk3TJSTsApCYdBUpRkA":{"tag":"p","type":"element","children":["nx7DIukfYxB_oOx4Z36Pb"],"classes":{"eleUpJ":{"formula":{"type":"value","value":true}}},"customProperties":{}},"9iR5AIyMtmeD6bhS0yNiU":{"type":"text","value":{"type":"value","value":"a) Target Element\n • Add an element in your app layout that you want to export as a PDF.\n • Add an attribute called 'id'. Assign a unique id. You will use this in an argument later.\n • If you want to export an entire page add the id to the root element.\n • You can have multiple exportable elements, but each element needs its own unique id."}},"AbLLhMCO06uRtF1JSwWi4":{"tag":"p","type":"element","children":["X7APerl6wdJtLOqRWSlQG"],"classes":{"eleUpJ":{"formula":{"type":"value","value":true}}},"customProperties":{}},"AyxTqccngzPpp9a9GJo0d":{"id":"G9NMRjsMq6XnzpGNemg81","tag":"ul","type":"element","children":["xcuPYSS7V7NK722PsOIpD"],"classes":{"fBBdzh":{"formula":{"type":"value","value":true}}},"customProperties":{}},"BfySxswl7xnQqRxzJZ9nI":{"tag":"li","type":"element","children":["om0EmQGA7YnfWVGdxx9MS","otmBhvVpEb31YW0AnHtmd"],"classes":{"cEskVI":{"formula":{"type":"value","value":true}}},"customProperties":{}},"CC6f1_LNAQ3Tt2qQIPNe8":{"type":"text","value":{"type":"value","value":"scrollY"}},"CKUpC8tYsL4t33AUHqQCf":{"tag":"td","type":"element","children":["vNiJyNT1QNXyipiG2EtFU"],"classes":{"bXuRfo":{"formula":{"type":"value","value":true}}},"customProperties":{}},"Cch2L6t1REgnBUV66wN9q":{"type":"text","value":{"type":"value","value":"Review arguments below for specifications of configuration options."}},"CiZ6bdYzUzdzI-BVa0Mls":{"type":"text","value":{"type":"value","value":"takeScreenshotPreview"}},"D2aIDiP5YhC6DjhjrFLXh":{"type":"text","value":{"type":"value","value":"Intro"}},"D6UWJtOMSzQdsCo3sTgch":{"type":"text","value":{"type":"value","value":"imageQuality"}},"D7TJ0O99CnH0rtlMxtc2R":{"type":"text","value":{"type":"value","value":"targetElementId"}},"DJNWMpKUjXHRMWjJJgd0c":{"type":"text","value":{"type":"value","value":"useCORS"}},"DWXXPODmwonvlRnjGuSpA":{"tag":"h3","type":"element","children":["kTPcMoP86vrNh-eVAisx0"],"classes":{"chMFyh":{"formula":{"type":"value","value":true}}},"customProperties":{}},"DjF6n2v73sL8oqjrgiDfJ":{"tag":"p","type":"element","children":["eX5-c-p36MoIlx1PYTKT7"],"classes":{"eleUpJ":{"formula":{"type":"value","value":true}}},"customProperties":{}},"EXnbNtrjc3kBW3RfpL92J":{"tag":"section","type":"element","children":["2wLefXVRZBS7Y1D4DY3qP","LvWHmxhjAyengzOzQTfls","YHdpHXS_sIsb055twKxJ0","oyMpZE1oPXlc7vqDOhZw2","MyRWDLv89nS_fI1ixLLlG"],"classes":{"tSDEA":{"formula":{"type":"value","value":true}}},"customProperties":{}},"EczYGgequmQjUAnUTq-A5":{"tag":"h3","type":"element","children":["drpn1QyoO-5rmcOn9oMKC"],"classes":{"blVCsl":{"formula":{"type":"value","value":true}}},"customProperties":{}},"EyiFUa6WtCbx2oTHd4OV4":{"type":"text","value":{"type":"value","value":"FAQ"}},"F1y04ED8RrisKSJOXb20z":{"type":"text","value":{"type":"value","value":"Specifies the vertical scroll position for rendering (default: 0)."}},"F6zbetvc0hcX7XLWbh6vB":{"type":"text","value":{"type":"value","value":"pdfGenerated"}},"FwFWJqr6V2Xo4aPaIqxc8":{"tag":"div","type":"element","children":["b_EHJjojFRaSy2SNyfglI","HHpcgBMI0kRMhkf9DI_oo","2rgze7sWg4pH2jKwO8Mn1"],"classes":{"iKkHA":{"formula":{"type":"value","value":true}}},"customProperties":{}},"GNbZWRLQ70GI3jCEaaG7U":{"tag":"tr","type":"element","children":["67nXFvf9Fg7nxk9dy88VG","yDJmepRaZkms7hXQnCnbj"],"classes":{"dbSwHR":{"formula":{"type":"value","value":true}}},"customProperties":{}},"H90oIkanI7-lezmCp8s4B":{"type":"text","value":{"type":"value","value":"a) Example - Add Buttons:\n • Create a button to trigger the generatePdf action.\n\nb) Add event to button:\n • Attach a workflow to the button and add the GeneratePdf action.\n"}},"HGqfjdIjk4aO9agWL-dcX":{"type":"text","value":{"type":"value","value":"a) Add the following arguments:\n • targetElementId: The id of the target element to convert (e.g., “capture”).\n • fileName: The desired file name for the PDF (e.g., “document.pdf”).\n • margin: The margin around the PDF content (default: 0).\n • scale: The rendering scale for higher or lower resolution (default: 1).\n • imageQuality: The quality of images in the PDF, from 0 to 1 (default: 0.98).\n • unit: The unit of measurement for the PDF (e.g., “in”, “mm”, or “pt”; default: “in”).\n • format: The page size of the PDF (e.g., “letter”, “A4”; default: “letter”).\n • orientation: The page orientation (“portrait” or “landscape”; default: “portrait”).\n • scrollY: Adjust the vertical scroll position when rendering the element (default: 0).\n • useCORS: Enable cross-origin resource sharing to include external resources (default: false).\n"}},"HHpcgBMI0kRMhkf9DI_oo":{"tag":"div","type":"element","children":["8Ntna7wiqYl5FXNijkdbA","g5y8USF766i1RxOQHQABs"],"classes":{"dubyRi":{"formula":{"type":"value","value":true}}},"customProperties":{}},"HdLQFzINRI3KH1Vlf1TBj":{"tag":"h4","type":"element","children":["W9MSdopWEY62FvT44C3zi"],"classes":{"cwJrhv":{"formula":{"type":"value","value":true}}},"customProperties":{}},"HjGQLgOwh8jgZsRluBrnN":{"tag":"td","type":"element","children":["jPT5XEapICmoXfBaSKJBh"],"classes":{"bXuRfo":{"formula":{"type":"value","value":true}}},"customProperties":{}},"I2ccFO-mUCuJRBoZfVgYo":{"type":"text","value":{"type":"value","value":"Triggered when PDF generation fails, with the error message in the payload."}},"IFMQzezimFx-N4DfwGM48":{"tag":"h3","type":"element","children":["8DI6XeJgVBS6DpJjydPGV"],"classes":{"blVCsl":{"formula":{"type":"value","value":true}}},"customProperties":{}},"J9HXuhMRqjn0gL5iiFyQs":{"tag":"li","type":"element","children":["nwnM9RTgBZ3OzecfdwVH_","9ORk3TJSTsApCYdBUpRkA"],"classes":{"cEskVI":{"formula":{"type":"value","value":true}}},"customProperties":{}},"JH8gdFOuAX_FIuFhYnqW2":{"tag":"tr","type":"element","children":["CKUpC8tYsL4t33AUHqQCf","6N45ngHYMTVxVMVsCqBSd"],"classes":{"dbSwHR":{"formula":{"type":"value","value":true}}},"customProperties":{}},"KC_F8Al6gjcWnzPc0q4tk":{"tag":"tr","type":"element","children":["TJ-BHFCh2xegIj5xeVsKc","elxgEbeo6BtEPMkj1PT5U"],"classes":{"dbSwHR":{"formula":{"type":"value","value":true}}},"customProperties":{}},"KUAZlYM5uhJws3SPf7z-k":{"tag":"td","type":"element","children":["F6zbetvc0hcX7XLWbh6vB"],"classes":{"bXuRfo":{"formula":{"type":"value","value":true}}},"customProperties":{}},"KxGkB31ZylJ_4fcVU5YJo":{"tag":"tr","type":"element","children":["wJT18QlFEHTiBIlvTVze5","3sx5ug4E_541loOreslZ_"],"classes":{"dbSwHR":{"formula":{"type":"value","value":true}}},"customProperties":{}},"KzFHX8WL1Nkb6eESZVX79":{"tag":"tr","type":"element","children":["nEoIq4tsJIWzEa4f45Oio","0UOW2OdKp5CPOIgUtBnRp"],"classes":{"dbSwHR":{"formula":{"type":"value","value":true}}},"customProperties":{}},"LP3gKpF7zFPfRH47_hDr7":{"tag":"td","type":"element","children":["21KkvZsAmqJmiSo47gev8"],"classes":{"fByBIF":{"formula":{"type":"value","value":true}}},"customProperties":{}},"LvWHmxhjAyengzOzQTfls":{"id":"G9NMRjsMq6XnzpGNemg81","tag":"ul","type":"element","children":["nq314sWGrwEI-XHfgsdeG"],"classes":{"erbmxD":{"formula":{"type":"value","value":true}}},"customProperties":{}},"MyRWDLv89nS_fI1ixLLlG":{"id":"G9NMRjsMq6XnzpGNemg81","tag":"ul","type":"element","children":["51gdQUFdSfGswAFmjTC_L"],"classes":{"erbmxD":{"formula":{"type":"value","value":true}}},"customProperties":{}},"NPX6BuKGqlxDzyMSqVwgw":{"tag":"tr","type":"element","children":["KUAZlYM5uhJws3SPf7z-k","jGMuFXFfRbLHLUU_Yw0Nv"],"classes":{"dbSwHR":{"formula":{"type":"value","value":true}}},"customProperties":{}},"O5tpvZ__YiTTYekKDqDEk":{"tag":"button","type":"element","events":{"click":{"actions":[{"name":"generatePdf","events":{"pdfGenerated":{"actions":[],"trigger":"pdfGenerated"},"pdfGenerationFailed":{"actions":[],"trigger":"pdfGenerationFailed"}},"version":2,"exported":true,"arguments":[{"name":"targetElementId","formula":{"type":"value","value":"capture"}},{"name":"filename","formula":{"path":["Variables","filename"],"type":"path"}},{"name":"margin","formula":{"path":["Variables","margin"],"type":"path"}},{"name":"scale","formula":{"path":["Variables","scale"],"type":"path"}},{"name":"imageQuality","formula":{"path":["Variables","imageQuality"],"type":"path"}},{"name":"unit","formula":{"path":["Variables","unit"],"type":"path"}},{"name":"format","formula":{"path":["Variables","format"],"type":"path"}},{"name":"orientation","formula":{"path":["Variables","orientation"],"type":"path"}},{"name":"scrollY","formula":{"path":["Variables","scrollY"],"type":"path"}},{"name":"useCORS","formula":{"type":"value","value":false}}]}],"trigger":"click"}},"children":["YHcBqiM0A5LUWjXQO-YrR"],"classes":{"bORsOP":{"formula":{"type":"value","value":true}}},"customProperties":{}},"OUK_iGDYWyo0eC34_ER_V":{"tag":"td","type":"element","children":["c6C-_fS9TsxbirSHuTFkx"],"classes":{"fByBIF":{"formula":{"type":"value","value":true}}},"customProperties":{}},"Ocz0955gPBhgnA5gXkqXn":{"tag":"h2","type":"element","children":["D2aIDiP5YhC6DjhjrFLXh"],"classes":{"izyDZ":{"formula":{"type":"value","value":true}}},"customProperties":{}},"OgQBOm_2az5QphjKwB1dI":{"type":"text","value":{"type":"value","value":"This can happen if the target element exceeds the page size. Ensure the format, orientation, and margin arguments are configured correctly, or adjust the content to fit the page."}},"SRnD6ggSM1h7lPfDC86dd":{"tag":"section","type":"element","children":["7-766aavQ4OdHNQHgnV8W","pUjvpFuCgQ-ECp53aWKXc"],"classes":{"tSDEA":{"formula":{"type":"value","value":true}}},"customProperties":{}},"Sg2F1YMCd3uJpFCqGqNyB":{"type":"text","value":{"type":"value","value":"The measurement unit for the PDF (e.g., 'in', 'mm', 'pt') (default: 'in')."}},"SxO6eyZYzqXvy76LX3M7c":{"tag":"td","type":"element","children":["eGegzhN-fPM3WbnvrZOQc"],"classes":{"fByBIF":{"formula":{"type":"value","value":true}}},"customProperties":{}},"TERjSvXDTUcOPAPVQ-RQV":{"type":"text","value":{"type":"value","value":"Why does the PDF generation take a long time?"}},"TJ-BHFCh2xegIj5xeVsKc":{"tag":"td","type":"element","children":["noaCoIkDQRDA49gHMNLdr"],"classes":{"bXuRfo":{"formula":{"type":"value","value":true}}},"customProperties":{}},"V51zvUlCuiGD9-FO7B_s9":{"type":"text","value":{"type":"value","value":"Why does the PDF render elements incorrectly or out of alignment?"}},"Vqxf_8CW-icGEeuw3haqS":{"type":"text","value":{"type":"value","value":"Demo"}},"W9MSdopWEY62FvT44C3zi":{"type":"text","value":{"type":"value","value":"Arguments"}},"WjcpuHWSVTMO9y8QqvsKG":{"tag":"label","type":"element","attrs":{"title":{"type":"value","value":"orientation"}},"children":["fuw92Qhv-LAGd7CRyqjOY"],"classes":{"cvzyeh":{"formula":{"type":"value","value":true}}},"customProperties":{}},"X7APerl6wdJtLOqRWSlQG":{"type":"text","value":{"type":"value","value":"Captures a specified element on your app, generates a screenshot, and displays it in a preview container. Users can visually confirm the screenshot before choosing to download it."}},"XdtIS7kQLBqFP3rYXwLjB":{"tag":"h3","type":"element","children":["hs8oqrDaD59qupBgmdHr4"],"classes":{"blVCsl":{"formula":{"type":"value","value":true}}},"customProperties":{}},"YHcBqiM0A5LUWjXQO-YrR":{"type":"text","value":{"type":"value","value":"Generate PDF"}},"YHdpHXS_sIsb055twKxJ0":{"id":"G9NMRjsMq6XnzpGNemg81","tag":"ul","type":"element","children":["BfySxswl7xnQqRxzJZ9nI"],"classes":{"erbmxD":{"formula":{"type":"value","value":true}}},"customProperties":{}},"YTz0W72uujEmM1baXOaol":{"tag":"p","type":"element","children":["HGqfjdIjk4aO9agWL-dcX"],"classes":{"eleUpJ":{"formula":{"type":"value","value":true}}},"customProperties":{}},"ZB8BcSDiZ1IRnEYNp5wQo":{"id":"G9NMRjsMq6XnzpGNemg81","tag":"ul","type":"element","children":["6eu1I68GWDE7CQs_D3fVa"],"classes":{"fBBdzh":{"formula":{"type":"value","value":true}}},"customProperties":{}},"ZuDzQJYpAzg3shh9AhLo4":{"type":"text","value":{"type":"value","value":"2. Add the Custom Action to a workflow, event, etc."}},"_sDxC-0GYpveSO-s8hZMs":{"type":"text","value":{"type":"value","value":"The generated PDF renders the HTML content as an image, so the text becomes non-selectable. This is due to how html2pdf.js generates documents."}},"aw6F3i0iGgVR2qlyFDEuD":{"tag":"td","type":"element","children":["3SpNUBwKroQakJqHL5RcC"],"classes":{"bXuRfo":{"formula":{"type":"value","value":true}}},"customProperties":{}},"ayYYsgi3VHuVokQAHtntM":{"tag":"p","type":"element","children":["Cch2L6t1REgnBUV66wN9q"],"classes":{"fkeegc":{"formula":{"type":"value","value":true}}},"customProperties":{}},"b-gwpV6FS4vRkcwBEgDoS":{"tag":"tr","type":"element","children":["fVpN4pF9MFMtXhLnUnfvt","LP3gKpF7zFPfRH47_hDr7"],"classes":{"dbSwHR":{"formula":{"type":"value","value":true}}},"customProperties":{}},"b1onMveeJIfT-HjOJw1IC":{"type":"text","value":{"type":"value","value":"orientation"}},"bSYBqFzMwyc_Znu_trLjD":{"tag":"tr","type":"element","children":["wA4X9a5DQqOq9K7DQVx74","OUK_iGDYWyo0eC34_ER_V"],"classes":{"dbSwHR":{"formula":{"type":"value","value":true}}},"customProperties":{}},"b_EHJjojFRaSy2SNyfglI":{"tag":"div","type":"element","children":["5P84Of1l6IpLLJDcms6tx","tADVZTymAmj632HdDl01N"],"classes":{"dubyRi":{"formula":{"type":"value","value":true}}},"customProperties":{}},"bdVX813ourWGALtmvHDX6":{"tag":"p","type":"element","children":["uhkdG54Xmn8ReHAiHtXza"],"classes":{"sahaH":{"formula":{"type":"value","value":true}}},"customProperties":{}},"bhEVsPV_6PZjsIVGDeoCB":{"tag":"table","type":"element","children":["NPX6BuKGqlxDzyMSqVwgw","KxGkB31ZylJ_4fcVU5YJo"],"classes":{"bcLiyJ":{"formula":{"type":"value","value":true}}},"customProperties":{}},"c6C-_fS9TsxbirSHuTFkx":{"type":"text","value":{"type":"value","value":"Sets the name of the file for the downloaded PDF."}},"cJGeoqgw20QbdpIlydXDC":{"type":"text","value":{"type":"value","value":"Enables cross-origin resource sharing for external resources (default: false)."}},"cZ5IeaOTRdJX4wi1oMXUI":{"type":"text","value":{"type":"value","value":"Defines the page orientation ('portrait' or 'landscape'; default: 'portrait')."}},"dPIDQY2NRCodcOF5VifV1":{"tag":"div","type":"element","attrs":{"id":{"type":"value","value":"capture"}},"children":["DWXXPODmwonvlRnjGuSpA","87eadmVP11zAMzSzK6AYP","6elHs5bKFPAasAm5lrTTY","-bJVUs5BMQoP7bjFs9kdh","l8MWjfxK438sdlR0gmPn0"],"classes":{"dZQFzF":{"formula":{"type":"value","value":true}}},"customProperties":{}},"dqfdtfRNAx4sAwoCBvuTY":{"tag":"h4","type":"element","children":["2CSJD1z0MJImvROLyiSli"],"classes":{"cwJrhv":{"formula":{"type":"value","value":true}}},"customProperties":{}},"drpn1QyoO-5rmcOn9oMKC":{"type":"text","value":{"type":"value","value":"3. Configure Workflow Arguments"}},"eGegzhN-fPM3WbnvrZOQc":{"type":"text","value":{"type":"value","value":"Specifies the ID of the HTML element you want to export. Requires a string representing the id of the target element."}},"eX5-c-p36MoIlx1PYTKT7":{"type":"text","value":{"type":"value","value":"If external resources like images or styles are not rendering, ensure the useCORS argument is set to true to allow cross-origin resource sharing."}},"eku7LzBVe3UUWzwZ0Lrku":{"tag":"p","type":"element","children":["zAEc8gzSfs9emxQFywWo4"],"classes":{"eleUpJ":{"formula":{"type":"value","value":true}}},"customProperties":{}},"elxgEbeo6BtEPMkj1PT5U":{"tag":"td","type":"element","children":["oV1K17MlfrBdOhdAkQDaS"],"classes":{"fByBIF":{"formula":{"type":"value","value":true}}},"customProperties":{}},"enhZeffgLx34p6F9Ai3sC":{"tag":"h3","type":"element","children":["hZBooTXXVIZk2swYoGKVo"],"classes":{"blVCsl":{"formula":{"type":"value","value":true}}},"customProperties":{}},"eooyeUNQlg1KdKzgZuAfo":{"tag":"h3","type":"element","children":["x73JbueEguu8gbEEW_nrA"],"classes":{"blVCsl":{"formula":{"type":"value","value":true}}},"customProperties":{}},"fVpN4pF9MFMtXhLnUnfvt":{"tag":"td","type":"element","children":["D6UWJtOMSzQdsCo3sTgch"],"classes":{"bXuRfo":{"formula":{"type":"value","value":true}}},"customProperties":{}},"fuw92Qhv-LAGd7CRyqjOY":{"type":"text","value":{"type":"value","value":"orientation"}},"g4ng86C71fzGGAZxeBR-M":{"type":"text","value":{"type":"value","value":"format"}},"g5y8USF766i1RxOQHQABs":{"tag":"input","type":"element","attrs":{"type":{"type":"value","value":"text"},"value":{"path":["Variables","format"],"type":"path"},"placeholder":{"type":"value","value":""}},"events":{"input":{"actions":[{"data":{"path":["Event","target","value"],"type":"path"},"type":"SetVariable","variable":"format"}],"trigger":"input"}},"classes":{"bFgXov":{"formula":{"type":"value","value":true}}},"customProperties":{}},"gKOdXbW-on_939JSdA1t-":{"tag":"div","type":"element","children":["jD-wKYaGpnUIkDvD7xK3c","bdVX813ourWGALtmvHDX6"],"classes":{"eozNhk":{"formula":{"type":"value","value":true}}},"customProperties":{}},"gfd5_OpTJ5X07HcJEU3PM":{"tag":"tr","type":"element","children":["zYqNVQwbnwZXa7LWfJwRk","SxO6eyZYzqXvy76LX3M7c"],"classes":{"dbSwHR":{"formula":{"type":"value","value":true}}},"customProperties":{}},"gpqlWwgQfYDQ_WL_IlbXH":{"tag":"li","type":"element","children":["EczYGgequmQjUAnUTq-A5","YTz0W72uujEmM1baXOaol"],"classes":{"cEskVI":{"formula":{"type":"value","value":true}}},"customProperties":{}},"hFo8uJ51QQ_OLJ_KHvJlf":{"type":"text","value":{"type":"value","value":"Why is part of my content missing in the PDF?"}},"hOgpDq4YZ2bjuWZIqohsm":{"type":"text","value":{"type":"value","value":"Blank pages may appear if the target element includes hidden or empty content. Ensure the target element contains visible content before generating the PDF."}},"hVG2Qu2I9ihxg1FaW89ym":{"tag":"section","type":"element","children":["Ocz0955gPBhgnA5gXkqXn","8JMmh1JG6yvg9WglgEwJc"],"classes":{"tSDEA":{"formula":{"type":"value","value":true}}},"customProperties":{}},"hZBooTXXVIZk2swYoGKVo":{"type":"text","value":{"type":"value","value":"Why can’t I select text in the generated PDF?"}},"hrfkieBelE0LvSZZ7kLwj":{"tag":"tr","type":"element","children":["aw6F3i0iGgVR2qlyFDEuD","8Nx0LFy4mN5KIbi1W8k9T"],"classes":{"dbSwHR":{"formula":{"type":"value","value":true}}},"customProperties":{}},"hs8oqrDaD59qupBgmdHr4":{"type":"text","value":{"type":"value","value":"1. Setup Exportable Element(s) to Your App"}},"iO3XYJbBrTZNq8hvnVUw1":{"tag":"p","type":"element","children":["OgQBOm_2az5QphjKwB1dI"],"classes":{"eleUpJ":{"formula":{"type":"value","value":true}}},"customProperties":{}},"ihGBdZm3IiqAeIQL-stiM":{"tag":"p","type":"element","children":["9iR5AIyMtmeD6bhS0yNiU"],"classes":{"eleUpJ":{"formula":{"type":"value","value":true}}},"customProperties":{}},"ioaM82TVWw8TyRPB80WlJ":{"tag":"td","type":"element","children":["F1y04ED8RrisKSJOXb20z"],"classes":{"fByBIF":{"formula":{"type":"value","value":true}}},"customProperties":{}},"ipIXskWP16b1nkOaNmeJd":{"tag":"section","type":"element","children":["wGJ_0pw1z8fsA1rVvypKM","p0XzwIUXahw9uiOWcoAtz","ZB8BcSDiZ1IRnEYNp5wQo","x8u9UdBblpZhIrx5MZMBX","AyxTqccngzPpp9a9GJo0d","yM14gqMSTByOgEENiAhNt","6teMbEBBT1H-YrUXvUVP_"],"classes":{"tSDEA":{"formula":{"type":"value","value":true}}},"customProperties":{}},"izDg-JMFuh9MDzTJ1yGHu":{"type":"text","value":{"type":"value","value":"Lorem ipsum odor amet, consectetuer adipiscing elit. Nec ligula fermentum sit sed a phasellus suspendisse vitae ultrices. Semper metus venenatis volutpat tortor mattis dolor fames. Himenaeos nam nulla sit accumsan cras inceptos vitae maximus. Sit volutpat metus posuere pulvinar in suscipit tempor. Diam ultricies odio sem libero tortor metus. Urna mauris consectetur vel vehicula quisque; porttitor ut. Venenatis vulputate auctor morbi efficitur integer risus. Massa eros tempor urna habitant; imperdiet condimentum platea?"}},"j05a1EF9qqP54ALyfXibA":{"tag":"div","type":"element","attrs":{"id":{"type":"value","value":""}},"children":["wz4fmxePKYZwm4Run6D3E"],"classes":{"eZwqpn":{"formula":{"type":"value","value":true}}},"customProperties":{}},"jD-wKYaGpnUIkDvD7xK3c":{"tag":"h3","type":"element","children":["lUPGFYkSWa1r-o8-U5uH1"],"classes":{"izyDZ":{"formula":{"type":"value","value":true}}},"customProperties":{}},"jGMuFXFfRbLHLUU_Yw0Nv":{"tag":"td","type":"element","children":["qOThltN3TpDvq7PVhcaBD"],"classes":{"fByBIF":{"formula":{"type":"value","value":true}}},"customProperties":{}},"jPT5XEapICmoXfBaSKJBh":{"type":"text","value":{"type":"value","value":"margin"}},"jkOrzNEogklPfgvaBjsXQ":{"type":"text","value":{"type":"value","value":"Sets the margin around the PDF content (default: 0)."}},"k7GYL_5fydmBpndRRBDPV":{"tag":"h3","type":"element","children":["tC2E40YpGmz5ZSl4Zqc1D"],"classes":{"blVCsl":{"formula":{"type":"value","value":true}}},"customProperties":{}},"kK7jumbGKUJc9_U3Pz-4H":{"tag":"p","type":"element","children":["hOgpDq4YZ2bjuWZIqohsm"],"classes":{"eleUpJ":{"formula":{"type":"value","value":true}}},"customProperties":{}},"kTPcMoP86vrNh-eVAisx0":{"type":"text","value":{"type":"value","value":"PDF Printing Example"}},"l8MWjfxK438sdlR0gmPn0":{"tag":"img","type":"element","attrs":{"alt":{"type":"value","value":""},"src":{"type":"value","value":"/cdn-cgi/imagedelivery/ZIty0Vhmkm0nD-fBKJrTZQ/html2pdfjs:PDFImage.jpg/256"}},"classes":{"XSJwD":{"formula":{"type":"value","value":true}}},"customProperties":{}},"lPI30qVIYlwHGL5CiusKm":{"type":"text","value":{"type":"value","value":"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."}},"lUPGFYkSWa1r-o8-U5uH1":{"type":"text","value":{"type":"value","value":"html2pdf.js"}},"lmZ_kpYonYII8GlA6pZHG":{"tag":"li","type":"element","children":["6UZC_ISh9-OebCRjH0sHv","AbLLhMCO06uRtF1JSwWi4","37V2qPiMCXYjX3HPIkfHe","zXyuWkMARxG4sy78AeCde"],"classes":{"cEskVI":{"formula":{"type":"value","value":true}}},"customProperties":{}},"nEoIq4tsJIWzEa4f45Oio":{"tag":"td","type":"element","children":["DJNWMpKUjXHRMWjJJgd0c"],"classes":{"bXuRfo":{"formula":{"type":"value","value":true}}},"customProperties":{}},"noaCoIkDQRDA49gHMNLdr":{"type":"text","value":{"type":"value","value":"scale"}},"nq314sWGrwEI-XHfgsdeG":{"tag":"li","type":"element","children":["XdtIS7kQLBqFP3rYXwLjB","ihGBdZm3IiqAeIQL-stiM"],"classes":{"cEskVI":{"formula":{"type":"value","value":true}}},"customProperties":{}},"nwnM9RTgBZ3OzecfdwVH_":{"tag":"h3","type":"element","children":["TERjSvXDTUcOPAPVQ-RQV"],"classes":{"blVCsl":{"formula":{"type":"value","value":true}}},"customProperties":{}},"nx7DIukfYxB_oOx4Z36Pb":{"type":"text","value":{"type":"value","value":"High-resolution rendering (increased scale) or complex HTML structures with many images or styles can slow down the process. Simplify the content or reduce the scale for faster generation."}},"oV1K17MlfrBdOhdAkQDaS":{"type":"text","value":{"type":"value","value":"Adjusts the rendering resolution of the PDF (default: 1)."}},"ofY6w3NM_XqVQOySk0Ss6":{"tag":"tr","type":"element","children":["5yGVuuj3ObKkYVjxYEYhy","ioaM82TVWw8TyRPB80WlJ"],"classes":{"dbSwHR":{"formula":{"type":"value","value":true}}},"customProperties":{}},"oj6EIY31DrLxoFVPnS9tR":{"type":"text","value":{"type":"value","value":"filename"}},"om0EmQGA7YnfWVGdxx9MS":{"tag":"h3","type":"element","children":["ZuDzQJYpAzg3shh9AhLo4"],"classes":{"blVCsl":{"formula":{"type":"value","value":true}}},"customProperties":{}},"otmBhvVpEb31YW0AnHtmd":{"tag":"p","type":"element","children":["H90oIkanI7-lezmCp8s4B"],"classes":{"eleUpJ":{"formula":{"type":"value","value":true}}},"customProperties":{}},"oyMpZE1oPXlc7vqDOhZw2":{"id":"G9NMRjsMq6XnzpGNemg81","tag":"ul","type":"element","children":["gpqlWwgQfYDQ_WL_IlbXH"],"classes":{"erbmxD":{"formula":{"type":"value","value":true}}},"customProperties":{}},"p0XzwIUXahw9uiOWcoAtz":{"id":"G9NMRjsMq6XnzpGNemg81","tag":"ul","type":"element","children":["yUMdo6NaT1VqEDohjxrtH"],"classes":{"fBBdzh":{"formula":{"type":"value","value":true}}},"customProperties":{}},"pGdhQYBY8oYGkxIjg72Mj":{"type":"text","value":{"type":"value","value":"Actions"}},"pKuk_9eHeTucIitA377v-":{"type":"text","value":{"type":"value","value":"Configure Page to Download PDF"}},"pUjvpFuCgQ-ECp53aWKXc":{"id":"G9NMRjsMq6XnzpGNemg81","tag":"ul","type":"element","children":["lmZ_kpYonYII8GlA6pZHG"],"classes":{"erbmxD":{"formula":{"type":"value","value":true}}},"customProperties":{}},"qOThltN3TpDvq7PVhcaBD":{"type":"text","value":{"type":"value","value":"Triggered when the PDF is successfully generated, with the filename in the payload."}},"qUZX5B_obx9JdrREoZr8I":{"tag":"main","type":"element","children":["hVG2Qu2I9ihxg1FaW89ym","616n7TVOO6f-PV1o3Ttcf","SRnD6ggSM1h7lPfDC86dd","EXnbNtrjc3kBW3RfpL92J","ipIXskWP16b1nkOaNmeJd"],"classes":{"drWRwT":{"formula":{"type":"value","value":true}}},"customProperties":{}},"rISMo4IRTxPTVSznPedOm":{"tag":"p","type":"element","children":["_sDxC-0GYpveSO-s8hZMs"],"classes":{"eleUpJ":{"formula":{"type":"value","value":true}}},"customProperties":{}},"rPritJtWLr5om5Mf7ZQl4":{"tag":"h2","type":"element","children":["Vqxf_8CW-icGEeuw3haqS"],"classes":{"izyDZ":{"formula":{"type":"value","value":true}}},"customProperties":{}},"rmBx6EuupBAjXJLfH1-P2":{"tag":"h2","type":"element","children":["pKuk_9eHeTucIitA377v-"],"classes":{"eWcOsq":{"formula":{"type":"value","value":true}}},"customProperties":{}},"sH1BO5GE2b9wVkrJYQQdh":{"type":"text","value":{"type":"value","value":"The page size of the PDF (e.g., 'letter', 'A4') (default: 'letter')."}},"tADVZTymAmj632HdDl01N":{"tag":"input","type":"element","attrs":{"type":{"type":"value","value":"text"},"value":{"path":["Variables","filename"],"type":"path"},"placeholder":{"type":"value","value":""}},"events":{"input":{"actions":[{"data":{"path":["Event","target","value"],"type":"path"},"type":"SetVariable","variable":"filename"}],"trigger":"input"}},"classes":{"bFgXov":{"formula":{"type":"value","value":true}}},"customProperties":{}},"tC2E40YpGmz5ZSl4Zqc1D":{"type":"text","value":{"type":"value","value":"Why is my PDF not rendering external images or styles?"}},"uhkdG54Xmn8ReHAiHtXza":{"type":"text","value":{"type":"value","value":"This package converts specific HTML elements into downloadable PDF files using html2pdf.js. It supports configurable options such as margins, image quality, scroll position, link enablement, and cross-origin resource handling. Event triggers notify when PDF generation succeeds (pdfGenerated) or fails (pdfGenerationFailed).\n\nView the html2pdf.js GitHub for more information: https://github.com/eKoopmans/html2pdf.js?tab=readme-ov-file"}},"vNiJyNT1QNXyipiG2EtFU":{"type":"text","value":{"type":"value","value":"format"}},"wA4X9a5DQqOq9K7DQVx74":{"tag":"td","type":"element","children":["oj6EIY31DrLxoFVPnS9tR"],"classes":{"bXuRfo":{"formula":{"type":"value","value":true}}},"customProperties":{}},"wGJ_0pw1z8fsA1rVvypKM":{"tag":"h2","type":"element","children":["EyiFUa6WtCbx2oTHd4OV4"],"classes":{"izyDZ":{"formula":{"type":"value","value":true}}},"customProperties":{}},"wJT18QlFEHTiBIlvTVze5":{"tag":"td","type":"element","children":["2McQVvhh3c456XS8UFOq5"],"classes":{"bXuRfo":{"formula":{"type":"value","value":true}}},"customProperties":{}},"wUjBI6kuHp28alXCXPOBh":{"type":"text","value":{"type":"value","value":"Ac luctus senectus ut tempus, imperdiet sollicitudin sit. Montes hendrerit nulla cras justo magnis a praesent tortor. Quis varius urna penatibus faucibus euismod. Pharetra fusce litora urna ultrices litora. Blandit eu vel, tempus praesent mollis eu lectus. Augue torquent vel netus nisi donec dolor tristique mauris laoreet. Varius convallis faucibus feugiat condimentum ridiculus erat sagittis molestie. Dapibus inceptos iaculis etiam venenatis tristique platea."}},"wq5_W_6UHyqR8OGs_54zr":{"tag":"table","type":"element","children":["gfd5_OpTJ5X07HcJEU3PM","bSYBqFzMwyc_Znu_trLjD","6PGj96AmATcM9sOxJS3fb","KC_F8Al6gjcWnzPc0q4tk","b-gwpV6FS4vRkcwBEgDoS","hrfkieBelE0LvSZZ7kLwj","JH8gdFOuAX_FIuFhYnqW2","GNbZWRLQ70GI3jCEaaG7U","ofY6w3NM_XqVQOySk0Ss6","KzFHX8WL1Nkb6eESZVX79"],"classes":{"bcLiyJ":{"formula":{"type":"value","value":true}}},"customProperties":{}},"wz4fmxePKYZwm4Run6D3E":{"tag":"div","type":"element","children":["rmBx6EuupBAjXJLfH1-P2","FwFWJqr6V2Xo4aPaIqxc8","O5tpvZ__YiTTYekKDqDEk","ayYYsgi3VHuVokQAHtntM"],"classes":{"bgNvHx":{"formula":{"type":"value","value":true}}},"customProperties":{}},"x73JbueEguu8gbEEW_nrA":{"type":"text","value":{"type":"value","value":"4. Configure Workflow Context (optional)"}},"x8u9UdBblpZhIrx5MZMBX":{"id":"G9NMRjsMq6XnzpGNemg81","tag":"ul","type":"element","children":["y51E53PpKWUvf4acCbnVV"],"classes":{"fBBdzh":{"formula":{"type":"value","value":true}}},"customProperties":{}},"xcuPYSS7V7NK722PsOIpD":{"tag":"li","type":"element","children":["z2719q789sMu3xB_bym_f","eku7LzBVe3UUWzwZ0Lrku"],"classes":{"cEskVI":{"formula":{"type":"value","value":true}}},"customProperties":{}},"xyuX-nrX6Td88XUn9x6qd":{"tag":"p","type":"element","children":["yYYNtqr0gMR5SoRaJJc9K"],"classes":{"eleUpJ":{"formula":{"type":"value","value":true}}},"customProperties":{}},"y51E53PpKWUvf4acCbnVV":{"tag":"li","type":"element","children":["5T4TYTBWumflPSNTMLhQu","iO3XYJbBrTZNq8hvnVUw1"],"classes":{"cEskVI":{"formula":{"type":"value","value":true}}},"customProperties":{}},"yDJmepRaZkms7hXQnCnbj":{"tag":"td","type":"element","children":["cZ5IeaOTRdJX4wi1oMXUI"],"classes":{"fByBIF":{"formula":{"type":"value","value":true}}},"customProperties":{}},"yM14gqMSTByOgEENiAhNt":{"id":"G9NMRjsMq6XnzpGNemg81","tag":"ul","type":"element","children":["J9HXuhMRqjn0gL5iiFyQs"],"classes":{"fBBdzh":{"formula":{"type":"value","value":true}}},"customProperties":{}},"yUMdo6NaT1VqEDohjxrtH":{"tag":"li","type":"element","children":["enhZeffgLx34p6F9Ai3sC","rISMo4IRTxPTVSznPedOm"],"classes":{"cEskVI":{"formula":{"type":"value","value":true}}},"customProperties":{}},"yYYNtqr0gMR5SoRaJJc9K":{"type":"text","value":{"type":"value","value":"a) Add a context event\n • Create an event which triggers on success - Ex: Saved toast notification\n • Create an event which triggers on failure\n\n"}},"z2719q789sMu3xB_bym_f":{"tag":"h3","type":"element","children":["V51zvUlCuiGD9-FO7B_s9"],"classes":{"blVCsl":{"formula":{"type":"value","value":true}}},"customProperties":{}},"zAEc8gzSfs9emxQFywWo4":{"type":"text","value":{"type":"value","value":"Some CSS styles are not fully supported by html2canvas. Check the layout and ensure no unsupported properties like position: fixed are affecting the rendering."}},"zXyuWkMARxG4sy78AeCde":{"tag":"div","type":"element","children":["dqfdtfRNAx4sAwoCBvuTY","bhEVsPV_6PZjsIVGDeoCB"],"classes":{"bkeoKw":{"formula":{"type":"value","value":true}}},"customProperties":{}},"zYqNVQwbnwZXa7LWfJwRk":{"tag":"td","type":"element","children":["D7TJ0O99CnH0rtlMxtc2R"],"classes":{"bXuRfo":{"formula":{"type":"value","value":true}}},"customProperties":{}}},"route":{"path":[],"query":{}},"onLoad":{"actions":[],"trigger":"load"},"functions":{},"variables":{"unit":{"initialValue":{"type":"value","value":"in"}},"scale":{"initialValue":{"type":"value","value":1}},"format":{"initialValue":{"type":"value","value":"letter"}},"margin":{"initialValue":{"type":"value","value":1}},"scrollY":{"initialValue":{"type":"value","value":0}},"spacing":{"initialValue":{"type":"value","value":20}},"filename":{"initialValue":{"type":"value","value":"output_pdf_file"}},"orientation":{"initialValue":{"type":"value","value":"portrait"}},"imageQuality":{"initialValue":{"type":"value","value":0.98}}}},"components":[]}