Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Jun 2, 2011
Commits on May 30, 2011
  1. Add 'personality' import option.

    Allow use of either the original pdflib_pl version or
    the new PDF::Writer personality.
Commits on May 27, 2011
Commits on May 26, 2011
  1. Flip the boxes so they draw down from their X,Y pos.

    We draw down the page, not up.
  2. Containers should be elastic.

    Containers should become the size of their contents.
Commits on May 17, 2011
Commits on May 12, 2011
  1. Create textbox with rounded corners using 'radius'

    Passing a 'radius' parameter to a textbox element will create
    a box which has rounded corners.
Commits on May 11, 2011
  1. Move warnings back to rendering stage.

    The scopes get entered and exited during processing
    but we only want debug messages when the elements are
    actually rendered.
  2. Remove common Element code.

    The 'should_render' check is done in the base Element
    class' render method.
  3. Remove relative positioning code.

    PDF-Template already supports relative positioning, would
    have paid if I had read the Context code first. Doh!
  4. Fix debugging

    Tabs made the debugging display too wide, instead just indent by
    a single space for each XML level in the template.
  5. All Element subclasses should define _render

    By defining _render instead of render the elements can
    have common behaviour as well as the define their own
  6. Allow colors specified by name.

    Colors can now be specified by name as well as RGB values.
  7. Give 'new' the option of using an in-core string.

    Add the 'XML' parameter to new in which the operator can provide
    the XML which should be parsed to build a PDF.
Commits on Apr 18, 2011
  1. More generic elements.

    This commit moves the codebase toward more generic elements where
    each element type has common options X/Y which can be specified
    absolutely or relative to the current cursor position.
  2. Add TAG attribute.

    Each element is now able to print it's own tag using the TAG
  3. Use warnings and base everywhere.

    Turn on warnings and do inheritance via 'use base'.
  4. Created <debug> element

    Use the <debug> element when you want information about
    what enclosed elements are being put to the PDF.
Commits on Apr 11, 2011
  1. Begin pdf page before template page.

    I think this was the cause of a single outline failing, it
    was being called against a page which had not yet started.
  2. Formatting fix.

Commits on Apr 6, 2011
  1. Created <debug> container.

    Element within a <debug></debug> group can warn of their
    rendering status to aid debugging.
Commits on Mar 29, 2011
  1. <weblink> support

    Display text between <weblink> & </weblink> and place
    an annotation to create a URL link over the text.
Commits on Mar 17, 2011
  1. Better calculation of characters in textbox.

    Number of character in a textbox was being badly miscalculated
    by using the line height.  It's still wrong but it's much better
  2. Use page width as default textbox width.

    If no 'w' is passed to textbox then use the page width, taking
    into account the page's margins and the current X position of
    the context.
Commits on Mar 15, 2011
  1. Stop rendering when the pagebreak is tripped.

    Don't trip a pagebreak unless we're actually out of space.
  2. Support nested bookmarks.

    Creating bookmark element with parent attribute will now
    create a nested bookmark.
  3. Don't clobber the iterator when paging.

    Supporting pagedef within a loop means running an iterator
    during begin_page on a loop object.  This pagedef loop iterator
    was clobbering the current loop iterator.
  4. Add debugging statements.

Commits on Mar 11, 2011
  1. Fix cursor position on new page.

    Position the cursor at the bottom of the headers when
    a loop exceeds the page length and continues onto a
    new page.
Commits on Mar 9, 2011
Commits on Mar 8, 2011
  1. Added support for the <POS/> element.

    Original PDF::Template has the ability to reposition the
    cursor.  Reinstate this.
  2. Initial import v0.29-02

Something went wrong with that request. Please try again.