devexpress-reporting
Version:
DevExpress Reporting provides the capability to develop a reporting application to create and customize reports.
66 lines (65 loc) • 2.36 kB
TypeScript
/**
* DevExpress HTML/JS Reporting (designer\wizard\pages\customizeLabelPage.d.ts)
* Version: 24.2.6
* Build date: Mar 18, 2025
* Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED
* License: https://www.devexpress.com/Support/EULAs/universal.xml
*/
/// <reference types="jquery" />
/// <reference types="jquery" />
import { PageFactory, WizardPageBase } from '@devexpress/analytics-core/analytics-wizard';
import * as ko from 'knockout';
import { ILabelDetails, ILabelProduct, IPaperKind } from '../internal/labelWizardUtils';
import { GraphicsUnit } from '../reportWizardState';
export declare class CustomizeLabelPage extends WizardPageBase {
static _CONVERSION_COEEFICIENT: number;
private _id;
private _labelWidth;
private _labelHeight;
private _horizontalPitch;
private _verticalPitch;
private _topMargin;
private _leftMargin;
private _rightMargin;
private _bottomMargin;
private _getFormattedValueInUnits;
private _getLabelsCount;
private _rowsCount;
private _columnsCount;
private _pageHeight;
private _pageWidth;
constructor();
canNext(): boolean;
canFinish(): boolean;
initialize(labelDetails: ILabelDetails): JQueryPromise<{
labelProducts: ILabelProduct[];
paperKinds: IPaperKind[];
labelDetails: ILabelDetails[];
}>;
commit(): JQuery.Promise<ILabelDetails, any, any>;
_labelData: {
labelProducts: ILabelProduct[];
paperKinds: IPaperKind[];
labelDetails: ILabelDetails[];
};
paperKinds: () => IPaperKind[];
_selectedPaperSize: ko.Observable<IPaperKind>;
unit: ko.Observable<GraphicsUnit>;
_stepUnit: ko.PureComputed<0.1 | 0.01>;
labelWidth: ko.Computed<number>;
labelHeight: ko.Computed<number>;
horizontalPitch: ko.Computed<number>;
verticalPitch: ko.Computed<number>;
topMargin: ko.Computed<number>;
leftMargin: ko.Computed<number>;
rightMargin: ko.Computed<number>;
bottomMargin: ko.Computed<number>;
_labelsCountText: ko.PureComputed<string>;
_pageSizeText: ko.PureComputed<string>;
static _getPageSizeText(width: number, height: number, unit: GraphicsUnit): string;
_units: {
text: any;
value: GraphicsUnit;
}[];
}
export declare function _registerCustomizeLabelPage(factory: PageFactory): void;