C# Class SobekCM.Library.ItemViewer.Viewers.TrackingSheet_ItemViewer

Inheritance: SobekCM.Library.ItemViewer.Viewers.abstractItemViewer
Show file Open project: MarkVSullivan/SobekCM-Web-Application

Public Methods

Method Description
Add_Main_Viewer_Section ( PlaceHolder MainPlaceHolder, Custom_Tracer Tracer ) : void

Allows controls to be added directory to a place holder, rather than just writing to the output HTML stream

This method does nothing, since nothing is added to the place holder as a control for this item viewer

Get_BarcodeImageUrl_from_string ( int ItemID, string Action, string FilenameToSave ) : string

Generates a barcode(with checksum) for a given string

TrackingSheet_ItemViewer ( BriefItemInfo BriefItem, SobekCM.Library.Users.User_Object CurrentUser, Navigation_Object CurrentRequest, Custom_Tracer Tracer ) : System

Constructor for a new instance of the TrackingSheet_ItemViewer class, used display the internal tracking sheet with milestons and barcode for progress logging for a single online digital resource

Write_Main_Viewer_Section ( TextWriter Output, Custom_Tracer Tracer ) : void

Write the item viewer main section as HTML directly to the HTTP output stream

Write_Within_HTML_Head ( TextWriter Output, Custom_Tracer Tracer ) : void

Write any additional values within the HTML Head of the final served page

int_to_base26 ( int InputNumber ) : string

Converts a base-10 integer to the base-26 equivalent

Method Details

Add_Main_Viewer_Section() public method

Allows controls to be added directory to a place holder, rather than just writing to the output HTML stream
This method does nothing, since nothing is added to the place holder as a control for this item viewer
public Add_Main_Viewer_Section ( PlaceHolder MainPlaceHolder, Custom_Tracer Tracer ) : void
MainPlaceHolder PlaceHolder Main place holder ( "mainPlaceHolder" ) in the itemNavForm form into which the bulk of the item viewer's output is displayed
Tracer Custom_Tracer Trace object keeps a list of each method executed and important milestones in rendering
return void

Get_BarcodeImageUrl_from_string() public method

Generates a barcode(with checksum) for a given string
public Get_BarcodeImageUrl_from_string ( int ItemID, string Action, string FilenameToSave ) : string
ItemID int ItemID for the material
Action string Indicates the Imaging action represented by this barcode
FilenameToSave string Name of the output file to save
return string

TrackingSheet_ItemViewer() public method

Constructor for a new instance of the TrackingSheet_ItemViewer class, used display the internal tracking sheet with milestons and barcode for progress logging for a single online digital resource
public TrackingSheet_ItemViewer ( BriefItemInfo BriefItem, SobekCM.Library.Users.User_Object CurrentUser, Navigation_Object CurrentRequest, Custom_Tracer Tracer ) : System
BriefItem BriefItemInfo Digital resource object
CurrentUser SobekCM.Library.Users.User_Object Current user, who may or may not be logged on
CurrentRequest Navigation_Object Information about the current request
Tracer Custom_Tracer Trace object keeps a list of each method executed and important milestones in rendering
return System

Write_Main_Viewer_Section() public method

Write the item viewer main section as HTML directly to the HTTP output stream
public Write_Main_Viewer_Section ( TextWriter Output, Custom_Tracer Tracer ) : void
Output System.IO.TextWriter Response stream for the item viewer to write directly to
Tracer Custom_Tracer Trace object keeps a list of each method executed and important milestones in rendering
return void

Write_Within_HTML_Head() public method

Write any additional values within the HTML Head of the final served page
public Write_Within_HTML_Head ( TextWriter Output, Custom_Tracer Tracer ) : void
Output System.IO.TextWriter Output stream currently within the HTML head tags
Tracer Custom_Tracer Trace object keeps a list of each method executed and important milestones in rendering
return void

int_to_base26() public method

Converts a base-10 integer to the base-26 equivalent
public int_to_base26 ( int InputNumber ) : string
InputNumber int Integer to convert to base-26 equivalent
return string