AB Layout is a structured legal formatting engine built as a Microsoft Word Office JS Add-in.
It converts unstructured drafts into court-compliant documents instantly, eliminating repetitive formatting and ensuring consistency across filings.
Designed for:
- Advocates
- Law students
- Legal professionals
AB Layout operates as a ribbon-driven engine, not just a taskpane utility.
Ribbon Action → Layout Engine → Word API → Structured Output
- ⚡ One-click court-compliant formatting
- 🏛 Support for High Court, District Court, Affidavits
- 📄 Automatic legal page structuring
- 🔁 Safe Undo / Revert system
- 📑 Handles large documents (100+ pages)
- 🌐 Dynamic layout updates (GitHub-powered)
- 🔌 Offline fallback support
- 🧩 Fully extensible architecture
🌐 Access the hosted add-in: 👉 https://ratiojuris.github.io/ab-layout/
1. Download manifest.xml
2. Open Microsoft Word
3. Insert → Add-ins → Upload My Add-in
4. Select manifest.xml
Ribbon → Select Layout → Apply → Undo (if required)
ab-layout/
├── manifest.xml # Add-in definition
├── web/ # UI + engine
├── layouts/ # Layout schema (JSON)
├── assets/ # Icons and resources
└── README.md1. Modify /layouts/layouts.json
2. Add or update layout presets
3. Validate formatting integrity
4. Submit Pull Request
AB Layout:
- ❌ Does NOT collect personal data
- ❌ Does NOT transmit document content
- ✅ Operates locally within Microsoft Word
External dependency:
- Microsoft Office JS runtime
Licensed under the Apache License 2.0
Maintained as an independent system initiative
🔗 https://github.com/RatioJuris
- ⭐ Star the repository
- 🍴 Fork and contribute
- 📢 Share with the legal community