You are here: Home Plone products Vacation Planner

Vacation Planner (0.1)

1
by Ihor Berehulyak last modified 2009-01-13
0.0
0.0
0.0
0.0
Released on 2005-07-18 by Jeff Pittman for Plone 2.0 under GPL - GNU General Public License available for All platforms.
Software development stage: alpha
VacationPlanner takes input data for vacation days for personnel and generates image (PNG, JPG, GIF, etc.), PDF, SVG, and HTML renderings. The image and PDF renderings are done with the ReportLab graphics toolkit, and there is also a rendering to SVG done with ReportLab. VacationPlanner's own rendering routines produce SVG directly and also a simple HTML table version. The layout in is to have time on the vertical axis, with the past extending downward from the top. The example data is for one complete year, so that the resulting graphic has a very great height. Vacations are plotted in columns for individual personnel.

VacationPlanner uses the ReportLab toolkit to generate a vacation calendar plot in various rendering targets and uses its own rendering routines to directly generate SVG and other targets.

VacationPlanner is a folderish Archetypes-based Plone/Zope product. The idea is to use various renderers to create images, PDF files, and/or SVG versions of the vacation planner and store them. This allows flexibility for a user of VacationPlanner to offer several format versions, if needed, and to experiment with rendering choices before deciding on the best one for the specific usage.

VacationPlanner takes input of the following items:

  • image size (width and height, in pixels)
  • position (x and y of upper left corner, in pixels)
  • a setting for scale-to-fit
  • vacations, entered as comma-separated values on separate lines for the vacations. Vacations are specified by:
    • username
    • realname
    • groupname
    • year
    • month
    • day
    • day portion (morning, evening, all day)
    • reason
    • red, green, blue (each 0-255)

REQUIREMENTS

  • Archetypes (tested with Archetypes-1.3.2-final bundle)
  • Plone (tested with Plone-2.0.5)
  • PIL (Python Imaging Library),
  • ReportLab Toolkit, from (tested with v. 1.20)
  • renderPM, from the ReportLab Toolkit, as an addon module, from:
Document Actions
Powered by Plone