Warning: The use statement with non-compound name 'ZipArchive' has no effect in E:\phpProject\TEST\es\es_haiya\scripts\check_template_placeholders.php on line 9
=== Word模板占位符检查工具 ===
=== 检查模板: Portrait Notes ===
文件: Business_License_Translation_Template_Portrait_Notes.docx
找到 9 个占位符:
✓ {{address}}
✓ {{approval_date}}
✓ {{company_name}}
✓ {{company_type}}
✓ {{credit_code}}
✓ {{establishment_date}}
✓ {{issuing_authority}}
✓ {{legal_person}}
✓ {{license_qrcode_image}}
=== 检查模板: Portrait Layout ===
文件: Business_License_Translation_Template_Portrait_Layout.docx
找到 12 个占位符:
✓ {{address}}
✓ {{approval_date}}
✓ {{business_period}}
✓ {{business_scope}}
✓ {{company_name}}
✓ {{company_type}}
✓ {{credit_code}}
✓ {{establishment_date}}
✓ {{issuing_authority}}
✓ {{legal_person}}
✓ {{license_qrcode_image}}
✓ {{registered_capital}}
=== 检查模板: Landscape Notes ===
文件: Business_License_Translation_Template_Landscape_Notes.docx
找到 9 个占位符:
✓ {{address}}
✓ {{approval_date}}
✓ {{company_name}}
✓ {{company_type}}
✓ {{credit_code}}
✓ {{establishment_date}}
✓ {{issuing_authority}}
✓ {{legal_person}}
✓ {{license_qrcode_image}}
=== 检查模板: Landscape Layout ===
文件: Business_License_Translation_Template_Landscape_Layout.docx
找到 14 个占位符:
✓ {{address}}
✓ {{approval_date}}
✓ {{business_period_tips}}
✓ {{business_period}}
✓ {{business_scope}}
✓ {{company_name}}
✓ {{company_type}}
✓ {{credit_code}}
✓ {{establishment_date}}
✓ {{issuing_authority}}
✓ {{legal_person}}
✓ {{license_qrcode_image}}
✓ {{registered_capital_tips}}
✓ {{registered_capital}}
=== 代码中使用的占位符对比 ===
代码中定义的占位符:
{{license_no}}
{{company_name}}
{{registered_capital}}
{{company_type}}
{{establishment_date}}
{{legal_rep}}
{{address}}
{{business_scope}}
{{registration_authority_city}}
{{registration_authority_district}}
{{registration_date}}
{{business_period}}
{{approval_date}}
{{registration_status}}
{{license_qrcode_image}}
=== 建议 ===
1. 检查模板文件中是否存在占位符
2. 确认占位符格式是否正确 ({{placeholder}})
3. 检查是否有跨XML节点的占位符分割问题
4. 验证二维码占位符是否存在