How qax-os/excelize works
Main Components
a) Core Processing Layer:
• File Operations Module (based on file.go)
• XML Processing Components (evident from multiple xml*.go files)
• Calculation Engine (calc.go, calcchain.go)
• Cell Management System (cell.go)
b) Feature Modules:
• Chart Generation (chart.go)
• Drawing Management (drawing.go)
• Style Processing (styles.go)
• Data Validation (datavalidation.go)
• Stream Processing (stream.go)
• Security/Encryption (crypt.go)
c) Data Structure Layer:
• Workbook Management (workbook.go)
• Worksheet Handling (sheet.go)
• Row/Column Operations (rows.go, col.go)
┌─────────────────────── Application Layer ───────────────────────┐
• Public API (excelize.go as main interface) │
• Feature Layer ──────────────────────────┤
• Charts │ Images │ Tables │ PivotTables │ Validation │
• Core Processing Layer ────────────────────┤
• XML Processing │ Calculation Engine │ Storage │
• Data Structure Layer ─────────────────────┤
• Workbook │ Worksheet │ Cells │ Styles │ │
• I/O Layer ────────────────────────────┘
Important Details
• File Format Support:
• XLAM / XLSM / XLSX / XLTM / XLTX compatibility
• Excel 2007+ support
• Stream Processing Capability:
• Separate path for streaming operations
• Large data handling capability
Integration Points
• External interfaces:
• File system interaction
• Image processing support
• XML parsing/generation