Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 29.878.528 Times

PlotCalendar::Month 1.1

  Date Added: January 18, 2010  |  Visits: 694


Report Broken Link
Printer Friendly Version

Product Homepage
Download (72 downloads)

PlotCalendar::Month is a Plot an ASCII or HTML calendar. SYNOPSIS Creates a Month object for plotting as ASCII, HTML, or in a Perl/Tk Canvas. Calls for the individual days within the calendar. Measurements in pixels because - well, because. It seemed simpler when I made the decision. And it works for both Tk and HTML. The month is laid out like this : Month_name Year --------------------------------------------------------------- | Sun | Mon | Tue | Wed | Thu | Fri | Sat | --------------------------------------------------------------- | | | | | | | | | day | day | | | | | | | | | | | | | | |--------|--------|--------|-------|--------|--------|--------| | | | | | | | | | day | day | | | | | | | | | | | | | | |--------|--------|--------|-------|--------|--------|--------| | | | | | | | | | day | day | | | | | | | | | | | | | | |--------|--------|--------|-------|--------|--------|--------| | | | | | | | | | day | day | | | | | | | | | | | | | | |--------|--------|--------|-------|--------|--------|--------| | | | | | | | | | day | day | | | | | | | | | | | | | | |--------|--------|--------|-------|--------|--------|--------| | | | | | | | | | day | day | | | | | | optional | | | | | | | | row |--------|--------|--------|-------|--------|--------|--------| Globals : height, width, fgcol, bgcolmain, References expect to be given the entire thing, that is < A HREF="http://yaddayaddayadda/" > or < A HREF="mailto:george_tirebiter@noway.nohow" > The software will terminate it with a < /A > at the right spot. EXAMPLE require PlotCalendar::Month; my $month = PlotCalendar::Month->new(01,1999); # Jan 1999 # global values, to be applied to all cells ------------------------- size of whole calendar $month -> size(700,700); # width, height in pixels ------------------------- font sizes for digit, name of day, and text $month -> font(14,10,8); ------------------------- clip text if it wants to wrap? $month -> cliptext(yes); ------------------------- This can be any day you want $month -> firstday(Sun); # First column is Sunday ------------------------- If this is not set, regular text will be used. ------------------------- If it is set, then in that directory should be ------------------------- gif files named 0.gif, 1.gif ... January.gif, ... $month -> artwork(/home/ajackson/public_html/cgi-bin/Calendar/Calendar_art3/); # arrays of values, if not an array, apply to all cells, if an array # apply to each cell, indexed by day-of-month The colors are the standard values used in html Textstyle encoding is b=bold, i=italic, u=underline, n=normal Fontsize = 6-14, roughly point sizes my @text; my @daynames; my @nameref; my @bgcolor; my @colors = (WHITE,#33cc00,#FF99FF,#FF7070,#FFB0B0,); my (@textcol,@textsize,@textstyle,@textref); my @style = (i,u,b,); my @url; ----------- build some random color and text fields as a demo for (my $i=1;$i<=31;$i++) { $daynames[$i] = "Day number $i"; $nameref[$i] = "< A HREF="http://www.$" >"; $bgcolor[$i] = $colors[$i%5]; @{$text[$i]} = ("Text 1 for $i","Second $i text","$i bit of text",); @{$textref[$i]} = ("< A HREF="http://www.$" >","Second $i text","< A HREF="http://www.$" >",); @{$textcol[$i]} = ($colors[($i+1)%5],$colors[($i+2)%5],$colors[($i+3)%5]); @{$textsize[$i]} = ("8","10","8",); @{$textstyle[$i]} = @style; @style = reverse(@style); $url[$i] = ; } ------------------------- Set global values $month -> fgcolor(BLACK,); # Global foreground color $month -> bgcolor(@bgcolor); # Background color per day $month -> styles(b,bi,ui,); # Global text styles # Comments my @prefs = (before,after,after); my @comments = ([Comment one],["Comment two","and so on"],[Comment three]); my @comcol = qw(b g b); my @comstyle = qw(n b bi); my @comsize = qw(8 10 14); ------------------------- Comments get stuck into an otherwise empty cell $month->comments(@prefs,@comments,@comcol,@comstyle,@comsize); ------------------------- Wrap a hotlink around the whole day, for each day $month -> htmlref(@url); ------------------------- set the names for every day $month -> dayname(@daynames); ------------------------- wrap the name in a hotlink $month -> nameref(@nameref); ------------------------- set the text and its properties for each day $month -> text(@text); $month -> textcolor(@textcol); $month -> textsize(@textsize); $month -> textstyle(@textstyle); $month -> textref(@textref); # global HTML only options ----------------- allow days to expand vertically to accomodate text $month -> htmlexpand(yes); # grab an ascii calendar and print it my $text = $month -> getascii; print $text; ------------------- get the html calendar my $html = $month -> gethtml; print "< HTML >< BODY >n"; print $html;.

Requirements: No special requirements
Platforms: Linux
Keyword: Ascii Calendar Day Html Libraries Month Plotcalendar Plotcalendarmonth Print Programming Text
Users rating: 0/10

License: Freeware Size: 20.48 KB
More Reviews or Write Review

Information Lookup  -  MB Personal Numerology 1.0
MB Personal Numerology Software is a wonderful numerology tool that lets you know your personal numerology numbers including your personal day number, personal month number and also your personal year number. Apart from telling you these personal...
Time & Clock Tools  -  Gold Calendar 1.0
Gold Calendar puts the day of the month next to/near the clock in the system tray, it shows you todays date, and will update the number displayed when the date changes. Move your mouse over the Gold Calendar's icon to bring up a monthly calendar.
145 KB  
Calendar  -  IAMCalendar 1.0
This class can be used to display calendar of a given month in an HTML page. Holidays or other events can be configured to be highlighted in a special way (using CSS styles). The days of the month can rendered with a form checkbox or radio buttons...
Screen Savers  -  July 20 Calendar Ubuntu Theme 1
July 2011 Calendar Ubuntu Theme contains 10 calendar backgrounds for the month of July 2011. This is a high resolution Ubuntu Theme which will fit very well into all desktop and laptop screens with Ubuntu and Linux distros with Gnome art support....
11.75 MB  
Time & Clock Tools  -  Calendar 1.2.1
Calendar will display any month from January 1900 to December 2099. It can tell you how many days or weeks there are between any two dates and also what the date was or will be, offset by a specified number of days from any date. Date format can...
13 KB  
Networking  -  Daily iframe content II Script 1.1
This script loads a different page into an iframe daily, depending on the day of the month (1-31).You can use it to serve up daily, changing content, such as a "tip of the day." The script offers optional code to auto resize iframe based on height...
102.4 KB  
Productivity  -  Pray Day
Stuck in a rut praying the same thing every day? Pray Day helps provide direction to your prayers by providing daily suggestions. Pray Day includes a different prayer each day of the month for: Children, Husband, Wife, Pastor, Pastor's Wife,...
1024 KB  
Shell & Desktop  -  MB Free Birthday Number 1.25
MB Free BirthDay Number Software is a wonderful and user-friendly software, which highlights the day of the month that you were born. Based on this number, you can have an in-depth look at your own personality, and also find out which particular...
657 KB  
Information Management  -  SengSoft DailyVerse 1.85
DailyVerse displays a different bible verse or a Scripture passage every day for a month. You can update the daily verses within the program or you can edit them directly in the installed directory by using NotePad.Type or cut-and-paste your much...
128 KB  
Time & Clock Tools  -  Diana 1.0
Diana is a very basic agenda program that allows you to enter a 'ToDo' list or text entry for each day of the month. Add notes to certain days, view them when needed, see a quick report of the upcoming entries. This program was not made to impress...
491 KB  
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by, it is used to describe information about an application such as the name and...
327.68 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  wolfSSL 3.11.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
2.73 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB