Skip to content

Latest commit

 

History

History
97 lines (84 loc) · 3.59 KB

README.md

File metadata and controls

97 lines (84 loc) · 3.59 KB

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