C# Class SobekCM.Library.HTML.Print_Item_HtmlSubwriter

Print item html subwriter renders a single digital resource in a simplified window for printing purposes
This class extends the abstractHtmlSubwriter abstract class.
Inheritance: abstractHtmlSubwriter
ファイルを表示 Open project: MarkVSullivan/SobekCM-Web-Application Class Usage Examples

Public Methods

Method Description
Print_Item_HtmlSubwriter ( RequestCache RequestSpecificValues ) : System

Constructor for a new instancee of the Print_Item_HtmlSubwriter class

Write_HTML ( TextWriter Output, Custom_Tracer Tracer ) : bool

Writes the HTML generated to print this item directly to the response stream

Write_Within_HTML_Head ( TextWriter Output, Custom_Tracer Tracer ) : void

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

Private Methods

Method Description
print_brief_citation ( string image_width, TextWriter Output ) : void
print_full_citation ( TextWriter Output ) : void
print_pages ( bool include_brief_citation, int from_page, int to_page, TextWriter Output ) : void
print_thumbnails ( bool include_brief_citation, TextWriter Output ) : void
print_tracking_sheet ( TextWriter Output ) : void

Method Details

Print_Item_HtmlSubwriter() public method

Constructor for a new instancee of the Print_Item_HtmlSubwriter class
public Print_Item_HtmlSubwriter ( RequestCache RequestSpecificValues ) : System
RequestSpecificValues RequestCache All the necessary, non-global data specific to the current request
return System

Write_HTML() public method

Writes the HTML generated to print this item directly to the response stream
public Write_HTML ( TextWriter Output, Custom_Tracer Tracer ) : bool
Output System.IO.TextWriter Stream to which to write the HTML for this subwriter
Tracer SobekCM.Tools.Custom_Tracer Trace object keeps a list of each method executed and important milestones in rendering
return bool

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 SobekCM.Tools.Custom_Tracer Trace object keeps a list of each method executed and important milestones in rendering
return void