logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Remind::PDF - Render a month's worth of Remind data to PDF

Class Methods

Remind::PDF::Multi->create_from_stream($in,$specials_accepted)
       This method reads data from an open file handle $in.  $specials_accepted is a hashref of SPECIAL reminder
       types to accept; the key is the name of the SPECIAL (all lower-case) and the value should be 1.  Any
       SPECIAL reminders not in the hash are ignored.

       This function returns a two-element array: "($obj, $err)".  On success, $obj will be a
       "Remind::PDF::Multi" object and $err will be undef.  On failure, $obj will be undef and $err will be an
       error message.

   Remind::PDF::Multi->create_from_json($json,$specials_accepted)
       This method takes data from a JSON string <$json>.  $specials_accepted is a hashref of SPECIAL reminder
       types to accept; the key is the name of the SPECIAL (all lower-case) and the value should be 1.  Any
       SPECIAL reminders not in the hash are ignored.

       This function returns a two-element array: "($obj, $err)".  On success, $obj will be a
       "Remind::PDF::Multi" object and $err will be undef.  On failure, $obj will be undef and $err will be an
       error message.

Description

       The "remind -ppp" output consists of a JSON array with each element representing one month's worth of
       reminders.  "Remind::PDF::Multi" reads this output and returns an instance of itself containing an array
       of "Remind::PDF" objects, one object for each month.

Instance Methods

render($cr,$settings)
       Iterate through all the "Remind::PDF" objects and call their "render" methods.  This method renders as
       many months worth of calendar data as were read from the "remind -ppp" stream

Name

       Remind::PDF::Weekly - render a weekly calendar

perl v5.40.1                                       2025-05-06                                   Remind::PDF(3pm)