C# Class SobekCM.Library.MySobekViewer.Edit_TEI_Item_MySobekViewer

Inheritance: abstract_MySobekViewer
ファイルを表示 Open project: MarkVSullivan/SobekCM-Web-Application

Public Methods

Method Description
Add_Controls ( System.Web.UI.WebControls.PlaceHolder MainPlaceHolder, Custom_Tracer Tracer ) : void

Add controls directly to the form in the main control area placeholder

Edit_TEI_Item_MySobekViewer ( RequestCache RequestSpecificValues ) : System

Constructor for a new instance of the Edit_TEI_Item_MySobekViewer class

ScaleImage ( Image SourceImage, int MaxWidth, int MaxHeight ) : Image

Scales an existing SourceImage to a new max width / max height

Standard_Citation_String ( bool Include_Links, Custom_Tracer Tracer ) : string

Returns the basic information about this digital resource in standard format

Write_HTML ( TextWriter Output, Custom_Tracer Tracer ) : void

Add the HTML to be displayed in the main SobekCM viewer area

This adds the CompleteTemplate HTML for step 2 and the congratulations text for step 4

Write_ItemNavForm_Closing ( TextWriter Output, Custom_Tracer Tracer ) : void

This is an opportunity to write HTML directly into the main form, without using the pop-up html form architecture

This text will appear within the ItemNavForm form tags

Write_Within_HTML_Head ( TextWriter Output, Custom_Tracer Tracer ) : bool

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

Private Methods

Method Description
Add_Citation_HTML_Rows ( string Row_Name, List Values, string Indent, StringBuilder Results ) : void
Single_Citation_HTML_Row ( string Row_Name, string Value, string Indent ) : string
add_upload_controls_tei ( System.Web.UI.WebControls.PlaceHolder MainPlaceholder, string Prompt, string AllowedFileExtensions, Custom_Tracer Tracer ) : void
complete_item_submission ( SobekCM_Item Item_To_Complete, Custom_Tracer Tracer ) : bool
display_text_from_value ( string Value ) : string
search_link_from_value ( string Value ) : string

Method Details

Add_Controls() public method

Add controls directly to the form in the main control area placeholder
public Add_Controls ( System.Web.UI.WebControls.PlaceHolder MainPlaceHolder, Custom_Tracer Tracer ) : void
MainPlaceHolder System.Web.UI.WebControls.PlaceHolder Main place holder to which all main controls are added
Tracer SobekCM.Tools.Custom_Tracer Trace object keeps a list of each method executed and important milestones in rendering
return void

Edit_TEI_Item_MySobekViewer() public method

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

ScaleImage() public static method

Scales an existing SourceImage to a new max width / max height
public static ScaleImage ( Image SourceImage, int MaxWidth, int MaxHeight ) : Image
SourceImage System.Drawing.Image Source image
MaxWidth int Maximum width for the new image
MaxHeight int Maximum height for the new image
return System.Drawing.Image

Standard_Citation_String() public method

Returns the basic information about this digital resource in standard format
public Standard_Citation_String ( bool Include_Links, Custom_Tracer Tracer ) : string
Include_Links bool Flag tells whether to include the search links from this citation view
Tracer SobekCM.Tools.Custom_Tracer Trace object keeps a list of each method executed and important milestones in rendering
return string

Write_HTML() public method

Add the HTML to be displayed in the main SobekCM viewer area
This adds the CompleteTemplate HTML for step 2 and the congratulations text for step 4
public Write_HTML ( TextWriter Output, Custom_Tracer Tracer ) : void
Output System.IO.TextWriter Textwriter to write the HTML for this viewer
Tracer SobekCM.Tools.Custom_Tracer Trace object keeps a list of each method executed and important milestones in rendering
return void

Write_ItemNavForm_Closing() public method

This is an opportunity to write HTML directly into the main form, without using the pop-up html form architecture
This text will appear within the ItemNavForm form tags
public Write_ItemNavForm_Closing ( TextWriter Output, Custom_Tracer Tracer ) : void
Output System.IO.TextWriter Textwriter to write the pop-up form HTML for this viewer
Tracer SobekCM.Tools.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 ) : bool
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 bool