Code Monkey home page Code Monkey logo

pleodox-community's Introduction

PleoDox Document Generation Services is a smart, scalable and robust document generation software (or templating engine) solution that automates all of the sensitive field-filling grunt work, enabling you to pursue a more worthwhile use of office time. Once the setup is done, you will be able to generate dozens of documents within minutes without the fear of that one little typo in your address, your VAT ID or bank account number that could cost you embarrassment or even serious fines if not caught in time.

Are you generating documents on a daily basis? PleoDox document generation services helps reuse your existing data and generates new documents based on document templates.

Run Locally

- git checkout
- you will need libreoffice (used with jod converter)
- setup up the libreoffice path in application.properties
	ie: "jodconverter.local.office-home=/YOUR_PATH_TO_libreoffice/App/libreoffice"
- you will need Java 11 (although JDK 8 should work if [pleodox-core](https://github.com/PleoSoft/pleodox-core) si compiled with java 8)
- start com.pleosoft.pleodox.community.PleodoxCommunityApplication
{
		"order": {
			"number": "1",
			"name": "John",
			"lastname": "Doe",
			"glows": {
				"glow": [
					{
						"color": "red",
						"size": "XL"
					},
					{
						"color": "yellow",
						"size": "S"
					}
				]
			}
		}
}

Run with Docker

- create docker image locally: mvn package -P docker
- or pull from docker hub: docker pull docker pull pleosoft/pleodox-community
- start: docker run -p 8080:8080 pleosoft/pleodox-community

Create your templates

Create new templates video: https://www.youtube.com/watch?v=xi1uRyTQxrE

use word with content controls (check https://www.youtube.com/watch?v=OtFhIqK0gec)

  • Create your XML data sample (TestXMLNode xmlns must be PLEODOX)
<?xml version="1.0" standalone="yes"?>
<TestXMLNode xmlns="PLEODOX">
	<order>
        <number>1234</number>
		<name>Peter</name>
		<lastname>Pan</lastname>
		<glows>
			<glow>
				<color>Red</color>
				<size>XL</size>
			</glow>			
			<glow>
				<color>White</color>
				<size>S</size>
			</glow>
           </glows>
	</order>
</TestXMLNode>
  • Open the Developer tab in MS Word > XML Mapping Pane and add your custom XML as a Custom XML Part

    • the data values in your XML are just previewable sample data that is not used in the generated document
    • however it is useful while previewing the template
  • You can also use a MS Plugin "Custom XML Part Editor" in order to change your XML on the fly within MS WORD

  • Upload the template to "pleodox.storage.templatesDir"

Commercial version

a commercial version supporting WORD and XLS templates (with many other features) is supported and available at pleodox.com

pleodox-community's People

Contributors

dgradecak avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

bvijaykmu zoath

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.