Merge pull request #124 from ONLYOFFICE/feature/save-copy-as
Feature/save copy as
|
@ -58,7 +58,8 @@
|
|||
sharingSettingsUrl: 'document sharing settings url',
|
||||
fileChoiceUrl: 'mail merge sources url',
|
||||
callbackUrl: <url for connection between sdk and portal>,
|
||||
mergeFolderUrl: 'folder for saving merged file',
|
||||
mergeFolderUrl: 'folder for saving merged file', // must be deprecated, use saveAsUrl instead
|
||||
saveAsUrl: 'folder for saving files'
|
||||
licenseUrl: <url for license>,
|
||||
customerId: <customer id>,
|
||||
|
||||
|
@ -194,6 +195,7 @@
|
|||
_config.editorConfig.canRequestEditRights = _config.events && !!_config.events.onRequestEditRights;
|
||||
_config.editorConfig.canRequestClose = _config.events && !!_config.events.onRequestClose;
|
||||
_config.editorConfig.canRename = _config.events && !!_config.events.onRequestRename;
|
||||
_config.editorConfig.mergeFolderUrl = _config.editorConfig.mergeFolderUrl || _config.editorConfig.saveAsUrl;
|
||||
_config.frameEditorId = placeholderId;
|
||||
|
||||
_config.events && !!_config.events.onReady && console.log("Obsolete: The onReady event is deprecated. Please use onAppReady instead.");
|
||||
|
|
|
@ -31,9 +31,8 @@
|
|||
*
|
||||
*/
|
||||
/**
|
||||
* User: Julia.Radzhabova
|
||||
* Date: 15.04.15
|
||||
* Time: 13:56
|
||||
* Created by Julia.Radzhabova on 9/27/18
|
||||
* Copyright (c) 2018 Ascensio System SIA. All rights reserved.
|
||||
*/
|
||||
|
||||
define([
|
||||
|
@ -41,7 +40,7 @@ define([
|
|||
'common/main/lib/component/LoadMask'
|
||||
], function () { 'use strict';
|
||||
|
||||
DE.Views.MailMergeSaveDlg = Common.UI.Window.extend(_.extend({
|
||||
Common.Views.SaveAsDlg = Common.UI.Window.extend(_.extend({
|
||||
initialize : function(options) {
|
||||
var _options = {};
|
||||
_.extend(_options, {
|
||||
|
@ -52,15 +51,15 @@ define([
|
|||
}, options);
|
||||
|
||||
this.template = [
|
||||
'<div id="id-mail-merge-folder-placeholder"></div>'
|
||||
'<div id="id-saveas-folder-placeholder"></div>'
|
||||
].join('');
|
||||
|
||||
_options.tpl = _.template(this.template)(_options);
|
||||
|
||||
this.mergeFolderUrl = options.mergeFolderUrl || '';
|
||||
this.mergedFileUrl = options.mergedFileUrl || '';
|
||||
this.saveFolderUrl = options.saveFolderUrl || '';
|
||||
this.saveFileUrl = options.saveFileUrl || '';
|
||||
this.defFileName = options.defFileName || '';
|
||||
this.mergeFolderUrl = this.mergeFolderUrl.replace("{title}", encodeURIComponent(this.defFileName)).replace("{fileuri}", encodeURIComponent(this.mergedFileUrl));
|
||||
this.saveFolderUrl = this.saveFolderUrl.replace("{title}", encodeURIComponent(this.defFileName)).replace("{fileuri}", encodeURIComponent(this.saveFileUrl));
|
||||
Common.UI.Window.prototype.initialize.call(this, _options);
|
||||
},
|
||||
|
||||
|
@ -75,13 +74,13 @@ define([
|
|||
iframe.frameBorder = 0;
|
||||
iframe.scrolling = "no";
|
||||
iframe.onload = _.bind(this._onLoad,this);
|
||||
$('#id-mail-merge-folder-placeholder').append(iframe);
|
||||
$('#id-saveas-folder-placeholder').append(iframe);
|
||||
|
||||
this.loadMask = new Common.UI.LoadMask({owner: $('#id-mail-merge-folder-placeholder')});
|
||||
this.loadMask = new Common.UI.LoadMask({owner: $('#id-saveas-folder-placeholder')});
|
||||
this.loadMask.setTitle(this.textLoading);
|
||||
this.loadMask.show();
|
||||
|
||||
iframe.src = this.mergeFolderUrl;
|
||||
iframe.src = this.saveFolderUrl;
|
||||
|
||||
var me = this;
|
||||
this._eventfunc = function(msg) {
|
||||
|
@ -122,10 +121,10 @@ define([
|
|||
_onMessage: function(msg) {
|
||||
if (msg && msg.Referer == "onlyoffice") {
|
||||
if ( !_.isEmpty(msg.error) ) {
|
||||
this.trigger('mailmergeerror', this, msg.error);
|
||||
this.trigger('saveaserror', this, msg.error);
|
||||
}
|
||||
// if ( !_.isEmpty(msg.folder) ) {
|
||||
// this.trigger('mailmergefolder', this, msg.folder); // save last folder url
|
||||
// this.trigger('saveasfolder', this, msg.folder); // save last folder url
|
||||
// }
|
||||
Common.NotificationCenter.trigger('window:close', this);
|
||||
}
|
||||
|
@ -138,6 +137,6 @@ define([
|
|||
|
||||
textTitle : 'Folder for save',
|
||||
textLoading : 'Loading'
|
||||
}, DE.Views.MailMergeSaveDlg || {}));
|
||||
}, Common.Views.SaveAsDlg || {}));
|
||||
});
|
||||
|
|
@ -1,58 +1,39 @@
|
|||
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" width="100" height="127" viewBox="0 0 100 127">
|
||||
<defs>
|
||||
<style>
|
||||
.cls-1 {
|
||||
fill: #646464;
|
||||
}
|
||||
|
||||
.cls-2 {
|
||||
opacity: 0.2;
|
||||
}
|
||||
|
||||
.cls-2, .cls-3 {
|
||||
isolation: isolate;
|
||||
}
|
||||
|
||||
.cls-4 {
|
||||
fill: #fff;
|
||||
}
|
||||
</style>
|
||||
</defs>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 127" version="1.1" width="100" height="127">
|
||||
<title>csv</title>
|
||||
<g id="csv">
|
||||
<path class="cls-1" d="M95,23v96a2.9,2.9,0,0,1-3,3H8a2.9,2.9,0,0,1-3-3V8A2.9,2.9,0,0,1,8,5H77Z"/>
|
||||
<path class="cls-2" d="M95,23H80a2.9,2.9,0,0,1-3-3V5Z"/>
|
||||
<g class="cls-3">
|
||||
<path class="cls-4" d="M43.7,105.8a1.9,1.9,0,0,0-1.6.8,3.3,3.3,0,0,0-.6,2.1c0,2,.8,2.9,2.2,2.9a6.9,6.9,0,0,0,2.2-.4v1.5a6.1,6.1,0,0,1-2.4.4,3.6,3.6,0,0,1-2.8-1.1,4.8,4.8,0,0,1-1-3.3,4.3,4.3,0,0,1,.5-2.3,3.1,3.1,0,0,1,1.4-1.6,4.6,4.6,0,0,1,2.1-.5,5.7,5.7,0,0,1,2.5.6l-.6,1.5-1-.4Z"/>
|
||||
<path class="cls-4" d="M52.8,110.6a2,2,0,0,1-.9,1.8,3.2,3.2,0,0,1-2.3.7,6,6,0,0,1-2.4-.5v-1.7l1.4.6h1.1l1-.2a.9.9,0,0,0,.3-.7.5.5,0,0,0-.2-.4.8.8,0,0,0-.4-.4l-1.1-.6-1.2-.7-.6-.8a1.8,1.8,0,0,1-.2-1.1A2.1,2.1,0,0,1,48,105a3.2,3.2,0,0,1,2.2-.7l1.2.2,1.3.4-.6,1.4-1.1-.4h-.9a1.1,1.1,0,0,0-.8.3.6.6,0,0,0-.3.6l.2.4c0,.1.1.2.3.4l1.2.6a3.4,3.4,0,0,1,1.6,1.1A2.4,2.4,0,0,1,52.8,110.6Z"/>
|
||||
<path class="cls-4" d="M59.2,104.4H61L58.1,113h-2l-2.9-8.6h1.9l1.6,5.1a3.6,3.6,0,0,1,.2,1.1c.1.4.2.7.2.8s.2-1,.5-1.9Z"/>
|
||||
<symbol id="svg-format-csv">
|
||||
<path d="M95,23v96a2.9,2.9,0,0,1-2.8,3H8a2.9,2.9,0,0,1-3-2.8V8A2.9,2.9,0,0,1,7.8,5H77Z" style="fill: #646464"/>
|
||||
<path d="M95,23H80a2.9,2.9,0,0,1-3-2.8V5Z" style="opacity: 0.20000000298023224;isolation: isolate"/>
|
||||
<g>
|
||||
<path d="M43.7,105.8a2.1,2.1,0,0,0-1.6.8,3.9,3.9,0,0,0-.6,2.1c0,2,.8,2.9,2.2,2.9a5.4,5.4,0,0,0,2.2-.4v1.5a6.7,6.7,0,0,1-2.4.4,3.4,3.4,0,0,1-2.8-1.1,4.8,4.8,0,0,1-1-3.3,3.7,3.7,0,0,1,.5-2.3,3.6,3.6,0,0,1,1.4-1.6,5.1,5.1,0,0,1,4.6.1l-.6,1.5-1-.4Z" style="fill: #fff"/>
|
||||
<path d="M52.8,110.6a2.1,2.1,0,0,1-.9,1.8,3.2,3.2,0,0,1-2.3.7,6.9,6.9,0,0,1-2.4-.5v-1.7l1.4.6h1.1l1-.2a.9.9,0,0,0,.3-.7.5.5,0,0,0-.2-.4.8.8,0,0,0-.4-.4l-1.1-.6-1.2-.7-.6-.8a1.4,1.4,0,0,1-.2-1.1A2,2,0,0,1,48,105a3.4,3.4,0,0,1,2.2-.7l1.2.2,1.3.4-.6,1.4-1.1-.4h-.9a1.1,1.1,0,0,0-.8.3.7.7,0,0,0-.3.6l.2.4.3.4,1.2.6a3.6,3.6,0,0,1,1.6,1.1A2.1,2.1,0,0,1,52.8,110.6Z" style="fill: #fff"/>
|
||||
<path d="M59.2,104.4H61L58.1,113h-2l-2.9-8.6h1.9l1.6,5.1a4.3,4.3,0,0,1,.2,1.1c.1.4.2.7.2.8s.2-1,.5-1.9Z" style="fill: #fff"/>
|
||||
</g>
|
||||
<rect class="cls-4" x="21" y="90" width="17" height="2"/>
|
||||
<rect class="cls-4" x="21" y="83" width="17" height="2"/>
|
||||
<rect class="cls-4" x="21" y="76" width="17" height="2"/>
|
||||
<rect class="cls-4" x="21" y="69" width="17" height="2"/>
|
||||
<rect class="cls-4" x="21" y="62" width="17" height="2"/>
|
||||
<rect class="cls-4" x="21" y="55" width="17" height="2"/>
|
||||
<rect class="cls-4" x="21" y="48" width="17" height="2"/>
|
||||
<rect class="cls-4" x="21" y="41" width="17" height="2"/>
|
||||
<rect class="cls-4" x="21" y="34" width="17" height="2"/>
|
||||
<rect class="cls-4" x="42" y="90" width="17" height="2"/>
|
||||
<rect class="cls-4" x="42" y="83" width="17" height="2"/>
|
||||
<rect class="cls-4" x="42" y="76" width="17" height="2"/>
|
||||
<rect class="cls-4" x="42" y="69" width="17" height="2"/>
|
||||
<rect class="cls-4" x="42" y="62" width="17" height="2"/>
|
||||
<rect class="cls-4" x="42" y="55" width="17" height="2"/>
|
||||
<rect class="cls-4" x="42" y="48" width="17" height="2"/>
|
||||
<rect class="cls-4" x="42" y="41" width="17" height="2"/>
|
||||
<rect class="cls-4" x="42" y="34" width="17" height="2"/>
|
||||
<rect class="cls-4" x="63" y="90" width="17" height="2"/>
|
||||
<rect class="cls-4" x="63" y="83" width="17" height="2"/>
|
||||
<rect class="cls-4" x="63" y="76" width="17" height="2"/>
|
||||
<rect class="cls-4" x="63" y="69" width="17" height="2"/>
|
||||
<rect class="cls-4" x="63" y="62" width="17" height="2"/>
|
||||
<rect class="cls-4" x="63" y="55" width="17" height="2"/>
|
||||
<rect class="cls-4" x="63" y="48" width="17" height="2"/>
|
||||
<rect class="cls-4" x="63" y="41" width="17" height="2"/>
|
||||
<rect class="cls-4" x="63" y="34" width="17" height="2"/>
|
||||
</g>
|
||||
<rect x="21" y="90" width="17" height="2" style="fill: #fff"/>
|
||||
<rect x="21" y="83" width="17" height="2" style="fill: #fff"/>
|
||||
<rect x="21" y="76" width="17" height="2" style="fill: #fff"/>
|
||||
<rect x="21" y="69" width="17" height="2" style="fill: #fff"/>
|
||||
<rect x="21" y="62" width="17" height="2" style="fill: #fff"/>
|
||||
<rect x="21" y="55" width="17" height="2" style="fill: #fff"/>
|
||||
<rect x="21" y="48" width="17" height="2" style="fill: #fff"/>
|
||||
<rect x="21" y="41" width="17" height="2" style="fill: #fff"/>
|
||||
<rect x="21" y="34" width="17" height="2" style="fill: #fff"/>
|
||||
<rect x="42" y="90" width="17" height="2" style="fill: #fff"/>
|
||||
<rect x="42" y="83" width="17" height="2" style="fill: #fff"/>
|
||||
<rect x="42" y="76" width="17" height="2" style="fill: #fff"/>
|
||||
<rect x="42" y="69" width="17" height="2" style="fill: #fff"/>
|
||||
<rect x="42" y="62" width="17" height="2" style="fill: #fff"/>
|
||||
<rect x="42" y="55" width="17" height="2" style="fill: #fff"/>
|
||||
<rect x="42" y="48" width="17" height="2" style="fill: #fff"/>
|
||||
<rect x="42" y="41" width="17" height="2" style="fill: #fff"/>
|
||||
<rect x="42" y="34" width="17" height="2" style="fill: #fff"/>
|
||||
<rect x="63" y="90" width="17" height="2" style="fill: #fff"/>
|
||||
<rect x="63" y="83" width="17" height="2" style="fill: #fff"/>
|
||||
<rect x="63" y="76" width="17" height="2" style="fill: #fff"/>
|
||||
<rect x="63" y="69" width="17" height="2" style="fill: #fff"/>
|
||||
<rect x="63" y="62" width="17" height="2" style="fill: #fff"/>
|
||||
<rect x="63" y="55" width="17" height="2" style="fill: #fff"/>
|
||||
<rect x="63" y="48" width="17" height="2" style="fill: #fff"/>
|
||||
<rect x="63" y="41" width="17" height="2" style="fill: #fff"/>
|
||||
<rect x="63" y="34" width="17" height="2" style="fill: #fff"/>
|
||||
</symbol>
|
||||
</svg>
|
||||
|
|
Before Width: | Height: | Size: 3 KiB After Width: | Height: | Size: 2.9 KiB |
|
@ -1,33 +1,13 @@
|
|||
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" width="100" height="127" viewBox="0 0 100 127">
|
||||
<defs>
|
||||
<style>
|
||||
.cls-1 {
|
||||
fill: #214479;
|
||||
}
|
||||
|
||||
.cls-2 {
|
||||
opacity: 0.2;
|
||||
}
|
||||
|
||||
.cls-2, .cls-3 {
|
||||
isolation: isolate;
|
||||
}
|
||||
|
||||
.cls-4 {
|
||||
fill: #fff;
|
||||
}
|
||||
</style>
|
||||
</defs>
|
||||
<title>docx</title>
|
||||
<g id="docx">
|
||||
<path class="cls-1" d="M95,23v96a2.9,2.9,0,0,1-3,3H8a2.9,2.9,0,0,1-3-3V8A2.9,2.9,0,0,1,8,5H77Z"/>
|
||||
<path class="cls-2" d="M95,23H80a2.9,2.9,0,0,1-3-3V5Z"/>
|
||||
<g class="cls-3">
|
||||
<path class="cls-4" d="M41.1,108.6a4.5,4.5,0,0,1-1.2,3.3,5,5,0,0,1-3.4,1.1H34v-8.6h2.7a4.9,4.9,0,0,1,3.3,1.1A4.1,4.1,0,0,1,41.1,108.6Zm-1.8.1c0-1.9-.9-2.8-2.5-2.8h-.9v5.6h.7C38.4,111.5,39.3,110.6,39.3,108.7Z"/>
|
||||
<path class="cls-4" d="M50.7,108.7a4.9,4.9,0,0,1-1.1,3.3,4.6,4.6,0,0,1-6,0,5.5,5.5,0,0,1,0-6.6,4.1,4.1,0,0,1,3-1.1,4.3,4.3,0,0,1,3.1,1.1A5.4,5.4,0,0,1,50.7,108.7Zm-6.3,0a3.4,3.4,0,0,0,.6,2.2,1.9,1.9,0,0,0,1.6.7c1.5,0,2.2-1,2.2-2.9s-.7-2.9-2.2-2.9a2.2,2.2,0,0,0-1.6.7A3.4,3.4,0,0,0,44.4,108.7Z"/>
|
||||
<path class="cls-4" d="M56.1,105.8a1.9,1.9,0,0,0-1.6.8,3.3,3.3,0,0,0-.5,2.1c0,2,.7,2.9,2.1,2.9a6.9,6.9,0,0,0,2.2-.4v1.5a6.1,6.1,0,0,1-2.4.4,3.6,3.6,0,0,1-2.8-1.1,4.8,4.8,0,0,1-1-3.3,5.6,5.6,0,0,1,.5-2.3,3.6,3.6,0,0,1,1.4-1.6,4.6,4.6,0,0,1,2.1-.5,5.7,5.7,0,0,1,2.5.6l-.6,1.5-.9-.4Z"/>
|
||||
<path class="cls-4" d="M67,113H65l-2-3.2L61,113H59l2.9-4.4-2.7-4.2h2l1.9,3.1,1.8-3.1h1.9l-2.7,4.3Z"/>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 127" version="1.1" width="100" height="127">
|
||||
<symbol id="svg-format-docx">
|
||||
<path d="M95,23v96a2.9,2.9,0,0,1-2.8,3H8a2.9,2.9,0,0,1-3-2.8V8A2.9,2.9,0,0,1,7.8,5H77Z" style="fill: #214479"/>
|
||||
<path d="M95,23H80a2.9,2.9,0,0,1-3-2.8V5Z" style="opacity: 0.20000000298023224;isolation: isolate"/>
|
||||
<g>
|
||||
<path d="M41.1,108.6a4.5,4.5,0,0,1-1.2,3.3,4.8,4.8,0,0,1-3.4,1.1H34v-8.6h2.7a4.9,4.9,0,0,1,3.3,1.1A4,4,0,0,1,41.1,108.6Zm-1.8.1c0-1.9-.9-2.8-2.5-2.8h-.9v5.6h.7C38.4,111.5,39.3,110.6,39.3,108.7Z" style="fill: #fff"/>
|
||||
<path d="M50.7,108.7a4.9,4.9,0,0,1-1.1,3.3,4.6,4.6,0,0,1-6,0,5.4,5.4,0,0,1,0-6.6,3.8,3.8,0,0,1,3-1.1,4,4,0,0,1,3.1,1.1A5.6,5.6,0,0,1,50.7,108.7Zm-6.3,0a3.3,3.3,0,0,0,.6,2.2,2,2,0,0,0,1.6.7c1.5,0,2.2-1,2.2-2.9s-.7-2.9-2.2-2.9a2.4,2.4,0,0,0-1.6.7A3.3,3.3,0,0,0,44.4,108.7Z" style="fill: #fff"/>
|
||||
<path d="M56.1,105.8a2.1,2.1,0,0,0-1.6.8,3.1,3.1,0,0,0-.5,2.1c0,2,.7,2.9,2.1,2.9a5.4,5.4,0,0,0,2.2-.4v1.5a6.7,6.7,0,0,1-2.4.4,3.4,3.4,0,0,1-2.8-1.1,4.8,4.8,0,0,1-1-3.3,5.9,5.9,0,0,1,.5-2.3,3.6,3.6,0,0,1,1.4-1.6,5.1,5.1,0,0,1,4.6.1l-.6,1.5-.9-.4Z" style="fill: #fff"/>
|
||||
<path d="M67,113H65l-2-3.2L61,113H59l2.9-4.4-2.7-4.2h2l1.9,3.1,1.8-3.1h1.9l-2.7,4.3Z" style="fill: #fff"/>
|
||||
</g>
|
||||
<polygon class="cls-4" points="67.8 48 61.5 75 54.5 48 51.5 48 48.5 48 41.5 75 35.2 48 29.4 48 37.9 82 44.3 82 51.5 54.1 58.7 82 65.1 82 73.6 48 67.8 48"/>
|
||||
</g>
|
||||
<polygon points="67.8 48 61.5 75 54.5 48 51.5 48 48.5 48 41.5 75 35.2 48 29.4 48 37.9 82 44.3 82 51.5 54.1 58.7 82 65.1 82 73.6 48 67.8 48" style="fill: #fff"/>
|
||||
</symbol>
|
||||
</svg>
|
||||
|
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.4 KiB |
|
@ -1,35 +1,15 @@
|
|||
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" width="100" height="127" viewBox="0 0 100 127">
|
||||
<defs>
|
||||
<style>
|
||||
.cls-1 {
|
||||
fill: #5892b6;
|
||||
}
|
||||
|
||||
.cls-2 {
|
||||
opacity: 0.2;
|
||||
}
|
||||
|
||||
.cls-2, .cls-3 {
|
||||
isolation: isolate;
|
||||
}
|
||||
|
||||
.cls-4 {
|
||||
fill: #fff;
|
||||
}
|
||||
</style>
|
||||
</defs>
|
||||
<title>epub</title>
|
||||
<g id="epub">
|
||||
<path class="cls-1" d="M95,23v96a2.9,2.9,0,0,1-3,3H8a2.9,2.9,0,0,1-3-3V8A2.9,2.9,0,0,1,8,5H77Z"/>
|
||||
<path class="cls-2" d="M95,23H80a2.9,2.9,0,0,1-3-3V5Z"/>
|
||||
<g class="cls-3">
|
||||
<path class="cls-4" d="M40.3,113H35.4v-8.6h4.9v1.5H37.2v1.9h2.9v1.5H37.2v2.2h3.1Z"/>
|
||||
<path class="cls-4" d="M48,107.1a2.9,2.9,0,0,1-.8,2.1,3.7,3.7,0,0,1-2.5.8h-.8v3H42.1v-8.6h2.7a3.8,3.8,0,0,1,2.4.7A2.3,2.3,0,0,1,48,107.1Zm-4.1,1.4h.6a1.7,1.7,0,0,0,1.3-.4,1,1,0,0,0,.4-.9,1.1,1.1,0,0,0-.4-1,1.5,1.5,0,0,0-1-.3h-.9Z"/>
|
||||
<path class="cls-4" d="M56.6,104.4V110a2.7,2.7,0,0,1-.4,1.6,2.5,2.5,0,0,1-1.2,1.1,4.7,4.7,0,0,1-4.5-.4,3.2,3.2,0,0,1-.9-2.3v-5.6h1.8v5.3a2,2,0,0,0,.4,1.4,1.9,1.9,0,0,0,2.6,0,2,2,0,0,0,.4-1.4v-5.3Z"/>
|
||||
<path class="cls-4" d="M58.7,104.4h2.7a4.3,4.3,0,0,1,2.6.6,1.5,1.5,0,0,1,.8,1.6,2.8,2.8,0,0,1-.3,1.3,2.1,2.1,0,0,1-1,.6h0a1.8,1.8,0,0,1,1.2.7,2.5,2.5,0,0,1,.4,1.3,2,2,0,0,1-.9,1.8,3.2,3.2,0,0,1-2.3.7H58.7Zm1.8,3.4h1.1a1.8,1.8,0,0,0,1.1-.2,1,1,0,0,0,.3-.8.8.8,0,0,0-.4-.7l-1.1-.2h-1Zm0,1.5v2.2h1.2a1.6,1.6,0,0,0,1.1-.3,1,1,0,0,0,.4-.9c0-.7-.5-1-1.5-1Z"/>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 127" version="1.1" width="100" height="127">
|
||||
<symbol id="svg-format-epub">
|
||||
<path d="M95,23v96a2.9,2.9,0,0,1-2.8,3H8a2.9,2.9,0,0,1-3-2.8V8A2.9,2.9,0,0,1,7.8,5H77Z" style="fill: #5892b6"/>
|
||||
<path d="M95,23H80a2.9,2.9,0,0,1-3-2.8V5Z" style="opacity: 0.20000000298023224;isolation: isolate"/>
|
||||
<g>
|
||||
<path d="M40.3,113H35.4v-8.6h4.9v1.5H37.2v1.9h2.9v1.5H37.2v2.2h3.1Z" style="fill: #fff"/>
|
||||
<path d="M48,107.1a3.2,3.2,0,0,1-.8,2.1,3.8,3.8,0,0,1-2.5.8h-.8v3H42.1v-8.6h2.7a4,4,0,0,1,2.4.7A2.2,2.2,0,0,1,48,107.1Zm-4.1,1.4h.6a1.6,1.6,0,0,0,1.3-.4,1.1,1.1,0,0,0,.4-.9,1,1,0,0,0-.4-1,1.7,1.7,0,0,0-1-.3h-.9Z" style="fill: #fff"/>
|
||||
<path d="M56.6,104.4V110a2.9,2.9,0,0,1-.4,1.6,2.5,2.5,0,0,1-1.2,1.1,4.8,4.8,0,0,1-4.5-.4,3.2,3.2,0,0,1-.9-2.3v-5.6h1.8v5.3a2.3,2.3,0,0,0,.4,1.4,1.9,1.9,0,0,0,2.6,0,2.3,2.3,0,0,0,.4-1.4v-5.3Z" style="fill: #fff"/>
|
||||
<path d="M58.7,104.4h2.7a4,4,0,0,1,2.6.6,1.5,1.5,0,0,1,.8,1.6,2.8,2.8,0,0,1-.3,1.3,2.1,2.1,0,0,1-1,.6h0a1.9,1.9,0,0,1,1.2.7,2,2,0,0,1,.4,1.3,2.1,2.1,0,0,1-.9,1.8,3.2,3.2,0,0,1-2.3.7H58.7Zm1.8,3.4h1.1a1.4,1.4,0,0,0,1.1-.2,1.1,1.1,0,0,0,.3-.8.8.8,0,0,0-.4-.7l-1.1-.2h-1Zm0,1.5v2.2h1.2a2,2,0,0,0,1.1-.3,1.1,1.1,0,0,0,.4-.9c0-.7-.5-1-1.5-1Z" style="fill: #fff"/>
|
||||
</g>
|
||||
<path class="cls-4" d="M49,84V49s-9-6-24-7V75S42,76,49,84Z"/>
|
||||
<path class="cls-4" d="M75,75V42c-15,1-24,7-24,7V84C58,76,75,75,75,75Z"/>
|
||||
<path class="cls-4" d="M77,47V79s-15,0-27,8.3C38,79,23,79,23,79V47H20V82s13-2,30,6c17-8,30-6,30-6V47Z"/>
|
||||
</g>
|
||||
<path d="M49,84V49s-9-6-24-7V75S42,76,49,84Z" style="fill: #fff"/>
|
||||
<path d="M75,75V42c-15,1-24,7-24,7V84C58,76,75,75,75,75Z" style="fill: #fff"/>
|
||||
<path d="M77,47V79s-15,0-27,8.3C38,79,23,79,23,79V47H20V82s13-2,30,6c17-8,30-6,30-6V47Z" style="fill: #fff"/>
|
||||
</symbol>
|
||||
</svg>
|
||||
|
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.5 KiB |
|
@ -1,35 +1,15 @@
|
|||
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" width="100" height="127" viewBox="0 0 100 127">
|
||||
<defs>
|
||||
<style>
|
||||
.cls-1 {
|
||||
fill: #7c9a34;
|
||||
}
|
||||
|
||||
.cls-2 {
|
||||
opacity: 0.2;
|
||||
}
|
||||
|
||||
.cls-2, .cls-3 {
|
||||
isolation: isolate;
|
||||
}
|
||||
|
||||
.cls-4 {
|
||||
fill: #fff;
|
||||
}
|
||||
</style>
|
||||
</defs>
|
||||
<title>html</title>
|
||||
<g id="html">
|
||||
<path class="cls-1" d="M95,23v96a2.9,2.9,0,0,1-3,3H8a2.9,2.9,0,0,1-3-3V8A2.9,2.9,0,0,1,8,5H77Z"/>
|
||||
<path class="cls-2" d="M95,23H80a2.9,2.9,0,0,1-3-3V5Z"/>
|
||||
<g class="cls-3">
|
||||
<path class="cls-4" d="M41,113H39.2v-3.7H35.8V113H34v-8.6h1.8v3.4h3.4v-3.4H41Z"/>
|
||||
<path class="cls-4" d="M46.5,113H44.6v-7.1H42.3v-1.5h6.5v1.5H46.5Z"/>
|
||||
<path class="cls-4" d="M53.7,113l-2-6.7h-.1c.1,1.3.1,2.3.1,2.7v4H50.1v-8.6h2.5l2,6.6h0l2.2-6.6h2.5V113H57.6v-4.7c0-.3,0-.9.1-2h-.1L55.4,113Z"/>
|
||||
<path class="cls-4" d="M61.4,113v-8.6h1.8v7.1h3.5V113Z"/>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 127" version="1.1" width="100" height="127">
|
||||
<symbol id="svg-format-html">
|
||||
<path d="M95,23v96a2.9,2.9,0,0,1-2.8,3H8a2.9,2.9,0,0,1-3-2.8V8A2.9,2.9,0,0,1,7.8,5H77Z" style="fill: #7c9a34"/>
|
||||
<path d="M95,23H80a2.9,2.9,0,0,1-3-2.8V5Z" style="opacity: 0.20000000298023224;isolation: isolate"/>
|
||||
<g>
|
||||
<path d="M41,113H39.2v-3.7H35.8V113H34v-8.6h1.8v3.4h3.4v-3.4H41Z" style="fill: #fff"/>
|
||||
<path d="M46.5,113H44.6v-7.1H42.3v-1.5h6.5v1.5H46.5Z" style="fill: #fff"/>
|
||||
<path d="M53.7,113l-2-6.7h-.1c.1,1.3.1,2.3.1,2.7v4H50.1v-8.6h2.5l2,6.6h0l2.2-6.6h2.5V113H57.6v-4.7c0-.3,0-.9.1-2h-.1L55.4,113Z" style="fill: #fff"/>
|
||||
<path d="M61.4,113v-8.6h1.8v7.1h3.5V113Z" style="fill: #fff"/>
|
||||
</g>
|
||||
<polygon class="cls-4" points="62 53 62 57.8 75.5 62.5 62 67.2 62 72 80 64.2 80 60.8 62 53"/>
|
||||
<polygon class="cls-4" points="40 75 45.5 75 59.5 50 54 50 40 75"/>
|
||||
<polygon class="cls-4" points="19 64.2 37 72 37 67.2 23.5 62.5 37 57.8 37 53 19 60.8 19 64.2"/>
|
||||
</g>
|
||||
<polygon points="62 53 62 57.8 75.5 62.5 62 67.2 62 72 80 64.2 80 60.8 62 53" style="fill: #fff"/>
|
||||
<polygon points="40 75 45.5 75 59.5 50 54 50 40 75" style="fill: #fff"/>
|
||||
<polygon points="19 64.2 37 72 37 67.2 23.5 62.5 37 57.8 37 53 19 60.8 19 64.2" style="fill: #fff"/>
|
||||
</symbol>
|
||||
</svg>
|
||||
|
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1 KiB |
|
@ -1,33 +1,14 @@
|
|||
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" width="100" height="127" viewBox="0 0 100 127">
|
||||
<defs>
|
||||
<style>
|
||||
.cls-1 {
|
||||
fill: #dd9426;
|
||||
}
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 127" version="1.1" width="100" height="127">
|
||||
|
||||
.cls-2 {
|
||||
opacity: 0.2;
|
||||
}
|
||||
|
||||
.cls-2, .cls-3 {
|
||||
isolation: isolate;
|
||||
}
|
||||
|
||||
.cls-4 {
|
||||
fill: #fff;
|
||||
}
|
||||
</style>
|
||||
</defs>
|
||||
<title>odp</title>
|
||||
<g id="odp">
|
||||
<path class="cls-1" d="M95,23v96a2.9,2.9,0,0,1-3,3H8a2.9,2.9,0,0,1-3-3V8A2.9,2.9,0,0,1,8,5H77Z"/>
|
||||
<path class="cls-2" d="M95,23H80a2.9,2.9,0,0,1-3-3V5Z"/>
|
||||
<g class="cls-3">
|
||||
<path class="cls-4" d="M45.9,108.7a4.9,4.9,0,0,1-1.1,3.3,4.6,4.6,0,0,1-6,0,5.5,5.5,0,0,1,0-6.6,4.6,4.6,0,0,1,6,0A4.9,4.9,0,0,1,45.9,108.7Zm-6.3,0a3.4,3.4,0,0,0,.6,2.2,1.8,1.8,0,0,0,1.6.7c1.4,0,2.2-1,2.2-2.9s-.8-2.9-2.2-2.9a2,2,0,0,0-1.6.7A3.4,3.4,0,0,0,39.6,108.7Z"/>
|
||||
<path class="cls-4" d="M54.8,108.6a4.5,4.5,0,0,1-1.2,3.3,5.4,5.4,0,0,1-3.5,1.1H47.6v-8.6h2.7a4.9,4.9,0,0,1,3.3,1.1A4.1,4.1,0,0,1,54.8,108.6Zm-1.9.1c0-1.9-.8-2.8-2.5-2.8h-.9v5.6h.7C52,111.5,52.9,110.6,52.9,108.7Z"/>
|
||||
<path class="cls-4" d="M62.4,107.1a2.5,2.5,0,0,1-.8,2.1,3.7,3.7,0,0,1-2.5.8h-.8v3H56.5v-8.6h2.8a3.7,3.7,0,0,1,2.3.7A2.3,2.3,0,0,1,62.4,107.1Zm-4.1,1.4h.6a1.7,1.7,0,0,0,1.3-.4,1,1,0,0,0,.4-.9,1.3,1.3,0,0,0-.3-1,1.8,1.8,0,0,0-1.1-.3h-.9Z"/>
|
||||
<symbol id="svg-format-odp">
|
||||
<path d="M95,23v96a2.9,2.9,0,0,1-2.8,3H8a2.9,2.9,0,0,1-3-2.8V8A2.9,2.9,0,0,1,7.8,5H77Z" style="fill: #dd9426"/>
|
||||
<path d="M95,23H80a2.9,2.9,0,0,1-3-2.8V5Z" style="opacity: 0.20000000298023224;isolation: isolate"/>
|
||||
<g>
|
||||
<path d="M45.9,108.7a4.9,4.9,0,0,1-1.1,3.3,4.6,4.6,0,0,1-6,0,5.4,5.4,0,0,1,0-6.6,4.6,4.6,0,0,1,6,0A4.9,4.9,0,0,1,45.9,108.7Zm-6.3,0a3.3,3.3,0,0,0,.6,2.2,1.7,1.7,0,0,0,1.6.7c1.4,0,2.2-1,2.2-2.9s-.8-2.9-2.2-2.9a2,2,0,0,0-1.6.7A3.3,3.3,0,0,0,39.6,108.7Z" style="fill: #fff"/>
|
||||
<path d="M54.8,108.6a4.5,4.5,0,0,1-1.2,3.3,4.9,4.9,0,0,1-3.5,1.1H47.6v-8.6h2.7a4.9,4.9,0,0,1,3.3,1.1A3.9,3.9,0,0,1,54.8,108.6Zm-1.9.1c0-1.9-.8-2.8-2.5-2.8h-.9v5.6h.7C52,111.5,52.9,110.6,52.9,108.7Z" style="fill: #fff"/>
|
||||
<path d="M62.4,107.1a2.4,2.4,0,0,1-.8,2.1,3.8,3.8,0,0,1-2.5.8h-.8v3H56.5v-8.6h2.8a3.9,3.9,0,0,1,2.3.7A2.2,2.2,0,0,1,62.4,107.1Zm-4.1,1.4h.6a1.6,1.6,0,0,0,1.3-.4,1.1,1.1,0,0,0,.4-.9,1.7,1.7,0,0,0-.3-1,2,2,0,0,0-1.1-.3h-.9Z" style="fill: #fff"/>
|
||||
</g>
|
||||
<path class="cls-4" d="M78,52.7h-.3a14.8,14.8,0,0,0-14,.5,14.8,14.8,0,0,0-14.3-.2h-.1a.3.3,0,0,0-.1.2c0,.1.1.2.3.2h0a14.8,14.8,0,0,1,4.2-.1c4,.3,7.4,1.6,9.8,4.3.2.1.3.1.4,0,3.1-3.5,7.8-4.9,12.8-4.4h1.2a.2.2,0,0,0,.2-.2h0C78.1,52.8,78.1,52.8,78,52.7Z"/>
|
||||
<path class="cls-4" d="M72.2,65.2h0a26,26,0,0,0-25,2.8,26.1,26.1,0,0,0-25.1,2.2h0l-.2.3a.4.4,0,0,0,.4.4h.1a26.7,26.7,0,0,1,7.5-1.1c6.9,0,13.1,1.6,17.7,6h.2c.2,0,.3-.1.3-.2l.3-.3c4.7-6.4,12.5-9.6,21.1-9.6h2.4c.2-.1.4-.2.4-.4Z"/>
|
||||
</g>
|
||||
<path d="M78,52.7h-.3a14.8,14.8,0,0,0-14,.5A14.8,14.8,0,0,0,49.4,53h-.1c-.1.1-.1.1-.1.2s.1.2.3.2h0a14.8,14.8,0,0,1,4.2-.1c4,.3,7.4,1.6,9.8,4.3.2.1.3.1.4,0,3.1-3.5,7.8-4.9,12.8-4.4h1.2a.2.2,0,0,0,.2-.2h0C78.1,52.8,78.1,52.8,78,52.7Z" style="fill: #fff"/>
|
||||
<path d="M72.2,65.2h0a26,26,0,0,0-25,2.8,26.1,26.1,0,0,0-25.1,2.2h0l-.2.3a.4.4,0,0,0,.4.4h.1a27.2,27.2,0,0,1,7.5-1.1c6.9,0,13.1,1.6,17.7,6h.2c.2,0,.3-.1.3-.2l.3-.3c4.7-6.4,12.5-9.6,21.1-9.6h2.4c.2-.1.4-.2.4-.4Z" style="fill: #fff"/>
|
||||
</symbol>
|
||||
</svg>
|
||||
|
|
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.6 KiB |
|
@ -1,33 +1,14 @@
|
|||
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" width="100" height="127" viewBox="0 0 100 127">
|
||||
<defs>
|
||||
<style>
|
||||
.cls-1 {
|
||||
fill: #237453;
|
||||
}
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 127" version="1.1" width="100" height="127">
|
||||
|
||||
.cls-2 {
|
||||
opacity: 0.2;
|
||||
}
|
||||
|
||||
.cls-2, .cls-3 {
|
||||
isolation: isolate;
|
||||
}
|
||||
|
||||
.cls-4 {
|
||||
fill: #fff;
|
||||
}
|
||||
</style>
|
||||
</defs>
|
||||
<title>ods</title>
|
||||
<g id="ods">
|
||||
<path class="cls-1" d="M95,23v96a2.9,2.9,0,0,1-3,3H8a2.9,2.9,0,0,1-3-3V8A2.9,2.9,0,0,1,8,5H77Z"/>
|
||||
<path class="cls-2" d="M95,23H80a2.9,2.9,0,0,1-3-3V5Z"/>
|
||||
<g class="cls-3">
|
||||
<path class="cls-4" d="M46.3,108.7a4.8,4.8,0,0,1-1,3.3,4.1,4.1,0,0,1-3,1.1,4.2,4.2,0,0,1-3.1-1.1,5.9,5.9,0,0,1,0-6.6,4.3,4.3,0,0,1,3.1-1.1,4.1,4.1,0,0,1,3,1.1A4.8,4.8,0,0,1,46.3,108.7Zm-6.2,0a4.2,4.2,0,0,0,.5,2.2,1.9,1.9,0,0,0,1.7.7c1.4,0,2.1-1,2.1-2.9s-.7-2.9-2.1-2.9a2.2,2.2,0,0,0-1.7.7A4.2,4.2,0,0,0,40.1,108.7Z"/>
|
||||
<path class="cls-4" d="M55.2,108.6a4.5,4.5,0,0,1-1.2,3.3,5.1,5.1,0,0,1-3.5,1.1H48.1v-8.6h2.7a4.9,4.9,0,0,1,3.3,1.1A4.5,4.5,0,0,1,55.2,108.6Zm-1.9.1c0-1.9-.8-2.8-2.4-2.8h-1v5.6h.8C52.5,111.5,53.3,110.6,53.3,108.7Z"/>
|
||||
<path class="cls-4" d="M62,110.6a1.9,1.9,0,0,1-.8,1.8,3.2,3.2,0,0,1-2.3.7,6,6,0,0,1-2.4-.5v-1.7l1.4.6H59l.9-.2a.8.8,0,0,0,.4-.7.5.5,0,0,0-.2-.4.8.8,0,0,0-.4-.4l-1.1-.6-1.2-.7-.6-.8a1.8,1.8,0,0,1-.2-1.1,2.1,2.1,0,0,1,.7-1.7,3.1,3.1,0,0,1,2.2-.7l1.2.2,1.3.4-.6,1.4-1.1-.4h-.9a1.1,1.1,0,0,0-.8.3.6.6,0,0,0-.3.6l.2.4c0,.1.1.2.3.4l1.2.6a3.4,3.4,0,0,1,1.6,1.1A2.3,2.3,0,0,1,62,110.6Z"/>
|
||||
<symbol id="svg-format-ods">
|
||||
<path d="M95,23v96a2.9,2.9,0,0,1-2.8,3H8a2.9,2.9,0,0,1-3-2.8V8A2.9,2.9,0,0,1,7.8,5H77Z" style="fill: #237453"/>
|
||||
<path d="M95,23H80a2.9,2.9,0,0,1-3-2.8V5Z" style="opacity: 0.20000000298023224;isolation: isolate"/>
|
||||
<g>
|
||||
<path d="M46.3,108.7a4.8,4.8,0,0,1-1,3.3,3.8,3.8,0,0,1-3,1.1,4,4,0,0,1-3.1-1.1,6.1,6.1,0,0,1,0-6.6,4,4,0,0,1,3.1-1.1,3.8,3.8,0,0,1,3,1.1A4.8,4.8,0,0,1,46.3,108.7Zm-6.2,0a4.2,4.2,0,0,0,.5,2.2,1.9,1.9,0,0,0,1.7.7c1.4,0,2.1-1,2.1-2.9s-.7-2.9-2.1-2.9a2.2,2.2,0,0,0-1.7.7A4.2,4.2,0,0,0,40.1,108.7Z" style="fill: #fff"/>
|
||||
<path d="M55.2,108.6a4.5,4.5,0,0,1-1.2,3.3,4.9,4.9,0,0,1-3.5,1.1H48.1v-8.6h2.7a4.9,4.9,0,0,1,3.3,1.1A5.1,5.1,0,0,1,55.2,108.6Zm-1.9.1c0-1.9-.8-2.8-2.4-2.8h-1v5.6h.8C52.5,111.5,53.3,110.6,53.3,108.7Z" style="fill: #fff"/>
|
||||
<path d="M62,110.6a1.8,1.8,0,0,1-.8,1.8,3.2,3.2,0,0,1-2.3.7,6.9,6.9,0,0,1-2.4-.5v-1.7l1.4.6H59l.9-.2a.8.8,0,0,0,.4-.7.5.5,0,0,0-.2-.4l-.4-.4-1.1-.6-1.2-.7-.6-.8a1.4,1.4,0,0,1-.2-1.1,2.2,2.2,0,0,1,.7-1.7,2.9,2.9,0,0,1,2.2-.7l1.2.2,1.3.4-.6,1.4-1.1-.4h-.9a1.1,1.1,0,0,0-.8.3.7.7,0,0,0-.3.6l.2.4c0,.1.1.2.3.4l1.2.6a3.6,3.6,0,0,1,1.6,1.1A2.3,2.3,0,0,1,62,110.6Z" style="fill: #fff"/>
|
||||
</g>
|
||||
<path class="cls-4" d="M78,52.7h-.3a14.8,14.8,0,0,0-14,.5,14.8,14.8,0,0,0-14.3-.2h-.1a.3.3,0,0,0-.1.2c0,.1.1.2.3.2h0a14.8,14.8,0,0,1,4.2-.1c4,.3,7.4,1.6,9.8,4.3.2.1.3.1.4,0,3.1-3.5,7.8-4.9,12.8-4.4h1.2a.2.2,0,0,0,.2-.2h0C78.1,52.8,78.1,52.8,78,52.7Z"/>
|
||||
<path class="cls-4" d="M72.2,65.2h0a26,26,0,0,0-25,2.8,26.1,26.1,0,0,0-25.1,2.2h0l-.2.3a.4.4,0,0,0,.4.4h.1a26.7,26.7,0,0,1,7.5-1.1c6.9,0,13.1,1.6,17.7,6h.2c.2,0,.3-.1.3-.2l.3-.3c4.7-6.4,12.5-9.6,21.1-9.6h2.4c.2-.1.4-.2.4-.4Z"/>
|
||||
</g>
|
||||
<path d="M78,52.7h-.3a14.8,14.8,0,0,0-14,.5A14.8,14.8,0,0,0,49.4,53h-.1c-.1.1-.1.1-.1.2s.1.2.3.2h0a14.8,14.8,0,0,1,4.2-.1c4,.3,7.4,1.6,9.8,4.3.2.1.3.1.4,0,3.1-3.5,7.8-4.9,12.8-4.4h1.2a.2.2,0,0,0,.2-.2h0C78.1,52.8,78.1,52.8,78,52.7Z" style="fill: #fff"/>
|
||||
<path d="M72.2,65.2h0a26,26,0,0,0-25,2.8,26.1,26.1,0,0,0-25.1,2.2h0l-.2.3a.4.4,0,0,0,.4.4h.1a27.2,27.2,0,0,1,7.5-1.1c6.9,0,13.1,1.6,17.7,6h.2c.2,0,.3-.1.3-.2l.3-.3c4.7-6.4,12.5-9.6,21.1-9.6h2.4c.2-.1.4-.2.4-.4Z" style="fill: #fff"/>
|
||||
</symbol>
|
||||
</svg>
|
||||
|
|
Before Width: | Height: | Size: 2 KiB After Width: | Height: | Size: 1.8 KiB |
|
@ -1,33 +1,13 @@
|
|||
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" width="100" height="127" viewBox="0 0 100 127">
|
||||
<defs>
|
||||
<style>
|
||||
.cls-1 {
|
||||
fill: #3c6d88;
|
||||
}
|
||||
|
||||
.cls-2 {
|
||||
opacity: 0.2;
|
||||
}
|
||||
|
||||
.cls-2, .cls-3 {
|
||||
isolation: isolate;
|
||||
}
|
||||
|
||||
.cls-4 {
|
||||
fill: #fff;
|
||||
}
|
||||
</style>
|
||||
</defs>
|
||||
<title>odt</title>
|
||||
<g id="odt">
|
||||
<path class="cls-1" d="M95,23v96a2.9,2.9,0,0,1-3,3H8a2.9,2.9,0,0,1-3-3V8A2.9,2.9,0,0,1,8,5H77Z"/>
|
||||
<path class="cls-2" d="M95,23H80a2.9,2.9,0,0,1-3-3V5Z"/>
|
||||
<g class="cls-3">
|
||||
<path class="cls-4" d="M46.2,108.7a4.9,4.9,0,0,1-1.1,3.3,4.6,4.6,0,0,1-6,0,5.5,5.5,0,0,1,0-6.6,4.6,4.6,0,0,1,6,0A4.9,4.9,0,0,1,46.2,108.7Zm-6.3,0a3.4,3.4,0,0,0,.6,2.2,1.8,1.8,0,0,0,1.6.7c1.4,0,2.2-1,2.2-2.9s-.8-2.9-2.2-2.9a2,2,0,0,0-1.6.7A3.4,3.4,0,0,0,39.9,108.7Z"/>
|
||||
<path class="cls-4" d="M55,108.6a4.5,4.5,0,0,1-1.2,3.3,5,5,0,0,1-3.4,1.1H47.9v-8.6h2.7a4.9,4.9,0,0,1,3.3,1.1A4.1,4.1,0,0,1,55,108.6Zm-1.8.1c0-1.9-.9-2.8-2.5-2.8h-.9v5.6h.7C52.3,111.5,53.2,110.6,53.2,108.7Z"/>
|
||||
<path class="cls-4" d="M60.1,113H58.3v-7.1H56v-1.5h6.5v1.5H60.1Z"/>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 127" version="1.1" width="100" height="127">
|
||||
<symbol id="svg-format-odt">
|
||||
<path d="M95,23v96a2.9,2.9,0,0,1-3,3H8a2.9,2.9,0,0,1-3-3V8A2.9,2.9,0,0,1,8,5H77Z" style="fill: #3c6d88"/>
|
||||
<path d="M95,23H80a2.9,2.9,0,0,1-3-3V5Z" style="opacity: 0.20000000298023224;isolation: isolate"/>
|
||||
<g style="isolation: isolate">
|
||||
<path d="M46.2,108.7a4.9,4.9,0,0,1-1.1,3.3,4.6,4.6,0,0,1-6,0,5.5,5.5,0,0,1,0-6.6,4.6,4.6,0,0,1,6,0A4.9,4.9,0,0,1,46.2,108.7Zm-6.3,0a3.4,3.4,0,0,0,.6,2.2,1.8,1.8,0,0,0,1.6.7c1.4,0,2.2-1,2.2-2.9s-.8-2.9-2.2-2.9a2,2,0,0,0-1.6.7A3.4,3.4,0,0,0,39.9,108.7Z" style="fill: #fff"/>
|
||||
<path d="M55,108.6a4.5,4.5,0,0,1-1.2,3.3,5,5,0,0,1-3.4,1.1H47.9v-8.6h2.7a4.9,4.9,0,0,1,3.3,1.1A4.1,4.1,0,0,1,55,108.6Zm-1.8.1c0-1.9-.9-2.8-2.5-2.8h-.9v5.6h.7C52.3,111.5,53.2,110.6,53.2,108.7Z" style="fill: #fff"/>
|
||||
<path d="M60.1,113H58.3v-7.1H56v-1.5h6.5v1.5H60.1Z" style="fill: #fff"/>
|
||||
</g>
|
||||
<path class="cls-4" d="M78,52.7h-.3a14.8,14.8,0,0,0-14,.5,14.8,14.8,0,0,0-14.3-.2h-.1a.3.3,0,0,0-.1.2c0,.1.1.2.3.2h0a14.8,14.8,0,0,1,4.2-.1c4,.3,7.4,1.6,9.8,4.3.2.1.3.1.4,0,3.1-3.5,7.8-4.9,12.8-4.4h1.2a.2.2,0,0,0,.2-.2h0C78.1,52.8,78.1,52.8,78,52.7Z"/>
|
||||
<path class="cls-4" d="M72.2,65.2h0a26,26,0,0,0-25,2.8,26.1,26.1,0,0,0-25.1,2.2h0l-.2.3a.4.4,0,0,0,.4.4h.1a26.7,26.7,0,0,1,7.5-1.1c6.9,0,13.1,1.6,17.7,6h.2c.2,0,.3-.1.3-.2l.3-.3c4.7-6.4,12.5-9.6,21.1-9.6h2.4c.2-.1.4-.2.4-.4Z"/>
|
||||
</g>
|
||||
</svg>
|
||||
<path d="M78,52.7h-.3a14.8,14.8,0,0,0-14,.5,14.8,14.8,0,0,0-14.3-.2h-.1a.3.3,0,0,0-.1.2c0,.1.1.2.3.2h0a14.8,14.8,0,0,1,4.2-.1c4,.3,7.4,1.6,9.8,4.3.2.1.3.1.4,0,3.1-3.5,7.8-4.9,12.8-4.4h1.2a.2.2,0,0,0,.2-.2h0C78.1,52.8,78.1,52.8,78,52.7Z" style="fill: #fff"/>
|
||||
<path d="M72.2,65.2h0a26,26,0,0,0-25,2.8,26.1,26.1,0,0,0-25.1,2.2h0l-.2.3a.4.4,0,0,0,.4.4h.1a26.7,26.7,0,0,1,7.5-1.1c6.9,0,13.1,1.6,17.7,6h.2c.2,0,.3-.1.3-.2l.3-.3c4.7-6.4,12.5-9.6,21.1-9.6h2.4c.2-.1.4-.2.4-.4Z" style="fill: #fff"/>
|
||||
</symbol>
|
||||
</svg>
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.5 KiB |
|
@ -1,32 +1,12 @@
|
|||
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" width="100" height="127" viewBox="0 0 100 127">
|
||||
<defs>
|
||||
<style>
|
||||
.cls-1 {
|
||||
fill: #ba4c3f;
|
||||
}
|
||||
|
||||
.cls-2 {
|
||||
opacity: 0.2;
|
||||
}
|
||||
|
||||
.cls-2, .cls-3 {
|
||||
isolation: isolate;
|
||||
}
|
||||
|
||||
.cls-4 {
|
||||
fill: #fff;
|
||||
}
|
||||
</style>
|
||||
</defs>
|
||||
<title>pdf</title>
|
||||
<g id="pdf">
|
||||
<path class="cls-1" d="M95,23v96a2.9,2.9,0,0,1-3,3H8a2.9,2.9,0,0,1-3-3V8A2.9,2.9,0,0,1,8,5H77Z"/>
|
||||
<path class="cls-2" d="M95,23H80a2.9,2.9,0,0,1-3-3V5Z"/>
|
||||
<g class="cls-3">
|
||||
<path class="cls-4" d="M45.5,107.1a2.6,2.6,0,0,1-.9,2.1,3.5,3.5,0,0,1-2.4.8h-.8v3H39.6v-8.6h2.7a4,4,0,0,1,2.4.7A2.6,2.6,0,0,1,45.5,107.1Zm-4.1,1.4H42c.6,0,1-.1,1.2-.4a1.1,1.1,0,0,0,.5-.9,1.3,1.3,0,0,0-.4-1,1.6,1.6,0,0,0-1.1-.3h-.8Z"/>
|
||||
<path class="cls-4" d="M54.2,108.6a4.5,4.5,0,0,1-1.2,3.3,5.1,5.1,0,0,1-3.5,1.1H47.1v-8.6h2.7a4.9,4.9,0,0,1,3.3,1.1A4.5,4.5,0,0,1,54.2,108.6Zm-1.9.1c0-1.9-.8-2.8-2.4-2.8h-1v5.6h.8C51.5,111.5,52.3,110.6,52.3,108.7Z"/>
|
||||
<path class="cls-4" d="M57.8,113H56v-8.6h4.9v1.5H57.8v2.2h2.9v1.5H57.8Z"/>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 127" version="1.1" width="100" height="127">
|
||||
<symbol id="svg-format-pdf">
|
||||
<path d="M95,23v96a2.9,2.9,0,0,1-2.8,3H8a2.9,2.9,0,0,1-3-2.8V8A2.9,2.9,0,0,1,7.8,5H77Z" style="fill: #ba4c3f"/>
|
||||
<path d="M95,23H80a2.9,2.9,0,0,1-3-2.8V5Z" style="opacity: 0.20000000298023224;isolation: isolate"/>
|
||||
<g>
|
||||
<path d="M45.5,107.1a2.7,2.7,0,0,1-.9,2.1,3.5,3.5,0,0,1-2.4.8h-.8v3H39.6v-8.6h2.7a4,4,0,0,1,2.4.7A2.8,2.8,0,0,1,45.5,107.1Zm-4.1,1.4H42c.6,0,1-.1,1.2-.4a1.1,1.1,0,0,0,.5-.9,1.3,1.3,0,0,0-.4-1,2,2,0,0,0-1.1-.3h-.8Z" style="fill: #fff"/>
|
||||
<path d="M54.2,108.6a4.5,4.5,0,0,1-1.2,3.3,4.9,4.9,0,0,1-3.5,1.1H47.1v-8.6h2.7a4.9,4.9,0,0,1,3.3,1.1A5.1,5.1,0,0,1,54.2,108.6Zm-1.9.1c0-1.9-.8-2.8-2.4-2.8h-1v5.6h.8C51.5,111.5,52.3,110.6,52.3,108.7Z" style="fill: #fff"/>
|
||||
<path d="M57.8,113H56v-8.6h4.9v1.5H57.8v2.2h2.9v1.5H57.8Z" style="fill: #fff"/>
|
||||
</g>
|
||||
<path id="path4463" class="cls-4" d="M40.4,66.7c1.6-3.2,3.4-6.7,4.9-10.2h0l.6-1.4c-1.9-7.3-3.1-13.1-2-16.9h0a2.5,2.5,0,0,1,2.6-1.5h.9c1.6,0,2.4,2,2.5,2.9h0a10.8,10.8,0,0,1-.5,3.6h0a9.5,9.5,0,0,0-.5-3.7h0c-.7-1.5-1.4-2.4-2-2.5h0a1.9,1.9,0,0,0-.7,1.4h0c-.1,1.1-.2,2.1-.2,3.2h0A37.6,37.6,0,0,0,47.5,51h0c.1-.5.3-1,.4-1.5h0l1.5-5.9h0a79.7,79.7,0,0,1-.8,8.8h0l-.3,1.3h0a29.2,29.2,0,0,0,7.4,11.5h0A24.9,24.9,0,0,0,60,68.1h0a63.6,63.6,0,0,1,8.7-.6h0c3.2,0,5.6.5,6.6,1.5h0a2.4,2.4,0,0,1,.7,1.6h0c0,.4-.1.7-.1,1h0c0-.2,0-1-2.6-1.9h0c-2.1-.6-6-.6-10.6-.1h0c5.3,2.6,10.6,4,12.3,3.2h0l.9-.9h0a10.4,10.4,0,0,1-.6,1.6h0a1.8,1.8,0,0,1-1.2.9h0c-2.7.7-9.5-.9-15.5-4.3h0a123.9,123.9,0,0,0-19.8,4.7h0C33,84.9,28.7,89.5,25.2,87.8h0l-1.3-.7a1.4,1.4,0,0,1-.5-1.6h0c.4-2,2.9-5,8-8.1h0l3-1.6h0l-2.2,2.1h0c-4,3.3-7,7.5-6.9,9.1h0c3.4-.5,8.5-7.5,15.1-20.4m2.1,1.1-3.2,5.8h0a81.1,81.1,0,0,1,17.1-4.9h0L54.3,67h0A29.8,29.8,0,0,1,47,57.7h0a100.4,100.4,0,0,1-4.5,10.1"/>
|
||||
</g>
|
||||
<path id="path4463" d="M40.4,66.7c1.6-3.2,3.4-6.7,4.9-10.2h0l.6-1.4c-1.9-7.3-3.1-13.1-2-16.9h0a2.5,2.5,0,0,1,2.6-1.5h.9c1.6,0,2.4,2,2.5,2.9h0a11.2,11.2,0,0,1-.5,3.6h0a9.2,9.2,0,0,0-.5-3.7h0c-.7-1.5-1.4-2.4-2-2.5h0a1.9,1.9,0,0,0-.7,1.4h0c-.1,1.1-.2,2.1-.2,3.2h0A37.6,37.6,0,0,0,47.5,51h0c.1-.5.3-1,.4-1.5h0l1.5-5.9h0a87.2,87.2,0,0,1-.8,8.8h0l-.3,1.3h0a29.2,29.2,0,0,0,7.4,11.5h0A24.9,24.9,0,0,0,60,68.1h0a63.6,63.6,0,0,1,8.7-.6h0c3.2,0,5.6.5,6.6,1.5h0a2.4,2.4,0,0,1,.7,1.6h0c0,.4-.1.7-.1,1h0c0-.2,0-1-2.6-1.9h0c-2.1-.6-6-.6-10.6-.1h0c5.3,2.6,10.6,4,12.3,3.2h0l.9-.9h0l-.6,1.6h0a1.6,1.6,0,0,1-1.2.9h0c-2.7.7-9.5-.9-15.5-4.3h0a123.9,123.9,0,0,0-19.8,4.7h0C33,84.9,28.7,89.5,25.2,87.8h0l-1.3-.7a1.4,1.4,0,0,1-.5-1.6h0c.4-2,2.9-5,8-8.1h0l3-1.6h0l-2.2,2.1h0c-4,3.3-7,7.5-6.9,9.1h0c3.4-.5,8.5-7.5,15.1-20.4m2.1,1.1-3.2,5.8h0a77.8,77.8,0,0,1,17.1-4.9h0L54.3,67h0A30.1,30.1,0,0,1,47,57.7h0a100.4,100.4,0,0,1-4.5,10.1" style="fill: #fff"/>
|
||||
</symbol>
|
||||
</svg>
|
||||
|
|
Before Width: | Height: | Size: 2 KiB After Width: | Height: | Size: 1.8 KiB |
|
@ -1,38 +1,18 @@
|
|||
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" width="100" height="127" viewBox="0 0 100 127">
|
||||
<defs>
|
||||
<style>
|
||||
.cls-1 {
|
||||
fill: #ba4c3f;
|
||||
}
|
||||
|
||||
.cls-2 {
|
||||
opacity: 0.2;
|
||||
}
|
||||
|
||||
.cls-2, .cls-3 {
|
||||
isolation: isolate;
|
||||
}
|
||||
|
||||
.cls-4 {
|
||||
fill: #fff;
|
||||
}
|
||||
</style>
|
||||
</defs>
|
||||
<title>pdfa</title>
|
||||
<g id="pdf">
|
||||
<path class="cls-1" d="M95,23v96a2.9,2.9,0,0,1-3,3H8a2.9,2.9,0,0,1-3-3V8A2.9,2.9,0,0,1,8,5H77Z"/>
|
||||
<path class="cls-2" d="M95,23H80a2.9,2.9,0,0,1-3-3V5Z"/>
|
||||
<g class="cls-3">
|
||||
<path class="cls-4" d="M38.9,107.1a2.6,2.6,0,0,1-.9,2.1,3.6,3.6,0,0,1-2.4.8h-.8v3H33v-8.6h2.7a4.3,4.3,0,0,1,2.4.7A2.6,2.6,0,0,1,38.9,107.1Zm-4.1,1.4h.6a1.6,1.6,0,0,0,1.2-.4,1,1,0,0,0,.4-.9,1.3,1.3,0,0,0-.3-1,1.6,1.6,0,0,0-1.1-.3h-.8Z"/>
|
||||
<path class="cls-4" d="M47.6,108.6a4.5,4.5,0,0,1-1.2,3.3,5.2,5.2,0,0,1-3.5,1.1H40.5v-8.6h2.7a4.4,4.4,0,0,1,3.2,1.1A4.1,4.1,0,0,1,47.6,108.6Zm-1.9.1c0-1.9-.8-2.8-2.4-2.8h-1v5.6h.8C44.8,111.5,45.7,110.6,45.7,108.7Z"/>
|
||||
<path class="cls-4" d="M51.2,113H49.4v-8.6h4.9v1.5H51.2v2.2h2.9v1.5H51.2Z"/>
|
||||
<path class="cls-4" d="M59.8,104.4,56.6,113H55l3.2-8.6Z"/>
|
||||
<path class="cls-4" d="M66.2,113l-.7-2H62.4l-.6,2h-2l3.1-8.6h2.2l3,8.6Zm-1.1-3.6c-.6-1.8-.9-2.9-1-3.1s-.1-.4-.1-.6-.5,1.8-1.1,3.7Z"/>
|
||||
</g>
|
||||
<path id="path4463" class="cls-4" d="M40.4,66.7c1.6-3.2,3.4-6.7,4.9-10.2h0l.6-1.4c-1.9-7.3-3.1-13.1-2-16.9h0a2.5,2.5,0,0,1,2.6-1.5h.9c1.6,0,2.4,2,2.5,2.9h0a10.8,10.8,0,0,1-.5,3.6h0a9.5,9.5,0,0,0-.5-3.7h0c-.7-1.5-1.4-2.4-2-2.5h0a1.9,1.9,0,0,0-.7,1.4h0c-.1,1.1-.2,2.1-.2,3.2h0A37.6,37.6,0,0,0,47.5,51h0c.1-.5.3-1,.4-1.5h0l1.5-5.9h0a79.7,79.7,0,0,1-.8,8.8h0l-.3,1.3h0a29.2,29.2,0,0,0,7.4,11.5h0A24.9,24.9,0,0,0,60,68.1h0a63.6,63.6,0,0,1,8.7-.6h0c3.2,0,5.6.5,6.6,1.5h0a2.4,2.4,0,0,1,.7,1.6h0c0,.4-.1.7-.1,1h0c0-.2,0-1-2.6-1.9h0c-2.1-.6-6-.6-10.6-.1h0c5.3,2.6,10.6,4,12.3,3.2h0l.9-.9h0a10.4,10.4,0,0,1-.6,1.6h0a1.8,1.8,0,0,1-1.2.9h0c-2.7.7-9.5-.9-15.5-4.3h0a123.9,123.9,0,0,0-19.8,4.7h0C33,84.9,28.7,89.5,25.2,87.8h0l-1.3-.7a1.4,1.4,0,0,1-.5-1.6h0c.4-2,2.9-5,8-8.1h0l3-1.6h0l-2.2,2.1h0c-4,3.3-7,7.5-6.9,9.1h0c3.4-.5,8.5-7.5,15.1-20.4m2.1,1.1-3.2,5.8h0a81.1,81.1,0,0,1,17.1-4.9h0L54.3,67h0A29.8,29.8,0,0,1,47,57.7h0a100.4,100.4,0,0,1-4.5,10.1"/>
|
||||
<g>
|
||||
<rect class="cls-4" x="60" y="36.7" width="16" height="12.77" rx="2" ry="2"/>
|
||||
<path class="cls-1" d="M70.8,47.3l-1-2.7H66.6l-1,2.7h-1l3.2-8.6h.8l3.2,8.6Zm-1.3-3.6L68.6,41a8.3,8.3,0,0,1-.4-1.2c-.1.3-.2.8-.3,1.2l-1,2.7Z"/>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 127" version="1.1" width="100" height="127">
|
||||
<symbol id="svg-format-pdfa">
|
||||
<path d="M95,23v96a2.9,2.9,0,0,1-2.8,3H8a2.9,2.9,0,0,1-3-2.8V8A2.9,2.9,0,0,1,7.8,5H77Z" style="fill: #ba4c3f"/>
|
||||
<path d="M95,23H80a2.9,2.9,0,0,1-3-2.8V5Z" style="opacity: 0.20000000298023224;isolation: isolate"/>
|
||||
<g>
|
||||
<path d="M38.9,107.1a2.7,2.7,0,0,1-.9,2.1,4.1,4.1,0,0,1-2.4.8h-.8v3H33v-8.6h2.7a4,4,0,0,1,2.4.7A2.8,2.8,0,0,1,38.9,107.1Zm-4.1,1.4h.6a1.7,1.7,0,0,0,1.2-.4,1.1,1.1,0,0,0,.4-.9,1.7,1.7,0,0,0-.3-1,2,2,0,0,0-1.1-.3h-.8Z" style="fill: #fff"/>
|
||||
<path d="M47.6,108.6a4.5,4.5,0,0,1-1.2,3.3,4.9,4.9,0,0,1-3.5,1.1H40.5v-8.6h2.7a4.2,4.2,0,0,1,3.2,1.1A3.9,3.9,0,0,1,47.6,108.6Zm-1.9.1c0-1.9-.8-2.8-2.4-2.8h-1v5.6h.8C44.8,111.5,45.7,110.6,45.7,108.7Z" style="fill: #fff"/>
|
||||
<path d="M51.2,113H49.4v-8.6h4.9v1.5H51.2v2.2h2.9v1.5H51.2Z" style="fill: #fff"/>
|
||||
<path d="M59.8,104.4,56.6,113H55l3.2-8.6Z" style="fill: #fff"/>
|
||||
<path d="M66.2,113l-.7-2H62.4l-.6,2h-2l3.1-8.6h2.2l3,8.6Zm-1.1-3.6c-.6-1.8-.9-2.9-1-3.1a1.3,1.3,0,0,1-.1-.6c0-.2-.5,1.8-1.1,3.7Z" style="fill: #fff"/>
|
||||
</g>
|
||||
<path id="path4463" d="M40.4,66.7c1.6-3.2,3.4-6.7,4.9-10.2h0l.6-1.4c-1.9-7.3-3.1-13.1-2-16.9h0a2.5,2.5,0,0,1,2.6-1.5h.9c1.6,0,2.4,2,2.5,2.9h0a11.2,11.2,0,0,1-.5,3.6h0a9.2,9.2,0,0,0-.5-3.7h0c-.7-1.5-1.4-2.4-2-2.5h0a1.9,1.9,0,0,0-.7,1.4h0c-.1,1.1-.2,2.1-.2,3.2h0A37.6,37.6,0,0,0,47.5,51h0c.1-.5.3-1,.4-1.5h0l1.5-5.9h0a87.2,87.2,0,0,1-.8,8.8h0l-.3,1.3h0a29.2,29.2,0,0,0,7.4,11.5h0A24.9,24.9,0,0,0,60,68.1h0a63.6,63.6,0,0,1,8.7-.6h0c3.2,0,5.6.5,6.6,1.5h0a2.4,2.4,0,0,1,.7,1.6h0c0,.4-.1.7-.1,1h0c0-.2,0-1-2.6-1.9h0c-2.1-.6-6-.6-10.6-.1h0c5.3,2.6,10.6,4,12.3,3.2h0l.9-.9h0l-.6,1.6h0a1.6,1.6,0,0,1-1.2.9h0c-2.7.7-9.5-.9-15.5-4.3h0a123.9,123.9,0,0,0-19.8,4.7h0C33,84.9,28.7,89.5,25.2,87.8h0l-1.3-.7a1.4,1.4,0,0,1-.5-1.6h0c.4-2,2.9-5,8-8.1h0l3-1.6h0l-2.2,2.1h0c-4,3.3-7,7.5-6.9,9.1h0c3.4-.5,8.5-7.5,15.1-20.4m2.1,1.1-3.2,5.8h0a77.8,77.8,0,0,1,17.1-4.9h0L54.3,67h0A30.1,30.1,0,0,1,47,57.7h0a100.4,100.4,0,0,1-4.5,10.1" style="fill: #fff"/>
|
||||
<g>
|
||||
<rect x="60" y="36.7" width="16" height="12.77" rx="2" ry="2" style="fill: #fff"/>
|
||||
<path d="M70.8,47.3l-1-2.7H66.6l-1,2.7h-1l3.2-8.6h.8l3.2,8.6Zm-1.3-3.6L68.6,41a5.6,5.6,0,0,1-.4-1.2c-.1.3-.2.8-.3,1.2l-1,2.7Z" style="fill: #ba4c3f"/>
|
||||
</g>
|
||||
</symbol>
|
||||
</svg>
|
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.4 KiB |
|
@ -1,37 +1,18 @@
|
|||
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" width="100" height="127" viewBox="0 0 100 127">
|
||||
<defs>
|
||||
<style>
|
||||
.cls-1 {
|
||||
fill: #dd682b;
|
||||
}
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 127" version="1.1" width="100" height="127">
|
||||
|
||||
.cls-2 {
|
||||
opacity: 0.2;
|
||||
}
|
||||
|
||||
.cls-2, .cls-3 {
|
||||
isolation: isolate;
|
||||
}
|
||||
|
||||
.cls-4 {
|
||||
fill: #fff;
|
||||
}
|
||||
</style>
|
||||
</defs>
|
||||
<title>pptx</title>
|
||||
<g id="pptx">
|
||||
<path class="cls-1" d="M95,23v96a2.9,2.9,0,0,1-3,3H8a2.9,2.9,0,0,1-3-3V8A2.9,2.9,0,0,1,8,5H77Z"/>
|
||||
<path class="cls-2" d="M95,23H80a2.9,2.9,0,0,1-3-3V5Z"/>
|
||||
<g class="cls-3">
|
||||
<path class="cls-4" d="M42,107.1a2.6,2.6,0,0,1-.9,2.1,3.6,3.6,0,0,1-2.4.8h-.8v3H36.1v-8.6h2.7a4.3,4.3,0,0,1,2.4.7A2.6,2.6,0,0,1,42,107.1Zm-4.1,1.4h.6a1.5,1.5,0,0,0,1.2-.4,1.1,1.1,0,0,0,.5-.9,1.3,1.3,0,0,0-.4-1,1.6,1.6,0,0,0-1.1-.3h-.8Z"/>
|
||||
<path class="cls-4" d="M49.5,107.1a2.9,2.9,0,0,1-.8,2.1,3.7,3.7,0,0,1-2.5.8h-.8v3H43.6v-8.6h2.7a3.8,3.8,0,0,1,2.4.7A2.3,2.3,0,0,1,49.5,107.1Zm-4.1,1.4H46a1.7,1.7,0,0,0,1.3-.4,1.3,1.3,0,0,0,.4-.9,1.1,1.1,0,0,0-.4-1,1.6,1.6,0,0,0-1.1-.3h-.8Z"/>
|
||||
<path class="cls-4" d="M54.4,113H52.6v-7.1H50.3v-1.5h6.5v1.5H54.4Z"/>
|
||||
<path class="cls-4" d="M65,113H62.9l-2-3.2L59,113H57l2.9-4.4-2.7-4.2h2l1.8,3.1,1.9-3.1h1.9l-2.7,4.3Z"/>
|
||||
<symbol id="svg-format-pptx">
|
||||
<path d="M95,23v96a2.9,2.9,0,0,1-2.8,3H8a2.9,2.9,0,0,1-3-2.8V8A2.9,2.9,0,0,1,7.8,5H77Z" style="fill: #dd682b"/>
|
||||
<path d="M95,23H80a2.9,2.9,0,0,1-3-2.8V5Z" style="opacity: 0.20000000298023224;isolation: isolate"/>
|
||||
<g>
|
||||
<path d="M42,107.1a2.7,2.7,0,0,1-.9,2.1,4.1,4.1,0,0,1-2.4.8h-.8v3H36.1v-8.6h2.7a4,4,0,0,1,2.4.7A2.8,2.8,0,0,1,42,107.1Zm-4.1,1.4h.6a1.4,1.4,0,0,0,1.2-.4,1.1,1.1,0,0,0,.5-.9,1.3,1.3,0,0,0-.4-1,2,2,0,0,0-1.1-.3h-.8Z" style="fill: #fff"/>
|
||||
<path d="M49.5,107.1a3.2,3.2,0,0,1-.8,2.1,3.8,3.8,0,0,1-2.5.8h-.8v3H43.6v-8.6h2.7a4,4,0,0,1,2.4.7A2.2,2.2,0,0,1,49.5,107.1Zm-4.1,1.4H46a1.6,1.6,0,0,0,1.3-.4,1.5,1.5,0,0,0,.4-.9,1,1,0,0,0-.4-1,2,2,0,0,0-1.1-.3h-.8Z" style="fill: #fff"/>
|
||||
<path d="M54.4,113H52.6v-7.1H50.3v-1.5h6.5v1.5H54.4Z" style="fill: #fff"/>
|
||||
<path d="M65,113H62.9l-2-3.2L59,113H57l2.9-4.4-2.7-4.2h2l1.8,3.1,1.9-3.1h1.9l-2.7,4.3Z" style="fill: #fff"/>
|
||||
</g>
|
||||
<path class="cls-4" d="M50,69A16,16,0,0,0,66,53H50V37a16,16,0,0,0,0,32Z"/>
|
||||
<path class="cls-4" d="M53,34V50H69A16,16,0,0,0,53,34Z"/>
|
||||
<rect class="cls-4" x="25" y="89" width="50" height="2"/>
|
||||
<rect class="cls-4" x="25" y="83" width="50" height="2"/>
|
||||
<rect class="cls-4" x="25" y="77" width="50" height="2"/>
|
||||
</g>
|
||||
<path d="M50,69A16,16,0,0,0,66,53H50V37a16,16,0,0,0,0,32Z" style="fill: #fff"/>
|
||||
<path d="M53,34V50H69A16,16,0,0,0,53,34Z" style="fill: #fff"/>
|
||||
<rect x="25" y="89" width="50" height="2" style="fill: #fff"/>
|
||||
<rect x="25" y="83" width="50" height="2" style="fill: #fff"/>
|
||||
<rect x="25" y="77" width="50" height="2" style="fill: #fff"/>
|
||||
</symbol>
|
||||
</svg>
|
||||
|
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.4 KiB |
|
@ -1,41 +1,21 @@
|
|||
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" width="100" height="127" viewBox="0 0 100 127">
|
||||
<defs>
|
||||
<style>
|
||||
.cls-1 {
|
||||
fill: #635e9b;
|
||||
}
|
||||
|
||||
.cls-2 {
|
||||
opacity: 0.2;
|
||||
}
|
||||
|
||||
.cls-2, .cls-3 {
|
||||
isolation: isolate;
|
||||
}
|
||||
|
||||
.cls-4 {
|
||||
fill: #fff;
|
||||
}
|
||||
</style>
|
||||
</defs>
|
||||
<title>rtf</title>
|
||||
<g id="rtf">
|
||||
<path class="cls-1" d="M95,23v96a2.9,2.9,0,0,1-3,3H8a2.9,2.9,0,0,1-3-3V8A2.9,2.9,0,0,1,8,5H77Z"/>
|
||||
<path class="cls-2" d="M95,23H80a2.9,2.9,0,0,1-3-3V5Z"/>
|
||||
<g class="cls-3">
|
||||
<path class="cls-4" d="M42.2,109.7V113H40.3v-8.6h2.5a3.7,3.7,0,0,1,2.6.7,2.1,2.1,0,0,1,.9,1.9,2.5,2.5,0,0,1-.4,1.3,4,4,0,0,1-1.2,1l2.5,3.7h-2l-2.1-3.3Zm0-1.5h.6a2.1,2.1,0,0,0,1.2-.3c.3-.1.4-.4.4-.9a.8.8,0,0,0-.4-.8,2.3,2.3,0,0,0-1.3-.3h-.5Z"/>
|
||||
<path class="cls-4" d="M51.6,113H49.8v-7.1H47.4v-1.5h6.5v1.5H51.6Z"/>
|
||||
<path class="cls-4" d="M57,113H55.2v-8.6h4.9v1.5H57v2.2h2.9v1.5H57Z"/>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 127" version="1.1" width="100" height="127">
|
||||
<symbol id="svg-format-rtf">
|
||||
<path d="M95,23v96a2.9,2.9,0,0,1-2.8,3H8a2.9,2.9,0,0,1-3-2.8V8A2.9,2.9,0,0,1,7.8,5H77Z" style="fill: #635e9b"/>
|
||||
<path d="M95,23H80a2.9,2.9,0,0,1-3-2.8V5Z" style="opacity: 0.20000000298023224;isolation: isolate"/>
|
||||
<g>
|
||||
<path d="M42.2,109.7V113H40.3v-8.6h2.5a3.5,3.5,0,0,1,2.6.7,2.1,2.1,0,0,1,.9,1.9,2,2,0,0,1-.4,1.3,4,4,0,0,1-1.2,1l2.5,3.7h-2l-2.1-3.3Zm0-1.5h.6l1.2-.3c.3-.1.4-.4.4-.9a.9.9,0,0,0-.4-.8,2.8,2.8,0,0,0-1.3-.3h-.5Z" style="fill: #fff"/>
|
||||
<path d="M51.6,113H49.8v-7.1H47.4v-1.5h6.5v1.5H51.6Z" style="fill: #fff"/>
|
||||
<path d="M57,113H55.2v-8.6h4.9v1.5H57v2.2h2.9v1.5H57Z" style="fill: #fff"/>
|
||||
</g>
|
||||
<rect class="cls-4" x="49" y="38" width="25" height="2"/>
|
||||
<rect class="cls-4" x="49" y="44" width="25" height="2"/>
|
||||
<rect class="cls-4" x="49" y="50" width="25" height="2"/>
|
||||
<rect class="cls-4" x="49" y="56" width="25" height="2"/>
|
||||
<rect class="cls-4" x="25" y="62" width="49" height="2"/>
|
||||
<rect class="cls-4" x="25" y="68" width="49" height="2"/>
|
||||
<rect class="cls-4" x="25" y="74" width="49" height="2"/>
|
||||
<rect class="cls-4" x="25" y="80" width="49" height="2"/>
|
||||
<rect class="cls-4" x="25" y="86" width="49" height="2"/>
|
||||
<rect class="cls-4" x="25" y="38" width="20" height="20"/>
|
||||
</g>
|
||||
<rect x="49" y="38" width="25" height="2" style="fill: #fff"/>
|
||||
<rect x="49" y="44" width="25" height="2" style="fill: #fff"/>
|
||||
<rect x="49" y="50" width="25" height="2" style="fill: #fff"/>
|
||||
<rect x="49" y="56" width="25" height="2" style="fill: #fff"/>
|
||||
<rect x="25" y="62" width="49" height="2" style="fill: #fff"/>
|
||||
<rect x="25" y="68" width="49" height="2" style="fill: #fff"/>
|
||||
<rect x="25" y="74" width="49" height="2" style="fill: #fff"/>
|
||||
<rect x="25" y="80" width="49" height="2" style="fill: #fff"/>
|
||||
<rect x="25" y="86" width="49" height="2" style="fill: #fff"/>
|
||||
<rect x="25" y="38" width="20" height="20" style="fill: #fff"/>
|
||||
</symbol>
|
||||
</svg>
|
||||
|
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.4 KiB |
|
@ -1,40 +1,20 @@
|
|||
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" width="100" height="127" viewBox="0 0 100 127">
|
||||
<defs>
|
||||
<style>
|
||||
.cls-1 {
|
||||
fill: #7c7c7d;
|
||||
}
|
||||
|
||||
.cls-2 {
|
||||
opacity: 0.2;
|
||||
}
|
||||
|
||||
.cls-2, .cls-3 {
|
||||
isolation: isolate;
|
||||
}
|
||||
|
||||
.cls-4 {
|
||||
fill: #fff;
|
||||
}
|
||||
</style>
|
||||
</defs>
|
||||
<title>txt</title>
|
||||
<g id="txt">
|
||||
<path class="cls-1" d="M95,23v96a2.9,2.9,0,0,1-3,3H8a2.9,2.9,0,0,1-3-3V8A2.9,2.9,0,0,1,8,5H77Z"/>
|
||||
<path class="cls-2" d="M95,23H80a2.9,2.9,0,0,1-3-3V5Z"/>
|
||||
<g class="cls-3">
|
||||
<path class="cls-4" d="M43.4,113H41.6v-7.1H39.3v-1.5h6.5v1.5H43.4Z"/>
|
||||
<path class="cls-4" d="M54,113H51.9l-2-3.2-2,3.2H46l2.8-4.4-2.6-4.2h2l1.8,3.1,1.8-3.1h2l-2.7,4.3Z"/>
|
||||
<path class="cls-4" d="M58.4,113H56.6v-7.1H54.2v-1.5h6.5v1.5H58.4Z"/>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 127" version="1.1" width="100" height="127">
|
||||
<symbol id="svg-format-txt">
|
||||
<path d="M95,23v96a2.9,2.9,0,0,1-2.8,3H8a2.9,2.9,0,0,1-3-2.8V8A2.9,2.9,0,0,1,7.8,5H77Z" style="fill: #7c7c7d"/>
|
||||
<path d="M95,23H80a2.9,2.9,0,0,1-3-2.8V5Z" style="opacity: 0.20000000298023224;isolation: isolate"/>
|
||||
<g>
|
||||
<path d="M43.4,113H41.6v-7.1H39.3v-1.5h6.5v1.5H43.4Z" style="fill: #fff"/>
|
||||
<path d="M54,113H51.9l-2-3.2-2,3.2H46l2.8-4.4-2.6-4.2h2l1.8,3.1,1.8-3.1h2l-2.7,4.3Z" style="fill: #fff"/>
|
||||
<path d="M58.4,113H56.6v-7.1H54.2v-1.5h6.5v1.5H58.4Z" style="fill: #fff"/>
|
||||
</g>
|
||||
<rect class="cls-4" x="25" y="38" width="49" height="2"/>
|
||||
<rect class="cls-4" x="25" y="44" width="49" height="2"/>
|
||||
<rect class="cls-4" x="25" y="50" width="49" height="2"/>
|
||||
<rect class="cls-4" x="25" y="56" width="49" height="2"/>
|
||||
<rect class="cls-4" x="25" y="62" width="49" height="2"/>
|
||||
<rect class="cls-4" x="25" y="68" width="49" height="2"/>
|
||||
<rect class="cls-4" x="25" y="74" width="49" height="2"/>
|
||||
<rect class="cls-4" x="25" y="80" width="49" height="2"/>
|
||||
<rect class="cls-4" x="25" y="86" width="49" height="2"/>
|
||||
</g>
|
||||
<rect x="25" y="38" width="49" height="2" style="fill: #fff"/>
|
||||
<rect x="25" y="44" width="49" height="2" style="fill: #fff"/>
|
||||
<rect x="25" y="50" width="49" height="2" style="fill: #fff"/>
|
||||
<rect x="25" y="56" width="49" height="2" style="fill: #fff"/>
|
||||
<rect x="25" y="62" width="49" height="2" style="fill: #fff"/>
|
||||
<rect x="25" y="68" width="49" height="2" style="fill: #fff"/>
|
||||
<rect x="25" y="74" width="49" height="2" style="fill: #fff"/>
|
||||
<rect x="25" y="80" width="49" height="2" style="fill: #fff"/>
|
||||
<rect x="25" y="86" width="49" height="2" style="fill: #fff"/>
|
||||
</symbol>
|
||||
</svg>
|
||||
|
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.2 KiB |
|
@ -1,33 +1,14 @@
|
|||
<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" width="100" height="127" viewBox="0 0 100 127">
|
||||
<defs>
|
||||
<style>
|
||||
.cls-1 {
|
||||
fill: #1f7244;
|
||||
}
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 127" version="1.1" width="100" height="127">
|
||||
|
||||
.cls-2 {
|
||||
opacity: 0.2;
|
||||
}
|
||||
|
||||
.cls-2, .cls-3 {
|
||||
isolation: isolate;
|
||||
}
|
||||
|
||||
.cls-4 {
|
||||
fill: #fff;
|
||||
}
|
||||
</style>
|
||||
</defs>
|
||||
<title>xlsx</title>
|
||||
<g id="xlsx">
|
||||
<path class="cls-1" d="M95,23v96a2.9,2.9,0,0,1-3,3H8a2.9,2.9,0,0,1-3-3V8A2.9,2.9,0,0,1,8,5H77Z"/>
|
||||
<path class="cls-2" d="M95,23H80a2.9,2.9,0,0,1-3-3V5Z"/>
|
||||
<g class="cls-3">
|
||||
<path class="cls-4" d="M43.3,113H41.2l-2-3.2-2,3.2H35.3l2.8-4.4-2.6-4.2h2l1.8,3.1,1.8-3.1h2l-2.7,4.3Z"/>
|
||||
<path class="cls-4" d="M44.4,113v-8.6h1.8v7.1h3.5V113Z"/>
|
||||
<path class="cls-4" d="M56.2,110.6a2.2,2.2,0,0,1-.8,1.8,3.3,3.3,0,0,1-2.3.7,6.2,6.2,0,0,1-2.5-.5v-1.7l1.5.6h1.1l.9-.2a.9.9,0,0,0,.3-.7c0-.2,0-.3-.1-.4a.8.8,0,0,0-.4-.4l-1.1-.6a4.2,4.2,0,0,1-1.2-.7,1.6,1.6,0,0,1-.6-.8,1.8,1.8,0,0,1-.3-1.1,2.1,2.1,0,0,1,.8-1.7,2.8,2.8,0,0,1,2.1-.7l1.3.2,1.3.4-.6,1.4-1.1-.4h-.9a1,1,0,0,0-.8.3.8.8,0,0,0-.2,1l.4.4,1.1.6a3.8,3.8,0,0,1,1.7,1.1A2.3,2.3,0,0,1,56.2,110.6Z"/>
|
||||
<path class="cls-4" d="M64.7,113H62.6l-2-3.2-2,3.2H56.7l2.8-4.4-2.6-4.2h2l1.8,3.1,1.8-3.1h2l-2.7,4.3Z"/>
|
||||
<symbol id="svg-format-xlsx">
|
||||
<path d="M95,23v96a2.9,2.9,0,0,1-2.8,3H8a2.9,2.9,0,0,1-3-2.8V8A2.9,2.9,0,0,1,7.8,5H77Z" style="fill: #1f7244"/>
|
||||
<path d="M95,23H80a2.9,2.9,0,0,1-3-2.8V5Z" style="opacity: 0.20000000298023224;isolation: isolate"/>
|
||||
<g>
|
||||
<path d="M43.3,113H41.2l-2-3.2-2,3.2H35.3l2.8-4.4-2.6-4.2h2l1.8,3.1,1.8-3.1h2l-2.7,4.3Z" style="fill: #fff"/>
|
||||
<path d="M44.4,113v-8.6h1.8v7.1h3.5V113Z" style="fill: #fff"/>
|
||||
<path d="M56.2,110.6a2.3,2.3,0,0,1-.8,1.8,3.3,3.3,0,0,1-2.3.7,7,7,0,0,1-2.5-.5v-1.7l1.5.6h1.1l.9-.2a.9.9,0,0,0,.3-.7c0-.2,0-.3-.1-.4a.8.8,0,0,0-.4-.4l-1.1-.6-1.2-.7a1.6,1.6,0,0,1-.6-.8,2,2,0,0,1-.3-1.1,2.1,2.1,0,0,1,.8-1.7,2.7,2.7,0,0,1,2.1-.7l1.3.2,1.3.4-.6,1.4-1.1-.4h-.9a1.1,1.1,0,0,0-.8.3.8.8,0,0,0-.2,1l.4.4,1.1.6a3.9,3.9,0,0,1,1.7,1.1A2.3,2.3,0,0,1,56.2,110.6Z" style="fill: #fff"/>
|
||||
<path d="M64.7,113H62.6l-2-3.2-2,3.2H56.7l2.8-4.4-2.6-4.2h2l1.8,3.1,1.8-3.1h2l-2.7,4.3Z" style="fill: #fff"/>
|
||||
</g>
|
||||
<polygon class="cls-4" points="52.8 61.6 64 45 58.5 45 50 57.6 41.5 45 36 45 47.3 61.6 35.5 79 41 79 50 65.7 59 79 64.5 79 52.8 61.6"/>
|
||||
</g>
|
||||
<polygon points="52.8 61.6 64 45 58.5 45 50 57.6 41.5 45 36 45 47.3 61.6 35.5 79 41 79 50 65.7 59 79 64.5 79 52.8 61.6" style="fill: #fff"/>
|
||||
</symbol>
|
||||
</svg>
|
||||
|
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.2 KiB |
|
@ -43,6 +43,7 @@
|
|||
define([
|
||||
'core',
|
||||
'common/main/lib/util/Shortcuts',
|
||||
'common/main/lib/view/SaveAsDlg',
|
||||
'documenteditor/main/app/view/LeftMenu',
|
||||
'documenteditor/main/app/view/FileMenu'
|
||||
], function () {
|
||||
|
@ -85,6 +86,7 @@ define([
|
|||
'menu:show': _.bind(this.menuFilesShowHide, this, 'show'),
|
||||
'item:click': _.bind(this.clickMenuFileItem, this),
|
||||
'saveas:format': _.bind(this.clickSaveAsFormat, this),
|
||||
'savecopy:format': _.bind(this.clickSaveCopyAsFormat, this),
|
||||
'settings:apply': _.bind(this.applySettings, this),
|
||||
'create:new': _.bind(this.onCreateNew, this),
|
||||
'recent:open': _.bind(this.onOpenRecent, this)
|
||||
|
@ -143,6 +145,7 @@ define([
|
|||
this.api.asc_registerCallback('asc_onReplaceAll', _.bind(this.onApiTextReplaced, this));
|
||||
this.api.asc_registerCallback('asc_onCoAuthoringDisconnect', _.bind(this.onApiServerDisconnect, this, true));
|
||||
Common.NotificationCenter.on('api:disconnect', _.bind(this.onApiServerDisconnect, this));
|
||||
this.api.asc_registerCallback('asc_onDownloadUrl', _.bind(this.onDownloadUrl, this));
|
||||
/** coauthoring begin **/
|
||||
if (this.mode.canCoAuthoring) {
|
||||
if (this.mode.canChat)
|
||||
|
@ -229,6 +232,10 @@ define([
|
|||
if ( isopts ) close_menu = false;
|
||||
else this.clickSaveAsFormat(undefined);
|
||||
break;
|
||||
case 'save-copy':
|
||||
if ( isopts ) close_menu = false;
|
||||
else this.clickSaveCopyAsFormat(undefined);
|
||||
break;
|
||||
case 'print': this.api.asc_Print(Common.Utils.isChrome || Common.Utils.isSafari || Common.Utils.isOpera); break;
|
||||
case 'exit': Common.NotificationCenter.trigger('goback'); break;
|
||||
case 'edit':
|
||||
|
@ -307,6 +314,70 @@ define([
|
|||
this.api.asc_DownloadOrigin();
|
||||
},
|
||||
|
||||
clickSaveCopyAsFormat: function(menu, format, ext) {
|
||||
if (menu) {
|
||||
if (format == Asc.c_oAscFileType.TXT || format == Asc.c_oAscFileType.RTF) {
|
||||
Common.UI.warning({
|
||||
closable: false,
|
||||
title: this.notcriticalErrorTitle,
|
||||
msg: (format == Asc.c_oAscFileType.TXT) ? this.warnDownloadAs : this.warnDownloadAsRTF,
|
||||
buttons: ['ok', 'cancel'],
|
||||
callback: _.bind(function(btn){
|
||||
if (btn == 'ok') {
|
||||
this.isFromFileDownloadAs = ext;
|
||||
this.api.asc_DownloadAs(format, true);
|
||||
menu.hide();
|
||||
}
|
||||
}, this)
|
||||
});
|
||||
} else {
|
||||
this.isFromFileDownloadAs = ext;
|
||||
this.api.asc_DownloadAs(format, true);
|
||||
menu.hide();
|
||||
}
|
||||
} else {
|
||||
this.isFromFileDownloadAs = true;
|
||||
this.api.asc_DownloadOrigin(true);
|
||||
}
|
||||
},
|
||||
|
||||
onDownloadUrl: function(url) {
|
||||
if (this.isFromFileDownloadAs) {
|
||||
var me = this,
|
||||
defFileName = this.getApplication().getController('Viewport').getView('Common.Views.Header').getDocumentCaption();
|
||||
!defFileName && (defFileName = me.txtUntitled);
|
||||
|
||||
if (typeof this.isFromFileDownloadAs == 'string') {
|
||||
var idx = defFileName.lastIndexOf('.');
|
||||
if (idx>0)
|
||||
defFileName = defFileName.substring(0, idx) + this.isFromFileDownloadAs;
|
||||
}
|
||||
|
||||
me._saveCopyDlg = new Common.Views.SaveAsDlg({
|
||||
saveFolderUrl: me.mode.saveAsUrl,
|
||||
saveFileUrl: url,
|
||||
defFileName: defFileName
|
||||
});
|
||||
me._saveCopyDlg.on('saveaserror', function(obj, err){
|
||||
var config = {
|
||||
closable: false,
|
||||
title: me.notcriticalErrorTitle,
|
||||
msg: err,
|
||||
iconCls: 'warn',
|
||||
buttons: ['ok'],
|
||||
callback: function(btn){
|
||||
Common.NotificationCenter.trigger('edit:complete', me);
|
||||
}
|
||||
};
|
||||
Common.UI.alert(config);
|
||||
}).on('close', function(obj){
|
||||
me._saveCopyDlg = undefined;
|
||||
});
|
||||
me._saveCopyDlg.show();
|
||||
}
|
||||
this.isFromFileDownloadAs = false;
|
||||
},
|
||||
|
||||
applySettings: function(menu) {
|
||||
var value;
|
||||
|
||||
|
@ -732,6 +803,7 @@ define([
|
|||
notcriticalErrorTitle: 'Warning',
|
||||
leavePageText: 'All unsaved changes in this document will be lost.<br> Click \'Cancel\' then \'Save\' to save them. Click \'OK\' to discard all the unsaved changes.',
|
||||
warnDownloadAs : 'If you continue saving in this format all features except the text will be lost.<br>Are you sure you want to continue?',
|
||||
warnDownloadAsRTF : 'If you continue saving in this format some of the formatting might be lost.<br>Are you sure you want to continue?'
|
||||
warnDownloadAsRTF : 'If you continue saving in this format some of the formatting might be lost.<br>Are you sure you want to continue?',
|
||||
txtUntitled: 'Untitled'
|
||||
}, DE.Controllers.LeftMenu || {}));
|
||||
});
|
|
@ -305,6 +305,7 @@ define([
|
|||
this.appOptions.sharingSettingsUrl = this.editorConfig.sharingSettingsUrl;
|
||||
this.appOptions.fileChoiceUrl = this.editorConfig.fileChoiceUrl;
|
||||
this.appOptions.mergeFolderUrl = this.editorConfig.mergeFolderUrl;
|
||||
this.appOptions.saveAsUrl = this.editorConfig.saveAsUrl;
|
||||
this.appOptions.canAnalytics = false;
|
||||
this.appOptions.customization = this.editorConfig.customization;
|
||||
this.appOptions.canBackToFolder = (this.editorConfig.canBackToFolder!==false) && (typeof (this.editorConfig.customization) == 'object')
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
<li id="fm-btn-save" class="fm-btn" />
|
||||
<li id="fm-btn-edit" class="fm-btn" />
|
||||
<li id="fm-btn-download" class="fm-btn" />
|
||||
<li id="fm-btn-save-copy" class="fm-btn" />
|
||||
<li id="fm-btn-save-desktop" class="fm-btn" />
|
||||
<li id="fm-btn-print" class="fm-btn" />
|
||||
<li id="fm-btn-rename" class="fm-btn" />
|
||||
|
@ -25,6 +26,7 @@
|
|||
</div>
|
||||
<div class="panel-context">
|
||||
<div id="panel-saveas" class="content-box" />
|
||||
<div id="panel-savecopy" class="content-box" />
|
||||
<div id="panel-recentfiles" class="content-box" />
|
||||
<div id="panel-createnew" class="content-box" />
|
||||
<div id="panel-info" class="content-box" />
|
||||
|
|
|
@ -105,6 +105,13 @@ define([
|
|||
canFocused: false
|
||||
});
|
||||
|
||||
this.miSaveCopyAs = new Common.UI.MenuItem({
|
||||
el : $('#fm-btn-save-copy',this.el),
|
||||
action : 'save-copy',
|
||||
caption : this.btnSaveCopyAsCaption,
|
||||
canFocused: false
|
||||
});
|
||||
|
||||
this.miSaveAs = new Common.UI.MenuItem({
|
||||
el : $('#fm-btn-save-desktop',this.el),
|
||||
action : 'save-desktop',
|
||||
|
@ -179,6 +186,7 @@ define([
|
|||
this.miSave,
|
||||
this.miEdit,
|
||||
this.miDownload,
|
||||
this.miSaveCopyAs,
|
||||
this.miSaveAs,
|
||||
this.miPrint,
|
||||
this.miRename,
|
||||
|
@ -251,6 +259,7 @@ define([
|
|||
this.miNew.$el.find('+.devider')[this.mode.canCreateNew?'show':'hide']();
|
||||
|
||||
this.miDownload[((this.mode.canDownload || this.mode.canDownloadOrigin) && (!this.mode.isDesktopApp || !this.mode.isOffline))?'show':'hide']();
|
||||
this.miSaveCopyAs[((this.mode.canDownload || this.mode.canDownloadOrigin) && (!this.mode.isDesktopApp || !this.mode.isOffline)) && this.mode.saveAsUrl ?'show':'hide']();
|
||||
this.miSaveAs[((this.mode.canDownload || this.mode.canDownloadOrigin) && this.mode.isDesktopApp && this.mode.isOffline)?'show':'hide']();
|
||||
// this.hkSaveAs[this.mode.canDownload?'enable':'disable']();
|
||||
|
||||
|
@ -295,6 +304,10 @@ define([
|
|||
} else if (this.mode.canDownloadOrigin)
|
||||
$('a',this.miDownload.$el).text(this.textDownload);
|
||||
|
||||
if (this.mode.canDownload && this.mode.saveAsUrl) {
|
||||
this.panels['save-copy'] = ((new DE.Views.FileMenuPanels.ViewSaveCopy({menu: this})).render());
|
||||
}
|
||||
|
||||
if (this.mode.canHelp) {
|
||||
this.panels['help'] = ((new DE.Views.FileMenuPanels.Help({menu: this})).render());
|
||||
this.panels['help'].setLangConfig(this.mode.lang);
|
||||
|
@ -385,6 +398,7 @@ define([
|
|||
textDownload : 'Download',
|
||||
btnRenameCaption : 'Rename...',
|
||||
btnCloseMenuCaption : 'Close Menu',
|
||||
btnProtectCaption: 'Protect'
|
||||
btnProtectCaption: 'Protect',
|
||||
btnSaveCopyAsCaption : 'Save Copy as...'
|
||||
}, DE.Views.FileMenu || {}));
|
||||
});
|
||||
|
|
|
@ -107,6 +107,67 @@ define([
|
|||
}
|
||||
});
|
||||
|
||||
DE.Views.FileMenuPanels.ViewSaveCopy = Common.UI.BaseView.extend({
|
||||
el: '#panel-savecopy',
|
||||
menu: undefined,
|
||||
|
||||
formats: [[
|
||||
{name: 'DOCX', imgCls: 'docx', type: Asc.c_oAscFileType.DOCX, ext: '.docx'},
|
||||
{name: 'PDF', imgCls: 'pdf', type: Asc.c_oAscFileType.PDF, ext: '.pdf'},
|
||||
{name: 'PDFA', imgCls: 'pdfa', type: Asc.c_oAscFileType.PDFA, ext: '.pdf'},
|
||||
{name: 'TXT', imgCls: 'txt', type: Asc.c_oAscFileType.TXT, ext: '.txt'}
|
||||
],[
|
||||
// {name: 'DOC', imgCls: 'doc-format btn-doc', type: Asc.c_oAscFileType.DOC, ext: '.doc'},
|
||||
{name: 'ODT', imgCls: 'odt', type: Asc.c_oAscFileType.ODT, ext: '.odt'},
|
||||
{name: 'RTF', imgCls: 'rtf', type: Asc.c_oAscFileType.RTF, ext: '.rtf'},
|
||||
{name: 'HTML (Zipped)', imgCls: 'html', type: Asc.c_oAscFileType.HTML, ext: '.html'}
|
||||
// {name: 'EPUB', imgCls: 'doc-format btn-epub', type: Asc.c_oAscFileType.EPUB, ext: '.epub'}
|
||||
]],
|
||||
|
||||
|
||||
template: _.template([
|
||||
'<table><tbody>',
|
||||
'<% _.each(rows, function(row) { %>',
|
||||
'<tr>',
|
||||
'<% _.each(row, function(item) { %>',
|
||||
'<td><div><svg class="btn-doc-format" format="<%= item.type %>", format-ext="<%= item.ext %>">',
|
||||
'<use xlink:href="#svg-format-<%= item.imgCls %>"></use>',
|
||||
'</svg></div></td>',
|
||||
'<% }) %>',
|
||||
'</tr>',
|
||||
'<% }) %>',
|
||||
'</tbody></table>'
|
||||
].join('')),
|
||||
|
||||
initialize: function(options) {
|
||||
Common.UI.BaseView.prototype.initialize.call(this,arguments);
|
||||
|
||||
this.menu = options.menu;
|
||||
},
|
||||
|
||||
render: function() {
|
||||
$(this.el).html(this.template({rows:this.formats}));
|
||||
$('.btn-doc-format',this.el).on('click', _.bind(this.onFormatClick,this));
|
||||
|
||||
if (_.isUndefined(this.scroller)) {
|
||||
this.scroller = new Common.UI.Scroller({
|
||||
el: $(this.el),
|
||||
suppressScrollX: true
|
||||
});
|
||||
}
|
||||
|
||||
return this;
|
||||
},
|
||||
|
||||
onFormatClick: function(e) {
|
||||
var type = e.currentTarget.attributes['format'],
|
||||
ext = e.currentTarget.attributes['format-ext'];
|
||||
if (!_.isUndefined(type) && !_.isUndefined(ext) && this.menu) {
|
||||
this.menu.fireEvent('savecopy:format', [this.menu, parseInt(type.value), ext.value]);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
DE.Views.FileMenuPanels.Settings = Common.UI.BaseView.extend(_.extend({
|
||||
el: '#panel-settings',
|
||||
menu: undefined,
|
||||
|
|
|
@ -171,7 +171,7 @@ define([ 'text!documenteditor/main/app/template/MailMergeEmailDlg.template',
|
|||
_onMessage: function(msg) {
|
||||
if (msg && msg.Referer == "onlyoffice") {
|
||||
// if ( !_.isEmpty(msg.folder) ) {
|
||||
// this.trigger('mailmergefolder', this, msg.folder); // save last folder url
|
||||
// this.trigger('saveasfolder', this, msg.folder); // save last folder url
|
||||
// }
|
||||
}
|
||||
},
|
||||
|
|
|
@ -42,8 +42,8 @@ define([
|
|||
'backbone',
|
||||
'common/main/lib/component/Button',
|
||||
'common/main/lib/component/Switcher',
|
||||
'common/main/lib/view/SaveAsDlg',
|
||||
'documenteditor/main/app/view/MailMergeRecepients',
|
||||
'documenteditor/main/app/view/MailMergeSaveDlg',
|
||||
'documenteditor/main/app/view/MailMergeEmailDlg'
|
||||
], function (menuTemplate, $, _, Backbone) {
|
||||
'use strict';
|
||||
|
@ -544,16 +544,16 @@ define([
|
|||
if (this._mailMergeDlg) return;
|
||||
var me = this;
|
||||
if (this.cmbMergeTo.getValue() != Asc.c_oAscFileType.HTML) {
|
||||
me._mailMergeDlg = new DE.Views.MailMergeSaveDlg({
|
||||
mergeFolderUrl: me.mode.mergeFolderUrl,
|
||||
mergedFileUrl: url,
|
||||
me._mailMergeDlg = new Common.Views.SaveAsDlg({
|
||||
saveFolderUrl: me.mode.mergeFolderUrl,
|
||||
savedFileUrl: url,
|
||||
defFileName: me.defFileName + ((this.cmbMergeTo.getValue() == Asc.c_oAscFileType.PDF) ? '.pdf' : '.docx')
|
||||
});
|
||||
me._mailMergeDlg.on('mailmergefolder', function(obj, folder){ // save last folder
|
||||
}).on('mailmergeerror', function(obj, err){ // save last folder
|
||||
me._mailMergeDlg.on('saveasfolder', function(obj, folder){ // save last folder
|
||||
}).on('saveaserror', function(obj, err){ // save last folder
|
||||
var config = {
|
||||
closable: false,
|
||||
title: this.notcriticalErrorTitle,
|
||||
title: me.notcriticalErrorTitle,
|
||||
msg: err,
|
||||
iconCls: 'warn',
|
||||
buttons: ['ok'],
|
||||
|
|
|
@ -279,6 +279,8 @@
|
|||
"Common.Views.ReviewPopover.textOpenAgain": "Open Again",
|
||||
"Common.Views.ReviewPopover.textReply": "Reply",
|
||||
"Common.Views.ReviewPopover.textResolve": "Resolve",
|
||||
"Common.Views.SaveAsDlg.textLoading": "Loading",
|
||||
"Common.Views.SaveAsDlg.textTitle": "Folder for save",
|
||||
"Common.Views.SignDialog.cancelButtonText": "Cancel",
|
||||
"Common.Views.SignDialog.okButtonText": "Ok",
|
||||
"Common.Views.SignDialog.textBold": "Bold",
|
||||
|
@ -316,6 +318,7 @@
|
|||
"DE.Controllers.LeftMenu.textReplaceSuccess": "The search has been done. Occurrences replaced: {0}",
|
||||
"DE.Controllers.LeftMenu.warnDownloadAs": "If you continue saving in this format all features except the text will be lost.<br>Are you sure you want to continue?",
|
||||
"DE.Controllers.LeftMenu.warnDownloadAsRTF": "If you continue saving in this format some of the formatting might be lost.<br>Are you sure you want to continue?",
|
||||
"DE.Controllers.LeftMenu.txtUntitled": "Untitled",
|
||||
"DE.Controllers.Main.applyChangesTextText": "Loading the changes...",
|
||||
"DE.Controllers.Main.applyChangesTitleText": "Loading the Changes",
|
||||
"DE.Controllers.Main.convertationTimeoutText": "Conversion timeout exceeded.",
|
||||
|
@ -1105,6 +1108,7 @@
|
|||
"DE.Views.FileMenu.btnSettingsCaption": "Advanced Settings...",
|
||||
"DE.Views.FileMenu.btnToEditCaption": "Edit Document",
|
||||
"DE.Views.FileMenu.textDownload": "Download",
|
||||
"DE.Views.FileMenu.btnSaveCopyAsCaption": "Save Copy as...",
|
||||
"DE.Views.FileMenuPanels.CreateNew.fromBlankText": "From Blank",
|
||||
"DE.Views.FileMenuPanels.CreateNew.fromTemplateText": "From Template",
|
||||
"DE.Views.FileMenuPanels.CreateNew.newDescriptionText": "Create a new blank text document which you will be able to style and format after it is created during the editing. Or choose one of the templates to start a document of a certain type or purpose where some styles have already been pre-applied.",
|
||||
|
@ -1359,8 +1363,8 @@
|
|||
"DE.Views.MailMergeEmailDlg.textWarningMsg": "Please note that mailing cannot be stopped once your click the 'Send' button.",
|
||||
"DE.Views.MailMergeRecepients.textLoading": "Loading",
|
||||
"DE.Views.MailMergeRecepients.textTitle": "Select Data Source",
|
||||
"DE.Views.MailMergeSaveDlg.textLoading": "Loading",
|
||||
"DE.Views.MailMergeSaveDlg.textTitle": "Folder for save",
|
||||
"del_DE.Views.MailMergeSaveDlg.textLoading": "Loading",
|
||||
"del_DE.Views.MailMergeSaveDlg.textTitle": "Folder for save",
|
||||
"DE.Views.MailMergeSettings.downloadMergeTitle": "Merging",
|
||||
"DE.Views.MailMergeSettings.errorMailMergeSaveFile": "Merge failed.",
|
||||
"DE.Views.MailMergeSettings.notcriticalErrorTitle": "Warning",
|
||||
|
|
|
@ -86,7 +86,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
#panel-saveas {
|
||||
#panel-saveas, #panel-savecopy {
|
||||
table {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
|
|
|
@ -43,6 +43,7 @@
|
|||
define([
|
||||
'core',
|
||||
'common/main/lib/util/Shortcuts',
|
||||
'common/main/lib/view/SaveAsDlg',
|
||||
'presentationeditor/main/app/view/LeftMenu',
|
||||
'presentationeditor/main/app/view/FileMenu'
|
||||
], function () {
|
||||
|
@ -83,6 +84,7 @@ define([
|
|||
'filemenu:hide': _.bind(this.menuFilesHide, this),
|
||||
'item:click': _.bind(this.clickMenuFileItem, this),
|
||||
'saveas:format': _.bind(this.clickSaveAsFormat, this),
|
||||
'savecopy:format': _.bind(this.clickSaveCopyAsFormat, this),
|
||||
'settings:apply': _.bind(this.applySettings, this),
|
||||
'create:new': _.bind(this.onCreateNew, this),
|
||||
'recent:open': _.bind(this.onOpenRecent, this)
|
||||
|
@ -133,6 +135,7 @@ define([
|
|||
this.api.asc_registerCallback('asc_onThumbnailsShow', _.bind(this.onThumbnailsShow, this));
|
||||
this.api.asc_registerCallback('asc_onCoAuthoringDisconnect', _.bind(this.onApiServerDisconnect, this, true));
|
||||
Common.NotificationCenter.on('api:disconnect', _.bind(this.onApiServerDisconnect, this));
|
||||
this.api.asc_registerCallback('asc_onDownloadUrl', _.bind(this.onDownloadUrl, this));
|
||||
/** coauthoring begin **/
|
||||
if (this.mode.canCoAuthoring) {
|
||||
if (this.mode.canChat)
|
||||
|
@ -244,6 +247,49 @@ define([
|
|||
menu.hide();
|
||||
},
|
||||
|
||||
clickSaveCopyAsFormat: function(menu, format, ext) {
|
||||
this.isFromFileDownloadAs = ext;
|
||||
this.api.asc_DownloadAs(format, true);
|
||||
menu.hide();
|
||||
},
|
||||
|
||||
onDownloadUrl: function(url) {
|
||||
if (this.isFromFileDownloadAs) {
|
||||
var me = this,
|
||||
defFileName = this.getApplication().getController('Viewport').getView('Common.Views.Header').getDocumentCaption();
|
||||
!defFileName && (defFileName = me.txtUntitled);
|
||||
|
||||
if (typeof this.isFromFileDownloadAs == 'string') {
|
||||
var idx = defFileName.lastIndexOf('.');
|
||||
if (idx>0)
|
||||
defFileName = defFileName.substring(0, idx) + this.isFromFileDownloadAs;
|
||||
}
|
||||
|
||||
me._saveCopyDlg = new Common.Views.SaveAsDlg({
|
||||
saveFolderUrl: me.mode.saveAsUrl,
|
||||
saveFileUrl: url,
|
||||
defFileName: defFileName
|
||||
});
|
||||
me._saveCopyDlg.on('saveaserror', function(obj, err){
|
||||
var config = {
|
||||
closable: false,
|
||||
title: me.notcriticalErrorTitle,
|
||||
msg: err,
|
||||
iconCls: 'warn',
|
||||
buttons: ['ok'],
|
||||
callback: function(btn){
|
||||
Common.NotificationCenter.trigger('edit:complete', me);
|
||||
}
|
||||
};
|
||||
Common.UI.alert(config);
|
||||
}).on('close', function(obj){
|
||||
me._saveCopyDlg = undefined;
|
||||
});
|
||||
me._saveCopyDlg.show();
|
||||
}
|
||||
this.isFromFileDownloadAs = false;
|
||||
},
|
||||
|
||||
applySettings: function(menu) {
|
||||
var value = Common.localStorage.getBool("pe-settings-inputmode");
|
||||
Common.Utils.InternalSettings.set("pe-settings-inputmode", value);
|
||||
|
@ -590,6 +636,8 @@ define([
|
|||
|
||||
textNoTextFound : 'Text not found',
|
||||
newDocumentTitle : 'Unnamed document',
|
||||
requestEditRightsText : 'Requesting editing rights...'
|
||||
requestEditRightsText : 'Requesting editing rights...',
|
||||
notcriticalErrorTitle: 'Warning',
|
||||
txtUntitled: 'Untitled'
|
||||
}, PE.Controllers.LeftMenu || {}));
|
||||
});
|
|
@ -290,6 +290,7 @@ define([
|
|||
this.appOptions.lang = this.editorConfig.lang;
|
||||
this.appOptions.location = (typeof (this.editorConfig.location) == 'string') ? this.editorConfig.location.toLowerCase() : '';
|
||||
this.appOptions.sharingSettingsUrl = this.editorConfig.sharingSettingsUrl;
|
||||
this.appOptions.saveAsUrl = this.editorConfig.saveAsUrl;
|
||||
this.appOptions.canAnalytics = false;
|
||||
this.appOptions.customization = this.editorConfig.customization;
|
||||
this.appOptions.canBackToFolder = (this.editorConfig.canBackToFolder!==false) && (typeof (this.editorConfig.customization) == 'object')
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
<li id="fm-btn-save" class="fm-btn" />
|
||||
<li id="fm-btn-edit" class="fm-btn" />
|
||||
<li id="fm-btn-download" class="fm-btn" />
|
||||
<li id="fm-btn-save-copy" class="fm-btn" />
|
||||
<li id="fm-btn-save-desktop" class="fm-btn" />
|
||||
<li id="fm-btn-print" class="fm-btn" />
|
||||
<li id="fm-btn-rename" class="fm-btn" />
|
||||
|
@ -24,6 +25,7 @@
|
|||
</div>
|
||||
<div class="panel-context">
|
||||
<div id="panel-saveas" class="content-box" />
|
||||
<div id="panel-savecopy" class="content-box" />
|
||||
<div id="panel-recentfiles" class="content-box" />
|
||||
<div id="panel-createnew" class="content-box" />
|
||||
<div id="panel-info" class="content-box" />
|
||||
|
|
|
@ -108,6 +108,13 @@ define([
|
|||
canFocused: false
|
||||
});
|
||||
|
||||
this.miSaveCopyAs = new Common.UI.MenuItem({
|
||||
el : $('#fm-btn-save-copy',this.el),
|
||||
action : 'save-copy',
|
||||
caption : this.btnSaveCopyAsCaption,
|
||||
canFocused: false
|
||||
});
|
||||
|
||||
this.miSaveAs = new Common.UI.MenuItem({
|
||||
el : $('#fm-btn-save-desktop',this.el),
|
||||
action : 'save-desktop',
|
||||
|
@ -175,6 +182,7 @@ define([
|
|||
this.miSave,
|
||||
this.miEdit,
|
||||
this.miDownload,
|
||||
this.miSaveCopyAs,
|
||||
this.miSaveAs,
|
||||
this.miPrint,
|
||||
this.miRename,
|
||||
|
@ -206,6 +214,7 @@ define([
|
|||
var me = this;
|
||||
me.panels = {
|
||||
'saveas' : (new PE.Views.FileMenuPanels.ViewSaveAs({menu:me})).render(),
|
||||
'save-copy' : (new PE.Views.FileMenuPanels.ViewSaveCopy({menu:me})).render(),
|
||||
'opts' : (new PE.Views.FileMenuPanels.Settings({menu:me})).render(),
|
||||
'info' : (new PE.Views.FileMenuPanels.DocumentInfo({menu:me})).render(),
|
||||
'rights' : (new PE.Views.FileMenuPanels.DocumentRights({menu:me})).render()
|
||||
|
@ -246,6 +255,7 @@ define([
|
|||
this.miNew.$el.find('+.devider')[this.mode.canCreateNew?'show':'hide']();
|
||||
|
||||
this.miDownload[(this.mode.canDownload && (!this.mode.isDesktopApp || !this.mode.isOffline))?'show':'hide']();
|
||||
this.miSaveCopyAs[((this.mode.canDownload || this.mode.canDownloadOrigin) && (!this.mode.isDesktopApp || !this.mode.isOffline)) && this.mode.saveAsUrl ?'show':'hide']();
|
||||
this.miSaveAs[(this.mode.canDownload && this.mode.isDesktopApp && this.mode.isOffline)?'show':'hide']();
|
||||
|
||||
// this.hkSaveAs[this.mode.canDownload?'enable':'disable']();
|
||||
|
@ -382,6 +392,7 @@ define([
|
|||
btnSaveAsCaption : 'Save as',
|
||||
btnRenameCaption : 'Rename...',
|
||||
btnCloseMenuCaption : 'Close Menu',
|
||||
btnProtectCaption: 'Protect'
|
||||
btnProtectCaption: 'Protect',
|
||||
btnSaveCopyAsCaption : 'Save Copy as...'
|
||||
}, PE.Views.FileMenu || {}));
|
||||
});
|
||||
|
|
|
@ -102,6 +102,60 @@ define([
|
|||
}
|
||||
});
|
||||
|
||||
PE.Views.FileMenuPanels.ViewSaveCopy = Common.UI.BaseView.extend({
|
||||
el: '#panel-savecopy',
|
||||
menu: undefined,
|
||||
|
||||
formats: [[
|
||||
{name: 'PPTX', imgCls: 'pptx', type: Asc.c_oAscFileType.PPTX, ext: '.pptx'},
|
||||
{name: 'PDF', imgCls: 'pdf', type: Asc.c_oAscFileType.PDF, ext: '.pdf'},
|
||||
{name: 'PDFA', imgCls: 'pdfa', type: Asc.c_oAscFileType.PDFA, ext: '.pdf'},
|
||||
{name: 'ODP', imgCls: 'odp', type: Asc.c_oAscFileType.ODP, ext: '.odp'}
|
||||
]],
|
||||
|
||||
template: _.template([
|
||||
'<table><tbody>',
|
||||
'<% _.each(rows, function(row) { %>',
|
||||
'<tr>',
|
||||
'<% _.each(row, function(item) { %>',
|
||||
'<td><div><svg class="btn-doc-format" format="<%= item.type %>", format-ext="<%= item.ext %>">',
|
||||
'<use xlink:href="#svg-format-<%= item.imgCls %>"></use>',
|
||||
'</svg></div></td>',
|
||||
'<% }) %>',
|
||||
'</tr>',
|
||||
'<% }) %>',
|
||||
'</tbody></table>'
|
||||
].join('')),
|
||||
|
||||
initialize: function(options) {
|
||||
Common.UI.BaseView.prototype.initialize.call(this,arguments);
|
||||
|
||||
this.menu = options.menu;
|
||||
},
|
||||
|
||||
render: function() {
|
||||
$(this.el).html(this.template({rows:this.formats}));
|
||||
$('.btn-doc-format',this.el).on('click', _.bind(this.onFormatClick,this));
|
||||
|
||||
if (_.isUndefined(this.scroller)) {
|
||||
this.scroller = new Common.UI.Scroller({
|
||||
el: $(this.el),
|
||||
suppressScrollX: true
|
||||
});
|
||||
}
|
||||
|
||||
return this;
|
||||
},
|
||||
|
||||
onFormatClick: function(e) {
|
||||
var type = e.currentTarget.attributes['format'],
|
||||
ext = e.currentTarget.attributes['format-ext'];
|
||||
if (!_.isUndefined(type) && !_.isUndefined(ext) && this.menu) {
|
||||
this.menu.fireEvent('savecopy:format', [this.menu, parseInt(type.value), ext.value]);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
PE.Views.FileMenuPanels.Settings = Common.UI.BaseView.extend(_.extend({
|
||||
el: '#panel-settings',
|
||||
menu: undefined,
|
||||
|
|
|
@ -202,6 +202,8 @@
|
|||
"Common.Views.ReviewPopover.textOpenAgain": "Open Again",
|
||||
"Common.Views.ReviewPopover.textReply": "Reply",
|
||||
"Common.Views.ReviewPopover.textResolve": "Resolve",
|
||||
"Common.Views.SaveAsDlg.textLoading": "Loading",
|
||||
"Common.Views.SaveAsDlg.textTitle": "Folder for save",
|
||||
"Common.Views.SignDialog.cancelButtonText": "Cancel",
|
||||
"Common.Views.SignDialog.okButtonText": "Ok",
|
||||
"Common.Views.SignDialog.textBold": "Bold",
|
||||
|
@ -230,8 +232,10 @@
|
|||
"Common.Views.SignSettingsDialog.textTitle": "Signature Setup",
|
||||
"Common.Views.SignSettingsDialog.txtEmpty": "This field is required",
|
||||
"PE.Controllers.LeftMenu.newDocumentTitle": "Unnamed presentation",
|
||||
"PE.Controllers.LeftMenu.notcriticalErrorTitle": "Warning",
|
||||
"PE.Controllers.LeftMenu.requestEditRightsText": "Requesting editing rights...",
|
||||
"PE.Controllers.LeftMenu.textNoTextFound": "The data you have been searching for could not be found. Please adjust your search options.",
|
||||
"PE.Controllers.LeftMenu.txtUntitled": "Untitled",
|
||||
"PE.Controllers.Main.applyChangesTextText": "Loading data...",
|
||||
"PE.Controllers.Main.applyChangesTitleText": "Loading Data",
|
||||
"PE.Controllers.Main.convertationTimeoutText": "Conversion timeout exceeded.",
|
||||
|
@ -950,6 +954,7 @@
|
|||
"PE.Views.FileMenu.btnSaveCaption": "Save",
|
||||
"PE.Views.FileMenu.btnSettingsCaption": "Advanced Settings...",
|
||||
"PE.Views.FileMenu.btnToEditCaption": "Edit Presentation",
|
||||
"PE.Views.FileMenu.btnSaveCopyAsCaption": "Save Copy as...",
|
||||
"PE.Views.FileMenuPanels.CreateNew.fromBlankText": "From Blank",
|
||||
"PE.Views.FileMenuPanels.CreateNew.fromTemplateText": "From Template",
|
||||
"PE.Views.FileMenuPanels.CreateNew.newDescriptionText": "Create a new blank presentation which you will be able to style and format after it is created during the editing. Or choose one of the templates to start a presentation of a certain type or purpose where some styles have already been pre-applied.",
|
||||
|
|
|
@ -185,7 +185,7 @@
|
|||
overflow: hidden;
|
||||
}
|
||||
|
||||
#panel-saveas {
|
||||
#panel-saveas, #panel-savecopy {
|
||||
table {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
|
|
|
@ -33,6 +33,7 @@
|
|||
define([
|
||||
'core',
|
||||
'common/main/lib/util/Shortcuts',
|
||||
'common/main/lib/view/SaveAsDlg',
|
||||
'spreadsheeteditor/main/app/view/LeftMenu',
|
||||
'spreadsheeteditor/main/app/view/FileMenu'
|
||||
], function () {
|
||||
|
@ -73,6 +74,7 @@ define([
|
|||
'menu:show': _.bind(this.menuFilesShowHide, this, 'show'),
|
||||
'item:click': _.bind(this.clickMenuFileItem, this),
|
||||
'saveas:format': _.bind(this.clickSaveAsFormat, this),
|
||||
'savecopy:format': _.bind(this.clickSaveCopyAsFormat, this),
|
||||
'settings:apply': _.bind(this.applySettings, this),
|
||||
'create:new': _.bind(this.onCreateNew, this),
|
||||
'recent:open': _.bind(this.onOpenRecent, this)
|
||||
|
@ -141,6 +143,7 @@ define([
|
|||
this.api.asc_registerCallback('asc_onRenameCellTextEnd', _.bind(this.onRenameText, this));
|
||||
this.api.asc_registerCallback('asc_onCoAuthoringDisconnect', _.bind(this.onApiServerDisconnect, this, true));
|
||||
Common.NotificationCenter.on('api:disconnect', _.bind(this.onApiServerDisconnect, this));
|
||||
this.api.asc_registerCallback('asc_onDownloadUrl', _.bind(this.onDownloadUrl, this));
|
||||
/** coauthoring begin **/
|
||||
if (this.mode.canCoAuthoring) {
|
||||
if (this.mode.canChat)
|
||||
|
@ -270,6 +273,68 @@ define([
|
|||
}
|
||||
},
|
||||
|
||||
clickSaveCopyAsFormat: function(menu, format, ext) {
|
||||
if (format == Asc.c_oAscFileType.CSV) {
|
||||
Common.UI.warning({
|
||||
title: this.textWarning,
|
||||
msg: this.warnDownloadAs,
|
||||
buttons: ['ok', 'cancel'],
|
||||
callback: _.bind(function(btn){
|
||||
if (btn == 'ok') {
|
||||
this.isFromFileDownloadAs = ext;
|
||||
this.api.asc_DownloadAs(format, true);
|
||||
menu.hide();
|
||||
}
|
||||
}, this)
|
||||
});
|
||||
} else if (format == Asc.c_oAscFileType.PDF || format == Asc.c_oAscFileType.PDFA) {
|
||||
this.isFromFileDownloadAs = ext;
|
||||
menu.hide();
|
||||
Common.NotificationCenter.trigger('download:settings', this.leftMenu, format, true);
|
||||
} else {
|
||||
this.isFromFileDownloadAs = ext;
|
||||
this.api.asc_DownloadAs(format, true);
|
||||
menu.hide();
|
||||
}
|
||||
},
|
||||
|
||||
onDownloadUrl: function(url) {
|
||||
if (this.isFromFileDownloadAs) {
|
||||
var me = this,
|
||||
defFileName = this.getApplication().getController('Viewport').getView('Common.Views.Header').getDocumentCaption();
|
||||
!defFileName && (defFileName = me.txtUntitled);
|
||||
|
||||
if (typeof this.isFromFileDownloadAs == 'string') {
|
||||
var idx = defFileName.lastIndexOf('.');
|
||||
if (idx>0)
|
||||
defFileName = defFileName.substring(0, idx) + this.isFromFileDownloadAs;
|
||||
}
|
||||
|
||||
me._saveCopyDlg = new Common.Views.SaveAsDlg({
|
||||
saveFolderUrl: me.mode.saveAsUrl,
|
||||
saveFileUrl: url,
|
||||
defFileName: defFileName
|
||||
});
|
||||
me._saveCopyDlg.on('saveaserror', function(obj, err){
|
||||
var config = {
|
||||
closable: false,
|
||||
title: me.textWarning,
|
||||
msg: err,
|
||||
iconCls: 'warn',
|
||||
buttons: ['ok'],
|
||||
callback: function(btn){
|
||||
Common.NotificationCenter.trigger('edit:complete', me);
|
||||
}
|
||||
};
|
||||
Common.UI.alert(config);
|
||||
}).on('close', function(obj){
|
||||
me._saveCopyDlg = undefined;
|
||||
});
|
||||
me._saveCopyDlg.show();
|
||||
}
|
||||
this.isFromFileDownloadAs = false;
|
||||
},
|
||||
|
||||
applySettings: function(menu) {
|
||||
var value = Common.localStorage.getItem("sse-settings-fontrender");
|
||||
Common.Utils.InternalSettings.set("sse-settings-fontrender", value);
|
||||
|
@ -819,6 +884,7 @@ define([
|
|||
textValues: 'Values',
|
||||
textWithin: 'Within',
|
||||
textSearch: 'Search',
|
||||
textLookin: 'Look in'
|
||||
textLookin: 'Look in',
|
||||
txtUntitled: 'Untitled'
|
||||
}, SSE.Controllers.LeftMenu || {}));
|
||||
});
|
|
@ -297,6 +297,7 @@ define([
|
|||
this.appOptions.canAutosave = false;
|
||||
this.appOptions.canAnalytics = false;
|
||||
this.appOptions.sharingSettingsUrl = this.editorConfig.sharingSettingsUrl;
|
||||
this.appOptions.saveAsUrl = this.editorConfig.saveAsUrl;
|
||||
this.appOptions.isEditDiagram = this.editorConfig.mode == 'editdiagram';
|
||||
this.appOptions.isEditMailMerge = this.editorConfig.mode == 'editmerge';
|
||||
this.appOptions.customization = this.editorConfig.customization;
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
<li id="fm-btn-save" class="fm-btn" />
|
||||
<li id="fm-btn-edit" class="fm-btn" />
|
||||
<li id="fm-btn-download" class="fm-btn" />
|
||||
<li id="fm-btn-save-copy" class="fm-btn" />
|
||||
<li id="fm-btn-save-desktop" class="fm-btn" />
|
||||
<li id="fm-btn-print" class="fm-btn" />
|
||||
<li id="fm-btn-rename" class="fm-btn" />
|
||||
|
@ -24,6 +25,7 @@
|
|||
</div>
|
||||
<div class="panel-context">
|
||||
<div id="panel-saveas" class="content-box" />
|
||||
<div id="panel-savecopy" class="content-box" />
|
||||
<div id="panel-recentfiles" class="content-box" />
|
||||
<div id="panel-createnew" class="content-box" />
|
||||
<div id="panel-info" class="content-box" />
|
||||
|
|
|
@ -95,6 +95,13 @@ define([
|
|||
canFocused: false
|
||||
});
|
||||
|
||||
this.miSaveCopyAs = new Common.UI.MenuItem({
|
||||
el : $('#fm-btn-save-copy',this.el),
|
||||
action : 'save-copy',
|
||||
caption : this.btnSaveCopyAsCaption,
|
||||
canFocused: false
|
||||
});
|
||||
|
||||
this.miSaveAs = new Common.UI.MenuItem({
|
||||
el : $('#fm-btn-save-desktop',this.el),
|
||||
action : 'save-desktop',
|
||||
|
@ -169,6 +176,7 @@ define([
|
|||
this.miSave,
|
||||
this.miEdit,
|
||||
this.miDownload,
|
||||
this.miSaveCopyAs,
|
||||
this.miSaveAs,
|
||||
this.miPrint,
|
||||
this.miRename,
|
||||
|
@ -195,6 +203,7 @@ define([
|
|||
var me = this;
|
||||
me.panels = {
|
||||
'saveas' : (new SSE.Views.FileMenuPanels.ViewSaveAs({menu:me})).render(),
|
||||
'save-copy' : (new SSE.Views.FileMenuPanels.ViewSaveCopy({menu:me})).render(),
|
||||
'opts' : (new SSE.Views.FileMenuPanels.Settings({menu:me})).render(),
|
||||
'info' : (new SSE.Views.FileMenuPanels.DocumentInfo({menu:me})).render(),
|
||||
'rights' : (new SSE.Views.FileMenuPanels.DocumentRights({menu:me})).render()
|
||||
|
@ -235,6 +244,7 @@ define([
|
|||
this.miNew.$el.find('+.devider')[this.mode.canCreateNew?'show':'hide']();
|
||||
|
||||
this.miDownload[(this.mode.canDownload && (!this.mode.isDesktopApp || !this.mode.isOffline))?'show':'hide']();
|
||||
this.miSaveCopyAs[((this.mode.canDownload || this.mode.canDownloadOrigin) && (!this.mode.isDesktopApp || !this.mode.isOffline)) && this.mode.saveAsUrl ?'show':'hide']();
|
||||
this.miSaveAs[(this.mode.canDownload && this.mode.isDesktopApp && this.mode.isOffline)?'show':'hide']();
|
||||
// this.hkSaveAs[this.mode.canDownload?'enable':'disable']();
|
||||
|
||||
|
@ -362,6 +372,7 @@ define([
|
|||
btnSaveAsCaption : 'Save as',
|
||||
btnRenameCaption : 'Rename...',
|
||||
btnCloseMenuCaption : 'Close Menu',
|
||||
btnProtectCaption: 'Protect'
|
||||
btnProtectCaption: 'Protect',
|
||||
btnSaveCopyAsCaption : 'Save Copy as...'
|
||||
}, SSE.Views.FileMenu || {}));
|
||||
});
|
||||
|
|
|
@ -97,6 +97,66 @@ define([
|
|||
}
|
||||
});
|
||||
|
||||
SSE.Views.FileMenuPanels.ViewSaveCopy = Common.UI.BaseView.extend({
|
||||
el: '#panel-savecopy',
|
||||
menu: undefined,
|
||||
|
||||
formats: [[
|
||||
{name: 'XLSX', imgCls: 'xlsx', type: Asc.c_oAscFileType.XLSX, ext: '.xlsx'},
|
||||
{name: 'PDF', imgCls: 'pdf', type: Asc.c_oAscFileType.PDF, ext: '.pdf'},
|
||||
{name: 'PDFA', imgCls: 'pdfa', type: Asc.c_oAscFileType.PDFA, ext: '.pdf'}
|
||||
],[
|
||||
{name: 'ODS', imgCls: 'ods', type: Asc.c_oAscFileType.ODS, ext: '.ods'},
|
||||
{name: 'CSV', imgCls: 'csv', type: Asc.c_oAscFileType.CSV, ext: '.csv'}
|
||||
]
|
||||
// ,[
|
||||
// {name: 'HTML', imgCls: 'html', type: Asc.c_oAscFileType.HTML, ext: '.html'}
|
||||
// ]
|
||||
],
|
||||
|
||||
template: _.template([
|
||||
'<table><tbody>',
|
||||
'<% _.each(rows, function(row) { %>',
|
||||
'<tr>',
|
||||
'<% _.each(row, function(item) { %>',
|
||||
'<td><div><svg class="btn-doc-format" format="<%= item.type %>", format-ext="<%= item.ext %>">',
|
||||
'<use xlink:href="#svg-format-<%= item.imgCls %>"></use>',
|
||||
'</svg></div></td>',
|
||||
'<% }) %>',
|
||||
'</tr>',
|
||||
'<% }) %>',
|
||||
'</tbody></table>'
|
||||
].join('')),
|
||||
|
||||
initialize: function(options) {
|
||||
Common.UI.BaseView.prototype.initialize.call(this,arguments);
|
||||
|
||||
this.menu = options.menu;
|
||||
},
|
||||
|
||||
render: function() {
|
||||
$(this.el).html(this.template({rows:this.formats}));
|
||||
$('.btn-doc-format',this.el).on('click', _.bind(this.onFormatClick,this));
|
||||
|
||||
if (_.isUndefined(this.scroller)) {
|
||||
this.scroller = new Common.UI.Scroller({
|
||||
el: $(this.el),
|
||||
suppressScrollX: true
|
||||
});
|
||||
}
|
||||
|
||||
return this;
|
||||
},
|
||||
|
||||
onFormatClick: function(e) {
|
||||
var type = e.currentTarget.attributes['format'],
|
||||
ext = e.currentTarget.attributes['format-ext'];
|
||||
if (!_.isUndefined(type) && !_.isUndefined(ext) && this.menu) {
|
||||
this.menu.fireEvent('savecopy:format', [this.menu, parseInt(type.value), ext.value]);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
SSE.Views.FileMenuPanels.Settings = Common.UI.BaseView.extend(_.extend({
|
||||
el: '#panel-settings',
|
||||
menu: undefined,
|
||||
|
|
|
@ -192,6 +192,8 @@
|
|||
"Common.Views.ReviewPopover.textOpenAgain": "Open Again",
|
||||
"Common.Views.ReviewPopover.textReply": "Reply",
|
||||
"Common.Views.ReviewPopover.textResolve": "Resolve",
|
||||
"Common.Views.SaveAsDlg.textLoading": "Loading",
|
||||
"Common.Views.SaveAsDlg.textTitle": "Folder for save",
|
||||
"Common.Views.SignDialog.cancelButtonText": "Cancel",
|
||||
"Common.Views.SignDialog.okButtonText": "Ok",
|
||||
"Common.Views.SignDialog.textBold": "Bold",
|
||||
|
@ -378,6 +380,7 @@
|
|||
"SSE.Controllers.LeftMenu.textWithin": "Within",
|
||||
"SSE.Controllers.LeftMenu.textWorkbook": "Workbook",
|
||||
"SSE.Controllers.LeftMenu.warnDownloadAs": "If you continue saving in this format all features except the text will be lost.<br>Are you sure you want to continue?",
|
||||
"SSE.Controllers.LeftMenu.txtUntitled": "Untitled",
|
||||
"SSE.Controllers.Main.confirmMoveCellRange": "The destination cell range can contain data. Continue the operation?",
|
||||
"SSE.Controllers.Main.confirmPutMergeRange": "The source data contained merged cells.<br>They had been unmerged before they were pasted into the table.",
|
||||
"SSE.Controllers.Main.convertationTimeoutText": "Conversion timeout exceeded.",
|
||||
|
@ -1260,6 +1263,7 @@
|
|||
"SSE.Views.FileMenu.btnSaveCaption": "Save",
|
||||
"SSE.Views.FileMenu.btnSettingsCaption": "Advanced Settings...",
|
||||
"SSE.Views.FileMenu.btnToEditCaption": "Edit Spreadsheet",
|
||||
"SSE.Views.FileMenu.btnSaveCopyAsCaption": "Save Copy as...",
|
||||
"SSE.Views.FileMenuPanels.CreateNew.fromBlankText": "From Blank",
|
||||
"SSE.Views.FileMenuPanels.CreateNew.fromTemplateText": "From Template",
|
||||
"SSE.Views.FileMenuPanels.CreateNew.newDescriptionText": "Create a new blank spreadsheet which you will be able to style and format after it is created during the editing. Or choose one of the templates to start a spreadsheet of a certain type or purpose where some styles have already been pre-applied.",
|
||||
|
|
|
@ -174,7 +174,7 @@
|
|||
overflow: hidden;
|
||||
}
|
||||
|
||||
#panel-saveas {
|
||||
#panel-saveas, #panel-savecopy {
|
||||
table {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
|
|