##!
bridge.tmplTool.addI18ns({
'et-Feature': {
title1: {
en: 'XLSX Template Engine + JSON',
ko: 'XLSX Template Engine + JSON',
ja: 'XLSX Template Engine + JSON',
'zh-cn': 'XLSX Template Engine + JSON'
},
title2: {
en: 'The Smarter Approach to Document Automation',
ko: '?? ???? ?? ? ???? ???',
ja: '文書自動化のためのよりスマートなアプローチ',
'zh-cn': '文檔自動化的智能解決方案'
},
text: {
en: `Streamline your document workflows with our comprehensive suite of tools designed to save time, reduce errors, and enhance productivity.`,
ko: `??? ????, ??? ???, ???? ?????? ??? ???? ?? ???? ?? ?? ??? ??????.`,
ja: '時間を節約し、エラーを減らし、生産性を向上させるように設計された包括的なツールセットで文書ワークフローを合理化します。',
'zh-cn': '通過我們全面的工具套件簡化您的文檔工作流程,節省時間,減少錯誤,提高生產力。'
},
item: {
feature1: {
label: {
en: 'Powerful Document Generation',
ko: '??? ?? ?? ??',
ja: '強力な文書生成機能',
'zh-cn': '強大的文檔生成功能',
},
text: {
en: `
Transform Excel templates and JSON data into perfect XLSX or PDF documents with just a few lines of code. Our engine preserves all formatting, styles, and formulas.
Since templates are created in Excel, anyone in your organization can design and maintain them without specialized technical skills.
`,
ko: `
? ? ?? ????? Excel ???? JSON ???? ??? XLSX ?? PDF ??? ?????. ?? ??, ???, ??? ??? ?????.
???? Excel?? ?????, ?? ? ??? ??? ?? ?? ??? ????? ??? ? ????.
`,
ja: `
數行のコードだけで、ExcelテンプレートとJSONデータを完璧なXLSXまたはPDF文書に変換します。すべての書式、スタイル、數式がそのまま保持されます。
テンプレートはExcelで作成されるため、組織內の誰でも特別な技術知識なしにデザインと管理ができます。
`,
'zh-cn': `
只需幾行代碼,將Excel模板和JSON數據轉換為完美的XLSX或PDF文檔。我們的引擎保留所有格式、樣式和公式。
由于模板是在Excel中創建的,您組織中的任何人都可以在不需要專業技術知識的情況下設計和維護它們。
`,
},
},
feature2: {
label: {
en: 'Comprehensive Audit Trail',
ko: '??? ?? ?? ??',
ja: '包括的な監査証跡',
'zh-cn': '全面的文檔審計跟蹤',
},
text: {
en: `
Maintain full visibility into document generation with our detailed audit trail system. Track who created what document, when, and with which template and data.
All document history is accessible via our API in JSON format, making it easy to integrate with your existing compliance and record-keeping systems.
Perfect for industries with regulatory requirements like finance, healthcare, and legal services.
`,
ko: `
??? ?? ?? ????? ?? ??? ?? ??? ???? ?????. ??, ??, ?? ???? ???? ??? ????? ?????.
?? ?? ??? JSON ???? API? ?? ?? ????, ?? ?????? ? ?? ?? ???? ?? ??? ? ????.
??, ??, ?? ???? ?? ?? ????? ?? ??? ?????.
`,
ja: `
詳細な監査追跡システムで文書生成の完全な可視性を維持します。誰が、いつ、どのテンプレートとデータでどの文書を作成したかを追跡します。
すべての文書履歴はJSON形式でAPIを通じてアクセス可能で、既存のコンプライアンスおよび記録管理システムと簡単に統合できます。
金融、醫療、法律サービスなど、規制要件のある業界に最適です。
`,
'zh-cn': `
通過我們詳細的審計跟蹤系統,保持對文檔生成的完全可見性。跟蹤誰在何時使用哪個模板和數據創建了哪個文檔。
所有文檔歷史記錄都可通過我們的API以JSON格式訪問,使其易于與您現有的合規性和記錄保存系統集成。
非常適合金融、醫療保健和法律服務等有監管要求的行業。
`,
},
},
feature3: {
label: {
en: 'Secure Cloud Template Management',
ko: '??? ???? ??? ??',
ja: '安全なクラウドテンプレート管理',
'zh-cn': '安全的云端模板管理',
},
text: {
en: `
Store, version, and manage all your templates in our secure cloud environment. No more emailing templates or struggling with file shares.
Reference templates by name in your API calls for streamlined document generation. Update templates centrally without changing your code.
Our platform supports team collaboration with role-based access controls and template versioning.
`,
ko: `
??? ???? ???? ?? ???? ??, ?? ?? ? ?????. ? ?? ???? ???? ???? ?? ??? ??? ??? ????.
API ???? ??? ???? ???? ?? ??? ??????. ??? ???? ??? ???? ???? ????? ? ????.
?? ?? ?? ?? ? ??? ?? ??? ? ??? ?????.
`,
ja: `
安全なクラウド環境ですべてのテンプレートを保存、バージョン管理、管理します。もうテンプレートをメールで送る必要や、ファイル共有に悩む必要はありません。
APIコールでテンプレート名を參照して、文書生成を合理化します。コードを変更せずに、テンプレートを中央で更新できます。
役割ベースのアクセス制御とテンプレートのバージョン管理でチームコラボレーションをサポートします。
`,
'zh-cn': `
在我們安全的云環境中存儲、版本控制和管理所有模板。不再需要通過電子郵件發送模板或為文件共享而煩惱。
在API調用中通過名稱引用模板,簡化文檔生成流程。在不更改代碼的情況下集中更新模板。
我們的平臺通過基于角色的訪問控制和模板版本控制支持團隊協作。
`,
},
},
feature4: {
label: {
en: 'Integrated Email Delivery',
ko: '?? ??? ?? ??',
ja: '統合メール配信機能',
'zh-cn': '集成電子郵件發送功能',
},
text: {
en: `
Send professionally formatted documents directly to customers with our integrated email delivery system. Attach generated XLSX or PDF files automatically.
Customize email templates with your branding and personalize content for each recipient. Include BCC to your team for tracking customer communications.
Perfect for sending invoices, quotes, contracts, reports, and other business documents that require immediate attention.
`,
ko: `
?? ??? ?? ????? ????? ??? ??? ???? ??, ??? XLSX ?? PDF ??? ???? ???? ????.
????? ??? ???? ???????? ? ????? ???? ???? ?????. ?? ?????? ??? ?? ?? BCC? ??? ? ????.
???? ??? ??? ??, ???, ???, ??? ? ?? ???? ?? ??? ?????.
`,
ja: `
統合メール配信システムで、プロフェッショナルにフォーマットされた文書を顧客に直接送信し、生成されたXLSXまたはPDFファイルを自動的に添付します。
自社ブランディングでメールテンプレートをカスタマイズし、各受信者に個別のコンテンツを提供します。顧客コミュニケーションの追跡のためにチームにBCCを含めることができます。
即時の注意が必要な請求書、見積書、契約書、レポート、およびその他のビジネス文書の送信に最適です。
`,
'zh-cn': `
通過我們的集成電子郵件發送系統,直接向客戶發送專業格式化的文檔。自動附加生成的XLSX或PDF文件。
使用您的品牌定制電子郵件模板,并為每個收件人個性化內容。包括向您的團隊發送BCC以跟蹤客戶溝通。
非常適合發送需要立即關注的發票、報價單、合同、報告和其他業務文檔。
`,
},
},
feature5: {
label: {
en: 'Advanced Templating Features',
ko: '?? ??? ??',
ja: '高度なテンプレート機能',
'zh-cn': '高級模板功能',
},
text: {
en: `
Go beyond basic data insertion with our powerful template syntax. Support for loops, conditionals, variables, and formulas lets you create dynamic, data-driven documents.
Automate complex reports with nested loops for multi-level data presentation. Apply conditional formatting based on business rules and data thresholds.
Preserve Excel's calculation capabilities in the final documents with formula support—perfect for financial models and analysis reports.
`,
ko: `
??? ??? ???? ?? ??? ??? ?????. ???, ???, ??, ?? ???? ???? ??? ??? ??? ?? ? ????.
??? ??? ??? ?? ?? ????? ??? ???? ??????. ???? ??? ??? ???? ?? ??? ??? ??? ? ????.
?? ???? ?? ???? Excel? ?? ??? ?????. ?? ?? ? ?? ???? ?????.
`,
ja: `
強力なテンプレート構文で基本的なデータ挿入を超えましょう。ループ、條件文、変數、數式のサポートにより、動的でデータ駆動型の文書を作成できます。
多層データ表現のためのネストされたループで複雑なレポートを自動化しましょう。ビジネスルールとデータしきい値に基づいて條件付き書式を適用できます。
數式サポートにより、最終文書でExcelの計算機能を維持します。財務モデルや分析レポートに最適です。
`,
'zh-cn': `
通過我們強大的模板語法超越基本的數據插入。對循環、條件語句、變量和公式的支持讓您可以創建動態的、數據驅動的文檔。
通過嵌套循環實現多級數據展示,自動化復雜報表?;跇I務規則和數據閾值應用條件格式。
通過公式支持在最終文檔中保留Excel的計算能力——非常適合財務模型和分析報告。
`,
},
},
feature6: {
label: {
en: 'Enterprise-Ready Integration',
ko: '?? ?? ??? ??',
ja: 'エンタープライズレディな統合',
'zh-cn': '企業級集成就緒',
},
text: {
en: `
Integrate seamlessly with your existing systems through our comprehensive REST API. Easily connect with CRM, ERP, accounting systems, or custom applications.
Support for webhook notifications keeps your systems in sync when documents are generated or delivered. Enterprise-grade security with API keys, HTTPS, and data encryption.
Scale effortlessly from hundreds to millions of documents with our cloud infrastructure designed for high-volume processing.
`,
ko: `
???? REST API? ?? ?? ???? ???? ?????. CRM, ERP, ?? ??? ?? ??? ??????? ?? ??? ? ????.
?? ?? ???? ??? ????? ??? ? ???? ??? ??? ?????. API ?, HTTPS ? ??? ???? ?? ?? ??? ??? ?????.
??? ??? ?? ??? ???? ???? ???? ??? ?? ???? ?? ?? ?????.
`,
ja: `
包括的なREST APIを通じて既存のシステムとシームレスに統合します。CRM、ERP、會計システム、またはカスタムアプリケーションと簡単に接続できます。
Webhook通知のサポートにより、文書が生成または配信されたときにシステムを同期狀態に保ちます。APIキー、HTTPS、およびデータ暗號化によるエンタープライズグレードのセキュリティを提供します。
大量処理用に設計されたクラウドインフラストラクチャにより、數百から數百萬の文書まで簡単にスケールできます。
`,
'zh-cn': `
通過我們全面的REST API與您現有的系統無縫集成。輕松連接CRM、ERP、會計系統或自定義應用程序。
webhook通知支持在生成或傳遞文檔時保持系統同步。通過API密鑰、HTTPS和數據加密提供企業級安全性。
使用我們為高容量處理設計的云基礎設施,輕松地從數百到數百萬文檔進行擴展。
`,
},
}
},
}
});
##
##
let items = data.items || [
{
svgPath: 'M19.5 14.25v-2.625a3.375 3.375 0 00-3.375-3.375h-1.5A1.125 1.125 0 0113.5 7.125v-1.5a3.375 3.375 0 00-3.375-3.375H8.25m0 12.75h7.5m-7.5 3H12M10.5 2.25H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 00-9-9z',
label: i18n.item.feature1.label,
text: i18n.item.feature1.text,
},
{
svgPath: 'M8.25 6.75h12M8.25 12h12m-12 5.25h12M3.75 6.75h.007v.008H3.75V6.75zm.375 0a.375.375 0 11-.75 0 .375.375 0 01.75 0zM3.75 12h.007v.008H3.75V12zm.375 0a.375.375 0 11-.75 0 .375.375 0 01.75 0zm-.375 5.25h.007v.008H3.75v-.008zm.375 0a.375.375 0 11-.75 0 .375.375 0 01.75 0z',
label: i18n.item.feature2.label,
text: i18n.item.feature2.text,
},
{
svgPath: 'M12 16.5V9.75m0 0l3 3m-3-3l-3 3M6.75 19.5a4.5 4.5 0 01-1.41-8.775 5.25 5.25 0 0110.233-2.33 3 3 0 013.758 3.848A3.752 3.752 0 0118 19.5H6.75z',
label: i18n.item.feature3.label,
text: i18n.item.feature3.text,
},
{
svgPath: 'M21.75 6.75v10.5a2.25 2.25 0 01-2.25 2.25h-15a2.25 2.25 0 01-2.25-2.25V6.75m19.5 0A2.25 2.25 0 0019.5 4.5h-15a2.25 2.25 0 00-2.25 2.25m19.5 0v.243a2.25 2.25 0 01-1.07 1.916l-7.5 4.615a2.25 2.25 0 01-2.36 0L3.32 8.91a2.25 2.25 0 01-1.07-1.916V6.75',
label: i18n.item.feature4.label,
text: i18n.item.feature4.text,
},
{
svgPath: 'M14.25 6.087c0-.355.186-.676.401-.959.221-.29.349-.634.349-1.003 0-1.036-1.007-1.875-2.25-1.875s-2.25.84-2.25 1.875c0 .369.128.713.349 1.003.215.283.401.604.401.959v0a.64.64 0 01-.657.643 48.39 48.39 0 01-4.163-.3c.186 1.613.293 3.25.315 4.907a.656.656 0 01-.658.663v0c-.355 0-.676-.186-.959-.401a1.647 1.647 0 00-1.003-.349c-1.036 0-1.875 1.007-1.875 2.25s.84 2.25 1.875 2.25c.369 0 .713-.128 1.003-.349.283-.215.604-.401.959-.401v0c.31 0 .555.26.532.57a48.039 48.039 0 01-.642 5.056c1.518.19 3.058.309 4.616.354a.64.64 0 00.657-.643v0c0-.355-.186-.676-.401-.959a1.647 1.647 0 01-.349-1.003c0-1.035 1.008-1.875 2.25-1.875 1.243 0 2.25.84 2.25 1.875 0 .369-.128.713-.349 1.003-.215.283-.4.604-.4.959v0c0 .333.277.599.61.58a48.1 48.1 0 005.427-.63 48.05 48.05 0 00.582-4.717.532.532 0 00-.533-.57v0c-.355 0-.676.186-.959.401-.29.221-.634.349-1.003.349-1.035 0-1.875-1.007-1.875-2.25s.84-2.25 1.875-2.25c.37 0 .713.128 1.003.349.283.215.604.401.96.401v0a.656.656 0 00.658-.663 48.422 48.422 0 00-.37-5.36c-1.886.342-3.81.574-5.766.689a.578.578 0 01-.61-.58v0z',
label: i18n.item.feature5.label,
text: i18n.item.feature5.text,
},
{
svgPath: 'M20.25 6.375c0 2.278-3.694 4.125-8.25 4.125S3.75 8.653 3.75 6.375m16.5 0c0-2.278-3.694-4.125-8.25-4.125S3.75 4.097 3.75 6.375m16.5 0v11.25c0 2.278-3.694 4.125-8.25 4.125s-8.25-1.847-8.25-4.125V6.375m16.5 0v3.75m-16.5-3.75v3.75m16.5 0v3.75C20.25 16.153 16.556 18 12 18s-8.25-1.847-8.25-4.125v-3.75m16.5 0c0 2.278-3.694 4.125-8.25 4.125s-8.25-1.847-8.25-4.125',
label: i18n.item.feature6.label,
text: i18n.item.feature6.text,
}
];
##
##=i18n.title1##
##=i18n.title2##
##=i18n.text##
##items.forEach(item => {##
##%item.label##
##=item.text##
##})##
##!
bridge.tmplTool.addI18ns({
'et-UseCases': {
title: {
en: 'Popular Use Cases',
ko: '?? ?? ??',
ja: '人気のある使用例',
'zh-cn': '熱門應用場景',
},
cta: {
title: {
en: "Ready to transform your document workflows?",
ko: "?? ?? ??? ???? ??? ?????",
ja: "文書ワークフローを変革する準備はできていますか?",
'zh-cn': "準備好轉變您的文檔工作流程了嗎?",
},
subtitle: {
en: "Start automating your document generation today with our powerful, yet easy-to-use solution.",
ko: "?????? ???? ?? ????? ???? ?? ??? ??????.",
ja: "強力でありながら使いやすいソリューションで、今日から文書生成を自動化しましょう。",
'zh-cn': "立即使用我們強大且易用的解決方案開始自動化您的文檔生成。",
},
},
cases: {
case1: {
title: {
en: 'Financial Reports & Invoices',
ko: '?? ??? ? ????',
ja: '財務レポートと請求書',
'zh-cn': '財務報表和發票',
},
desc: {
en: 'Generate professional financial statements, invoices, and receipts with precise calculations and formatting.',
ko: '??? ??? ??? ??? ???? ????, ????, ???? ?????.',
ja: '正確な計算と書式設定を含むプロフェッショナルな財務諸表、請求書、領収書を生成します。',
'zh-cn': '生成包含精確計算和格式的專業財務報表、發票和收據。',
},
},
case2: {
title: {
en: 'Contracts & Legal Documents',
ko: '??? ? ?? ??',
ja: '契約書と法的文書',
'zh-cn': '合同和法律文檔',
},
desc: {
en: 'Automate contract generation with dynamic clauses based on deal parameters and customer information.',
ko: '?? ????? ?? ??? ??? ?? ???? ??? ??? ??????.',
ja: '取引パラメータと顧客情報に基づく動的な條項で契約書生成を自動化します。',
'zh-cn': '基于交易參數和客戶信息的動態條款自動生成合同。',
},
},
case3: {
title: {
en: 'Custom Reports & Analysis',
ko: '??? ??? ? ??',
ja: 'カスタムレポートと分析',
'zh-cn': '自定義報告和分析',
},
desc: {
en: 'Create data-rich reports with charts, tables, and metrics automatically calculated from your business data.',
ko: '???? ????? ???? ??? ??, ?, ???? ??? ???? ??? ???? ????.',
ja: 'ビジネスデータから自動計算されたチャート、表、指標を含むデータ豊富なレポートを作成します。',
'zh-cn': '創建包含從業務數據自動計算的圖表、表格和指標的數據豐富的報告。',
},
},
case4: {
title: {
en: 'Personalized Customer Communications',
ko: '???? ?? ??????',
ja: 'パーソナライズされた顧客コミュニケーション',
'zh-cn': '個性化客戶溝通',
},
desc: {
en: 'Send tailored quotes, proposals, and order confirmations with account-specific pricing and terms.',
ko: '??? ?? ? ??? ??? ??? ???, ??? ? ?? ???? ????.',
ja: 'アカウント固有の価格と條件を含むカスタマイズされた見積書、提案書、注文確認書を送信します。',
'zh-cn': '發送包含賬戶特定定價和條款的定制報價、建議書和訂單確認。',
},
},
case5: {
title: {
en: 'HR Documents & Employee Management',
ko: '?? ?? ? ?? ??',
ja: '人事文書と従業員管理',
'zh-cn': '人力資源文檔和員工管理',
},
desc: {
en: 'Streamline creation of employment contracts, offer letters, performance reviews, and payroll reports based on employee data.',
ko: '?? ???? ???? ?? ???, ?? ???, ?? ??? ? ?? ??? ??? ??????.',
ja: '従業員データに基づいて、雇用契約書、オファーレター、業績評価書、給與レポートの作成を効率化します。',
'zh-cn': '基于員工數據簡化雇傭合同、錄用通知書、績效評估和工資報告的創建流程。',
},
},
case6: {
title: {
en: 'Educational Materials & Certifications',
ko: '?? ?? ? ???',
ja: '教育資料と認定書',
'zh-cn': '教育材料和證書',
},
desc: {
en: 'Automatically generate course materials, student progress reports, transcripts, and completion certificates with consistent formatting.',
ko: '??? ???? ?? ??, ?? ?? ???, ??? ? ???? ???? ?????.',
ja: '一貫した書式で、コース資料、學生の進捗レポート、成績表、修了証書を自動生成します。',
'zh-cn': '以一致的格式自動生成課程材料、學生進度報告、成績單和完成證書。',
},
}
}
}
});
##
##
let useCases = data.useCases || [
{
svgPath: 'M10.5 21l5.25-11.25L21 21m-9-3h7.5M3 5.621a48.474 48.474 0 016-.371m0 0c1.12 0 2.233.038 3.334.114M9 5.25V3m3.334 2.364C11.176 10.658 7.69 15.08 3 17.502m9.334-12.138c.896.061 1.785.147 2.666.257m-4.589 8.495a18.023 18.023 0 01-3.827-5.802',
title: i18n.cases.case1.title,
desc: i18n.cases.case1.desc
},
{
svgPath: 'M19.5 14.25v-2.625a3.375 3.375 0 00-3.375-3.375h-1.5A1.125 1.125 0 0113.5 7.125v-1.5a3.375 3.375 0 00-3.375-3.375H8.25m2.25 0H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 00-9-9z',
title: i18n.cases.case2.title,
desc: i18n.cases.case2.desc
},
{
svgPath: 'M3 13.125C3 12.504 3.504 12 4.125 12h2.25c.621 0 1.125.504 1.125 1.125v6.75C7.5 20.496 6.996 21 6.375 21h-2.25A1.125 1.125 0 013 19.875v-6.75zM9.75 8.625c0-.621.504-1.125 1.125-1.125h2.25c.621 0 1.125.504 1.125 1.125v11.25c0 .621-.504 1.125-1.125 1.125h-2.25a1.125 1.125 0 01-1.125-1.125V8.625zM16.5 4.125c0-.621.504-1.125 1.125-1.125h2.25C20.496 3 21 3.504 21 4.125v15.75c0 .621-.504 1.125-1.125 1.125h-2.25a1.125 1.125 0 01-1.125-1.125V4.125z',
title: i18n.cases.case3.title,
desc: i18n.cases.case3.desc
},
{
svgPath: 'M15 19.128a9.38 9.38 0 002.625.372 9.337 9.337 0 004.121-.952 4.125 4.125 0 00-7.533-2.493M15 19.128v-.003c0-1.113-.285-2.16-.786-3.07M15 19.128v.106A12.318 12.318 0 018.624 21c-2.331 0-4.512-.645-6.374-1.766l-.001-.109a6.375 6.375 0 0111.964-3.07M12 6.375a3.375 3.375 0 11-6.75 0 3.375 3.375 0 016.75 0zm8.25 2.25a2.625 2.625 0 11-5.25 0 2.625 2.625 0 015.25 0z',
title: i18n.cases.case4.title,
desc: i18n.cases.case4.desc
},
{
svgPath: 'M20.25 14.15v4.25c0 1.094-.787 2.036-1.872 2.18-2.087.277-4.216.42-6.378.42s-4.291-.143-6.378-.42c-1.085-.144-1.872-1.086-1.872-2.18v-4.25m16.5 0a2.18 2.18 0 00.75-1.661V8.706c0-1.081-.768-2.015-1.837-2.175a48.114 48.114 0 00-3.413-.387m4.5 8.006c-.194.165-.42.295-.673.38A23.978 23.978 0 0112 15.75c-2.648 0-5.195-.429-7.577-1.22a2.016 2.016 0 01-.673-.38m0 0A2.18 2.18 0 013 12.489V8.706c0-1.081.768-2.015 1.837-2.175a48.111 48.111 0 013.413-.387m7.5 0V5.25A2.25 2.25 0 0013.5 3h-3a2.25 2.25 0 00-2.25 2.25v.894m7.5 0a48.667 48.667 0 00-7.5 0M12 12.75h.008v.008H12v-.008z',
title: i18n.cases.case5.title,
desc: i18n.cases.case5.desc
},
{
svgPath: 'M4.26 10.147a60.436 60.436 0 00-.491 6.347A48.627 48.627 0 0112 20.904a48.627 48.627 0 018.232-4.41 60.46 60.46 0 00-.491-6.347m-15.482 0a50.57 50.57 0 00-2.658-.813A59.905 59.905 0 0112 3.493a59.902 59.902 0 0110.399 5.84c-.896.248-1.783.52-2.658.814m-15.482 0A50.697 50.697 0 0112 13.489a50.702 50.702 0 017.74-3.342M6.75 15a.75.75 0 100-1.5.75.75 0 000 1.5zm0 0v-3.675A55.378 55.378 0 0112 8.443m-7.007 11.55A5.981 5.981 0 006.75 15.75v-1.5',
title: i18n.cases.case6.title,
desc: i18n.cases.case6.desc
}
];
##
##%i18n.cta.subtitle##
##%i18n.cta.title##
##%i18n.title##
##useCases.forEach(item => {##
##=item.title##
##=item.desc##
##})##
##!
bridge.tmplTool.addI18ns({
'et-CTA': {
title: {
en: "Ready to transform your document workflows?",
ko: "?? ?? ??? ???? ??? ?????",
ja: "文書ワークフローを変革する準備はできていますか?",
'zh-cn': "準備好轉變您的文檔工作流程了嗎?",
},
subtitle: {
en: "Start automating your document generation today with our powerful, yet easy-to-use solution.",
ko: "?????? ???? ?? ????? ???? ?? ??? ??????.",
ja: "強力でありながら使いやすいソリューションで、今日から文書生成を自動化しましょう。",
'zh-cn': "立即使用我們強大且易用的解決方案開始自動化您的文檔生成。",
},
buttons: {
primary: {
en: "Get Started Free",
ko: "??? ????",
ja: "無料で始める",
'zh-cn': "免費開始使用",
},
secondary: {
en: "Get a demo",
ko: "?? ??",
ja: "デモを見る",
'zh-cn': "查看演示",
}
}
},
});
##
##%i18n.subtitle##
##%i18n.title##
##!
bridge.tmplTool.addI18ns({
'et-CodeSample': {
heading: {
en: 'XLSX Template Engine - Loop Processing Example',
ko: 'XLSX Template Engine - ?? ?? ??',
ja: 'XLSX Template Engine - ループ処理の例',
'zh-cn': 'XLSX Template Engine - 循環處理示例'
},
implementation: {
title: {
en: 'JavaScript Implementation',
ko: 'JavaScript ??',
ja: 'JavaScript実裝',
'zh-cn': 'JavaScript實現'
}
},
template: {
title: {
en: '[ order_template.xlsx ] - Template XLSX (Represented as HTML Table)',
ko: '[ order_template.xlsx ] - ??? XLSX (HTML ???? ??)',
ja: '[ order_template.xlsx ] - テンプレートXLSX(HTMLテーブルとして表現)',
'zh-cn': '[ order_template.xlsx ] - 模板XLSX(以HTML表格表示)'
}
},
output: {
title: {
en: '[ acme_order.xlsx ] - Generated XLSX Output (Represented as HTML Table)',
ko: '[ acme_order.xlsx ] - ??? XLSX ??? (HTML ???? ??)',
ja: '[ acme_order.xlsx ] - 生成されたXLSX出力(HTMLテーブルとして表現)',
'zh-cn': '[ acme_order.xlsx ] - 生成的XLSX輸出(以HTML表格表示)'
}
},
explanation: {
title: {
en: 'Loop Processing Explanation',
ko: '?? ?? ??',
ja: 'ループ処理の説明',
'zh-cn': '循環處理說明'
},
foreach: {
en: 'Iterates through each element in the "items" array, assigning each element to the "item" variable.',
ko: '"items" ??? ? ??? ????, ? ??? "item" ??? ?????.',
ja: '"items"配列の各要素を繰り返し処理し、各要素を"item"変數に割り當てます。',
'zh-cn': '迭代"items"數組中的每個元素,將每個元素分配給"item"變量。'
},
property: {
en: 'Accesses properties of the current item in the loop.',
ko: '?? ? ?? ??? ??? ?????.',
ja: 'ループ內の現在のアイテムのプロパティにアクセスします。',
'zh-cn': '訪問循環中當前項目的屬性。'
},
end: {
en: 'Marks the end of the loop section.',
ko: '?? ??? ?? ?????.',
ja: 'ループセクションの終わりを示します。',
'zh-cn': '標記循環部分的結束。'
},
range: {
en: 'Special variable that references the last row number created by the loop.',
ko: '??? ?? ??? ??? ? ??? ???? ?? ?????.',
ja: 'ループによって作成された最後の行番號を參照する特殊変數です。',
'zh-cn': '引用循環創建的最后一行行號的特殊變量。'
},
formula: {
en: 'Inserts an Excel formula into the cell, which will be calculated by Excel when opened.',
ko: 'Excel ??? ?? ????, Excel?? ??? ? ?????.',
ja: 'Excelの數式をセルに挿入します。これはExcelで開いたときに計算されます。',
'zh-cn': '在單元格中插入Excel公式,該公式將在Excel打開時計算。'
},
summary: {
en: 'This example demonstrates how to generate an order sheet with dynamic item rows using XLSX Template Engine\'s loop processing capabilities. The engine automatically handles row insertion and adjusts formula references.',
ko: '? ??? XLSX Template Engine? ?? ?? ??? ???? ?? ?? ?? ?? ???? ???? ??? ?????. ??? ???? ? ??? ???? ?? ??? ?????.',
ja: 'この例は、XLSX Template Engineのループ処理機能を使用して、動的なアイテム行を持つ注文書を生成する方法を示しています。エンジンは自動的に行の挿入を処理し、數式の參照を調整します。',
'zh-cn': '此示例演示了如何使用XLSX Template Engine的循環處理功能生成具有動態項目行的訂單表。引擎自動處理行插入并調整公式引用。'
}
},
orderItems: {
heading: {
en: 'ORDER CONFIRMATION',
ko: '?? ???',
ja: '注文確認書',
'zh-cn': '訂單確認'
},
orderNumber: {
en: 'Order Number:',
ko: '?? ??:',
ja: '注文番號:',
'zh-cn': '訂單號:'
},
date: {
en: 'Date:',
ko: '??:',
ja: '日付:',
'zh-cn': '日期:'
},
customer: {
en: 'Customer:',
ko: '??:',
ja: '顧客:',
'zh-cn': '客戶:'
},
email: {
en: 'Email:',
ko: '???:',
ja: 'メール:',
'zh-cn': '電子郵件:'
},
address: {
en: 'Address:',
ko: '??:',
ja: '住所:',
'zh-cn': '地址:'
},
productId: {
en: 'Product ID',
ko: '?? ID',
ja: '製品ID',
'zh-cn': '產品ID'
},
description: {
en: 'Description',
ko: '??',
ja: '説明',
'zh-cn': '描述'
},
quantity: {
en: 'Quantity',
ko: '??',
ja: '數量',
'zh-cn': '數量'
},
unitPrice: {
en: 'Unit Price',
ko: '??',
ja: '単価',
'zh-cn': '單價'
},
subtotal: {
en: 'Subtotal:',
ko: '??:',
ja: '小計:',
'zh-cn': '小計:'
},
shipping: {
en: 'Shipping',
ko: '??',
ja: '配送',
'zh-cn': '運輸'
},
tax: {
en: 'Tax',
ko: '??',
ja: '稅金',
'zh-cn': '稅金'
},
total: {
en: 'TOTAL:',
ko: '??:',
ja: '合計:',
'zh-cn': '總計:'
},
thanks: {
en: 'Thank you for your business!',
ko: '??? ??? ?????!',
ja: 'ご利用ありがとうございます!',
'zh-cn': '感謝您的惠顧!'
}
}
}
});
##
##=i18n.heading##
##=i18n.template.title##
##=i18n.orderItems.heading##
##=i18n.orderItems.orderNumber##
${orderNumber}
##=i18n.orderItems.date##
${date}
##=i18n.orderItems.customer##
${customer.name}
##=i18n.orderItems.email##
${customer.email}
##=i18n.orderItems.address##
${customer.address}
##=i18n.orderItems.productId##
##=i18n.orderItems.description##
##=i18n.orderItems.quantity##
##=i18n.orderItems.unitPrice##
#foreach item:items
${item.id}
${item.description}
${item.quantity}
${item.unitPrice}
#end
##=i18n.orderItems.subtotal##
#=SUM(D6:D${_foreach_range.lastRowNum})
##=i18n.orderItems.shipping## (${shipping.method}):
${shipping.cost}
##=i18n.orderItems.tax## (${taxRate*100}%):
#=ROUND(SUM(D6:D${_foreach_range.lastRowNum})*${taxRate},2)
##=i18n.orderItems.total##
#=ROUND(SUM(D6:D${_foreach_range.lastRowNum})*(1+${taxRate})+${shipping.cost},2)
##=i18n.orderItems.thanks##
##=i18n.implementation.title##
const fs = require('fs');
const axios = require('axios');
// Order Data (JSON)
const orderData = {
orderNumber: "ORD-2023-42589",
date: "2023-04-15",
customer: {
name: "Acme Corporation",
address: "123 Business Ave, Suite 500",
email: "orders@acmecorp.com"
},
items: [
{ id: "PROD-001", description: "High-Performance Laptop", quantity: 5, unitPrice: 1299.99 },
{ id: "PROD-045", description: "Wireless Mouse", quantity: 10, unitPrice: 24.99 },
{ id: "PROD-112", description: "27\" Monitor", quantity: 3, unitPrice: 349.99 },
{ id: "PROD-255", description: "USB-C Docking Station", quantity: 5, unitPrice: 89.99 },
{ id: "PROD-378", description: "Noise-Cancelling Headphones", quantity: 2, unitPrice: 199.99 }
],
shipping: {
method: "Express",
cost: 35.00
},
taxRate: 0.08
};
// API Call Function
async function generateOrderSheet() {
try {
const response = await axios({
method: 'post',
url: 'https://xlsx-template.p.rapidapi.com/generate',
headers: {
'content-type': 'application/json',
'X-RapidAPI-Key': 'YOUR_RAPIDAPI_KEY',
'X-RapidAPI-Host': 'xlsx-template.p.rapidapi.com'
},
data: {
templateFilename: 'order_template.xlsx', // Template file name
jsonData: orderData,
downloadFilename: 'acme_order',
downloadFiletype: 'xlsx'
},
responseType: 'arraybuffer'
});
// Save Result
fs.writeFileSync('acme_order.xlsx', response.data);
console.log('Order sheet generated successfully!');
} catch (error) {
console.error('Error generating order sheet:', error);
}
}
generateOrderSheet();
##=i18n.output.title##
##=i18n.orderItems.heading##
##=i18n.orderItems.orderNumber##
ORD-2023-42589
##=i18n.orderItems.date##
2023-04-15
##=i18n.orderItems.customer##
Acme Corporation
##=i18n.orderItems.email##
orders@acmecorp.com
##=i18n.orderItems.address##
123 Business Ave, Suite 500
##=i18n.orderItems.productId##
##=i18n.orderItems.description##
##=i18n.orderItems.quantity##
##=i18n.orderItems.unitPrice##
PROD-001
High-Performance Laptop
5
1299.99
PROD-045
Wireless Mouse
10
24.99
PROD-112
27" Monitor
3
349.99
PROD-255
USB-C Docking Station
5
89.99
PROD-378
Noise-Cancelling Headphones
2
199.99
##=i18n.orderItems.subtotal##
7,324.80
##=i18n.orderItems.shipping## (Express):
35.00
##=i18n.orderItems.tax## (8%):
585.98
##=i18n.orderItems.total##
7,945.78
##=i18n.orderItems.thanks##
##=i18n.explanation.title##
#foreach item:items - ##=i18n.explanation.foreach##
${item.propertyName} - ##=i18n.explanation.property##
#end - ##=i18n.explanation.end##
${_foreach_range.lastRowNum} - ##=i18n.explanation.range##
#=FORMULA() - ##=i18n.explanation.formula##
##=i18n.explanation.summary##
##%tmpl.pluc.GridsList2({
title: bridge.tmplTool.i18n({
en: `Template Syntax that Automates Business Documents`,
ko: `???? ??? ????? ??? ??`,
ja: `ビジネス文書を自動化するテンプレート構文`,
'zh-cn': `自動化業務文檔的模板語法`,
}),
description: bridge.tmplTool.i18n({
en: `Use the following syntax to easily create Excel templates and connect them with JSON data. Reduce repetitive tasks and increase productivity. Please refer to the documentation for detailed usage.`,
ko: `?? ??? ??? Excel ???? ?? ??? JSON ???? ?????. ?? ??? ??? ???? ?? ? ????. ?? ???? ??? ?????.`,
ja: `以下の構文を活用してExcelテンプレートを簡単に作成し、JSONデータと連攜しましょう。繰り返し作業を減らし、生産性を向上させることができます。詳細な使用方法はドキュメントを參照してください。`,
'zh-cn': `利用以下語法輕松創建Excel模板并將其與JSON數據連接。減少重復工作,提高生產力。詳細使用方法請參閱文檔。`,
}),
readMore: bridge.tmplTool.i18n({
en: `Read more`,
ko: `? ??`,
ja: `詳細へ`,
'zh-cn': `查看更多`,
}),
items: [
{
href: 'docs/TemplateSyntax-interpolation',
img: 'img/docs-interpolation.png',
imgdescription: `interpolation image`,
label: bridge.tmplTool.i18n({
en: `#{interpolation}`,
ko: `#{interpolation}`,
ja: `#{interpolation}`,
'zh-cn': `#{interpolation}`,
}),
description: bridge.tmplTool.i18n({
en: `Bind the data to display in the cell. You can use javascript expression and function, objects within \$\{\}.`,
ko: `?? ???? ???? ??????. \${} ??? javascript ??? ?? ??? ??? ?????.`,
ja: `セルに表示するデータをバインドします。\${} 內で javascript 表現と関數やオブジェクトの使用が可能です。`,
'zh-cn': `綁定要在單元格中顯示的數據。您可以在\$\{\}內使用JavaScript表達式、函數和對象。`,
}),
},
{
href: 'docs/TemplateSyntax-if',
img: 'img/docs-if.png',
imgdescription: `if image`,
label: bridge.tmplTool.i18n({
en: `#if`,
ko: `#if`,
ja: `#if`,
'zh-cn': `#if`,
}),
description: bridge.tmplTool.i18n({
en: `Outputs rows within a given block according to the conditional expression.`,
ko: `???? ?? ?? ???? ?? ?? ??? ?????.`,
ja: `條件式に従って指定ブロック內の行を出力します。`,
'zh-cn': `根據條件表達式輸出指定塊內的行。`,
}),
},
{
href: 'docs/TemplateSyntax-foreach',
img: 'img/docs-foreach.png',
imgdescription: `foreach image`,
label: bridge.tmplTool.i18n({
en: `#foreach`,
ko: `#foreach`,
ja: `#foreach`,
'zh-cn': `#foreach`,
}),
description: bridge.tmplTool.i18n({
en: `Executes a loop over the array set in {itemArray}. Each element is processed with the name specified in {itemName}.`,
ko: `{itemArray}? ??? ??? ?? ?? ??? ?????. ? ??? {itemName}? ??? ???? ?????.`,
ja: `{itemArray} に設定した配列に対してループ処理を実行します。各要素は {itemName} に指定した名前で処理されます。`,
'zh-cn': `對{itemArray}設置的數組執行循環。每個元素都用{itemName}中指定的名稱進行處理。`,
}),
},
{
href: 'docs/TemplateSyntax-var',
img: 'img/docs-var.png',
imgdescription: `var image`,
label: bridge.tmplTool.i18n({
en: `#var`,
ko: `#var`,
ja: `#var`,
'zh-cn': `#var`,
}),
description: bridge.tmplTool.i18n({
en: `Define a new variable name.`,
ko: `? ?? ??? ?????.`,
ja: `新しい変數名を定義します。`,
'zh-cn': `定義新的變量名。`,
}),
}
]
})##
##!
bridge.tmplTool.addI18ns({
'et-Pricing': {
label: {
en: 'Pricing',
ko: '????',
ja: 'ご利用価格',
'zh-cn': '價格'
},
sublabel: {
en: `XLSX Template Engine API can be found through RapidAPI>> Check on Rapid << `,
ko: `XLSX Template Engine API ? RapidAPI? ?? ??? ? ????.>> Rapid ?? ???? << `,
ja: 'XLSX Tempalte Engine API は RapidAPI を通してご提供いたします。>> Rapid から価格を確認 << ',
'zh-cn': 'XLSX Template Engine API 可通過RapidAPI獲取>> 在Rapid上查看價格 << '
},
item: {
sublabel: {
en: `Monthly charge`,
ko: '????',
ja: '月料金',
'zh-cn': '月費'
},
feature1: {
en: 'Generate and download XLSX, PDF',
ko: 'XLSX, PDF ??, ????',
ja: 'XLSX, PDF 作成, ダウンロード',
'zh-cn': '生成并下載XLSX、PDF文件'
},
feature1_free: {
en: 'Max 100 document generations per month',
ko: '? ?? 100?? ?? ??',
ja: '月最大100件のドキュメント生成',
'zh-cn': '每月最多生成100個文檔'
},
feature1_pro: {
en: 'Max 1,500 document generations per month (additional charge 0.005 USD per second api using time)',
ko: '? ?? 1,500?? ?? ?? (??? 1?? 0.005 USD ????)',
ja: '月最大1,500件のドキュメント生成 (超過時 1秒あたり0.005 USD 追加料金)',
'zh-cn': '每月最多生成1500個文檔 (超時 每秒0.005 USD 額外費用)'
},
feature1_ultra: {
en: 'Max 5,500 document generations per month (additional charge 0.004 USD per second api using time)',
ko: '? ?? 5,500?? ?? ?? (??? 1?? 0.004 USD ????)',
ja: '月最大5,500件のドキュメント生成 (超過時 1秒あたり0.004 USD 追加料金)',
'zh-cn': '每月最多生成5500個文檔 (超時 每秒0.004 USD 額外費用)'
},
feature2: {
en: `File generation history`,
ko: '?? ?? ?? ??',
ja: 'ファイル作成履歴確認',
'zh-cn': '文件生成歷史記錄'
},
feature3: {
en: `Template file management on cloud server`,
ko: '???????? ??? ?? ??',
ja: 'テンプレートファイルをクラウドサーバーで管理',
'zh-cn': '云服務器上的模板文件管理'
},
feature4: {
en: `Sending email with XLSX, PDF attachments`,
ko: 'XLSX,PDF??? E-mail??',
ja: 'XLSX,PDFを添付したE-mail送信',
'zh-cn': '發送帶有XLSX、PDF附件的電子郵件'
},
}
}
});
##
##
let label = data.label || i18n.label;
let sublabel = data.sublabel || i18n.sublabel;
let items = data.items || [
{
label: 'Basic',
sublabel: i18n.item.sublabel,
price: 'Free',
features: [
i18n.item.feature1,
i18n.item.feature1_free,
'',
'',
'',
'',
],
button: {
label: 'SUBSCRIBE',
href: 'https://rapidapi.com/kurukona/api/xlsx-template/pricing',
target: 'rapid'
}
},
{
label: 'Pro',
sublabel: i18n.item.sublabel,
price: '$ 5',
features: [
i18n.item.feature1,
i18n.item.feature1_pro,
i18n.item.feature2,
i18n.item.feature3,
'',
],
button: {
label: 'SUBSCRIBE',
href: 'https://rapidapi.com/kurukona/api/xlsx-template/pricing',
target: 'rapid'
}
},
{
label: 'Ultra',
sublabel: i18n.item.sublabel,
price: '$ 10',
features: [
i18n.item.feature1,
i18n.item.feature1_ultra,
i18n.item.feature2,
i18n.item.feature3,
i18n.item.feature4,
],
button: {
label: 'SUBSCRIBE',
href: 'https://rapidapi.com/kurukona/api/xlsx-template/pricing',
target: 'rapid'
}
}
];
##
##=label##
##if (sublabel) {##
##=sublabel##
##}##
##%tmpl.comm.WithRapid({label: 'XLSX Template Engine with', href: 'https://rapidapi.com/kurukona/api/xlsx-template'})##
##items.forEach(item => {##
##if (item.popular) {##
##%item.popular##
##}##
##=item.label##
##=item.price##
##if (item.sublabel) {##
##=item.sublabel##
##}##
##(item.features || []).forEach((feature) => {##
##if (feature.label || feature) {##
##}##
##%feature.label || feature##
##})##
##if (item.button) {##
##%item.button.label##
##}##
##})##