[DE] Change special paste.

This commit is contained in:
Julia Radzhabova 2018-03-23 17:11:51 +03:00
parent b9cbcf5d98
commit 582b7e16e4
2 changed files with 4 additions and 1 deletions

View file

@ -617,6 +617,7 @@ define([
if (pasteContainer.length < 1) {
me._arrSpecialPaste = [];
me._arrSpecialPaste[Asc.c_oSpecialPasteProps.paste] = me.textPaste;
me._arrSpecialPaste[Asc.c_oSpecialPasteProps.sourceformatting] = me.txtPasteSourceFormat;
me._arrSpecialPaste[Asc.c_oSpecialPasteProps.keepTextOnly] = me.txtKeepTextOnly;
me._arrSpecialPaste[Asc.c_oSpecialPasteProps.insertAsNestedTable] = me.textNest;
me._arrSpecialPaste[Asc.c_oSpecialPasteProps.overwriteCells] = me.txtOverwriteCells;
@ -3726,7 +3727,8 @@ define([
textUpdatePages: 'Refresh page numbers only',
textTOCSettings: 'Table of contents settings',
textTOC: 'Table of contents',
textRefreshField: 'Refresh field'
textRefreshField: 'Refresh field',
txtPasteSourceFormat: 'Keep source formatting'
}, DE.Views.DocumentHolder || {}));
});

View file

@ -978,6 +978,7 @@
"DE.Views.DocumentHolder.txtMatrixAlign": "Matrix alignment",
"DE.Views.DocumentHolder.txtOverbar": "Bar over text",
"DE.Views.DocumentHolder.txtOverwriteCells": "Overwrite cells",
"DE.Views.DocumentHolder.txtPasteSourceFormat": "Keep source formatting",
"DE.Views.DocumentHolder.txtPressLink": "Press CTRL and click link",
"DE.Views.DocumentHolder.txtRemFractionBar": "Remove fraction bar",
"DE.Views.DocumentHolder.txtRemLimit": "Remove limit",