Giter Site home page Giter Site logo

eaglegamer260 / stencil Goto Github PK

View Code? Open in Web Editor NEW

This project forked from erdos/stencil

0.0 0.0 0.0 890 KB

templating engine for DOCX and PPTX files

Home Page: https://stencil.erdos.dev

License: Eclipse Public License 2.0

Clojure 59.92% Java 39.09% Dockerfile 0.24% BlitzBasic 0.75%

stencil's Introduction

Stencil Template Engine

Stencil is a templating engine to produce Office Open XML (mostly Microsoft Office's Word .docx files) from Java programs. It has a simple syntax and no programming is needed to write or modify document templates.

The aim of this project is to provide an easy-to-use and freely available tool for generating office documents.

stencil flow

You can use either Microsoft Word or LibreOffice to edit the document templates. The template expressions are just simple texts, and you can even colour-code them to make the template more readable.

Clojars Project CI codecov contributions welcome

Hits EPL 2.0

Features

  • Works with docx and pptx files
  • Simple value substitution
  • Substituting HTML text for dynamic text formatting
  • Conditional and repeating blocks in the template
  • Show/hide rows and columns in tables
  • Dynamically replace images in the template

Getting Started with the Library

Getting Started with the Service

The project has a simple service implementation, which is available on GitHub Packages as a Container image.

Version

Latest stable version is 0.3.31

Latest snapshot version is 0.3.32-SNAPSHOT

If you are using Maven, add the followings to your pom.xml:

The dependency:

<dependency>
  <groupId>io.github.erdos</groupId>
  <artifactId>stencil-core</artifactId>
  <version>0.3.31</version>
</dependency>

And the Clojars repository:

<repository>
  <id>clojars.org</id>
  <url>https://repo.clojars.org</url>
</repository>

Alternatively, if you are using Leiningen, add the following to the :dependencies section of your project.clj file: [io.github.erdos/stencil-core "0.3.31"]

Previous versions are available on the Stencil Clojars page.

License

Copyright (c) Janos Erdos. All rights reserved. The use and distribution terms for this software are covered by the Eclipse Public License 2.0 (https://www.eclipse.org/legal/epl-2.0/) which can be found in the file LICENSE.txt at the root of this distribution. By using this software in any fashion, you are agreeing to be bound by the terms of this license. You must not remove this notice, or any other, from this software.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.