C# Class fyiReporting.RdlViewer.RdlViewer

RdlViewer displays RDL files or syntax.
Inheritance: System.Windows.Forms.Control
Mostra file Open project: majorsilence/My-FyiReporting Class Usage Examples

Public Properties

Property Type Description
GetDataSourceReferencePassword NeedPassword

Public Methods

Method Description
Copy ( ) : void

Copies the current selection (if any) to the clipboard.

Find ( string search ) : fyiReporting.RDL.PageItem

Finds the first instance of the search string.

Find ( string search, fyiReporting.RDL.PageItem position, RdlViewerFinds options ) : fyiReporting.RDL.PageItem

Find locates the next string after the passed location. Use ScrollToPageItem to then reposition the Viewer on that item

FindNext ( ) : void

Causes the find panel to find the next item

Focus ( ) : bool
HideRunButton ( ) : void
Print ( System.Drawing.Printing.PrintDocument pd ) : void

Print the report.

RdlViewer ( ) : System
Rebuild ( ) : void

Forces the report to get rebuilt especially after changing parameters or data.

SaveAs ( string FileName, fyiReporting type ) : void

Save the file. The extension determines the type of file to save.

ScrollToPageItem ( fyiReporting.RDL.PageItem pi ) : void
SetReportParameters ( string>.IDictionary parameters ) : void
SetReportParametersAmpersandSeparated ( string parameterString ) : void
SetReportParametersAsJson ( string jsonParameterString ) : void
ShowRunButton ( ) : void
StopWaitDialog ( ) : bool
r_SubreportDataRetrieval ( object sender, SubreportDataRetrievalEventArgs e ) : void

Private Methods

Method Description
CalcZoom ( ) : void
CalcZoomFitPage ( ) : void
CalcZoomFitWidth ( ) : void
ChangePageEvent ( ) : void
DrawPanelKeyDown ( object sender, KeyEventArgs e ) : void
DrawPanelMouseWheel ( object sender, MouseEventArgs e ) : void
DrawPanelPaint ( object sender, System e ) : void
DrawPanelResize ( object sender, EventArgs e ) : void
GetPages ( ) : fyiReporting.RDL.Pages
GetPages ( Report report ) : fyiReporting.RDL.Pages
GetParameters ( ) : IDictionary
GetRdlSource ( ) : string
GetReport ( ) : Report
GetReportEmptyMsg ( ) : string
GetReportErrorMsg ( ) : string
HorizontalScroll ( object sender, System e ) : void
InvokeHyperlink ( HyperlinkEventArgs hlea ) : void
LoadPageIfNeeded ( ) : void

Call LoadPageIfNeeded when a routine requires the report to be loaded in order to fulfill the request.

ParametersBuild ( Report r ) : void
ParametersLeave ( object sender, EventArgs e ) : void
ParametersTextValidated ( object sender, System e ) : void
ParametersViewClick ( object sender, System e ) : void
PixelsX ( float x ) : int
PixelsY ( float y ) : int
PointsX ( float x ) : float
PointsY ( float y ) : float
PrintPage ( object sender, System.Drawing.Printing.PrintPageEventArgs e ) : void
RdlViewer_Layout ( object sender, System.Windows.Forms.LayoutEventArgs e ) : void
SetParameterValue ( String key, String value ) : void
SetScrollControls ( ) : void
SetScrollControlsH ( ) : void
SetScrollControlsV ( ) : void
VerticalScroll ( object sender, System e ) : void
WarningClick ( object sender, System e ) : void
WarningVisible ( ) : bool
_Print ( System.Drawing.Printing.PrintDocument pd ) : void
_WarningButton_Paint ( object sender, PaintEventArgs e ) : void
doPossibleDecryption ( String rdl ) : String
showWait ( ) : void

Method Details

Copy() public method

Copies the current selection (if any) to the clipboard.
public Copy ( ) : void
return void

Find() public method

Finds the first instance of the search string.
public Find ( string search ) : fyiReporting.RDL.PageItem
search string
return fyiReporting.RDL.PageItem

Find() public method

Find locates the next string after the passed location. Use ScrollToPageItem to then reposition the Viewer on that item
public Find ( string search, fyiReporting.RDL.PageItem position, RdlViewerFinds options ) : fyiReporting.RDL.PageItem
search string Text to search for
position fyiReporting.RDL.PageItem PageItem after which to start search. null starts at beginning
options RdlViewerFinds Multiple options can be or'ed together.
return fyiReporting.RDL.PageItem

FindNext() public method

Causes the find panel to find the next item
public FindNext ( ) : void
return void

Focus() public method

public Focus ( ) : bool
return bool

HideRunButton() public method

public HideRunButton ( ) : void
return void

Print() public method

Print the report.
public Print ( System.Drawing.Printing.PrintDocument pd ) : void
pd System.Drawing.Printing.PrintDocument
return void

RdlViewer() public method

public RdlViewer ( ) : System
return System

Rebuild() public method

Forces the report to get rebuilt especially after changing parameters or data.
public Rebuild ( ) : void
return void

SaveAs() public method

Save the file. The extension determines the type of file to save.
public SaveAs ( string FileName, fyiReporting type ) : void
FileName string Name of the file to be saved to.
type fyiReporting Type of file to save. Should be "pdf", "xml", "html", "mhtml", "csv", "rtf", "excel", "tif".
return void

ScrollToPageItem() public method

public ScrollToPageItem ( fyiReporting.RDL.PageItem pi ) : void
pi fyiReporting.RDL.PageItem
return void

SetReportParameters() public method

public SetReportParameters ( string>.IDictionary parameters ) : void
parameters string>.IDictionary
return void

SetReportParametersAmpersandSeparated() public method

public SetReportParametersAmpersandSeparated ( string parameterString ) : void
parameterString string
return void

SetReportParametersAsJson() public method

public SetReportParametersAsJson ( string jsonParameterString ) : void
jsonParameterString string
return void

ShowRunButton() public method

public ShowRunButton ( ) : void
return void

StopWaitDialog() public method

public StopWaitDialog ( ) : bool
return bool

r_SubreportDataRetrieval() public method

public r_SubreportDataRetrieval ( object sender, SubreportDataRetrievalEventArgs e ) : void
sender object
e fyiReporting.RDL.SubreportDataRetrievalEventArgs
return void

Property Details

GetDataSourceReferencePassword public_oe property

public NeedPassword GetDataSourceReferencePassword
return NeedPassword