Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eicca/rtf-templater
Embedded ruby for RTF documents. You provide .rtf template and data and rtf-templater generates the document.
https://github.com/eicca/rtf-templater
Last synced: 3 months ago
JSON representation
Embedded ruby for RTF documents. You provide .rtf template and data and rtf-templater generates the document.
- Host: GitHub
- URL: https://github.com/eicca/rtf-templater
- Owner: eicca
- License: mit
- Created: 2012-06-07T19:34:56.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2012-06-15T13:55:31.000Z (over 12 years ago)
- Last Synced: 2024-07-17T07:26:15.420Z (4 months ago)
- Language: Ruby
- Size: 266 KB
- Stars: 22
- Watchers: 5
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# RtfTemplater
This is a very simple gem designed to generate RTF documents from a given template.
This gem is written in haste, but it works in most cases (I tested it on: mac office, TextEdit, office 2007).
It is heavily inspired by [Serenity](https://github.com/kremso/serenity).
## Installation
Add this line to your application's Gemfile:
gem 'rtf-templater'
And then execute:
$ bundle
Or install it yourself as:
$ gem install rtf-templater
## Usage
Look at the example in the showcase directory.
In short this template:
![template](http://github.com/eicca/rtf-templater/blob/master/showcase/template.png?raw=true)
Generates such document:
![document](http://github.com/eicca/rtf-templater/blob/master/showcase/document.png?raw=true)
## Contributing
1. Fork it
2. Create your feature or bug-fix branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Added some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request