RubyGems Navigation menu

xhtml_report_generator 1.1.0

The generator can be used to create xhtml files. It comes with some default utility functions.

Here is an example usage

gen1 = XhtmlReportGenerator::Generator.new
gen1.createLayout
gen1.setTitle("Example Report")
gen1.heading("titel", "h1", :btoc)
gen1.heading("subtitel", "h2", :ltoc)
gen1.heading("section", "h3")
gen1.content("content function: Hallo welt <br /> html test <span class="r" >red span test</span>", {"class"=>"bold"})
gen1.html("<p class="italic">html function: Hallo welt <br /> html test <span class="r" >red span test</span></p>")

The javascript to render the table of contents, the custom generator functions and style sheet all can be supplied by your own, if necessary.

Gemfile:
= Copy to clipboard Copied!

Installeer:
=

Versies:

  1. 4.0.3 - July 17, 2020 (189 KB)
  2. 4.0.2 - January 30, 2019 (175 KB)
  3. 4.0.1 - January 26, 2019 (175 KB)
  4. 4.0.0 - September 26, 2017 (224 KB)
  5. 3.1.2 - March 13, 2017 (57 KB)
  6. 1.1.0 - January 07, 2015 (44 KB)
Toon alle versies (25 totaal)

Eigenaren:

Authors:

  • Manuel Widmer

SHA 256 checksum:

= Copy to clipboard Copied!

Total downloads 48.760

Voor deze versie 2.241

Licentie:

MIT

Required Ruby Version: >= 1.8.7

Links: