Sha256: c483c612d87dedc71f8fb618d872062b5499f18b3c78dd681f65b90b4fb95ec0
Contents?: true
Size: 578 Bytes
Versions: 1
Compression:
Stored size: 578 Bytes
Contents
require 'docx_generator' document = DocxGenerator::Document.new("basic_paragraph") document.add_paragraph(document.text("Title", underline: { style: "double" }, size: 20), alignment: "center") document.add_paragraph("Simple string of text and", document.text("some formatted text", bold: true, italics: true, underline: { style: "single" })) document.add_paragraph(document.text("Antoine", bold: true), "How are you today?") document.add_paragraph(document.text("John", bold: true), document.text("(whispering)", bold: true, italics: true), "How are you today?") document.save
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
docx_generator-0.0.2 | examples/basic_paragraph.rb |