[]
        
(Showing Draft Content)

C1.WPF.Document.C1SSRSDocumentSource

C1SSRSDocumentSource Class

Represents a document source to access an SSRS report.

Inheritance
C1SSRSDocumentSource
Namespace: C1.WPF.Document
Assembly: C1.WPF.Document.dll
Syntax
public class C1SSRSDocumentSource : C1DocumentSource, IComponent, IDisposable, IExecutionContext

Constructors

Name Description
C1SSRSDocumentSource()

Initializes a new instance of the C1SSRSDocumentSource class.

Fields

Name Description
BmpExportProvider

Gets the static registered instance of the BMP export provider.

CsvExportProvider

Gets the static registered instance of the CSV export provider.

DocxExportProvider

Gets the static registered instance of the Docx export provider.

EmfExportProvider

Gets the static registered instance of the EMF export provider.

ExcelExportProvider

Gets the static registered instance of the Excel export provider.

GifExportProvider

Gets the static registered instance of the GIF export provider.

JpegExportProvider

Gets the static registered instance of the JPEG export provider.

MhtmlExportProvider

Gets the static registered instance of the Mhtml export provider.

PdfExportProvider

Gets the static registered instance of the PDF export provider.

PngExportProvider

Gets the static registered instance of the PNG export provider.

TiffExportProvider

Gets the static registered instance of the TIFF export provider.

WordExportProvider

Gets the static registered instance of the Word export provider.

XlsxExportProvider

Gets the static registered instance of the Xlsx export provider.

Properties

Name Description
ConnectionOptions

Gets the C1.WPF.Ssrs.ConnectionOptions object containing options used when connecting to SSRS.

Credential

Overridden. Gets or sets NetworkCredential object defining credentials used in the SSRS connection. This is a shortcut to C1.WPF.Ssrs.ConnectionOptions.Credential.

Document

Overridden. Gets a C1Document object representing the SSRS report associated with the current document source.

DocumentLocation

Gets or sets the location of the SSRS report.

DocumentName

Overriden. Gets the user-friendly name for the current report.

Features

Overridden. Gets a C1DocumentSourceFeatures object defining features of the C1SSRSDocumentSource.

Language

Gets or sets the language used in the SSRS session. The culture specified by this property affects User!Language report identifier. By default this property is null, which means that CultureInfo.CurrentUICulture will be used.

PageSettings

Overriden. Gets or sets the C1PageSettings object specifying the page settings used to generate the SSRS report. This property is automatically updated when a new report is opened.

ReportSession

Gets the C1.WPF.Ssrs.ReportSession object used to connect to SSRS report.

SupportedExportProviders

Overridden. Gets an array of exporters supported by the current document source object.

Methods

Name Description
Generate()

Generates the SSRS report.

GenerateAsync()

Non-blocking (asynchronous) version of the Generate() method.

GenerateAsyncEx()

Non-blocking (asynchronous) version of the Generate() method.

Init()

For internal use.

InternalClearContent()

For internal use.

InternalExecuteAction(C1DocumentAction, IExecutionContext)

For internal use.

InternalExport(ExportFilter, IExecutionContext)

For internal use.

InternalGenerate(IExecutionContext)

For internal use.

InternalGetLinkTargetPosition(C1LinkTargetBase, IExecutionContext)

For internal use.

InternalGetPage(int, IExecutionContext)

For internal use.

InternalPrint(C1PrintOptions, IExecutionContext)
InternalValidateParameters(List<ParameterValidationError>, IExecutionContext)

For internal use.

IsGenerateAllowed()

Overriden. Returns true if State equals to Ready and DocumentLocation is not null.

ResetDocumentLocation()

Resets the DocumentLocation property to the default value.

ShouldSerializeConnectionOptions()

Indicates whether the ConnectionOptions property should be serialized.

ShouldSerializeDocumentLocation()

Indicates whether the DocumentLocation property should be serialized.

ValidateParameters()

Validates the current parameter values, refreshes their valid values' lists if the values are valid.

ValidateParametersAsync()

Non-blocking (asynchronous) version of the ValidateParameters() method.

ValidateParametersAsyncEx()

Non-blocking (asynchronous) version of the ValidateParameters() method.