UNPKG

devexpress-reporting

Version:

DevExpress Reporting provides the capability to develop a reporting application to create and customize reports.

31 lines (30 loc) 2.19 kB
/** * DevExpress HTML/JS Reporting (designer\bands\_bandUtils.d.ts) * Version: 25.1.3 * Build date: Jun 26, 2025 * Copyright (c) 2012 - 2025 Developer Express Inc. ALL RIGHTS RESERVED * License: https://www.devexpress.com/Support/EULAs/universal.xml */ import { IArea } from '@devexpress/analytics-core/analytics-elements'; import { BandSurface, BandViewModel } from './xrBand'; import { VerticalBandSurface } from './xrVerticalBand'; import { IBandsHolder } from './_bandHolder'; import { GroupBandViewModel } from './xrGroupBand'; import { DetailReportBand } from './xrDetailReportBand'; export declare function sortBands(band1: any, band2: any): number; export declare function setMarkerWidth(bandHolder: IBandsHolder, levelCount: any, currentLevel?: number): void; export declare function getLevelCount(bandHolder: IBandsHolder): number; export declare function insertBand(bands: ko.ObservableArray<BandViewModel>, newBand: BandViewModel): void; export declare function _getUnitAbsoluteRect(bandSurface: BandSurface | VerticalBandSurface, getPositionInParent: Function): IArea; export declare const NEW_GROUPBAND_DEFAULT_LEVEL: any; export declare const NEW_DETAILBAND_DEFAULT_LEVEL: any; export declare const REMOVED_DETAILBAND_LEVEL: number; export declare function getFirstEmptyLevel(bands: GroupBandViewModel[]): number; export declare function getMaxLevel(parentBands: GroupBandViewModel[] | DetailReportBand[]): number; export declare function isFirstInit(band: BandViewModel): boolean; export declare function isBandInserting(band: BandViewModel): boolean; export declare function levelSetup(band: GroupBandViewModel | DetailReportBand, newValue: number): void; export declare function getExistedSameLevelBand(bands: GroupBandViewModel[] | DetailReportBand[], level: number): GroupBandViewModel | DetailReportBand; export declare function coerceNewLevelValueOnReordering(value: number, minValue: number, maxValue: number): number; export declare function coerceNewLevelValueOnInserting(value: number, minValue: number, maxValue: number): number; export declare function changeLevels(bands: GroupBandViewModel[] | DetailReportBand[], startIndex: number, endIndex: number): void;