devexpress-reporting
Version:
DevExpress Reporting provides the capability to develop a reporting application to create and customize reports.
58 lines (57 loc) • 1.9 kB
TypeScript
/**
* DevExpress HTML/JS Reporting (rich-edit\customizeToolbarActions.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 { EventManager } from '@devexpress/analytics-core/analytics-utils';
import { RichEdit } from 'devexpress-richedit';
export type ToolbarActionType = 'ButtonGroup' | 'Button' | 'ComboBox' | 'ColorBox';
export declare const ToolbarActionId: {
ParagraphAlignmentButtonGroup: string;
HyperlinkButton: string;
ClearFormattingButton: string;
FontStyleButtonGroup: string;
ToggleCaseButton: string;
FontSizeComboBox: string;
FontComboBox: string;
FontColorBox: string;
BackgroundColorBox: string;
};
export declare const ToolbarGroupId: {
AlignmentAndFormatting: string;
FontStyleAndCase: string;
FontSize: string;
Font: string;
FontColor: string;
BackgroundColor: string;
};
export interface IToolbarAction {
id?: string;
visible?: boolean;
template?: string;
text?: string;
items?: (IToolbarAction | any)[];
actionType?: ToolbarActionType;
action?: (rich: RichEdit, value: any) => void;
hint?: string;
icon?: string;
defaultValue?: any;
selectionMode?: 'multiple' | 'single';
}
export interface IToolbarGroup {
id: string;
visible?: boolean;
template?: string;
items: (IToolbarAction | any)[];
title?: string;
}
export interface ICustomizeToolbarActionsEventArgs {
actions: IToolbarAction[];
getById: (id: string) => IToolbarGroup | IToolbarAction;
}
export interface IRichEditEvents {
'customizeToolbarActions': ICustomizeToolbarActionsEventArgs;
}
export declare const events: import("@devexpress/analytics-core/analytics-internal").IGlobalSubscribableValue<EventManager<any, IRichEditEvents>>;