C# 클래스 SobekCM.Library.ItemViewer.Viewers.Text_ItemViewer

Item viewer shows plain text view of any text file associated with this digital resource, including OCR'd texte
This class extends the abstract class abstractItemViewer and implements the iItemViewer interface.
상속: SobekCM.Library.ItemViewer.Viewers.abstractItemViewer
파일 보기 프로젝트 열기: MarkVSullivan/SobekCM-Web-Application 1 사용 예제들

공개 메소드들

메소드 설명
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

Text_ItemViewer ( BriefItemInfo BriefItem, User_Object CurrentUser, Navigation_Object CurrentRequest, Custom_Tracer Tracer, string Text_ViewerCode, string FileExtensions ) : System

Constructor for a new instance of the Text_ItemViewer class, used to display the text associated with the pages for a 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

비공개 메소드들

메소드 설명
set_file_information ( string FileExtensions ) : bool

메소드 상세

Add_Main_Viewer_Section() 공개 메소드

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

Text_ItemViewer() 공개 메소드

Constructor for a new instance of the Text_ItemViewer class, used to display the text associated with the pages for a digital resource
public Text_ItemViewer ( BriefItemInfo BriefItem, User_Object CurrentUser, Navigation_Object CurrentRequest, Custom_Tracer Tracer, string Text_ViewerCode, string FileExtensions ) : System
BriefItem BriefItemInfo Digital resource object
CurrentUser User_Object Current user, who may or may not be logged on
CurrentRequest Navigation_Object Information about the current request
Tracer SobekCM.Tools.Custom_Tracer Trace object keeps a list of each method executed and important milestones in rendering
Text_ViewerCode string Text viewer code, as determined by configuration files
FileExtensions string File extensions that this viewer allows, as determined by configuration files
리턴 System

Write_Main_Viewer_Section() 공개 메소드

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