///
import { Disposable } from '@devexpress/analytics-core/analytics-utils';
import { PageFactory, WizardPageBase } from '@devexpress/analytics-core/analytics-wizard';
import * as ko from 'knockout';
import { IPageSetup, ReportUnit } from '../reportWizardState';
interface IPageSettings {
width: ko.Observable;
height: ko.Observable;
marginLeft: ko.Observable;
marginRight: ko.Observable;
marginTop: ko.Observable;
marginBottom: ko.Observable;
}
export declare class PreviewPageHelper extends Disposable {
private cachePagePreviewElement;
constructor(settings?: IPageSettings);
updatePageSettings(pageSetup: IPageSetup): void;
width: ko.Observable;
height: ko.Observable;
marginLeft: ko.Observable;
marginRight: ko.Observable;
marginTop: ko.Observable;
marginBottom: ko.Observable;
previewPageWidth: ko.Computed;
previewPageHeight: ko.Computed;
previewTopMargin: ko.Computed;
previewRightMargin: ko.Computed;
previewBottomMargin: ko.Computed;
previewLeftMargin: ko.Computed;
pagePreviewElement: ko.Observable;
}
export declare class ConfigureReportPageSettingsPage extends WizardPageBase {
canFinish(): boolean;
constructor();
paperKind: ko.Observable;
landscape: ko.Observable;
reportUnit: ko.Computed;
width: ko.Observable;
height: ko.Observable;
fixedSize: ko.Computed;
marginLeft: ko.Observable;
marginRight: ko.Observable;
marginTop: ko.Observable;
marginBottom: ko.Observable;
valueFormat: ko.Computed;
pageSizeValueFormat: ko.Computed;
lookupData: {
paperKind: {
value: string;
displayName: string;
}[];
reportUnit: {
value: ReportUnit;
displayName: string;
}[];
};
private _reportUnit;
previewPageHelper: PreviewPageHelper;
initialize(state: IPageSetup): JQuery.Promise;
commit(): JQuery.Promise;
private getDpi;
}
export declare function _applyPageSetting(data: IPageSetup, state: IPageSetup): void;
export declare function _registerConfigureReportPageSettingsPage(factory: PageFactory): void;
export {};