Method | Description | |
---|---|---|
DownloadAsBITMAP ( List |
Exports lectures to bitmap format.
|
|
DownloadAsICAL ( List |
Exports lectures to ICal format.
|
|
DownloadAsSVG ( List |
Exports lectures to SVG file.
|
|
DownloadAsXML ( List |
Serializes lectures to XML file.
|
|
ImportExport ( ) : System | ||
ImportXML ( System.Web.HttpPostedFileBase file ) : List |
Deserialize XML of lectures.
|
Method | Description | |
---|---|---|
convertToExportFormat ( List |
public DownloadAsBITMAP ( List |
||
lectures | List |
List of lectures. |
title | string | Title displayed at top-left corner of the image. |
created | System.DateTime | Date the timetable was created from config. |
linkToInfo | string | Hyperlink to webpage with additional information. |
path | string | Path to folder where temp files will be created and where Inkspace folder is. |
format | string | Bitmap format to export ie. png jpg pdf |
return | System.Web.Mvc.FileResult |
public DownloadAsICAL ( List |
||
lectures | List |
List of lectures. |
semStart | System.DateTime | Beginning of the semester. Only Year, Month and Day are used. |
semEnd | System.DateTime | End of the semester. Only Year, Month and Day are used. |
return | System.Web.Mvc.ActionResult |
public DownloadAsSVG ( List |
||
lectures | List |
List of lectures. |
title | string | Title displayed at top-left corner of the SVG. |
created | System.DateTime | Date the timetable was created from config. |
linkToInfo | string | Hyperlink to webpage with additional information. |
return | System.Web.Mvc.ActionResult |
public DownloadAsXML ( List |
||
lectures | List |
List of lectures. |
return | System.Web.Mvc.ActionResult |
public ImportXML ( System.Web.HttpPostedFileBase file ) : List |
||
file | System.Web.HttpPostedFileBase | File posted by HTTP POST. |
return | List |