LogicPaper
High-performance document generation engine-Automatically merges Excel/JSON data with Office templates, supports Word/PPT/Markdown rendering and PDF conversion. Provides API integration, asynchronous batch processing, and Redis state management.
**LogicPaper** is a professional batch document generation tool that can automatically merge structured data (Excel or JSON) with document templates (Word, PPT, Markdown) to generate personalized documents and support PDF conversion. For more syntax, please check out the How to Use page. ###Core Features | function| description| |------|------| | 📊 ** Batch processing **| Upload multiple pieces of data at once and generate multiple documents in batches| | 📄 ** Multiple format support **| Word (.docx), PPT (.pptx), Markdown, plain text| | 🔄 **PDF conversion **| Built-in LibreOffice engine, automatically converts to PDF| | 🖼️ ** Picture insertion **| Support dynamic insertion and adjustment of pictures from the material library| | 📝 ** Intelligent formatting **| Rich formatting strategies such as dates, currencies, and conditional logic| ##Start quickly ###Step 1: Prepare the data source Two formats are supported: **Excel format (.xlsx)** | id | company | revenue | date | |----|---------|---------|------| | 001 |Lanmao Technology| 150000 | 2024-01-15 | | 002 | Beta Inc | 280000 | 2024-02-20 | **JSON format ** ```json [ {"id": "001", "company": "Lazy Cat Technology", "revenue": "150000", "date": "2024-01-15"}, {"id": "002", "company": "Beta Inc", "revenue": "280000", "date": "2024-02-20"} ] ``` ###Step 2: Make a template Use the `{{variable name}}` syntax in a Word/PPT document to mark the position that needs to be replaced: ``` Dear {{ company }}: Your transaction record on {{ date }} is as follows: Contract amount: {{ revenue| format_number('currency', 'CNY') }} sincerely ``` ###Step 3: Upload and generate 1. Drag and drop the ** data file ** into the "Data Source" area 2. Drag and drop the ** template file ** into the "Templates" area 3. (Optional) Pack the ** photo footage ** into ZIP and drag it to the "Assets Library" 4. Click **Check Compatibility** to verify the configuration 5. Click the Generate button to start processing



