BETAmodules.com is in beta — open to partnerships & joint ventures.Build with us

docx_template

v0.7RubyGems· Ruby

template = DocxTemplate::Docx.new "/opt/docx_template.docx" template.replace_text("##SINGLE_REPLACE_TEXT##", "ACTUAL TEXT HERE") template.replace_text("##MULTI_REPLACE_TEXT##", "ACTUAL TEXT HERE", true) template.replace_header("##HEADER_REPLACE_TEXT##", "ACTUAL TEXT HERE", true) template.replace_image("image1.jpeg", "/opt/image5.jpg") template.save('/opt/final.docx')

The verdict
Abandoned. Last published 11 years ago. No recent activity — look for a maintained alternative.
No recent activity — look for a maintained alternative.
Live from the RubyGems registry · derived rules, not AI
How it scores
MaintenanceAbandoned
PopularityNiche
SecurityClean
LicenseOther
DepsZero deps
Maintenance
Last published 11 years ago.
Popularity
7 downloads / week
Security
No known advisories for this version (OSV).
License
non-standard
Dependencies
No runtime dependencies
Recent releases
  • 0.711 years ago
  • 0.611 years ago
  • 0.511 years ago
  • 0.411 years ago
  • 0.311 years ago
  • 0.211 years ago
  • 0.111 years ago
docx_template — template = DocxTemplate::Docx.new "/opt/docx_template.docx" template.replace_text("##SINGLE_REPLACE_TEXT##", "ACTUAL TEXT HERE") template.replace_text("##MULTI_REPLACE_TEXT##", "ACTUAL TEXT HERE", true) template.replace_header("##HEADER_REPLACE_TEXT##", "ACTUAL TEXT HERE", true) template.replace_image("image1.jpeg", "/opt/image5.jpg") template.save('/opt/final.docx') (Ruby / RubyGems) · Modules