All Projects → open-xml-templating → Docxtemplater

open-xml-templating / Docxtemplater

Licence: other
Generate docx pptx and xlsx (Microsoft Word, Powerpoint, Excel documents) from templates, from Node.js, the Browser and the command line / Demo: https://www.docxtemplater.com/demo

Programming Languages

javascript
184084 projects - #8 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to Docxtemplater

Unioffice
Pure go library for creating and processing Office Word (.docx), Excel (.xlsx) and Powerpoint (.pptx) documents
Stars: ✭ 3,111 (+56.33%)
Mutual labels:  excel, powerpoint, word, docx, pptx
Documentserver
ONLYOFFICE Document Server is an online office suite comprising viewers and editors for texts, spreadsheets and presentations, fully compatible with Office Open XML formats: .docx, .xlsx, .pptx and enabling collaborative editing in real time.
Stars: ✭ 2,335 (+17.34%)
Mutual labels:  excel, word, docx, pptx
Gotenberg
A Docker-powered stateless API for PDF files.
Stars: ✭ 3,272 (+64.42%)
Mutual labels:  docx, excel, word, pptx
Superfileview
基于腾讯浏览服务Tbs,使用X5Webkit内核,实现文件的展示功能,支持多种文件格式
Stars: ✭ 1,115 (-43.97%)
Mutual labels:  excel, word, docx
Gotenberg Go Client
Go client for the Gotenberg API
Stars: ✭ 35 (-98.24%)
Mutual labels:  excel, powerpoint, word
Desktopeditors
An office suite that combines text, spreadsheet and presentation editors allowing to create, view and edit local documents
Stars: ✭ 1,008 (-49.35%)
Mutual labels:  excel, word, docx
Office365FiddlerExtension
This Fiddler Extension is an Office 365 centric parser to efficiently troubleshoot Office 365 client application connectivity and functionality.
Stars: ✭ 23 (-98.84%)
Mutual labels:  excel, word, powerpoint
Gotenberg Php Client
PHP client for the Gotenberg API
Stars: ✭ 80 (-95.98%)
Mutual labels:  excel, powerpoint, word
Office Ribbonx Editor
An overhauled fork of the original Custom UI Editor for Microsoft Office, built with WPF
Stars: ✭ 205 (-89.7%)
Mutual labels:  excel, powerpoint, word
OfficeExtractor
Extracts embedded OLE objects from Word, Excel, PowerPoint, Open Office and RTF files without needing the original programs
Stars: ✭ 67 (-96.63%)
Mutual labels:  excel, word, powerpoint
craXcel-cli
Command line application to unlock Microsoft Office password protected files.
Stars: ✭ 44 (-97.79%)
Mutual labels:  excel, word, powerpoint
Docs2Pdf
Bulk convert word/powerpoint/excel file to pdf.
Stars: ✭ 27 (-98.64%)
Mutual labels:  excel, word, powerpoint
Vbasync
Cross-platform tool to synchronize macros from an Office VBA-enabled file with a version-controlled folder
Stars: ✭ 98 (-95.08%)
Mutual labels:  excel, powerpoint, word
Documentbuilder
ONLYOFFICE Document Builder is powerful text, spreadsheet, presentation and PDF generating tool
Stars: ✭ 61 (-96.93%)
Mutual labels:  excel, word, docx
Rage
Rage allows you to execute any file in a Microsoft Office document.
Stars: ✭ 68 (-96.58%)
Mutual labels:  excel, word, powerpoint
docxmustache
laravel 8.x docx template manipulation class, based on mustache templating language
Stars: ✭ 34 (-98.29%)
Mutual labels:  word, docx, docxtemplater
rgpipe
lesspipe for ripgrep for common new filetypes using few dependencies
Stars: ✭ 21 (-98.94%)
Mutual labels:  excel, word, powerpoint
Docconv
Converts PDF, DOC, DOCX, XML, HTML, RTF, etc to plain text
Stars: ✭ 735 (-63.07%)
Mutual labels:  word, docx
Docxtemplater Link Module
⚓️ Hyperlink module for docxtemplater
Stars: ✭ 12 (-99.4%)
Mutual labels:  powerpoint, docx
Net Core Docx Html To Pdf Converter
.NET Core library to create custom reports based on Word docx or HTML documents and convert to PDF
Stars: ✭ 133 (-93.32%)
Mutual labels:  word, docx

docxtemplater

Download count Current tag CDNJS version size gzip size

docxtemplater is a library to generate docx/pptx documents from a docx/pptx template. It can replace {placeholders} with data and also supports loops and conditions. The templates can be edited by non-programmers, for example your clients.

Features

Demo Site

Quickstart

Documentation

The full documentation of the latest version can be found here.

See CHANGELOG.md for information about how to migrate from older versions.

Modules

Functionality can be added with paid modules.

  • Image module to add a given image with the syntax: {%image};
  • Html Module to insert formatted text in a docx document with the syntax {~html};
  • XLSX Module to be able to do templating on Excel files (xlsx extension), also with loops and conditions;
  • Chart Module to replace a chart by using data from the JSON object that you give with the syntax `{$chart};
  • Html-Pptx Module to insert formatted text in a pptx document with the syntax {~html};
  • Error Location Module to show the errors in the template with comments inside the template;
  • Slides Module to create multiple slides dynamically with the syntax {:users};
  • Subtemplate Module to include an external docx file inside a given docx file with the syntax {:include doc};
  • Subsection Module to include subsections (headers/footers) from an other document with the syntax {:subsection doc};
  • Subtemplate-pptx Module to include an external pptx file inside a given pptx file with the syntax {:include doc};
  • Word-Run Module to include raw runs (<w:r>) inside the document with the syntax {r@wrun}. This makes it possible to include styled text without having to remove the enclosing paragraph like in the {@rawXml} tag;
  • QrCode Module to replace an image, keeping any existing properties;
  • Table Module to create tables from two dimensional data using the syntax {:table data};
  • Meta Module to make a document readonly, add a text watermark or update the margins;
  • Styling Module restyle a paragraph, a cell or a table depending on some data using the syntax {:stylepar style};
  • Footnotes Module to be able to add footnotes to a document using the syntax {:footnotes foot}
  • Paragraph Placeholder Module to simplify conditions that should show or hide a given paragraph using the syntax {?tag}

Similar libraries

There are a few similar libraries that work with docx, here’s a list of those I know a bit about:

  • docx4j : JAVA, this is probably the biggest docx library out there. There is no built in templating engine, but you can generate your docx yourself programmatically.
  • docx : Javascript in the browser, you can create your docx from scratch, but not with template syntax, you need to "code your document" in Javascript.
  • redocx : Create Docx document from scratch, using JSX syntax, last commit on December 2018.
  • officegen : works only server side for the moment.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].