UNPKG

devexpress-reporting

Version:

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

25 lines (24 loc) 934 B
/** * DevExpress HTML/JS Reporting (common\exportOptions\textExportOptions.js) * 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 */ import { currentModelSerializer } from '@devexpress/analytics-core/analytics-serializer-native'; import { textExportOptionsSerializationInfo } from './textMetaData'; export class TextExportOptions { static from(model, serializer) { return new TextExportOptions(model || {}, serializer); } static toJson(value, serializer, refs) { return serializer.serialize(value, textExportOptionsSerializationInfo, refs); } getInfo() { return textExportOptionsSerializationInfo; } constructor(model, serializer) { serializer = serializer || currentModelSerializer(); serializer.deserialize(this, model); } }