--- /dev/null
+/*\r
+Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.\r
+For licensing, see LICENSE.html or http://ckeditor.com/license\r
+*/\r
+\r
+CKEDITOR.plugins.add( 'pastefromword',\r
+{\r
+ init : function( editor )\r
+ {\r
+ // Register the command.\r
+ editor.addCommand( 'pastefromword', new CKEDITOR.dialogCommand( 'pastefromword' ) );\r
+\r
+ // Register the toolbar button.\r
+ editor.ui.addButton( 'PasteFromWord',\r
+ {\r
+ label : editor.lang.pastefromword.toolbar,\r
+ command : 'pastefromword'\r
+ } );\r
+\r
+ // Register the dialog.\r
+ CKEDITOR.dialog.add( 'pastefromword', this.path + 'dialogs/pastefromword.js' );\r
+ }\r
+} );\r
+\r
+/**\r
+ * Whether the "Ignore font face definitions" checkbox is enabled by default in\r
+ * the Paste from Word dialog.\r
+ * @type Boolean\r
+ * @default true\r
+ * @example\r
+ * config.pasteFromWordIgnoreFontFace = false;\r
+ */\r
+CKEDITOR.config.pasteFromWordIgnoreFontFace = true;\r
+\r
+/**\r
+ * Whether the "Remove styles definitions" checkbox is enabled by default in\r
+ * the Paste from Word dialog.\r
+ * @type Boolean\r
+ * @default false\r
+ * @example\r
+ * config.pasteFromWordRemoveStyle = true;\r
+ */\r
+CKEDITOR.config.pasteFromWordRemoveStyle = false;\r
+\r
+/**\r
+ * Whether to keep structure markup (<h1>, <h2>, etc.) or replace\r
+ * it with elements that create more similar pasting results when pasting\r
+ * content from Microsoft Word into the Paste from Word dialog.\r
+ * @type Boolean\r
+ * @default false\r
+ * @example\r
+ * config.pasteFromWordKeepsStructure = true;\r
+ */\r
+CKEDITOR.config.pasteFromWordKeepsStructure = false;\r