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

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

Serving Software Downloads in 956 Categories, Downloaded 50.133.957 Times

PlotCalendar::Month 1.1

  Date Added: January 18, 2010  |  Visits: 1.023

PlotCalendar::Month

Report Broken Link
Printer Friendly Version


Product Homepage
Download (88 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 Day.pm 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.$i.ca" >"; $bgcolor[$i] = $colors[$i%5]; @{$text[$i]} = ("Text 1 for $i","Second $i text","$i bit of text",); @{$textref[$i]} = ("< A HREF="http://www.$i.com/" >","Second $i text","< A HREF="http://www.$i.net/" >",); @{$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
USER REVIEWS
More Reviews or Write Review


PLOTCALENDAR::MONTH RELATED
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...
 
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...
 
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  
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  
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  
Development Editors  -  AskKey for Mac OS 1.3
Designed for those who work with ASCII characters and HTML notations and Unicode symbols. Using ASC/Chr, you can find ASCII values for particular characters or vice versa. Use HTML to find HTML notations for particular keys. Switch to 'Key' and...
5.2 MB  
Programming  -  jasciidoc 1.0
JAsciiDoc is tool for convert ascii documets into HTML, DocBook, which supports by AsciiDoc. Implemented as Ant task and Maven plugin. Used AsciiDoc 8.3.6, Java 1.4 or above, Ant 1.7.0 or Maven 3.0.2.
54.72 KB  
Modules  -  Fade in fade out xml rss feed 1.0
Now a day's everyone use fade in fade out text in some portion of the website to attract the user. So i have created new plug-in to do this. This plug-in directly retrieve title from RSS feed and create the fade in fade out effect in the word...
204.8 KB  
Utilities  -  Dylan Code Collection 1.7
A collection of useful libraries written in the Dylan programming language. The intent of this project is to provide easily accessible libraries for people developing applications using Functional Developer and/or Gwydion Dylan.
673.63 KB  
Programming  -  kin 0.0.2
kin is a set of libraries and tools supporting meta-programming for engineering and technical computing applications. This JVM version of kin has been superseded by the stand-alone version being developed at http://purl.org/net/kin.
477.44 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
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  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 4.0.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...
3.88 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