Skip to main content

Abstract

Chapter 5 discusses the procedure to create PDF and Excel spreadsheet reports with Ruby on Rails. A comparison is made with the PHP and Java class libraries for generating reports. A PDF document is generated using the PDF::Writer Ruby library. An XML document that conforms to the XML Spreadsheet Schema (XMLSS) may be exported to an Excel spreadsheet. In Rails an XML document may be generated using the RubyGems Builder gem. We shall also generate an Excel spreadsheet with the Ruby Spreadsheet library.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Rights and permissions

Reprints and permissions

Copyright information

© 2007 Springer-Verlag Berlin Heidelberg

About this chapter

Cite this chapter

(2007). Creating PDF and Excel Reports. In: Ruby on Rails for PHP and Java Developers. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-73145-0_5

Download citation

  • DOI: https://doi.org/10.1007/978-3-540-73145-0_5

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-73144-3

  • Online ISBN: 978-3-540-73145-0

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics