[]
        
(Showing Draft Content)

ReportDesigner.ResourceProvider

Interface: ResourceProvider

ReportDesigner.ResourceProvider

Represents external resources provider.

Hierarchy

Table of contents

方法

Methods

fork

fork(reportName): ResourceLocator

Creates new ResourceLocator instance based on current one base path.

Parameters

Name Type Description
reportName string Relative path for new report.

Returns

ResourceLocator

Inherited from

ResourceLocator.fork


getImagesList

getImagesList(): Promise<ImageResourceInfo[]>

Gets available images list.

Returns

Promise<ImageResourceInfo[]>

List or available images.


getReportsList

getReportsList(): Promise<ReportResourceInfo[]>

Gets available reports list.

Returns

Promise<ReportResourceInfo[]>

List or available reports.


getResource

getResource<T>(uri): Promise<null | T>

Returns resource content.

Type parameters

Name
T

Parameters

Name Type
uri string

Returns

Promise<null | T>

Inherited from

ResourceLocator.getResource


getResourceUri

getResourceUri(resourceID): string

Returns absolute resource URI based on relative ID and base path.

Parameters

Name Type
resourceID string

Returns

string

Inherited from

ResourceLocator.getResourceUri


getThemesList

getThemesList(): Promise<ThemeResourceInfo[]>

Gets available themes list.

Returns

Promise<ThemeResourceInfo[]>

List or available themes.