Welcome, Guest
Please Login or Register.    Lost Password?

Skin to "print" calendars to HTML files
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Skin to "print" calendars to HTML files
#17577
Skin to "print" calendars to HTML files 2 Years, 3 Months ago  
After I read a Rainy's message, I started to create a skin which generate a HTML file with the same aspect (as possible) of the Print preview. (original post).
Any suggestion/idea/layout will be welcome (if it's possible to make ).

This is just a workaround until Rainy implements a new Printer dialog
My apologizes for any bug... creating this in lua isn't the best thing... wxWidgets is so much easy...

How to use:
- FIRST!!! Change the target file in the option of the skin.
- Select the kind of print
- Change the options (not all works for all kinds of print)
- Check/Uncheck the calendars you want to include
- Change start/end date
- Click on printer icon
- Open your target file
- Done!

This skin supports this planner layout

Known issues:
- Some visual options are lost when another option changes (start/end dates specially)
- One disadvantage of HTML vs. PDF is that you need to enable background colors and images when printing to get the same visual aspect as the screen.
- Items without calendar assigned are not listed
- I can't (don't know how) check Daylight Saving Time
- The long date format is fixed: "weekday, day monthname year" (I don't know how to retrieve the system long date format)
- By selection list isn't possible (unless if the selected items are copied to a new calendar and select only this calendar)

Additional notes:
About the "Items without calendar", I think this only could be solved if in Rainlendar_ListAllComponents([calendar], [date]) I could use: a calendar name, nil for all and "" for [None]
Jorge_Luis
Platinum Boarder
Posts: 795
graphgraph
User Offline Click here to see the profile of this user
Gender: Male My Rainlendar Skins Location: Argentina Birthday: 03/15
Last Edit: 2012/10/06 12:38 By Jorge_Luis.
The administrator has disabled public write access.
 
#18092
Re:Skin to "print" calendars to HTML files 2 Years ago  
Version updated to 0.3

- All options are moved from window to skin's options dialog.
- Option to show/hide weekend days.
File Attachment:
File Name: Printer-9b48acd7174fdcb01cbbc2f0ff362ea5.zip
File Size: 70953
Jorge_Luis
Platinum Boarder
Posts: 795
graphgraph
User Offline Click here to see the profile of this user
Gender: Male My Rainlendar Skins Location: Argentina Birthday: 03/15
The administrator has disabled public write access.
 
Go to topPage: 1
get the latest posts directly to your desktop