forked from boldreports/javascript-reporting-extensions
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhtmldocument.reportitem.js
More file actions
707 lines (707 loc) · 25.5 KB
/
htmldocument.reportitem.js
File metadata and controls
707 lines (707 loc) · 25.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
var EJHtmlDocument = (function () {
function EJHtmlDocument(rptDesigner) {
this.customJSON = null;
this.propertyPanel = null;
this.rootElement = null;
this.customItemDiv = null;
this.reportDesigner = null;
this.reportDesigner = rptDesigner;
this.propertyPanel = this.reportDesigner.getInstance('PropertyPanel');
}
EJHtmlDocument.prototype.initializeItem = function (args) {
args.isBuildInService = false;
args.defaultHeight = 160;
args.defaultWidth = 160;
args.minimumHeight = 15;
args.minimumWidth = 90;
};
EJHtmlDocument.prototype.renderItem = function (customJson, target, eventData) {
if (eventData.eventName === 'begin') {
this.customJSON = customJson;
this.rootElement = target;
this.renderHtmlItem();
}
};
EJHtmlDocument.prototype.renderHtmlItem = function () {
this.customItemDiv = ej.buildTag('div.customitem', '', {
'width': '100%', 'height': '100%', 'border': '1pt dotted gray', 'box-sizing': 'border-box',
'-moz-box-sizing': 'border-box', '-webkit-box-sizing': 'border-box', 'overflow': 'hidden', 'position': 'absolute'
}, {
'id': this.customJSON.Name + '_customItem'
});
var htmlItem = ej.buildTag('div.e-rptdesigner-htmldocument', '');
this.customItemDiv.append(htmlItem);
this.rootElement.append(this.customItemDiv);
};
EJHtmlDocument.prototype.onPropertyChange = function (name, oldValue, newValue) {
var args = [];
for (var _i = 3; _i < arguments.length; _i++) {
args[_i - 3] = arguments[_i];
}
switch (name) {
case 'DocumentValue':
if (typeof newValue === 'string') {
this.updatePropertyVal(name, newValue);
}
else {
this.setFileName(newValue);
}
break;
case 'Sizing':
this.updatePropertyVal(name, newValue);
break;
case 'Source':
this.updatePropertyVal(name, newValue);
this.updatePropertyVal('DocumentValue', '');
this.updatePropertyUIValue('DocumentValue', '');
break;
}
};
EJHtmlDocument.prototype.updatePropertyUIValue = function (name, value) {
var customId = this.customJSON.UniqueId;
switch (name) {
case 'DocumentValue':
var source = this.getPropertyVal('Source');
if (source === 'URL') {
this.propertyPanel.updatePropertyUIValue('htmlurl', value, customId);
}
else if (source === 'Content') {
this.propertyPanel.updatePropertyUIValue('htmlcontent', value, customId);
}
else if (source === 'Database') {
this.propertyPanel.updatePropertyUIValue('htmldatabase', value, customId);
}
else {
this.propertyPanel.updatePropertyUIValue('htmlserver', { FilePath: value }, customId);
}
break;
}
};
EJHtmlDocument.prototype.onPositionChanged = function (top, left) {
};
EJHtmlDocument.prototype.onSizeChanged = function (height, width) {
if (!ej.isNullOrUndefined(height) && !ej.isNullOrUndefined(width)) {
this.customItemDiv.css({
width: width,
height: height
});
}
else if (!ej.isNullOrUndefined(height) && ej.isNullOrUndefined(width)) {
this.customItemDiv.css({
height: height
});
}
else if (ej.isNullOrUndefined(height) && !ej.isNullOrUndefined(width)) {
this.customItemDiv.css({
width: width
});
}
};
EJHtmlDocument.prototype.getPropertyGridItems = function (baseProperties) {
var itemProperties = [{
'CategoryId': 'basicsettings',
'DisplayName': 'categoryBasicSettings',
'IsExpand': true,
'Items': [{
'ItemId': 'htmlsource',
'Name': 'Source',
'DisplayName': 'source',
'EnableExpression': false,
'Value': this.getPropertyVal('Source'),
'ItemType': 'DropDown',
'ValueList': [
{ text: 'content', value: 'Content' },
{ text: 'url', value: 'URL' },
{ text: 'database', value: 'Database' },
{ text: 'server', value: 'Server' }
],
'DependentItems': [{
EnableItems: ['basicsettings_htmlcontent'],
DisableItems: ['basicsettings_htmlurl', 'basicsettings_htmldatabase', 'basicsettings_htmlserver'],
Value: ['Content']
}, {
EnableItems: ['basicsettings_htmlurl'],
DisableItems: ['basicsettings_htmlcontent', 'basicsettings_htmldatabase', 'basicsettings_htmlserver'],
Value: ['URL']
}, {
EnableItems: ['basicsettings_htmldatabase'],
DisableItems: ['basicsettings_htmlcontent', 'basicsettings_htmlurl', 'basicsettings_htmlserver'],
Value: ['Database']
}, {
EnableItems: ['basicsettings_htmlserver'],
DisableItems: ['basicsettings_htmlcontent', 'basicsettings_htmlurl', 'basicsettings_htmldatabase'],
Value: ['Server']
}]
},
{
'ItemId': 'htmlcontent',
'Name': 'DocumentValue',
'ParentId': 'basicsettings_htmlsource',
'DisplayName': 'content',
'Value': this.getPropertyVal('DocumentValue'),
'EnableExpression': false,
'ItemType': 'TextArea'
},
{
'ItemId': 'htmlurl',
'Name': 'DocumentValue',
'ParentId': 'basicsettings_htmlsource',
'DisplayName': 'url',
'Value': this.getPropertyVal('DocumentValue'),
'EnableExpression': false,
'ItemType': 'TextBox'
},
{
'ItemId': 'htmldatabase',
'Name': 'DocumentValue',
'ParentId': 'basicsettings_htmlsource',
'DisplayName': 'database',
'Value': this.getPropertyVal('DocumentValue'),
'ItemType': 'ComboBox',
'SourceType': 'Fields',
'EnableExpression': true,
'EnableSearch': true
},
{
'ItemId': 'htmlserver',
'Name': 'DocumentValue',
'ParentId': 'basicsettings_htmlsource',
'DisplayName': 'server',
'Value': this.getFileName(),
'ItemType': 'LinkReport',
'EnableExpression': false,
'BrowseType': 'File',
'ExtType': 'html'
},
{
'ItemId': 'htmlsizing',
'Name': 'Sizing',
'DisplayName': 'sizing',
'Value': this.getPropertyVal('Sizing'),
'ItemType': 'DropDown',
'EnableExpression': false,
'ValueList': [
{ text: 'auto', value: 'AutoSize' },
{ text: 'fit', value: 'Fit' },
{ text: 'proportional', value: 'FitProportional' },
{ text: 'clip', value: 'Clip' }
]
}]
}];
baseProperties.HeaderText = this.customJSON.Name;
baseProperties.PropertyType = 'htmldocument';
baseProperties.SubType = 'htmldocument';
baseProperties.IsEditHeader = true;
this.updateItemVisibility(baseProperties.Items, ['backgroundcolor'], false);
baseProperties.Items = $.merge(itemProperties, baseProperties.Items);
return baseProperties;
};
EJHtmlDocument.prototype.getFileName = function () {
return {
FilePath: this.getPropertyVal('DocumentValue')
};
};
EJHtmlDocument.prototype.setFileName = function (value) {
this.updatePropertyVal('DocumentValue', value && value.FilePath ? value.FilePath : '');
};
EJHtmlDocument.prototype.updateItemVisibility = function (categories, itemId, newValue) {
for (var index = 0; index < categories.length; index++) {
for (var itemIndex = 0; itemIndex < categories[index].Items.length; itemIndex++) {
if (itemId.indexOf(categories[index].Items[itemIndex].ItemId) !== -1) {
categories[index].Items[itemIndex].IsVisible = newValue;
}
}
}
};
EJHtmlDocument.prototype.getPropertyVal = function (name) {
if (this.customJSON.CustomProperties && this.customJSON.CustomProperties.length > 0) {
for (var index = 0; index < this.customJSON.CustomProperties.length; index++) {
if (this.customJSON.CustomProperties[index].Name === name) {
return this.customJSON.CustomProperties[index].Value;
}
}
}
return null;
};
EJHtmlDocument.prototype.setPropertyVal = function (name, val) {
if (this.customJSON.CustomProperties === null) {
this.customJSON.CustomProperties = [];
}
this.customJSON.CustomProperties.push(new ej.ReportModel.CustomProperty(name, val));
};
EJHtmlDocument.prototype.updatePropertyVal = function (propertyName, value) {
if (this.customJSON.CustomProperties && this.customJSON.CustomProperties.length > 0) {
for (var index = 0; index < this.customJSON.CustomProperties.length; index++) {
if (this.customJSON.CustomProperties[index].Name === propertyName) {
this.customJSON.CustomProperties[index].Value = value;
}
}
}
};
EJHtmlDocument.prototype.getReportItemJson = function () {
if (this.customJSON === null) {
this.customJSON = new ej.ReportModel.CustomReportItem().getModel();
this.setPropertyVal('Source', 'Content');
this.setPropertyVal('Sizing', 'AutoSize');
this.setPropertyVal('DocumentValue', '');
}
return this.customJSON;
};
EJHtmlDocument.prototype.setReportItemJson = function (reportItem) {
this.customJSON = reportItem;
};
EJHtmlDocument.prototype.dispose = function () {
this.customJSON = null;
this.propertyPanel = null;
this.rootElement = null;
this.customItemDiv = null;
this.reportDesigner = null;
};
EJHtmlDocument.prototype.undoRedoAction = function (args) {
};
EJHtmlDocument.prototype.getLocale = function (text) {
var htmlLocale;
var defaultLocale = EJHtmlDocument.Locale['en-US'];
if (this.reportDesigner && !ej.isNullOrUndefined(this.reportDesigner.model) &&
!ej.isNullOrUndefined(EJHtmlDocument.Locale[this.reportDesigner.model.locale])) {
htmlLocale = EJHtmlDocument.Locale[this.reportDesigner.model.locale];
}
else {
htmlLocale = defaultLocale;
}
switch (text.toLowerCase()) {
case 'categorybasicsettings':
if (htmlLocale && htmlLocale.categoryBasicSettings) {
return htmlLocale.categoryBasicSettings;
}
return defaultLocale.categoryBasicSettings;
case 'sizing':
if (htmlLocale && htmlLocale.sizing) {
return htmlLocale.sizing;
}
return defaultLocale.sizing;
case 'source':
if (htmlLocale && htmlLocale.source) {
return htmlLocale.source;
}
return defaultLocale.source;
case 'content':
if (htmlLocale && htmlLocale.sourceTypes && htmlLocale.sourceTypes.content) {
return htmlLocale.sourceTypes.content;
}
return defaultLocale.sourceTypes.content;
case 'url':
if (htmlLocale && htmlLocale.sourceTypes && htmlLocale.sourceTypes.url) {
return htmlLocale.sourceTypes.url;
}
return defaultLocale.sourceTypes.url;
case 'database':
if (htmlLocale && htmlLocale.sourceTypes && htmlLocale.sourceTypes.database) {
return htmlLocale.sourceTypes.database;
}
return defaultLocale.sourceTypes.database;
case 'server':
if (htmlLocale && htmlLocale.sourceTypes && htmlLocale.sourceTypes.server) {
return htmlLocale.sourceTypes.server;
}
return defaultLocale.sourceTypes.server;
case 'auto':
if (htmlLocale && htmlLocale.sizeTypes && htmlLocale.sizeTypes.auto) {
return htmlLocale.sizeTypes.auto;
}
return defaultLocale.sizeTypes.auto;
case 'fit':
if (htmlLocale && htmlLocale.sizeTypes && htmlLocale.sizeTypes.fit) {
return htmlLocale.sizeTypes.fit;
}
return defaultLocale.sizeTypes.fit;
case 'proportional':
if (htmlLocale && htmlLocale.sizeTypes && htmlLocale.sizeTypes.proportional) {
return htmlLocale.sizeTypes.proportional;
}
return defaultLocale.sizeTypes.proportional;
case 'clip':
if (htmlLocale && htmlLocale.sizeTypes && htmlLocale.sizeTypes.clip) {
return htmlLocale.sizeTypes.clip;
}
return defaultLocale.sizeTypes.clip;
}
return text;
};
return EJHtmlDocument;
}());
EJHtmlDocument.Locale = {};
EJHtmlDocument.Locale['en-NZ'] = {
source: 'Source',
sourceTypes: {
content: 'Content',
url: 'URL',
database: 'Database',
server: 'Server'
},
categoryBasicSettings: 'Basic Settings',
sizing: 'Sizing',
sizeTypes: {
auto: 'AutoSize',
fit: 'Fit',
proportional: 'FitProportional',
clip: 'Clip'
},
toolTip: {
requirements: 'Display any HTML markup (or) URL',
description: 'This report item is used to process the HTML markup text and URL',
title: 'Html'
}
};
EJHtmlDocument.Locale['en-US'] = {
source: 'Source',
sourceTypes: {
content: 'Content',
url: 'URL',
database: 'Database',
server: 'Server'
},
categoryBasicSettings: 'Basic Settings',
sizing: 'Sizing',
sizeTypes: {
auto: 'AutoSize',
fit: 'Fit',
proportional: 'FitProportional',
clip: 'Clip'
},
toolTip: {
requirements: 'Display any Html markup (or) url',
description: 'This report item used to process the html markup text and url',
title: 'Html'
}
};
EJHtmlDocument.Locale['ar-AE'] = {
source: 'مصدر',
sourceTypes: {
content: 'محتوى',
url: 'رابط',
database: 'قاعدة البيانات',
server: 'الخادم'
},
categoryBasicSettings: 'الإعدادات الأساسية',
sizing: 'تغيير الحجم',
sizeTypes: {
auto: 'حجم تلقائي',
fit: 'لياقة',
proportional: 'ملاءمة متناسبة',
clip: 'قص'
},
toolTip: {
requirements: 'عرض أي ترميز HTML (أو) رابط',
description: 'يستخدم عنصر التقرير هذا لمعالجة نص ترميز HTML والرابط',
title: 'HTML'
}
};
EJHtmlDocument.Locale['fr-FR'] = {
source: 'Source',
sourceTypes: {
content: 'Contenu',
url: 'URL',
database: 'Base de données',
server: 'Serveur'
},
categoryBasicSettings: 'Paramètres de base',
sizing: 'Dimensionnement',
sizeTypes: {
auto: 'Taille automatique',
fit: 'Ajustement',
proportional: 'Ajustement proportionnel',
clip: 'Couper'
},
toolTip: {
requirements: 'Afficher n\'importe quel balisage HTML (ou) URL',
description: 'Cet élément de rapport est utilisé pour traiter le texte de balisage HTML et l\'URL',
title: 'Html'
}
};
EJHtmlDocument.Locale['de-DE'] = {
source: 'Quelle',
sourceTypes: {
content: 'Inhalt',
url: 'URL',
database: 'Datenbank',
server: 'Server'
},
categoryBasicSettings: 'Grundeinstellungen',
sizing: 'Größenanpassung',
sizeTypes: {
auto: 'Automatische Größe',
fit: 'Anpassen',
proportional: 'Proportional anpassen',
clip: 'Schneiden'
},
toolTip: {
requirements: 'Beliebiges HTML-Markup (oder) URL anzeigen',
description: 'Dieses Berichtsobjekt wird verwendet, um HTML-Markup-Text und URL zu verarbeiten',
title: 'Html'
}
};
EJHtmlDocument.Locale['en-AU'] = {
source: 'Source',
sourceTypes: {
content: 'Content',
url: 'URL',
database: 'Database',
server: 'Server'
},
categoryBasicSettings: 'Basic Settings',
sizing: 'Sizing',
sizeTypes: {
auto: 'AutoSize',
fit: 'Fit',
proportional: 'FitProportional',
clip: 'Clip'
},
toolTip: {
requirements: 'Display any Html markup (or) url',
description: 'This report item used to process the html markup text and url',
title: 'Html'
}
};
EJHtmlDocument.Locale['en-CA'] = {
source: 'Source',
sourceTypes: {
content: 'Content',
url: 'URL',
database: 'Database',
server: 'Server'
},
categoryBasicSettings: 'Basic Settings',
sizing: 'Sizing',
sizeTypes: {
auto: 'AutoSize',
fit: 'Fit',
proportional: 'FitProportional',
clip: 'Clip'
},
toolTip: {
requirements: 'Display any Html markup (or) url',
description: 'This report item used to process the html markup text and url',
title: 'Html'
}
};
EJHtmlDocument.Locale['es-ES'] = {
source: 'Fuente',
sourceTypes: {
content: 'Contenido',
url: 'URL',
database: 'Base de datos',
server: 'Servidor'
},
categoryBasicSettings: 'Configuración básica',
sizing: 'Tamaño',
sizeTypes: {
auto: 'Tamaño automático',
fit: 'Ajustar',
proportional: 'Ajuste proporcional',
clip: 'Recortar'
},
toolTip: {
requirements: 'Mostrar cualquier marcado HTML (o) URL',
description: 'Este elemento de informe se utiliza para procesar el texto de marcado HTML y la URL',
title: 'Html'
}
};
EJHtmlDocument.Locale['it-IT'] = {
source: 'Fonte',
sourceTypes: {
content: 'Contenuto',
url: 'URL',
database: 'Database',
server: 'Server'
},
categoryBasicSettings: 'Impostazioni di base',
sizing: 'Ridimensionamento',
sizeTypes: {
auto: 'Dimensione automatica',
fit: 'Adatta',
proportional: 'Adatta proporzionalmente',
clip: 'Taglia'
},
toolTip: {
requirements: 'Visualizza qualsiasi markup HTML (o) URL',
description: 'Questo elemento del rapporto viene utilizzato per elaborare il testo di markup HTML e l\'URL',
title: 'Html'
}
};
EJHtmlDocument.Locale['fr-CA'] = {
source: 'Source',
sourceTypes: {
content: 'Contenu',
url: 'URL',
database: 'Base de données',
server: 'Serveur'
},
categoryBasicSettings: 'Paramètres de base',
sizing: 'Dimensionnement',
sizeTypes: {
auto: 'Taille automatique',
fit: 'Ajustement',
proportional: 'Ajustement proportionnel',
clip: 'Couper'
},
toolTip: {
requirements: 'Afficher n\'importe quel balisage HTML (ou) URL',
description: 'Cet élément de rapport est utilisé pour traiter le texte de balisage HTML et l\'URL',
title: 'Html'
}
};
EJHtmlDocument.Locale['tr-TR'] = {
source: 'Kaynak',
sourceTypes: {
content: 'İçerik',
url: 'URL',
database: 'Veritabanı',
server: 'Sunucu'
},
categoryBasicSettings: 'Temel Ayarlar',
sizing: 'Boyutlandırma',
sizeTypes: {
auto: 'Otomatik Boyut',
fit: 'Sığdır',
proportional: 'Orantılı Sığdır',
clip: 'Kes'
},
toolTip: {
requirements: 'Herhangi bir HTML işaretlemesi (veya) URL görüntüle',
description: 'Bu rapor öğesi HTML işaretleme metnini ve URL\'yi işlemek için kullanılır',
title: 'Html'
}
};
EJHtmlDocument.Locale['zh-Hans'] = {
source: '来源',
sourceTypes: {
content: '内容',
url: 'URL',
database: '数据库',
server: '服务器'
},
categoryBasicSettings: '基本设置',
sizing: '调整大小',
sizeTypes: {
auto: '自动大小',
fit: '适合',
proportional: '比例适合',
clip: '剪辑'
},
toolTip: {
requirements: '显示任何 HTML 标记(或)URL',
description: '此报告项目用于处理 HTML 标记文本和 URL',
title: 'Html'
}
};
EJHtmlDocument.Locale['he-IL'] = {
source: 'מקור',
sourceTypes: {
content: 'תוכן',
url: 'כתובת URL',
database: 'מסד נתונים',
server: 'שרת'
},
categoryBasicSettings: 'הגדרות בסיסיות',
sizing: 'גודל',
sizeTypes: {
auto: 'גודל אוטומטי',
fit: 'התאם',
proportional: 'התאם פרופורציונלי',
clip: 'חתוך'
},
toolTip: {
requirements: 'הצג סימון HTML או כתובת URL כלשהי',
description: 'פריט דוח זה משמש לעיבוד תוכן HTML וכתובות URL',
title: 'HTML'
}
};
EJHtmlDocument.Locale['ja-JP'] = {
source: 'ソース',
sourceTypes: {
content: 'コンテンツ',
url: 'URL',
database: 'データベース',
server: 'サーバ'
},
categoryBasicSettings: '基本設定',
sizing: 'サイズ設定',
sizeTypes: {
auto: '自動サイズ',
fit: 'フィット',
proportional: '比例フィット',
clip: 'クリップ'
},
toolTip: {
requirements: '任意のHTMLマークアップまたはURLを表示',
description: 'このレポート項目はHTMLマークアップテキストとURLを処理します',
title: 'Html'
}
};
EJHtmlDocument.Locale['pt-PT'] = {
source: 'Fonte',
sourceTypes: {
content: 'Conteúdo',
url: 'URL',
database: 'Base de dados',
server: 'Servidor'
},
categoryBasicSettings: 'Configurações básicas',
sizing: 'Dimensionamento',
sizeTypes: {
auto: 'Tamanho automático',
fit: 'Ajustar',
proportional: 'Ajuste proporcional',
clip: 'Recortar'
},
toolTip: {
requirements: 'Exibir qualquer marcação HTML ou URL',
description: 'Este item de relatório é usado para processar texto de marcação HTML e URL',
title: 'Html'
}
};
EJHtmlDocument.Locale['ru-RU'] = {
source: 'Источник',
sourceTypes: {
content: 'Содержимое',
url: 'URL',
database: 'База данных',
server: 'Сервер'
},
categoryBasicSettings: 'Основные настройки',
sizing: 'Размер',
sizeTypes: {
auto: 'Автоматический размер',
fit: 'Подогнать',
proportional: 'Пропорционально подогнать',
clip: 'Обрезать'
},
toolTip: {
requirements: 'Показать любой HTML-код или URL',
description: 'Этот элемент отчета используется для обработки текста HTML-кода и URL',
title: 'Html'
}
};
EJHtmlDocument.Locale['zh-Hant'] = {
source: '來源',
sourceTypes: {
content: '內容',
url: 'URL',
database: '資料庫',
server: '伺服器'
},
categoryBasicSettings: '基本設定',
sizing: '調整大小',
sizeTypes: {
auto: '自動大小',
fit: '適合',
proportional: '比例適合',
clip: '裁剪'
},
toolTip: {
requirements: '顯示任何 HTML 標記或 URL',
description: '此報告項目用於處理 HTML 標記文字和 URL',
title: 'Html'
}
};