This commit is contained in:
Alexander Trofimov 2015-06-25 11:27:08 +03:00
parent dbf21ee32f
commit a10605c91f
174 changed files with 24121 additions and 8908 deletions

View file

@ -49,15 +49,32 @@ public static class UrlBuilder
try
{
string sHostHeader = oHttpRequest.Headers["Host"];
string sForwardedHostHeader = oHttpRequest.Headers["X-Forwarded-Host"];
string sForwardedProtoHeader = oHttpRequest.Headers["X-Forwarded-Proto"];
Uri oSiteUri = oHttpRequest.Url;
sSiteUrl = oSiteUri.Scheme + "://";
if (!String.IsNullOrEmpty(sForwardedProtoHeader))
{
sSiteUrl += sForwardedProtoHeader;
}
else
{
sSiteUrl += oSiteUri.Scheme;
}
if (!String.IsNullOrEmpty(sHostHeader))
sSiteUrl += "://";
if (!String.IsNullOrEmpty(sForwardedHostHeader))
{
sSiteUrl += sForwardedHostHeader;
}
else if (!String.IsNullOrEmpty(sHostHeader))
{
sSiteUrl += sHostHeader;
}
else
{
sSiteUrl += oSiteUri.Host;

View file

@ -113,8 +113,14 @@ public class CanvasService : IHttpAsyncHandler
if (ErrorTypes.NoError == eError)
{
InputCommand cmd = ReadCommand(strStream);
if (null == cmd)
{
if(null != cmd)
eError = ErrorTypes.Unknown;
WriteOutputCommand(oTransportClassContextRead, new OutputCommand(eError));
eError = ErrorTypes.NoError;
}
else
{
try
{
@ -149,10 +155,11 @@ public class CanvasService : IHttpAsyncHandler
{
_log.Error("Exception catched in Print error:", e);
}
}
eError = ProcessCommand(oTransportClassContextRead, cmd);
}
}
}
catch (Exception e)
{
eError = ErrorTypes.Unknown;
@ -1370,6 +1377,10 @@ public class CanvasService : IHttpAsyncHandler
WriteOutputCommand(oTransportClassMainAshx, new OutputCommand((ErrorTypes)oTaskInfo.nStatusInfo));
break;
case FileStatus.SaveVersion:
{
if (cmd.viewmode)
WriteOutputCommand(oTransportClassMainAshx, new OutputCommand("updateversion", cmd.id + "/Editor.bin"));
else
{
ITaskResultInterface oTaskResult = TaskResult.NewTaskResult();
TaskResultDataToUpdate oTask = new TaskResultDataToUpdate();
@ -1379,6 +1390,7 @@ public class CanvasService : IHttpAsyncHandler
TransportClassTaskResult oTransportClassTaskResult = new TransportClassTaskResult(oTransportClassMainAshx, cmd, oTaskResult);
oTaskResult.UpdateIfBegin(cmd.id, oMask, oTask, TaskResultUpdateIfCallback2, oTransportClassTaskResult);
}
}
break;
case FileStatus.UpdateVersion:
WriteOutputCommand(oTransportClassMainAshx, new OutputCommand("updateversion", cmd.id + "/Editor.bin"));
@ -1746,30 +1758,7 @@ public class CanvasService : IHttpAsyncHandler
_log.DebugFormat("Enter DocsCallbacksGetCallback(id={0})", cmd.id);
ErrorTypes eError = oTransportClassSaveChanges2.m_oDocsCallbacks.GetEnd(ar, out oTransportClassSaveChanges2.m_sCallbackUrl);
if (ErrorTypes.NoError == eError && !string.IsNullOrEmpty(oTransportClassSaveChanges2.m_sCallbackUrl))
{
TaskResultData oTaskResultData = oTransportClassSaveChanges2.m_oTaskResultData;
OutputSfc oOutputSfc = new OutputSfc();
oOutputSfc.key = oTransportClassSaveChanges2.m_oTaskQueueData.m_sFromKey;
if (FileStatus.Ok == oTaskResultData.eStatus || (FileStatus.Err == oTaskResultData.eStatus && (int)ErrorTypes.ConvertCorrupted == oTaskResultData.nStatusInfo))
oOutputSfc.url = GetResultUrl(UrlBuilder.UrlWithoutPath(oTransportClassSaveChanges2.m_oHttpContext.Request), oTaskResultData.sKey, oTaskResultData.sTitle, oTaskResultData.sTitle, false);
_log.DebugFormat("saved file url:{0}", oOutputSfc.url);
if (!string.IsNullOrEmpty(oTransportClassSaveChanges2.m_oInputCommand.userid))
oOutputSfc.users.Add(oTransportClassSaveChanges2.m_oInputCommand.userid);
FileStatusOut eFileStatusOut = FileStatusOut.NotFound;
if (FileStatus.Ok == oTaskResultData.eStatus && !string.IsNullOrEmpty(oOutputSfc.url) && oOutputSfc.users.Count > 0)
eFileStatusOut = FileStatusOut.MustSave;
else
eFileStatusOut = FileStatusOut.Corrupted;
oOutputSfc.status = (int)eFileStatusOut;
string sJson = new JavaScriptSerializer().Serialize(oOutputSfc);
uint attempcount = uint.Parse(ConfigurationSettings.AppSettings["sfc.webrequest.attempcount"] ?? "1");
uint attempdelay = uint.Parse(ConfigurationSettings.AppSettings["sfc.webrequest.attempdelay"] ?? "0");
AsyncWebRequestOperation oAsyncWebRequestOperation = new AsyncWebRequestOperation(attempcount, attempdelay);
oTransportClassSaveChanges2.m_oAsyncWebRequestOperation = oAsyncWebRequestOperation;
_log.DebugFormat("TaskResultRemoveCallback4 url:{0}", oTransportClassSaveChanges2.m_sCallbackUrl);
oTransportClassSaveChanges2.m_oAsyncWebRequestOperationResult = oAsyncWebRequestOperation.RequestBegin(oTransportClassSaveChanges2.m_sCallbackUrl, "POST", "application/json",Encoding.UTF8.GetBytes(sJson), RequestCallback2, oTransportClassSaveChanges2);
}
oTransportClassSaveChanges2.m_oDocsCallbacks.RemoveBegin(cmd.id, DocsCallbacksRemoveCallback, oTransportClassSaveChanges2);
else
{
RemoveFromCoAuthoringHandler(oTransportClassSaveChanges2);
@ -1781,6 +1770,100 @@ public class CanvasService : IHttpAsyncHandler
RemoveFromCoAuthoringHandler(oTransportClassSaveChanges2);
}
}
private void DocsCallbacksRemoveCallback(IAsyncResult ar)
{
TransportClassSaveChanges2 oTransportClassSaveChanges2 = ar.AsyncState as TransportClassSaveChanges2;
try
{
InputCommand cmd = oTransportClassSaveChanges2.m_oInputCommand;
_log.DebugFormat("Enter DocsCallbacksRemoveCallback(id={0})", cmd.id);
ErrorTypes eError = oTransportClassSaveChanges2.m_oDocsCallbacks.RemoveEnd(ar);
if (ErrorTypes.NoError == eError)
{
TaskResultData oTaskResultData = oTransportClassSaveChanges2.m_oTaskResultData;
if (FileStatus.Ok != oTaskResultData.eStatus && (FileStatus.Err != oTaskResultData.eStatus || (int)ErrorTypes.ConvertCorrupted != oTaskResultData.nStatusInfo))
{
OutputSfc oOutputSfc = new OutputSfc();
oOutputSfc.status = (int)FileStatusOut.Corrupted;
SendFileRequest(oOutputSfc, oTransportClassSaveChanges2);
}
else
{
Storage oStorage = new Storage();
MemoryStream oStream = new MemoryStream();
TransportClassStorage3 oTransportClassStorage3 = new TransportClassStorage3(oTransportClassSaveChanges2, cmd, oStorage, oStream, oTaskResultData.sKey, oTransportClassSaveChanges2);
oStorage.ReadFileBegin(Path.Combine(oTaskResultData.sKey, "changesHistory.json"), oStream, ReadFileCallback, oTransportClassStorage3);
}
}
else
{
RemoveFromCoAuthoringHandler(oTransportClassSaveChanges2);
}
}
catch (Exception e)
{
_log.Error("Exception catched in DocsCallbacksRemoveCallback:", e);
RemoveFromCoAuthoringHandler(oTransportClassSaveChanges2);
}
}
private void SendFileRequest(OutputSfc oOutputSfc, TransportClassSaveChanges2 oTransportClassSaveChanges2)
{
string sJson = new JavaScriptSerializer().Serialize(oOutputSfc);
uint attempcount = uint.Parse(ConfigurationSettings.AppSettings["sfc.webrequest.attempcount"] ?? "1");
uint attempdelay = uint.Parse(ConfigurationSettings.AppSettings["sfc.webrequest.attempdelay"] ?? "0");
AsyncWebRequestOperation oAsyncWebRequestOperation = new AsyncWebRequestOperation(attempcount, attempdelay);
oTransportClassSaveChanges2.m_oAsyncWebRequestOperation = oAsyncWebRequestOperation;
_log.DebugFormat("TaskResultRemoveCallback4 url:{0}", oTransportClassSaveChanges2.m_sCallbackUrl);
oTransportClassSaveChanges2.m_oAsyncWebRequestOperationResult = oAsyncWebRequestOperation.RequestBegin(oTransportClassSaveChanges2.m_sCallbackUrl, "POST", "application/json", Encoding.UTF8.GetBytes(sJson), RequestCallback2, oTransportClassSaveChanges2);
}
private void ReadFileCallback(IAsyncResult ar)
{
TransportClassStorage3 oTransportClassStorage3 = ar.AsyncState as TransportClassStorage3;
TransportClassSaveChanges2 oTransportClassSaveChanges2 = oTransportClassStorage3.m_oSaveChanges2;
try
{
Storage oStorage = oTransportClassStorage3.m_oStorage;
if (null == oStorage)
{
throw new NullReferenceException();
}
TaskResultData oTaskResultData = oTransportClassSaveChanges2.m_oTaskResultData;
int nReadWriteBytes = 0;
ErrorTypes eResult = oStorage.ReadFileEnd(ar, out nReadWriteBytes);
OutputSfc oOutputSfc = new OutputSfc();
oOutputSfc.key = oTransportClassSaveChanges2.m_oInputCommand.id;
if (ErrorTypes.NoError == eResult)
{
byte[] buffer = new byte[nReadWriteBytes];
oTransportClassStorage3.m_oStream.Seek(0, SeekOrigin.Begin);
oTransportClassStorage3.m_oStream.Read(buffer, 0, nReadWriteBytes);
oTransportClassStorage3.m_oStream.Dispose();
string strSiteUrl = UrlBuilder.UrlWithoutPath(oTransportClassSaveChanges2.m_oHttpContext.Request);
oOutputSfc.url = GetResultUrl(strSiteUrl, oTaskResultData.sKey, oTaskResultData.sTitle, oTaskResultData.sTitle, false);
oOutputSfc.changesurl = GetResultUrl(strSiteUrl, oTaskResultData.sKey, "changes.zip", oTaskResultData.sTitle, false);
oOutputSfc.changeshistory = Encoding.UTF8.GetString(buffer);
}
_log.DebugFormat("saved file url:{0}", oOutputSfc.url);
if (!string.IsNullOrEmpty(oTransportClassSaveChanges2.m_oInputCommand.userid))
oOutputSfc.users.Add(oTransportClassSaveChanges2.m_oInputCommand.userid);
FileStatusOut eFileStatusOut = FileStatusOut.NotFound;
if (!string.IsNullOrEmpty(oOutputSfc.url) && oOutputSfc.users.Count > 0)
eFileStatusOut = FileStatusOut.MustSave;
else
eFileStatusOut = FileStatusOut.Corrupted;
oOutputSfc.status = (int)eFileStatusOut;
SendFileRequest(oOutputSfc, oTransportClassSaveChanges2);
}
catch (Exception e)
{
_log.Error("Exception catched in ReadFileCallback:", e);
RemoveFromCoAuthoringHandler(oTransportClassSaveChanges2);
}
}
private void RequestCallback2(IAsyncResult ar)
{
TransportClassSaveChanges2 oTransportClassSaveChanges2 = ar.AsyncState as TransportClassSaveChanges2;
@ -1957,6 +2040,15 @@ public class CanvasService : IHttpAsyncHandler
m_oOutputCommand = oOutputCommand;
}
}
private class TransportClassStorage3 : TransportClassStorage
{
public TransportClassSaveChanges2 m_oSaveChanges2;
public TransportClassStorage3(TransportClassMainAshx oTransportClassMainAshx, InputCommand oInputCommand, Storage oStorage, Stream stream, string sKey, TransportClassSaveChanges2 oSaveChanges2)
: base(oTransportClassMainAshx, oInputCommand, oStorage, stream, sKey)
{
m_oSaveChanges2 = oSaveChanges2;
}
}
private class TransportClassTaskQueue : TransportClassMainAshx
{
public CTaskQueue m_oTaskQueue;
@ -2154,6 +2246,8 @@ public class CanvasService : IHttpAsyncHandler
public long status { get; set; }
public string url { get; set; }
public string changesurl { get; set; }
public string changeshistory { get; set; }
public List<string> users = new List<string>();
}
public class OutputWaitSaveData
@ -2187,6 +2281,8 @@ public class CanvasService : IHttpAsyncHandler
public class OutputSettingsData
{
public bool canLicense;
public bool canEdit;
public bool canDownload;
public bool canCoAuthoring;
@ -2203,6 +2299,8 @@ public class CanvasService : IHttpAsyncHandler
public OutputSettingsData()
{
canLicense = true;
canEdit = true;
canDownload = true;
canCoAuthoring = true;
@ -2243,6 +2341,8 @@ public class CanvasService : IHttpAsyncHandler
canDownload = !aViewerFormats.Contains(sFormat);
}
canLicense = false;
}
}

View file

@ -9,17 +9,6 @@
-->
<configuration>
<configSections>
<sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
<sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
<section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere" />
<section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
<section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
<section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
</sectionGroup>
</sectionGroup>
</sectionGroup>
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
</configSections>
<system.serviceModel>
@ -89,10 +78,6 @@
<add key="limits.image.types.upload" value="jpg;png;gif;bmp;ico" />
<add key="limits.image.types.copy" value="jpg;png;gif;bmp;emf;wmf;svg" />
<add key="limits.image.size" value="25000000" />
<add key="license.type" value="7" />
<add key="license.activeconnections.tracking.interval" value="300" />
<add key="license.activeconnections.tracking.cleanupperiods" value="2" />
<add key="license.file.path" value="/var/www/onlyoffice/Data/" />
<add key="fonts.route" value="OfficeWeb/sdk/Fonts/" />
<add key="sfc.webrequest.attempcount" value="3" />
<add key="sfc.webrequest.attempdelay" value="1000" />
@ -106,14 +91,10 @@
affects performance, set this value to true only
during development.
-->
<compilation debug="true">
<compilation debug="true" targetFramework="4.5">
<assemblies>
<add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
<add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
<add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
<add assembly="Accessibility, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
<add assembly="System.Web.Routing, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add assembly="Accessibility, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
<add assembly="System.Web.Routing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
</assemblies>
</compilation>
<!--
@ -134,23 +115,13 @@
<error statusCode="404" redirect="FileNotFound.htm" />
</customErrors>
-->
<pages>
<controls>
<add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
</controls>
</pages>
<httpHandlers>
<remove verb="*" path="*.asmx" />
<remove verb="POST,GET" path="template.ashx" />
<remove verb="POST,GET" path="JavaScriptResource.ashx" />
<remove verb="POST,GET" path="UploadProgress.ashx" />
<remove verb="POST,GET" path="fckuploader.ashx" />
<remove verb="POST,GET" path="ajaxupload.ashx" />
<remove verb="POST,GET" path="ajaxpro/*.ashx" />
<add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add verb="GET,HEAD" path="ScriptResource.axd" validate="false" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
</httpHandlers>
<httpModules>
<!--
@ -158,49 +129,46 @@
<remove name="MobileDetector" />
<remove name="TcpIpFilter" />
-->
<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add name="UrlRoutingModule" type="System.Web.Routing.UrlRoutingModule, System.Web.Routing, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
</httpModules>
<pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID" />
<customErrors mode="Off" />
</system.web>
<system.codedom>
<compilers>
<compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CSharp.CSharpCodeProvider,System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" warningLevel="4" compilerOptions="/d:OPEN_SOURCE">
<providerOption name="CompilerVersion" value="v3.5" />
<compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" warningLevel="4" compilerOptions="/d:OPEN_SOURCE">
<providerOption name="CompilerVersion" value="v4.0" />
<providerOption name="WarnAsError" value="false" />
</compiler>
<compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" type="Microsoft.VisualBasic.VBCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" warningLevel="4" compilerOptions="/d:OPEN_SOURCE">
<providerOption name="CompilerVersion" value="v3.5" />
<compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" type="Microsoft.VisualBasic.VBCodeProvider, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" warningLevel="4" compilerOptions="/d:OPEN_SOURCE">
<providerOption name="CompilerVersion" value="v4.0" />
<providerOption name="OptionInfer" value="true" />
<providerOption name="WarnAsError" value="false" />
</compiler>
</compilers>
</system.codedom>
<system.webServer>
<security>
<requestFiltering>
<!-- same as in FileConverterService2.exe.config maxdownloadbytes=100000000 -->
<requestLimits maxAllowedContentLength="100000000" />
</requestFiltering>
</security>
<validation validateIntegratedModeConfiguration="false" />
<modules>
<modules runAllManagedModulesForAllRequests="true">
<remove name="UploadProgress" />
<remove name="MobileDetector" />
<remove name="TcpIpFilter" />
<remove name="ScriptModule" />
<add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add name="UrlRoutingModule" type="System.Web.Routing.UrlRoutingModule, System.Web.Routing, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<remove name="UrlRoutingModule" />
<add name="UrlRoutingModule" type="System.Web.Routing.UrlRoutingModule, &#xD;&#xA; System.Web, Version=4.0.0.0, Culture=neutral, &#xD;&#xA; PublicKeyToken=b03f5f7f11d50a3a" />
</modules>
<handlers>
<remove name="WebServiceHandlerFactory-Integrated" />
<remove name="ScriptHandlerFactory" />
<remove name="ScriptHandlerFactoryAppServices" />
<remove name="ScriptResource" />
<remove name="Template" />
<remove name="JavaScriptResource" />
<remove name="UpProgress" />
<remove name="FCKUp" />
<remove name="AjaxUp" />
<remove name="AjaxPro" />
<add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add name="ScriptResource" verb="GET,HEAD" path="ScriptResource.axd" preCondition="integratedMode" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add name="UrlRoutingHandler" preCondition="integratedMode" verb="*" path="UrlRouting.axd" type="System.Web.HttpForbiddenHandler, System.Web, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<add name="UrlRoutingHandler" preCondition="integratedMode" verb="*" path="UrlRouting.axd" type="System.Web.HttpForbiddenHandler,&#xD;&#xA; System.Web, Version=2.0.0.0, Culture=neutral,&#xD;&#xA; PublicKeyToken=b03f5f7f11d50a3a" />
</handlers>
<staticContent>
<remove fileExtension=".ods" />
@ -260,16 +228,4 @@
</customHeaders>
</httpProtocol>
</system.webServer>
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1" appliesTo="v2.0.50727">
<dependentAssembly>
<assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35" />
<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0" />
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35" />
<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0" />
</dependentAssembly>
</assemblyBinding>
</runtime>
</configuration>

View file

@ -6,7 +6,7 @@
"nono_mongodb": {
"host": "localhost",
"port": 8000,
"database": "coAuthoring"
"database": "onlyoffice"
},
"sql": {
"type" : "mysql",

View file

@ -68,16 +68,30 @@
},
...
],
branding: {
customization: {
logoUrl: 'header logo url', // default size 88 x 30
logoUrlEmbedded: 'header logo url', // default size 88 x 30
backgroundColor: 'header background color',
textColor: 'header text color',
customer: 'SuperPuper',
customerAddr: 'New-York, 125f-25',
customerMail: 'support@gmail.com',
customerWww: 'www.superpuper.com',
customerInfo: 'Some info',
customerLogo: ''
customer: {
name: 'SuperPuper',
address: 'New-York, 125f-25',
mail: 'support@gmail.com',
www: 'www.superpuper.com',
info: 'Some info',
logo: ''
},
about: false,
feedback: {
visible: false,
url: http://...
},
goback: {
visible: false,
text: 'Go to London'
},
chat: false,
comments: false
}
},
events: {
@ -126,8 +140,8 @@
_config = config || {};
extend(_config, DocsAPI.DocEditor.defaultConfig);
extend(_config.editorConfig, DocsAPI.DocEditor.defaultConfig.editorConfig);
_config.editorConfig.canBackToFolder = !!_config.events.onBack;
_config.editorConfig.canBackToFolder = _config.events && !!_config.events.onBack;
_config.editorConfig.canUseHistory = !!_config.events.onRequestHistory;
var onMouseUp = function (evt) {
_processMouse(evt);
@ -286,6 +300,26 @@
});
};
var _refreshHistory = function(data, message) {
_sendCommand({
command: 'refreshHistory',
data: {
data: data,
message: message
}
});
};
var _setHistoryData = function(data, message) {
_sendCommand({
command: 'setHistoryData',
data: {
data: data,
message: message
}
});
};
var _processMouse = function(evt) {
var r = iframe.getBoundingClientRect();
var data = {
@ -310,12 +344,24 @@
});
};
(function() {
var result = /[\?\&]placement=(\w+)&?/.exec(window.location.search);
if (!!result && result.length) {
if (result[1] == 'desktop') {
_config.editorConfig.targetApp = result[1];
_config.editorConfig.canBackToFolder = false;
}
}
})();
return {
showError : _showError,
showMessage : _showMessage,
applyEditRights : _applyEditRights,
processSaveResult : _processSaveResult,
processRightsChange : _processRightsChange,
refreshHistory : _refreshHistory,
setHistoryData : _setHistoryData,
serviceCommand : _serviceCommand,
attachMouseEvents : _attachMouseEvents,
detachMouseEvents : _detachMouseEvents
@ -329,12 +375,16 @@
height: '100%',
editorConfig: {
lang: 'en',
canCoAuthoring: true
canCoAuthoring: true,
customization: {
about: false,
feedback: false
}
}
};
DocsAPI.DocEditor.version = function() {
return '3.0b';
return '3.0b##BN#';
};
MessageDispatcher = function(fn, scope) {
@ -441,6 +491,7 @@
iframe.height = config.height;
iframe.align = "top";
iframe.frameBorder = 0;
iframe.name = "frameEditor";
return iframe;
}
@ -455,8 +506,14 @@
function extend(dest, src) {
for (var prop in src) {
if (src.hasOwnProperty(prop) && typeof dest[prop] === 'undefined') {
if (src.hasOwnProperty(prop)) {
if (typeof dest[prop] === 'undefined') {
dest[prop] = src[prop];
} else
if (typeof dest[prop] === 'object' &&
typeof src[prop] === 'object') {
extend(dest[prop], src[prop])
}
}
}
return dest;

View file

@ -62,12 +62,112 @@
'onBack': onBack,
'onDocumentStateChange': onDocumentStateChange,
'onRequestEditRights': onRequestEditRights,
// 'onRequestHistory': onRequestHistory,
// 'onRequestHistoryData': onRequestHistoryData,
// 'onRequestHistoryClose': onRequestHistoryClose,
'onSave': onDocumentSave,
'onError': onError
}
});
// Document Editor event handlers
function onRequestHistory() {
docEditor.refreshHistory({
'currentVersion': 3,
'history': [
{
'user': {
id: '8952d4ee-e8a5-42bf-86f0-6cd77801ec15',
name: 'Татьяна Щербакова'
},
'changes': null,
'created': '1/18/2015 6:38 PM',
'version': 1,
'version_group': 1,
'key': 'wyX9AwRq_677SWKjhfk='
},
{
'user': {
id: '8952d4ee-e8a5-42bf-86f0-6cd77801ec15',
name: 'Татьяна Щербакова'
},
'changes': [
{
'user': {
id: '8952d4ee-e8a5-42bf-86f0-6cd77801ec15',
name: 'Татьяна Щербакова'
},
'created': '1/19/2015 6:30 PM'
},
{
'user': {
'userid': '8952d4ee-e8a5-42bf-11f0-6cd77801ec15',
'username': 'Александр Трофимов'
},
'created': '1/19/2015 6:32 PM'
},
{
'user': {
id: '8952d4ee-e8a5-42bf-86f0-6cd77801ec15',
name: 'Татьяна Щербакова'
},
'created': '1/19/2015 6:38 PM'
}
],
'created': '2/19/2015 6:38 PM',
'version': 2,
'version_group': 1,
'key': 'wyX9AwRq_677SWKjhfk='
},
{
'user': {
id: '895255ee-e8a5-42bf-86f0-6cd77801ec15',
name: 'Me'
},
'changes': null,
'created': '2/21/2015 6:38 PM',
'version': 3,
'version_group': 2,
'key': 'wyX9AwRq_677SWKjhfk='
},
{
'user': {
id: '8952d4ee-e8a5-42bf-11f0-6cd77801ec15',
name: 'Александр Трофимов'
},
'changes': null,
'created': '2/22/2015 6:37 PM',
'version': 4,
'version_group': 3,
'key': 'wyX9AwRq_677SWKjhfk='
},
{
'user': {
id: '8952d4ee-e8a5-42bf-11f0-6cd33801ec15',
name: 'Леонид Орлов'
},
'changes': null,
'created': '2/24/2015 6:29 PM',
'version': 5,
'version_group': 3,
'key': 'wyX9AwRq_677SWKjhfk='
}]
});
}
function onRequestHistoryData(revision) {
docEditor.setHistoryData(
{
'version': revision.data,
'url': 'http://isa2',
'urlDiff': 'http://isa2'
}
);
}
function onRequestHistoryClose() {
// reload page
}
function onDocEditorReady(event) {
if (event.target) {
@ -163,17 +263,23 @@
shareUrl : 'http://tl.com/72b4la97',
toolbarDocked : 'top'
}
// ,branding: {
,customization: {
// logoUrl: 'header logo url', // default size 88 x 30
// logoUrlEmbedded: 'header logo url', // default size 88 x 30
// backgroundColor: '#ffffff',
// textColor: '#ff0000',
// customer: 'SuperPuper',
// customerAddr: 'New-York, 125f-25',
// customerMail: 'support@gmail.com',
// customerWww: 'www.superpuper.com',
// customerInfo: 'Some info',
// customerLogo: 'https://img.imgsmail.ru/r/default/portal/0.1.29/logo.png'
// }
// customer: {
// name: 'SuperPuper',
// address: 'New-York, 125f-25',
// mail: 'support@gmail.com',
// www: 'www.superpuper.com',
// info: 'Some info',
// logo: 'https://img.imgsmail.ru/r/default/portal/0.1.29/logo.png'
// },
// goback: {text: 'Go To London'}
about: true,
feedback: true
}
};
}

View file

@ -54,6 +54,12 @@ Common.Gateway = new(function () {
"processRightsChange": function (data) {
$me.trigger("processrightschange", data);
},
"refreshHistory": function (data) {
$me.trigger("refreshhistory", data);
},
"setHistoryData": function (data) {
$me.trigger("sethistorydata", data);
},
"processMouse": function (data) {
$me.trigger("processmouse", data);
},
@ -118,6 +124,22 @@ Common.Gateway = new(function () {
event: "onRequestEditRights"
});
},
requestHistory: function () {
_postMessage({
event: "onRequestHistory"
});
},
requestHistoryData: function (revision) {
_postMessage({
event: "onRequestHistoryData",
data: revision
});
},
requestHistoryClose: function (revision) {
_postMessage({
event: "onRequestHistoryClose"
});
},
reportError: function (code, description) {
_postMessage({
event: "onError",

View file

@ -29,34 +29,22 @@
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
*
*/
"use strict";
CCellCommentator.prototype.isLockedComment = function (oComment, callbackFunc) {
if (false === this.worksheet.collaborativeEditing.isCoAuthoringExcellEnable()) {
Asc.applyFunction(callbackFunc, true);
return;
if (Common === undefined) {
var Common = {};
}
Common.Collections = Common.Collections || {};
define(["underscore", "backbone", "common/main/lib/model/HistoryVersion"], function (_, Backbone) {
Common.Collections.HistoryVersions = Backbone.Collection.extend({
model: Common.Models.HistoryVersion,
findRevision: function (revision) {
return this.findWhere({
revision: revision
});
},
findRevisions: function (revision) {
return this.where({
revision: revision
});
}
var objectGuid = oComment.asc_getId();
if (objectGuid) {
var sheetId = CCellCommentator.sStartCommentId;
if (!oComment.bDocument) {
sheetId += this.worksheet.model.getId();
}
var lockInfo = this.worksheet.collaborativeEditing.getLockInfo(c_oAscLockTypeElem.Object, null, sheetId, objectGuid);
if (false === this.worksheet.collaborativeEditing.getCollaborativeEditing()) {
Asc.applyFunction(callbackFunc, true);
callbackFunc = undefined;
}
if (false !== this.worksheet.collaborativeEditing.getLockIntersection(lockInfo, c_oAscLockTypes.kLockTypeMine, false)) {
Asc.applyFunction(callbackFunc, true);
return;
} else {
if (false !== this.worksheet.collaborativeEditing.getLockIntersection(lockInfo, c_oAscLockTypes.kLockTypeOther, false)) {
Asc.applyFunction(callbackFunc, false);
return;
}
}
this.worksheet.collaborativeEditing.onStartCheckLock();
this.worksheet.collaborativeEditing.addCheckLock(lockInfo);
this.worksheet.collaborativeEditing.onEndCheckLock(callbackFunc);
}
};
});
});

View file

@ -46,4 +46,12 @@
});
}
});
Common.Collections.HistoryUsers = Backbone.Collection.extend({
model: Common.Models.User,
findUser: function (id) {
return this.find(function (model) {
return model.get("id") == id;
});
}
});
});

View file

@ -41,16 +41,22 @@ define(["common/main/lib/component/ComboBox"], function () {
thumbCanvas = document.createElement("canvas"),
thumbContext = thumbCanvas.getContext("2d"),
thumbPath = "../../../sdk/Common/Images/fonts_thumbnail.png",
thumbPath2x = "../../../sdk/Common/Images/fonts_thumbnail@2x.png";
thumbPath2x = "../../../sdk/Common/Images/fonts_thumbnail@2x.png",
listItemHeight = 36;
if (typeof window["AscDesktopEditor"] === "object") {
thumbPath = window["AscDesktopEditor"].getFontsSprite();
thumbPath2x = window["AscDesktopEditor"].getFontsSprite(true);
}
thumbCanvas.height = isRetina ? iconHeight * 2 : iconHeight;
thumbCanvas.width = isRetina ? iconWidth * 2 : iconWidth;
return {
template: _.template(['<div class="input-group combobox fonts <%= cls %>" id="<%= id %>" style="<%= style %>">', '<input type="text" class="form-control">', '<div style="display: table-cell;"></div>', '<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>', '<ul class="dropdown-menu <%= menuCls %>" style="<%= menuStyle %>" role="menu">', '<li class="divider">', "<% _.each(items, function(item) { %>", '<li id="<%= item.id %>">', '<a class="font-item" tabindex="-1" type="menuitem" style="display: block;">', '<img src="<%= scope.getImageUri(item) %>" width="<%= scope.getImageWidth() %>" height="<%= scope.getImageHeight() %>" style="vertical-align: middle;margin: 0 0 0 -10px;">', "</a>", "</li>", "<% }); %>", "</ul>", "</div>"].join("")),
template: _.template(['<div class="input-group combobox fonts <%= cls %>" id="<%= id %>" style="<%= style %>">', '<input type="text" class="form-control">', '<div style="display: table-cell;"></div>', '<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown"><span class="caret"></span></button>', '<ul class="dropdown-menu <%= menuCls %>" style="<%= menuStyle %>" role="menu">', '<li class="divider">', "<% _.each(items, function(item) { %>", '<li id="<%= item.id %>">', '<a class="font-item" tabindex="-1" type="menuitem" style="vertical-align:middle; margin: 0 0 0 -10px; height:<%=scope.getListItemHeight()%>px;"/>', "</li>", "<% }); %>", "</ul>", "</div>"].join("")),
initialize: function (options) {
Common.UI.ComboBox.prototype.initialize.call(this, _.extend(options, {
displayField: "name"
}));
this.recent = _.isNumber(options.recent) ? options.recent : 3;
this.bindUpdateVisibleFontsTiles = _.bind(this.updateVisibleFontsTiles, this);
Common.NotificationCenter.on("fonts:change", _.bind(this.onApiChangeFont, this));
Common.NotificationCenter.on("fonts:load", _.bind(this.fillFonts, this));
},
@ -64,20 +70,86 @@ define(["common/main/lib/component/ComboBox"], function () {
this._input.on("keyup", _.bind(this.onInputKeyUp, this));
this._input.on("keydown", _.bind(this.onInputKeyDown, this));
this.scroller.update({
alwaysVisibleY: true
alwaysVisibleY: true,
onChange: this.bindUpdateVisibleFontsTiles
});
return this;
},
onAfterKeydownMenu: function (e) {
var me = this;
if (e.keyCode == Common.UI.Keys.RETURN) {
if ($(e.target).closest("input").length) {
if (this.lastValue !== this._input.val()) {
this._input.trigger("change");
}
} else {
$(e.target).click();
if (this.rendered) {
if (Common.Utils.isIE) {
this._input.trigger("change", {
onkeydown: true
});
} else {
this._input.blur();
}
}
}
return false;
} else {
if (e.keyCode == Common.UI.Keys.ESC && this.isMenuOpen()) {
this._input.val(this.lastValue);
setTimeout(function () {
me.closeMenu();
me.onAfterHideMenu(e);
},
10);
return false;
} else {
if ((e.keyCode == Common.UI.Keys.HOME || e.keyCode == Common.UI.Keys.END || e.keyCode == Common.UI.Keys.BACKSPACE) && this.isMenuOpen()) {
setTimeout(function () {
me._input.focus();
},
10);
}
}
}
this.updateVisibleFontsTiles();
},
onInputKeyUp: function (e) {
if (e.keyCode != Common.UI.Keys.RETURN) {
this.selectCandidate();
if (e.keyCode != Common.UI.Keys.RETURN && e.keyCode !== Common.UI.Keys.SHIFT && e.keyCode !== Common.UI.Keys.CTRL && e.keyCode !== Common.UI.Keys.ALT && e.keyCode !== Common.UI.Keys.LEFT && e.keyCode !== Common.UI.Keys.RIGHT && e.keyCode !== Common.UI.Keys.HOME && e.keyCode !== Common.UI.Keys.END && e.keyCode !== Common.UI.Keys.ESC && e.keyCode !== Common.UI.Keys.INSERT && e.keyCode !== Common.UI.Keys.TAB) {
e.stopPropagation();
this.selectCandidate(e.keyCode == Common.UI.Keys.DELETE || e.keyCode == Common.UI.Keys.BACKSPACE);
if (this._selectedItem) {
var me = this;
setTimeout(function () {
var input = me._input[0],
text = me._selectedItem.get(me.displayField),
inputVal = input.value;
if (me.rendered) {
if (document.selection) {
document.selection.createRange().text = text;
} else {
if (input.selectionStart || input.selectionStart == "0") {
input.value = text;
input.selectionStart = inputVal.length;
input.selectionEnd = text.length;
}
}
}
},
10);
}
}
},
onInputKeyDown: function (e) {
var me = this;
if (e.keyCode == Common.UI.Keys.ESC) {
this.closeMenu();
this.onAfterHideMenu(e);
this._input.val(this.lastValue);
setTimeout(function () {
me.closeMenu();
me.onAfterHideMenu(e);
},
10);
} else {
if (e.keyCode != Common.UI.Keys.RETURN && e.keyCode != Common.UI.Keys.CTRL && e.keyCode != Common.UI.Keys.SHIFT && e.keyCode != Common.UI.Keys.ALT) {
if (!this.isMenuOpen()) {
@ -87,10 +159,11 @@ define(["common/main/lib/component/ComboBox"], function () {
_.delay(function () {
var selected = me.cmpEl.find("ul li.selected a");
if (selected.length <= 0) {
selected = me.cmpEl.find("ul li:first a");
selected = me.cmpEl.find("ul li:not(.divider):first a");
}
me._skipInputChange = true;
selected.focus();
me.updateVisibleFontsTiles();
},
10);
} else {
@ -120,6 +193,7 @@ define(["common/main/lib/component/ComboBox"], function () {
return;
}
record[this.valueField] = val;
record[this.displayField] = val;
this.trigger("changed:before", this, record, e);
if (e.isDefaultPrevented()) {
return;
@ -129,6 +203,12 @@ define(["common/main/lib/component/ComboBox"], function () {
this.setRawValue(record[this.valueField]);
this.trigger("selected", this, _.extend({},
this._selectedItem.toJSON()), e);
this.addItemToRecent(this._selectedItem);
this.closeMenu();
} else {
this.setRawValue(record[this.valueField]);
record["isNewFont"] = true;
this.trigger("selected", this, record, e);
this.closeMenu();
}
this.trigger("changed:after", this, record, e);
@ -153,6 +233,9 @@ define(["common/main/lib/component/ComboBox"], function () {
getImageHeight: function () {
return iconHeight;
},
getListItemHeight: function () {
return listItemHeight;
},
loadSprite: function (callback) {
if (callback) {
this.spriteThumbs = new Image();
@ -200,28 +283,11 @@ define(["common/main/lib/component/ComboBox"], function () {
var record = this.store.findWhere({
id: el.attr("id")
});
if (record.get("type") != FONT_TYPE_RECENT && !this.store.findWhere({
name: record.get("name"),
type: FONT_TYPE_RECENT
})) {
var fonts = this.store.where({
type: FONT_TYPE_RECENT
});
if (! (fonts.length < this.recent)) {
this.store.remove(fonts[0]);
}
var new_record = record.clone();
new_record.set({
"type": FONT_TYPE_RECENT,
"id": Common.UI.getId(),
cloneid: record.id
});
this.store.add(new_record);
}
this.addItemToRecent(record);
Common.UI.ComboBox.prototype.itemClicked.apply(this, arguments);
},
onInsertItem: function (item) {
$(this.el).find("ul").prepend(_.template(['<li id="<%= item.id %>">', '<a class="font-item" tabindex="-1" type="menuitem" style="display: block;">', '<img src="<%= scope.getImageUri(item) %>" width="<%= scope.getImageWidth() %>" height="<%= scope.getImageHeight() %>" style="vertical-align: middle;margin: 0 0 0 -10px;">', "</a>", "</li>"].join(""), {
$(this.el).find("ul").prepend(_.template(['<li id="<%= item.id %>">', '<a class="font-item" tabindex="-1" type="menuitem" style="vertical-align:middle; margin: 0 0 0 -10px; height:<%=scope.getListItemHeight()%>px;"/>', "</li>"].join(""), {
item: item.attributes,
scope: this
}));
@ -229,6 +295,17 @@ define(["common/main/lib/component/ComboBox"], function () {
onRemoveItem: function (item, store, opts) {
$(this.el).find("ul > li#" + item.id).remove();
},
onBeforeShowMenu: function (e) {
Common.UI.ComboBox.prototype.onBeforeShowMenu.apply(this, arguments);
if (!this.getSelectedRecord() && !!this.getRawValue()) {
var record = this.store.where({
name: this.getRawValue()
});
if (record && record.length) {
this.selectRecord(record[record.length - 1]);
}
}
},
onAfterShowMenu: function (e) {
if (this.recent > 0) {
if (this.scroller && !this._scrollerIsInited) {
@ -240,20 +317,52 @@ define(["common/main/lib/component/ComboBox"], function () {
} else {
Common.UI.ComboBox.prototype.onAfterShowMenu.apply(this, arguments);
}
this.updateVisibleFontsTiles(null, 0);
},
selectCandidate: function () {
onAfterHideMenu: function (e) {
if (this.lastValue !== this._input.val()) {
this._input.val(this.lastValue);
}
this.flushVisibleFontsTiles();
Common.UI.ComboBox.prototype.onAfterHideMenu.apply(this, arguments);
},
addItemToRecent: function (record) {
if (record.get("type") != FONT_TYPE_RECENT && !this.store.findWhere({
name: record.get("name"),
type: FONT_TYPE_RECENT
})) {
var fonts = this.store.where({
type: FONT_TYPE_RECENT
});
if (! (fonts.length < this.recent)) {
this.store.remove(fonts[this.recent - 1]);
}
var new_record = record.clone();
new_record.set({
"type": FONT_TYPE_RECENT,
"id": Common.UI.getId(),
cloneid: record.id
});
this.store.add(new_record, {
at: 0
});
}
},
selectCandidate: function (full) {
var me = this,
inputVal = this._input.val().toLowerCase();
if (!this._fontsArray) {
this._fontsArray = this.store.toJSON();
}
var font = _.find(this._fontsArray, function (font) {
return (font[me.displayField].toLowerCase().indexOf(inputVal) == 0);
return (full) ? (font[me.displayField].toLowerCase() == inputVal) : (font[me.displayField].toLowerCase().indexOf(inputVal) == 0);
});
if (font) {
this._selectedItem = this.store.findWhere({
id: font.id
});
} else {
this._selectedItem = null;
}
$(".selected", $(this.el)).removeClass("selected");
if (this._selectedItem) {
@ -268,6 +377,63 @@ define(["common/main/lib/component/ComboBox"], function () {
}
}
}
},
updateVisibleFontsTiles: function (e, scrollY) {
var me = this,
j = 0,
storeCount = me.store.length,
index = 0;
if (!me.tiles) {
me.tiles = [];
}
if (storeCount !== me.tiles.length) {
for (j = me.tiles.length; j < storeCount; ++j) {
me.tiles.push(null);
}
}
if (_.isUndefined(scrollY)) {
scrollY = parseInt($(me.el).find(".ps-scrollbar-x-rail").css("bottom"));
}
var scrollH = $(me.el).find(".dropdown-menu").height(),
count = Math.max(Math.floor(scrollH / listItemHeight) + 3, 0),
from = Math.max(Math.floor(-(scrollY / listItemHeight)) - 1, 0),
to = from + count;
var listItems = $(me.el).find("a");
for (j = 0; j < storeCount; ++j) {
if (from <= j && j < to) {
if (null === me.tiles[j]) {
var fontImage = document.createElement("canvas");
var context = fontImage.getContext("2d");
fontImage.height = isRetina ? iconHeight * 2 : iconHeight;
fontImage.width = isRetina ? iconWidth * 2 : iconWidth;
fontImage.style.width = iconWidth + "px";
fontImage.style.height = iconHeight + "px";
index = me.store.at(j).get("imgidx");
if (isRetina) {
context.clearRect(0, 0, iconWidth * 2, iconHeight * 2);
context.drawImage(me.spriteThumbs, 0, -FONT_THUMBNAIL_HEIGHT * 2 * index);
} else {
context.clearRect(0, 0, iconWidth, iconHeight);
context.drawImage(me.spriteThumbs, 0, -FONT_THUMBNAIL_HEIGHT * index);
}
me.tiles[j] = fontImage;
$(listItems[j]).get(0).appendChild(fontImage);
}
} else {
if (me.tiles[j]) {
me.tiles[j].parentNode.removeChild(me.tiles[j]);
me.tiles[j] = null;
}
}
}
},
flushVisibleFontsTiles: function () {
for (var j = this.tiles.length - 1; j >= 0; --j) {
if (this.tiles[j]) {
this.tiles[j].parentNode.removeChild(this.tiles[j]);
this.tiles[j] = null;
}
}
}
};
})());

View file

@ -51,13 +51,13 @@
setMode: function (mode) {
this.mode = mode;
if (this.api) {
if (this.mode.canCoAuthoring) {
if (this.mode.canCoAuthoring && this.mode.canChat) {
this.api.asc_registerCallback("asc_onCoAuthoringChatReceiveMessage", _.bind(this.onReceiveMessage, this));
}
this.api.asc_registerCallback("asc_onAuthParticipantsChanged", _.bind(this.onUsersChanged, this));
this.api.asc_registerCallback("asc_onConnectionStateChanged", _.bind(this.onUserConnection, this));
this.api.asc_coAuthoringGetUsers();
if (this.mode.canCoAuthoring) {
if (this.mode.canCoAuthoring && this.mode.canChat) {
this.api.asc_coAuthoringChatGetMessages();
}
}

View file

@ -616,6 +616,9 @@ define(["core", "common/main/lib/model/Comment", "common/main/lib/collection/Com
if (hint && this.isSelectedComment && (0 === _.difference(this.uids, uids).length)) {
return;
}
if (this.mode && !this.mode.canComments) {
hint = true;
}
if (this.getPopover()) {
this.clearDummyComment();
if (this.isSelectedComment && (0 === _.difference(this.uids, uids).length)) {
@ -817,7 +820,7 @@ define(["core", "common/main/lib/model/Comment", "common/main/lib/collection/Com
this.view.update();
},
disableHint: function (comment) {
if (comment) {
if (comment && this.mode.canComments) {
comment.set("hint", false);
this.isSelectedComment = true;
}

View file

@ -0,0 +1,119 @@
/*
* (c) Copyright Ascensio System SIA 2010-2015
*
* This program is a free software product. You can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License (AGPL)
* version 3 as published by the Free Software Foundation. In accordance with
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
* that Ascensio System SIA expressly excludes the warranty of non-infringement
* of any third-party rights.
*
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
*
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
* EU, LV-1021.
*
* The interactive user interfaces in modified source and object code versions
* of the Program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU AGPL version 3.
*
* Pursuant to Section 7(b) of the License you must retain the original Product
* logo when distributing the program. Pursuant to Section 7(e) we decline to
* grant you any rights under trademark law for use of our trademarks.
*
* All the Product's GUI elements, including illustrations and icon sets, as
* well as technical writing content are licensed under the terms of the
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
*
*/
define(["core", "common/main/lib/collection/HistoryVersions", "common/main/lib/view/History"], function () {
Common.Controllers.History = Backbone.Controller.extend(_.extend({
models: [],
collections: ["Common.Collections.HistoryVersions"],
views: ["Common.Views.History"],
initialize: function () {
this.currentChangeId = -1;
this.currentArrColors = [];
this.currentDocId = "";
this.currentDocIdPrev = "";
},
events: {},
onLaunch: function () {
this.panelHistory = this.createView("Common.Views.History", {
storeHistory: this.getApplication().getCollection("Common.Collections.HistoryVersions")
});
this.panelHistory.on("render:after", _.bind(this.onAfterRender, this));
Common.Gateway.on("sethistorydata", _.bind(this.onSetHistoryData, this));
},
setApi: function (api) {
this.api = api;
},
onAfterRender: function (historyView) {
historyView.viewHistoryList.on("item:click", _.bind(this.onSelectRevision, this));
historyView.btnBackToDocument.on("click", _.bind(this.onClickBackToDocument, this));
},
onSelectRevision: function (picker, item, record) {
var url = record.get("url"),
rev = record.get("revision");
this.currentChangeId = record.get("changeid");
this.currentArrColors = record.get("arrColors");
this.currentDocId = record.get("docId");
this.currentDocIdPrev = record.get("docIdPrev");
if (_.isEmpty(url)) {
_.delay(function () {
Common.Gateway.requestHistoryData(rev);
},
10);
} else {
var urlDiff = record.get("urlDiff"),
hist = new Asc.asc_CVersionHistory();
hist.asc_setDocId(_.isEmpty(urlDiff) ? this.currentDocId : this.currentDocIdPrev);
hist.asc_setUrl(url);
hist.asc_setUrlChanges(urlDiff);
hist.asc_setCurrentChangeId(this.currentChangeId);
hist.asc_setArrColors(this.currentArrColors);
this.api.asc_showRevision(hist);
}
},
onSetHistoryData: function (opts) {
if (opts.data.error) {
var config = {
closable: false,
title: this.notcriticalErrorTitle,
msg: opts.data.error,
iconCls: "warn",
buttons: ["ok"]
};
Common.UI.alert(config);
} else {
var data = opts.data;
var historyStore = this.getApplication().getCollection("Common.Collections.HistoryVersions");
if (historyStore && data !== null) {
var rev, revisions = historyStore.findRevisions(data.version);
if (revisions && revisions.length > 0) {
for (var i = 0; i < revisions.length; i++) {
rev = revisions[i];
rev.set("url", opts.data.url);
rev.set("urlDiff", opts.data.urlDiff);
}
}
var hist = new Asc.asc_CVersionHistory();
hist.asc_setUrl(opts.data.url);
hist.asc_setUrlChanges(opts.data.urlDiff);
hist.asc_setDocId(_.isEmpty(opts.data.urlDiff) ? this.currentDocId : this.currentDocIdPrev);
hist.asc_setCurrentChangeId(this.currentChangeId);
hist.asc_setArrColors(this.currentArrColors);
this.api.asc_showRevision(hist);
}
}
},
onClickBackToDocument: function () {
Common.Gateway.requestHistoryClose();
},
notcriticalErrorTitle: "Warning"
},
Common.Controllers.History || {}));
});

View file

@ -0,0 +1,57 @@
/*
* (c) Copyright Ascensio System SIA 2010-2015
*
* This program is a free software product. You can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License (AGPL)
* version 3 as published by the Free Software Foundation. In accordance with
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
* that Ascensio System SIA expressly excludes the warranty of non-infringement
* of any third-party rights.
*
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
*
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
* EU, LV-1021.
*
* The interactive user interfaces in modified source and object code versions
* of the Program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU AGPL version 3.
*
* Pursuant to Section 7(b) of the License you must retain the original Product
* logo when distributing the program. Pursuant to Section 7(e) we decline to
* grant you any rights under trademark law for use of our trademarks.
*
* All the Product's GUI elements, including illustrations and icon sets, as
* well as technical writing content are licensed under the terms of the
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
*
*/
if (Common === undefined) {
var Common = {};
}
Common.Models = Common.Models || {};
define(["underscore", "backbone", "common/main/lib/component/BaseView"], function (_, Backbone) {
Common.Models.HistoryVersion = Backbone.Model.extend({
defaults: function () {
return {
version: 0,
revision: 0,
changeid: undefined,
userid: undefined,
username: "Guest",
usercolor: "#ff0000",
created: undefined,
id: Common.UI.getId(),
url: "",
urlDiff: "",
docId: "",
docIdPrev: "",
arrColors: [],
markedAsVersion: false
};
}
});
});

View file

@ -36,6 +36,7 @@
id: undefined,
username: "Guest",
color: "#fff",
colorval: null,
online: false
}
});

View file

@ -211,6 +211,9 @@
scrollbarXLeft = containerWidth - scrollbarXWidth;
}
updateScrollbarCss();
if (settings.onChange) {
settings.onChange(this);
}
};
var bindMouseScrollXHandler = function () {
var currentLeft, currentPageX;

View file

@ -490,6 +490,27 @@ Common.Utils.showBrowserRestriction = function () {
$("#loading-mask").hide().remove();
$("#viewport").hide().remove();
};
Common.Utils.applyCustomization = function (config, elmap) {
for (var name in config) {
var $el;
if ( !! elmap[name]) {
$el = $(elmap[name]);
if ($el.length) {
var item = config[name];
if (item === false || item.visible === false) {
$el.hide();
} else {
if ( !! item.text) {
$el.text(item.text);
}
if (item.visible === false) {
$el.hide();
}
}
}
}
}
};
String.prototype.strongMatch = function (regExp) {
if (regExp && regExp instanceof RegExp) {
var arr = this.toString().match(regExp);

View file

@ -68,20 +68,21 @@
return this;
},
setLicInfo: function (data) {
if (data && typeof(data) == "object") {
if (data && typeof(data) == "object" && typeof(data.customer) == "object") {
var customer = data.customer;
$("#id-about-licensor-logo").addClass("hidden");
$("#id-about-licensor-short").removeClass("hidden");
this.cntLicensorInfo.addClass("hidden");
this.cntLicenseeInfo.removeClass("hidden");
this.cntLicensorInfo.removeClass("margin-bottom");
var value = data.customer;
var value = customer.name;
value && value.length ? this.lblCompanyName.text(value) : this.lblCompanyName.parents("tr").addClass("hidden");
value = data.customerAddr;
value = customer.address;
value && value.length ? this.lblCompanyAddress.text(value) : this.lblCompanyAddress.parents("tr").addClass("hidden");
(value = data.customerMail) && value.length ? this.lblCompanyMail.attr("href", "mailto:" + value).text(value) : this.lblCompanyMail.parents("tr").addClass("hidden");
(value = data.customerWww) && value.length ? this.lblCompanyUrl.attr("href", "http://" + value).text(value) : this.lblCompanyUrl.parents("tr").addClass("hidden");
(value = data.customerInfo) && value.length ? this.lblCompanyLic.text(value) : this.lblCompanyLic.parents("tr").addClass("hidden");
(value = data.customerLogo) && value.length ? this.divCompanyLogo.html('<img src="' + value + '" />') : this.divCompanyLogo.parents("tr").addClass("hidden");
(value = customer.mail) && value.length ? this.lblCompanyMail.attr("href", "mailto:" + value).text(value) : this.lblCompanyMail.parents("tr").addClass("hidden");
(value = customer.www) && value.length ? this.lblCompanyUrl.attr("href", "http://" + value).text(value) : this.lblCompanyUrl.parents("tr").addClass("hidden");
(value = customer.info) && value.length ? this.lblCompanyLic.text(value) : this.lblCompanyLic.parents("tr").addClass("hidden");
(value = customer.logo) && value.length ? this.divCompanyLogo.html('<img src="' + value + '" />') : this.divCompanyLogo.parents("tr").addClass("hidden");
} else {
this.cntLicenseeInfo.addClass("hidden");
this.cntLicensorInfo.addClass("margin-bottom");

View file

@ -54,7 +54,7 @@ define(["backbone", "text!common/main/lib/template/Header.template", "core"], fu
this.headerCaption = this.options.headerCaption;
this.documentCaption = this.options.documentCaption;
this.canBack = this.options.canBack;
this.branding = this.options.branding;
this.branding = this.options.customization;
},
render: function () {
$(this.el).html(this.template({

View file

@ -0,0 +1,66 @@
/*
* (c) Copyright Ascensio System SIA 2010-2015
*
* This program is a free software product. You can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License (AGPL)
* version 3 as published by the Free Software Foundation. In accordance with
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
* that Ascensio System SIA expressly excludes the warranty of non-infringement
* of any third-party rights.
*
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
*
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
* EU, LV-1021.
*
* The interactive user interfaces in modified source and object code versions
* of the Program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU AGPL version 3.
*
* Pursuant to Section 7(b) of the License you must retain the original Product
* logo when distributing the program. Pursuant to Section 7(e) we decline to
* grant you any rights under trademark law for use of our trademarks.
*
* All the Product's GUI elements, including illustrations and icon sets, as
* well as technical writing content are licensed under the terms of the
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
*
*/
if (Common === undefined) {
var Common = {};
}
Common.Views = Common.Views || {};
define(["common/main/lib/util/utils", "common/main/lib/component/BaseView", "common/main/lib/component/Layout"], function (template) {
Common.Views.History = Common.UI.BaseView.extend(_.extend({
el: "#left-panel-history",
storeHistory: undefined,
template: _.template(['<div id="history-box" class="layout-ct vbox">', '<div id="history-header" class="">', '<label id="history-btn-back" class="btn"><%=scope.textHistoryHeader%></label>', "</div>", '<div id="history-list" class="">', "</div>", "</div>"].join("")),
initialize: function (options) {
_.extend(this, options);
Common.UI.BaseView.prototype.initialize.call(this, arguments);
},
render: function (el) {
el = el || this.el;
$(el).html(this.template({
scope: this
})).width((parseInt(localStorage.getItem("de-mainmenu-width")) || MENU_SCALE_PART) - SCALE_MIN);
this.viewHistoryList = new Common.UI.DataView({
el: $("#history-list"),
store: this.storeHistory,
enableKeyEvents: false,
itemTemplate: _.template(['<div id="<%= id %>" class="history-item-wrap" style="display: block;">', '<div class="user-date"><%= created %></div>', "<% if (markedAsVersion) { %>", '<div class="user-version">ver.<%=version%></div>', "<% } %>", '<div class="user-name">', '<div class="color" style="display: inline-block; background-color:' + "<%=usercolor%>;" + '" >', "</div><%= Common.Utils.String.htmlEncode(username) %>", "</div>", "</div>"].join(""))
});
this.btnBackToDocument = new Common.UI.Button({
el: $("#history-btn-back"),
enableToggle: false
});
this.trigger("render:after", this);
return this;
},
textHistoryHeader: "Back to Document"
},
Common.Views.History || {}));
});

View file

@ -43,7 +43,6 @@
display: inline-block;
float: left;
margin-left: -18px;
background-image: ~"url('@{common-image-path}/@{common-controls}')";
background-repeat: no-repeat;
background-position: @menu-check-offset-x @menu-check-offset-y;
.background-ximage('@{common-image-path}/@{common-controls}', '@{common-image-path}/@{common-controls2x}', 100px);

View file

@ -0,0 +1,129 @@
#history-box {
position: relative;
width: 100%;
height: 100%;
border-collapse: collapse;
background-color: #f4f4f4;
border-right: 1px solid #cbcbcb;
.layout-resizer {
border-bottom:none !important;
border-top:none !important;
&.move {
border-top: 1px solid @gray-dark !important;
border-bottom: 1px solid @gray-dark !important;
opacity: 0.4;
}
}
#history-header {
position: absolute;
height: 45px;
text-align: center;
left: 0;
top: 0;
right: 0;
overflow: hidden;
border-bottom: 1px solid @gray-dark;
label {
color: @black;
font-size: 12px;
font-family: arial;
line-height: normal;
border-bottom: 1px dotted @black;
padding-top: 12px;
outline: none;
height: 29px;
cursor: pointer;
}
}
#history-list {
height: 100%;
overflow: hidden;
padding-top: 45px;
.dataview {
& > div:not(.ps-scrollbar-x-rail):not(.ps-scrollbar-y-rail) {
display: block;
border: none;
width: 100%;
.box-shadow(none);
margin: 0;
font-size: 12px;
&:hover:not(.selected),
&.over {
background-color: #e5e5e5;
.user-version {
color: #fff;
background-color: #ababab;
}
}
&.selected {
background-color: @primary;
.user-date {
color: #fff;
}
.user-name {
color: #fff;
}
}
}
.history-item-wrap {
padding: 10px 2px 15px 20px;
.user-date {
display: inline-block;
color: @gray-deep;
font-size: 12px;
font-weight: bold;
min-width: 135px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.user-version {
display: inline-block;
width: 36px;
height: 18px;
color: @primary;
font-size: 10px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
background-color: #e6e6e6;
text-align: center;
padding: 1px 0;
border-radius: 2px;
}
.user-name {
width: 100%;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
color: @gray-deep;
font-size: 12px;
cursor: pointer;
}
.color {
width: 12px;
height: 12px;
border: 1px solid @gray-dark;
margin: 0 5px 3px 0;
vertical-align: middle;
}
}
}
}
}

View file

@ -21,11 +21,6 @@
width: 9px;
background-color: @gray-light;
// background-image: ~"url('@{common-image-path}/controls/Scroll_center.png')";
// background-image: ~"-webkit-image-set(url('@{common-image-path}/controls/Scroll_center.png') 1x, url('@{common-image-path}/controls/Scroll_center@2x.png') 2x)";
/*background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAANCAYAAACZ3F9/AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6RURFNzkyNkE0RTFGMTFFNDkyRUNFRUEwNkNERTY4N0QiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6RURFNzkyNkI0RTFGMTFFNDkyRUNFRUEwNkNERTY4N0QiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpFREU3OTI2ODRFMUYxMUU0OTJFQ0VFQTA2Q0RFNjg3RCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpFREU3OTI2OTRFMUYxMUU0OTJFQ0VFQTA2Q0RFNjg3RCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PtLoUWcAAAA2SURBVHjaYvz//z8DCFy4cAHCgABGEGFoaAjmfPz4EUOOAaQRppkUwDhq46iNdLORGUQABBgA2y5vq3CS7yUAAAAASUVORK5CYII=');*/
/*background-image: -webkit-image-set(url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAANCAYAAACZ3F9/AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6RURFNzkyNkE0RTFGMTFFNDkyRUNFRUEwNkNERTY4N0QiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6RURFNzkyNkI0RTFGMTFFNDkyRUNFRUEwNkNERTY4N0QiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpFREU3OTI2ODRFMUYxMUU0OTJFQ0VFQTA2Q0RFNjg3RCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpFREU3OTI2OTRFMUYxMUU0OTJFQ0VFQTA2Q0RFNjg3RCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PtLoUWcAAAA2SURBVHjaYvz//z8DCFy4cAHCgABGEGFoaAjmfPz4EUOOAaQRppkUwDhq46iNdLORGUQABBgA2y5vq3CS7yUAAAAASUVORK5CYII=') 1x,*/
/*url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAaCAYAAACkVDyJAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6RDlFQjdBRjE0RTFGMTFFNDk3Q0ZDOUVBNkQwRkFGNTYiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6RDlFQjdBRjI0RTFGMTFFNDk3Q0ZDOUVBNkQwRkFGNTYiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpEOUVCN0FFRjRFMUYxMUU0OTdDRkM5RUE2RDBGQUY1NiIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpEOUVCN0FGMDRFMUYxMUU0OTdDRkM5RUE2RDBGQUY1NiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PupPpWQAAABYSURBVHjaYvz//z8DMrhw4QKqABQYGBgwMuABnz59wqqPj48PRR8TA50BCxYxRjLNIkrfoPDhfzJ9QJS+0TgcjcPROByNw9E4HI3D0TgcjcPROCQDAAQYAPFLF1XTzO2YAAAAAElFTkSuQmCC') 2x);*/
.background-ximage('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAANCAYAAACZ3F9/AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6RURFNzkyNkE0RTFGMTFFNDkyRUNFRUEwNkNERTY4N0QiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6RURFNzkyNkI0RTFGMTFFNDkyRUNFRUEwNkNERTY4N0QiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpFREU3OTI2ODRFMUYxMUU0OTJFQ0VFQTA2Q0RFNjg3RCIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpFREU3OTI2OTRFMUYxMUU0OTJFQ0VFQTA2Q0RFNjg3RCIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PtLoUWcAAAA2SURBVHjaYvz//z8DCFy4cAHCgABGEGFoaAjmfPz4EUOOAaQRppkUwDhq46iNdLORGUQABBgA2y5vq3CS7yUAAAAASUVORK5CYII=',
'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAaCAYAAACkVDyJAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoV2luZG93cykiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6RDlFQjdBRjE0RTFGMTFFNDk3Q0ZDOUVBNkQwRkFGNTYiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6RDlFQjdBRjI0RTFGMTFFNDk3Q0ZDOUVBNkQwRkFGNTYiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpEOUVCN0FFRjRFMUYxMUU0OTdDRkM5RUE2RDBGQUY1NiIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpEOUVCN0FGMDRFMUYxMUU0OTdDRkM5RUE2RDBGQUY1NiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PupPpWQAAABYSURBVHjaYvz//z8DMrhw4QKqABQYGBgwMuABnz59wqqPj48PRR8TA50BCxYxRjLNIkrfoPDhfzJ9QJS+0TgcjcPROByNw9E4HI3D0TgcjcPROCQDAAQYAPFLF1XTzO2YAAAAAElFTkSuQmCC', 14px);

View file

@ -198,7 +198,7 @@
<div class="toolbar" id="toolbar">
<ul class="left">
<li><a class="brand-logo" href="http://www.onlyoffice.com/" target="_blank"></a></li>
<li><a id="header-logo" class="brand-logo" href="http://www.onlyoffice.com/" target="_blank"></a></li>
<li class="separator"></li>
<li id="id-btn-copy"><button class="control-btn"><i class="control-icon-save"></i><span>Save Copy</span></button></li>
<li id="id-btn-share"><button class="control-btn"><i class="control-icon-share"></i><span>Share</span></button></li>

View file

@ -188,7 +188,7 @@
<div class="toolbar" id="toolbar">
<ul class="left">
<li><a class="brand-logo" href="http://www.onlyoffice.com/" target="_blank"></a></li>
<li><a id="header-logo" class="brand-logo" href="http://www.onlyoffice.com/" target="_blank"></a></li>
<li class="separator"></li>
<li id="id-btn-copy"><button class="control-btn"><i class="control-icon-save"></i><span>Save Copy</span></button></li>
<li id="id-btn-share"><button class="control-btn"><i class="control-icon-share"></i><span>Share</span></button></li>

View file

@ -30,7 +30,8 @@
*
*/
var ApplicationController = new(function () {
var me, api, docConfig = {},
var me, api, config = {},
docConfig = {},
embedConfig = {},
permissions = {},
maxPages = 0,
@ -40,6 +41,7 @@
embedCode = '<iframe allowtransparency="true" frameborder="0" scrolling="no" src="{embed-url}" width="{width}" height="{height}"></iframe>',
maxZIndex = 9090,
created = false;
Common.Analytics.initialize("UA-12442749-13", "Embedded ONLYOFFICE Document");
if (typeof isBrowserSupported !== "undefined" && !isBrowserSupported()) {
Common.Gateway.reportError(undefined, "Your browser is not supported.");
return;
@ -80,6 +82,7 @@
}
}
function loadConfig(data) {
config = $.extend(config, data.config);
embedConfig = $.extend(embedConfig, data.config.embedded);
$("#id-short-url").val(embedConfig.shareUrl || "Unavailable");
$("#id-textarea-embed").text(embedCode.replace("{embed-url}", embedConfig.embedUrl).replace("{width}", minEmbedWidth).replace("{height}", minEmbedHeight));
@ -99,7 +102,7 @@
if (typeof embedConfig.fullscreenUrl === "undefined") {
$("#id-btn-fullscreen").hide();
}
if (typeof data.config.canBackToFolder === "undefined" || !data.config.canBackToFolder) {
if (typeof config.canBackToFolder === "undefined" || !config.canBackToFolder) {
$("#id-btn-close").hide();
}
if (embedConfig.toolbarDocked === "top") {
@ -125,6 +128,8 @@
docInfo.put_Format(docConfig.fileType);
docInfo.put_VKey(docConfig.vkey);
if (api) {
api.asc_registerCallback("asc_onGetEditorPermissions", onEditorPermissions);
api.asc_getEditorPermissions();
api.LoadDocument(docInfo);
api.Resize();
api.zoomFitToWidth();
@ -207,6 +212,15 @@
hidePreloader();
Common.Analytics.trackEvent("Load", "Complete");
}
function onEditorPermissions(params) {
if (params.asc_getCanBranding() && (typeof config.customization == "object") && config.customization && config.customization.logoUrlEmbedded) {
$("#header-logo").css({
"background-image": 'url("' + config.customization.logoUrlEmbedded + '")',
"background-position": "0 center",
"background-repeat": "no-repeat"
});
}
}
function showMask() {
$("#id-loadmask").modal({
backdrop: "static",

View file

@ -43,6 +43,8 @@ require.config({
jmousewheel: "../vendor/perfect-scrollbar/src/jquery.mousewheel",
xregexp: "../vendor/xregexp/xregexp-all-min",
sockjs: "../vendor/sockjs/sockjs.min",
jszip: "../vendor/jszip/jszip.min",
jsziputils: "../vendor/jszip-utils/jszip-utils.min",
allfonts: "../sdk/Common/AllFonts",
sdk: "../sdk/Word/sdk-all",
api: "api/documents/api",
@ -76,7 +78,7 @@ require.config({
deps: ["backbone", "notification", "irregularstack"]
},
sdk: {
deps: ["jquery", "underscore", "allfonts", "xregexp", "sockjs"]
deps: ["jquery", "underscore", "allfonts", "xregexp", "sockjs", "jszip", "jsziputils"]
},
gateway: {
deps: ["jquery"]
@ -91,10 +93,10 @@ require(["backbone", "bootstrap", "core", "sdk", "api", "analytics", "gateway",
var app = new Backbone.Application({
nameSpace: "DE",
autoCreate: false,
controllers: ["Viewport", "DocumentHolder", "Toolbar", "Statusbar", "RightMenu", "LeftMenu", "Main", "Common.Controllers.Fonts", "Common.Controllers.Chat", "Common.Controllers.Comments", "Common.Controllers.ExternalDiagramEditor"]
controllers: ["Viewport", "DocumentHolder", "Toolbar", "Statusbar", "RightMenu", "LeftMenu", "Main", "Common.Controllers.Fonts", "Common.Controllers.History", "Common.Controllers.Chat", "Common.Controllers.Comments", "Common.Controllers.ExternalDiagramEditor"]
});
Common.Locale.apply();
require(["documenteditor/main/app/controller/Viewport", "documenteditor/main/app/controller/DocumentHolder", "documenteditor/main/app/controller/Toolbar", "documenteditor/main/app/controller/Statusbar", "documenteditor/main/app/controller/RightMenu", "documenteditor/main/app/controller/LeftMenu", "documenteditor/main/app/controller/Main", "documenteditor/main/app/view/ParagraphSettings", "documenteditor/main/app/view/HeaderFooterSettings", "documenteditor/main/app/view/ImageSettings", "documenteditor/main/app/view/TableSettings", "documenteditor/main/app/view/ShapeSettings", "common/main/lib/util/utils", "common/main/lib/controller/Fonts", "common/main/lib/controller/Comments", "common/main/lib/controller/Chat", "documenteditor/main/app/view/ChartSettings", "common/main/lib/controller/ExternalDiagramEditor"], function () {
require(["documenteditor/main/app/controller/Viewport", "documenteditor/main/app/controller/DocumentHolder", "documenteditor/main/app/controller/Toolbar", "documenteditor/main/app/controller/Statusbar", "documenteditor/main/app/controller/RightMenu", "documenteditor/main/app/controller/LeftMenu", "documenteditor/main/app/controller/Main", "documenteditor/main/app/view/ParagraphSettings", "documenteditor/main/app/view/HeaderFooterSettings", "documenteditor/main/app/view/ImageSettings", "documenteditor/main/app/view/TableSettings", "documenteditor/main/app/view/ShapeSettings", "common/main/lib/util/utils", "common/main/lib/controller/Fonts", "common/main/lib/controller/History", "common/main/lib/controller/Comments", "common/main/lib/controller/Chat", "documenteditor/main/app/view/ChartSettings", "common/main/lib/controller/ExternalDiagramEditor"], function () {
app.start();
});
});

View file

@ -92,10 +92,13 @@
this.api.asc_registerCallback("asc_onReplaceAll", _.bind(this.onApiTextReplaced, this));
this.api.asc_registerCallback("asc_onСoAuthoringDisconnect", _.bind(this.onApiServerDisconnect, this));
Common.NotificationCenter.on("api:disconnect", _.bind(this.onApiServerDisconnect, this));
if (this.mode.canCoAuthoring) {
if (this.mode.canCoAuthoring && this.mode.canChat) {
this.api.asc_registerCallback("asc_onCoAuthoringChatReceiveMessage", _.bind(this.onApiChatMessage, this));
}
this.leftMenu.getMenu("file").setApi(api);
if (this.mode.canUseHistory) {
this.getApplication().getController("Common.Controllers.History").setApi(this.api);
}
return this;
},
setMode: function (mode) {
@ -106,14 +109,21 @@
},
createDelayedElements: function () {
if (this.mode.canCoAuthoring) {
this.leftMenu.btnComments[this.mode.isEdit ? "show" : "hide"]();
this.leftMenu.btnChat.show();
this.leftMenu.setOptionsPanel("chat", this.getApplication().getController("Common.Controllers.Chat").getView("Common.Views.Chat"));
this.leftMenu.btnComments[this.mode.isEdit && this.mode.canComments ? "show" : "hide"]();
if (this.mode.canComments) {
this.leftMenu.setOptionsPanel("comment", this.getApplication().getController("Common.Controllers.Comments").getView("Common.Views.Comments"));
}
this.leftMenu.btnChat[this.mode.canChat ? "show" : "hide"]();
if (this.mode.canChat) {
this.leftMenu.setOptionsPanel("chat", this.getApplication().getController("Common.Controllers.Chat").getView("Common.Views.Chat"));
}
} else {
this.leftMenu.btnChat.hide();
this.leftMenu.btnComments.hide();
}
if (this.mode.canUseHistory) {
this.leftMenu.setOptionsPanel("history", this.getApplication().getController("Common.Controllers.History").getView("Common.Views.History"));
}
Common.util.Shortcuts.resumeEvents();
return this;
},
@ -142,6 +152,30 @@
this.onCreateNew(undefined, "blank");
}
break;
case "history":
if (this.api.isDocumentModified()) {
var me = this;
this.api.asc_stopSaving();
Common.UI.warning({
closable: false,
title: this.notcriticalErrorTitle,
msg: this.leavePageText,
buttons: ["ok", "cancel"],
primary: "ok",
callback: _.bind(function (btn) {
if (btn == "ok") {
me.api.asc_undoAllChanges();
me.showHistory();
} else {
me.api.asc_continueSaving();
}
},
this)
});
} else {
this.showHistory();
}
break;
default:
close_menu = false;
}
@ -231,7 +265,7 @@
}
},
clickStatusbarUsers: function () {
if (this.mode.canCoAuthoring) {
if (this.mode.canCoAuthoring && this.mode.canChat) {
if (this.leftMenu.btnChat.pressed) {
this.leftMenu.close();
} else {
@ -333,6 +367,14 @@
this.dlgSearch["hide"]();
}
},
SetDisabled: function (disable) {
this.mode.isEdit = !disable;
if (disable) {
this.leftMenu.close();
}
this.leftMenu.btnComments.setDisabled(disable);
this.leftMenu.btnChat.setDisabled(disable);
},
onApiChatMessage: function () {
this.leftMenu.markCoauthOptions();
},
@ -405,13 +447,13 @@
}
break;
case "chat":
if (this.mode.canCoAuthoring) {
if (this.mode.canCoAuthoring && this.mode.canChat) {
Common.UI.Menu.Manager.hideAll();
this.leftMenu.showMenu("chat");
}
return false;
case "comments":
if (this.mode.canCoAuthoring && this.mode.isEdit) {
if (this.mode.canCoAuthoring && this.mode.isEdit && this.mode.canComments) {
Common.UI.Menu.Manager.hideAll();
this.leftMenu.showMenu("comments");
this.getApplication().getController("Common.Controllers.Comments").focusOnInput();
@ -419,11 +461,25 @@
return false;
}
},
showHistory: function () {
var maincontroller = DE.getController("Main");
if (!maincontroller.loadMask) {
maincontroller.loadMask = new Common.UI.LoadMask({
owner: $("#viewport")
});
}
maincontroller.loadMask.setTitle(this.textLoadHistory);
maincontroller.loadMask.show();
Common.Gateway.requestHistory();
},
textNoTextFound: "Text not found",
newDocumentTitle: "Unnamed document",
requestEditRightsText: "Requesting editing rights...",
textReplaceSuccess: "Search has been done. {0} occurrences have been replaced",
textReplaceSkipped: "The replacement has been made. {0} occurrences were skipped."
textReplaceSkipped: "The replacement has been made. {0} occurrences were skipped.",
textLoadHistory: "Loading versions history...",
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."
},
DE.Controllers.LeftMenu || {}));
});

View file

@ -33,9 +33,14 @@
DE.Controllers.Main = Backbone.Controller.extend(_.extend((function () {
var ApplyEditRights = -255;
var LoadingDocument = -256;
var mapCustomizationElements = {
about: "button#left-btn-about",
feedback: "button#left-btn-support",
goback: "#fm-btn-back > a, #header-back > div"
};
return {
models: [],
collections: ["ShapeGroups", "EquationGroups"],
collections: ["ShapeGroups", "EquationGroups", "Common.Collections.HistoryUsers"],
views: [],
initialize: function () {},
onLaunch: function () {
@ -49,7 +54,9 @@
return obj1.type === obj2.type;
}
});
this._state = {};
this._state = {
isDisconnected: false
};
if (!Common.Utils.isBrowserSupported()) {
Common.Utils.showBrowserRestriction();
Common.Gateway.reportError(undefined, this.unsupportedBrowserErrorText);
@ -161,8 +168,9 @@
this.appOptions.user = this.editorConfig.user;
this.appOptions.canBack = this.editorConfig.nativeApp !== true && this.editorConfig.canBackToFolder === true;
this.appOptions.nativeApp = this.editorConfig.nativeApp === true;
this.appOptions.canCreateNew = !_.isEmpty(this.editorConfig.createUrl);
this.appOptions.canOpenRecent = this.editorConfig.nativeApp !== true && this.editorConfig.recent !== undefined;
this.appOptions.isDesktopApp = this.editorConfig.targetApp == "desktop";
this.appOptions.canCreateNew = !_.isEmpty(this.editorConfig.createUrl) && !this.appOptions.isDesktopApp;
this.appOptions.canOpenRecent = this.editorConfig.nativeApp !== true && this.editorConfig.recent !== undefined && !this.appOptions.isDesktopApp;
this.appOptions.templates = this.editorConfig.templates;
this.appOptions.recent = this.editorConfig.recent;
this.appOptions.createUrl = this.editorConfig.createUrl;
@ -190,7 +198,6 @@
docInfo.put_UserId(this.editorConfig.user.id);
docInfo.put_UserName(this.editorConfig.user.name);
docInfo.put_CallbackUrl(this.editorConfig.callbackUrl);
docInfo.put_OfflineApp(this.editorConfig.nativeApp === true);
}
this.api.asc_registerCallback("asc_onGetEditorPermissions", _.bind(this.onEditorPermissions, this));
this.api.asc_setDocInfo(docInfo);
@ -211,7 +218,7 @@
onProcessRightsChange: function (data) {
if (data && data.enabled === false) {
this.api.asc_coAuthoringDisconnect();
this.getApplication().getController("LeftMenu").leftMenu.getMenu("file").panels["info"].onLostEditRights();
this.getApplication().getController("LeftMenu").leftMenu.getMenu("file").panels["rights"].onLostEditRights();
Common.UI.warning({
title: this.notcriticalErrorTitle,
msg: _.isEmpty(data.message) ? this.warnProcessRightsChange : data.message
@ -227,6 +234,144 @@
}
}
},
onRefreshHistory: function (opts) {
this.loadMask && this.loadMask.hide();
if (opts.data.error) {
var config = {
closable: false,
title: this.notcriticalErrorTitle,
msg: opts.data.error,
iconCls: "warn",
buttons: ["ok"],
callback: _.bind(function (btn) {
this.onEditComplete();
},
this)
};
Common.UI.alert(config);
} else {
this.api.asc_coAuthoringDisconnect();
this.getApplication().getController("LeftMenu").getView("LeftMenu").showHistory();
this.disableEditing(true);
var versions = opts.data.history,
historyStore = this.getApplication().getCollection("Common.Collections.HistoryVersions"),
currentVersion = null;
if (historyStore) {
var arrVersions = [],
ver,
version,
group = -1,
prev_ver = -1,
arrColors = [],
docIdPrev = "",
usersStore = this.getApplication().getCollection("Common.Collections.HistoryUsers"),
user = null,
usersCnt = 0;
for (ver = versions.length - 1; ver >= 0; ver--) {
version = versions[ver];
if (version && version.user) {
docIdPrev = (ver > 0 && versions[ver - 1]) ? versions[ver - 1].key : version.key + "0";
user = usersStore.findUser(version.user.id);
if (!user) {
user = new Common.Models.User({
id: version.user.id,
username: version.user.name,
colorval: c_oAscArrUserColors[usersCnt],
color: this.generateUserColor(c_oAscArrUserColors[usersCnt++])
});
usersStore.add(user);
}
arrVersions.push(new Common.Models.HistoryVersion({
version: version.version_group,
revision: version.version,
userid: version.user.id,
username: version.user.name,
usercolor: user.get("color"),
created: version.created,
docId: version.key,
markedAsVersion: (group !== version.version_group),
selected: (opts.data.currentVersion == version.version)
}));
if (opts.data.currentVersion == version.version) {
currentVersion = arrVersions[arrVersions.length - 1];
}
group = version.version_group;
if (prev_ver !== version.version) {
prev_ver = version.version;
arrColors.reverse();
for (i = 0; i < arrColors.length; i++) {
arrVersions[arrVersions.length - i - 2].set("arrColors", arrColors);
}
arrColors = [];
}
arrColors.push(user.get("colorval"));
var changes = version.changes,
change, i;
if (changes) {
if (changes.length > 0) {
arrVersions[arrVersions.length - 1].set("changeid", changes.length - 1);
arrVersions[arrVersions.length - 1].set("docIdPrev", docIdPrev);
}
for (i = changes.length - 2; i >= 0; i--) {
change = changes[i];
user = usersStore.findUser(change.user.id);
if (!user) {
user = new Common.Models.User({
id: change.user.id,
username: change.user.name,
colorval: c_oAscArrUserColors[usersCnt],
color: this.generateUserColor(c_oAscArrUserColors[usersCnt++])
});
usersStore.add(user);
}
arrVersions.push(new Common.Models.HistoryVersion({
version: version.version_group,
revision: version.version,
changeid: i,
userid: change.user.id,
username: change.user.name,
usercolor: user.get("color"),
created: change.created,
docId: version.key,
docIdPrev: docIdPrev,
selected: false
}));
arrColors.push(user.get("colorval"));
}
}
}
}
if (arrColors.length > 0) {
arrColors.reverse();
for (i = 0; i < arrColors.length; i++) {
arrVersions[arrVersions.length - i - 1].set("arrColors", arrColors);
}
arrColors = [];
}
historyStore[historyStore.size() > 0 ? "add" : "reset"](arrVersions);
if (currentVersion) {
this.getApplication().getController("Common.Controllers.History").onSelectRevision(null, null, currentVersion);
}
}
}
},
generateUserColor: function (color) {
return "#" + ("000000" + color.toString(16)).substr(-6);
},
disableEditing: function (disable) {
var app = this.getApplication();
if (this.appOptions.isEdit) {
app.getController("Toolbar").DisableToolbar(disable, disable);
app.getController("RightMenu").SetDisabled(disable, false);
app.getController("Statusbar").getView("Statusbar").btnLanguage.setDisabled(disable);
app.getController("Statusbar").getView("Statusbar").btnDocLanguage.setDisabled(disable);
var tooltip = app.getController("Toolbar").getView("Toolbar").synchTooltip;
if (tooltip) {
tooltip.hide();
}
}
app.getController("LeftMenu").SetDisabled(disable);
},
goBack: function () {
Common.Gateway.goBack();
},
@ -429,10 +574,12 @@
value = window.localStorage.getItem("de-settings-spellcheck");
me.api.asc_setSpellCheck(value === null || parseInt(value) == 1);
window.localStorage.setItem("de-settings-showsnaplines", me.api.get_ShowSnapLines() ? 1 : 0);
if ( !! window["AscDesktopEditor"]) {
Common.Utils.isIE9m && tips.push(me.warnBrowserIE9); ! Common.Utils.isGecko && (Math.abs(me.getBrowseZoomLevel() - 1) > 0.1) && tips.push(Common.Utils.String.platformKey(me.warnBrowserZoom, "{0}"));
if (tips.length) {
me.showTips(tips);
}
}
me.api.asc_registerCallback("asc_onStartAction", _.bind(me.onLongActionBegin, me));
me.api.asc_registerCallback("asc_onEndAction", _.bind(me.onLongActionEnd, me));
me.api.asc_registerCallback("asc_onСoAuthoringDisconnect", _.bind(me.onCoAuthoringDisconnect, me));
@ -463,7 +610,7 @@
statusbarController.createDelayedElements();
leftmenuController.getView("LeftMenu").disableMenu("all", false);
if (me.appOptions.canBranding) {
me.getApplication().getController("LeftMenu").leftMenu.getMenu("about").setLicInfo(me.editorConfig.branding);
me.getApplication().getController("LeftMenu").leftMenu.getMenu("about").setLicInfo(me.editorConfig.customization);
}
documentHolderController.getView("DocumentHolder").setApi(me.api).on("editcomplete", _.bind(me.onEditComplete, me));
if (me.appOptions.isEdit) {
@ -500,26 +647,33 @@
}
me.api.asc_setAutoSaveGap(value);
if (this.appOptions.canAnalytics) {
Common.Gateway.on("applyeditrights", _.bind(me.onApplyEditRights, me));
Common.component.Analytics.initialize("UA-12442749-13", "Document Editor");
}
Common.Gateway.on("applyeditrights", _.bind(me.onApplyEditRights, me));
Common.Gateway.on("processsaveresult", _.bind(me.onProcessSaveResult, me));
Common.Gateway.on("processrightschange", _.bind(me.onProcessRightsChange, me));
Common.Gateway.on("processmouse", _.bind(me.onProcessMouse, me));
Common.Gateway.on("refreshhistory", _.bind(me.onRefreshHistory, me));
$(document).on("contextmenu", _.bind(me.onContextMenu, me));
},
onOpenDocument: function () {},
onEditorPermissions: function (params) {
this.permissions.edit !== false && (this.permissions.edit = params.asc_getCanEdit());
this.permissions.download !== false && (this.permissions.download = params.asc_getCanDownload());
this.appOptions.canCoAuthoring = params.asc_getCanCoAuthoring();
this.appOptions.canCoAuthoring = true;
this.appOptions.canEdit = this.permissions.edit === true;
this.appOptions.isEdit = this.appOptions.canEdit && this.editorConfig.mode !== "view";
this.appOptions.canDownload = !this.appOptions.nativeApp && this.permissions.download;
this.appOptions.canAutosave = this.editorConfig.canAutosave !== false && params.asc_getIsAutosaveEnable();
this.appOptions.canAnalytics = params.asc_getIsAnalyticsEnable();
this.appOptions.canBranding = params.asc_getCanBranding() && (typeof(this.editorConfig.branding) == "object");
this.appOptions.canLicense = params.asc_getCanLicense ? params.asc_getCanLicense() : false;
this.appOptions.canComments = this.appOptions.canLicense && !((typeof(this.editorConfig.customization) == "object") && this.editorConfig.customization.comments === false);
this.appOptions.canChat = this.appOptions.canLicense && !((typeof(this.editorConfig.customization) == "object") && this.editorConfig.customization.chat === false);
this.appOptions.customization = this.editorConfig.customization;
this.appOptions.canUseHistory = this.appOptions.canLicense && this.editorConfig.canUseHistory && this.appOptions.canEdit && this.appOptions.canCoAuthoring;
this.appOptions.canBranding = params.asc_getCanBranding() && (typeof(this.editorConfig.customization) == "object");
if (this.appOptions.canBranding) {
this.getApplication().getController("Viewport").getView("Common.Views.Header").setBranding(this.editorConfig.branding);
this.getApplication().getController("Viewport").getView("Common.Views.Header").setBranding(this.editorConfig.customization);
}
this.applyModeCommonElements();
this.applyModeEditorElements();
@ -541,7 +695,7 @@
documentHolder = app.getController("DocumentHolder").getView("DocumentHolder");
if (headerView) {
headerView.setHeaderCaption(this.appOptions.isEdit ? "Document Editor" : "Document Viewer");
headerView.setVisible(!this.appOptions.nativeApp && !value);
headerView.setVisible(!this.appOptions.nativeApp && !value && !this.appOptions.isDesktopApp);
}
if (this.appOptions.nativeApp) {
$("body").removeClass("safari");
@ -817,6 +971,10 @@
}
},
hidePreloader: function () {
if ( !! this.appOptions.customization && !this.appOptions.customization.done) {
this.appOptions.customization.done = true;
Common.Utils.applyCustomization(this.appOptions.customization, mapCustomizationElements);
}
Common.NotificationCenter.trigger("layout:changed", "main");
$("#loading-mask").hide().remove();
},

View file

@ -209,12 +209,7 @@
this._settings[c_oAscTypeSelectElement.Shape].needShow = false;
},
onCoAuthoringDisconnect: function () {
if (this.rightmenu) {
this.rightmenu.SetDisabled("", true, true);
}
this.setMode({
isEdit: false
});
this.SetDisabled(true, false);
},
onInsertTable: function () {
this._settings[c_oAscTypeSelectElement.Table].needShow = true;
@ -274,6 +269,32 @@
this.rightmenu.SetActivePane(type, true);
this._settings[type].panel.ChangeSettings.call(this._settings[type].panel, this._settings[type].props);
}
},
SetDisabled: function (disabled, allowMerge) {
if (this.rightmenu) {
this.rightmenu.paragraphSettings.disableControls(disabled);
this.rightmenu.shapeSettings.disableControls(disabled);
this.rightmenu.headerSettings.disableControls(disabled);
this.rightmenu.tableSettings.disableControls(disabled);
this.rightmenu.imageSettings.disableControls(disabled);
this.rightmenu.chartSettings.disableControls(disabled);
if (disabled) {
this.rightmenu.btnText.setDisabled(disabled);
this.rightmenu.btnTable.setDisabled(disabled);
this.rightmenu.btnImage.setDisabled(disabled);
this.rightmenu.btnHeaderFooter.setDisabled(disabled);
this.rightmenu.btnShape.setDisabled(disabled);
this.rightmenu.btnChart.setDisabled(disabled);
} else {
var selectedElements = this.api.getSelectedElements();
if (selectedElements.length > 0) {
this.onFocusObject(selectedElements);
}
}
}
this.setMode({
isEdit: !disabled
});
}
});
});

View file

@ -756,6 +756,9 @@
onCopyPaste: function (copy, e) {
var me = this;
if (me.api) {
if (typeof window["AscDesktopEditor"] === "object") {
copy ? me.api.Copy() : me.api.Paste();
} else {
var value = window.localStorage.getItem("de-hide-copywarning");
if (! (value && parseInt(value) == 1) && this._state.show_copywarning) {
(new Common.Views.CopyWarningDialog({
@ -771,6 +774,7 @@
copy ? me.api.Copy() : me.api.Paste();
Common.NotificationCenter.trigger("edit:complete", me.toolbar);
}
}
Common.component.Analytics.trackEvent("ToolBar", "Copy Warning");
} else {
Common.NotificationCenter.trigger("edit:complete", me.toolbar);
@ -2302,7 +2306,11 @@
});
this.editMode = false;
},
DisableToolbar: function (disable) {
DisableToolbar: function (disable, viewMode) {
if (viewMode !== undefined) {
this.editMode = !viewMode;
}
disable = disable || !this.editMode;
var mask = $(".toolbar-mask");
if (disable && mask.length > 0 || !disable && mask.length == 0) {
return;

View file

@ -45,8 +45,11 @@
}).render();
Common.NotificationCenter.on("layout:changed", _.bind(this.onLayoutChanged, this));
$(window).on("resize", _.bind(this.onWindowResize, this));
var leftPanel = $("#left-menu"),
histPanel = $("#left-panel-history");
this.viewport.hlayout.on("layout:resizedrag", function () {
this.api.Resize();
localStorage.setItem("de-mainmenu-width", histPanel.is(":visible") ? (histPanel.width() + SCALE_MIN) : leftPanel.width());
},
this);
this.boxSdk = $("#editor_sdk");
@ -59,6 +62,14 @@
case "rightmenu":
this.viewport.hlayout.doLayout();
break;
case "history":
var panel = this.viewport.hlayout.items[1];
if (panel.resize.el) {
this.boxSdk.css("border-left", "");
panel.resize.el.show();
}
this.viewport.hlayout.doLayout();
break;
case "leftmenu":
var panel = this.viewport.hlayout.items[0];
if (panel.resize.el) {

View file

@ -11,6 +11,8 @@
<li id="fm-btn-create" class="fm-btn" />
<li class="devider" />
<li id="fm-btn-info" class="fm-btn" />
<li id="fm-btn-rights" class="fm-btn" />
<li id="fm-btn-history" class="fm-btn" />
<li class="devider" class="fm-btn" />
<li id="fm-btn-settings" class="fm-btn" />
<li class="devider" />
@ -23,6 +25,7 @@
<div id="panel-recentfiles" class="content-box" />
<div id="panel-createnew" class="content-box" />
<div id="panel-info" class="content-box" />
<div id="panel-rights" class="content-box" />
<div id="panel-settings" class="content-box" />
<div id="panel-help" class="content-box" />
</div>

View file

@ -9,6 +9,7 @@
<div id="about-menu-panel" class="left-menu-full-ct" style="display:none;"></div>
<div id="editor_sdk" class="layout-item"></div>
<div id="right-menu" class="layout-item"></div>
<div id="left-panel-history" class="layout-item" />
</div>
</div>
<div id="statusbar" class="layout-item"></div>

View file

@ -649,7 +649,7 @@
this.api.asc_registerCallback("asc_doubleClickOnChart", onDoubleClickOnChart);
this.api.asc_registerCallback("asc_onSpellCheckVariantsFound", _.bind(onSpellCheckVariantsFound, this));
}
this.mode = m; ! (this.mode.canCoAuthoring && this.mode.isEdit) ? Common.util.Shortcuts.suspendEvents(hkComments) : Common.util.Shortcuts.resumeEvents(hkComments);
this.mode = m; ! (this.mode.canCoAuthoring && this.mode.isEdit && this.mode.canComments) ? Common.util.Shortcuts.suspendEvents(hkComments) : Common.util.Shortcuts.resumeEvents(hkComments);
this.editorConfig = {
user: m.user
};
@ -797,7 +797,7 @@
}
},
addComment: function (item, e, eOpt) {
if (this.api && this.mode.canCoAuthoring && this.mode.isEdit) {
if (this.api && this.mode.canCoAuthoring && this.mode.isEdit && this.mode.canComments) {
this.suppressEditComplete = true;
this.api.asc_enableKeyEvents(false);
var controller = DE.getController("Common.Controllers.Comments");
@ -840,6 +840,9 @@
onCutCopyPaste: function (item, e) {
var me = this;
if (me.api) {
if (typeof window["AscDesktopEditor"] === "object") {
(item.value == "cut") ? me.api.Cut() : ((item.value == "copy") ? me.api.Copy() : me.api.Paste());
} else {
var value = window.localStorage.getItem("de-hide-copywarning");
if (! (value && parseInt(value) == 1) && me.show_copywarning) {
(new Common.Views.CopyWarningDialog({
@ -855,6 +858,7 @@
(item.value == "cut") ? me.api.Cut() : ((item.value == "copy") ? me.api.Copy() : me.api.Paste());
me.fireEvent("editcomplete", me);
}
}
} else {
me.fireEvent("editcomplete", me);
}
@ -1548,7 +1552,7 @@
menuAddHyperlinkTable.hyperProps.value = new CHyperlinkProperty();
menuAddHyperlinkTable.hyperProps.value.put_Text(text);
}
menuAddCommentTable.setVisible(me.api.can_AddQuotedComment() !== false && me.mode.canCoAuthoring);
menuAddCommentTable.setVisible(me.api.can_AddQuotedComment() !== false && me.mode.canCoAuthoring && me.mode.canComments);
menuAddCommentTable.setDisabled(value.paraProps !== undefined && value.paraProps.locked === true);
menuParagraphTable.setVisible(value.paraProps !== undefined);
if (value.paraProps) {
@ -1836,8 +1840,8 @@
if (me.api) {
text = me.api.can_AddHyperlink();
}
menuCommentSeparatorPara.setVisible(!isInChart && me.api.can_AddQuotedComment() !== false && me.mode.canCoAuthoring);
menuAddCommentPara.setVisible(!isInChart && me.api.can_AddQuotedComment() !== false && me.mode.canCoAuthoring);
menuCommentSeparatorPara.setVisible(!isInChart && me.api.can_AddQuotedComment() !== false && me.mode.canCoAuthoring && me.mode.canComments);
menuAddCommentPara.setVisible(!isInChart && me.api.can_AddQuotedComment() !== false && me.mode.canCoAuthoring && me.mode.canComments);
menuAddCommentPara.setDisabled(value.paraProps && value.paraProps.locked === true);
me.menuSpellPara.setVisible(value.spellProps !== undefined && value.spellProps.value.get_Checked() === false);
menuSpellcheckParaSeparator.setVisible(value.spellProps !== undefined && value.spellProps.value.get_Checked() === false);

View file

@ -102,6 +102,16 @@
action: "info",
caption: this.btnInfoCaption,
canFocused: false
}), new Common.UI.MenuItem({
el: $("#fm-btn-rights", this.el),
action: "rights",
caption: this.btnRightsCaption,
canFocused: false
}), new Common.UI.MenuItem({
el: $("#fm-btn-history", this.el),
action: "history",
caption: this.btnHistoryCaption,
canFocused: false
}), new Common.UI.MenuItem({
el: $("#fm-btn-settings", this.el),
action: "opts",
@ -131,6 +141,9 @@
"info": (new DE.Views.FileMenuPanels.DocumentInfo({
menu: me
})).render(),
"rights": (new DE.Views.FileMenuPanels.DocumentRights({
menu: me
})).render(),
"help": (new DE.Views.FileMenuPanels.Help({
menu: me
})).render()
@ -162,16 +175,17 @@
this.api.asc_enableKeyEvents(true);
},
applyMode: function () {
this.items[0][this.mode.canBack ? "show" : "hide"]();
this.items[0].$el.find("+.devider")[this.mode.canBack ? "show" : "hide"]();
this.items[5][this.mode.canOpenRecent ? "show" : "hide"]();
this.items[6][this.mode.canCreateNew ? "show" : "hide"]();
this.items[6].$el.find("+.devider")[this.mode.canCreateNew ? "show" : "hide"]();
this.items[3][this.mode.canDownload ? "show" : "hide"]();
this.items[1][this.mode.isEdit ? "show" : "hide"]();
this.items[2][!this.mode.isEdit && this.mode.canEdit ? "show" : "hide"]();
this.mode.canBack ? this.$el.find("#fm-btn-back").show().prev().show() : this.$el.find("#fm-btn-back").hide().prev().hide();
this.items[8][(this.document && this.document.info && (this.document.info.sharingSettings && this.document.info.sharingSettings.length > 0 || this.mode.sharingSettingsUrl && this.mode.sharingSettingsUrl.length)) ? "show" : "hide"]();
this.panels["opts"].setMode(this.mode);
this.panels["info"].setMode(this.mode).updateInfo(this.document);
this.panels["rights"].setMode(this.mode).updateInfo(this.document);
if (this.mode.canCreateNew) {
if (this.mode.templates && this.mode.templates.length) {
$("a", this.items[6].$el).text(this.btnCreateNewCaption + "...");
@ -189,12 +203,16 @@
})).render();
}
}
if (this.mode.isDesktopApp) {}
this.panels["help"].setLangConfig(this.mode.lang);
this.items[9][this.mode.canUseHistory ? "show" : "hide"]();
this.items[9].setDisabled(this.mode.isDisconnected);
},
setMode: function (mode, delay) {
if (mode.isDisconnected) {
this.mode.canEdit = this.mode.isEdit = false;
this.mode.canOpenRecent = this.mode.canCreateNew = false;
this.mode.isDisconnected = mode.isDisconnected;
} else {
this.mode = mode;
}
@ -230,6 +248,7 @@
btnSaveCaption: "Save",
btnDownloadCaption: "Download as...",
btnInfoCaption: "Document Info...",
btnRightsCaption: "Access Rights...",
btnCreateNewCaption: "Create New",
btnRecentFilesCaption: "Open Recent...",
btnPrintCaption: "Print",
@ -237,7 +256,8 @@
btnReturnCaption: "Back to Document",
btnToEditCaption: "Edit Document",
btnBackCaption: "Go to Documents",
btnSettingsCaption: "Advanced Settings..."
btnSettingsCaption: "Advanced Settings...",
btnHistoryCaption: "Versions History"
},
DE.Views.FileMenu || {}));
});

View file

@ -398,8 +398,7 @@
initialize: function (options) {
Common.UI.BaseView.prototype.initialize.call(this, arguments);
this.rendered = false;
this.template = _.template(['<table class="main">', "<tr>", '<td class="left"><label>' + this.txtTitle + "</label></td>", '<td class="right"><label id="id-info-title">-</label></td>', "</tr>", '<tr class="author">', '<td class="left"><label>' + this.txtAuthor + "</label></td>", '<td class="right"><span class="userLink" id="id-info-author">-</span></td>', "</tr>", '<tr class="placement">', '<td class="left"><label>' + this.txtPlacement + "</label></td>", '<td class="right"><label id="id-info-placement">-</label></td>', "</tr>", '<tr class="date">', '<td class="left"><label>' + this.txtDate + "</label></td>", '<td class="right"><label id="id-info-date">-</label></td>', "</tr>", '<tr class="divider date"></tr>', '<tr class="rights">', '<td class="left" style="vertical-align: top;"><label>' + this.txtRights + "</label></td>", '<td class="right"><div id="id-info-rights"></div></td>', "</tr>", '<tr class="edit-rights">', '<td class="left"></td><td class="right"><button id="id-info-btn-edit" class="btn normal dlg-btn primary" style="margin-right: 10px;width: auto;">' + this.txtBtnAccessRights + "</button></td>", "</tr>", '<tr class="divider rights"></tr>', "<tr>", '<td class="left" style="vertical-align: top;"><label>' + this.txtStatistics + "</label></td>", '<td class="right" style="vertical-align: top;"><div id="id-info-statistic">', "<table>", "<tr>", "<td><label>" + this.txtPages + "</label></td>", '<td><label id="id-info-pages"></label></td>', "</tr>", "<tr>", "<td><label>" + this.txtParagraphs + "</label></td>", '<td><label id="id-info-paragraphs"></label></td>', "</tr>", "<tr>", "<td><label>" + this.txtWords + "</label></td>", '<td><label id="id-info-words"></label></td>', "</tr>", "<tr>", "<td><label>" + this.txtSymbols + "</label></td>", '<td><label id="id-info-symbols"></label></td>', "</tr>", "<tr>", "<td><label>" + this.txtSpaces + "</label></td>", '<td><label id="id-info-spaces"></label></td>', "</tr>", "</table>", "</div></td>", "</tr>", "</table>"].join(""));
this.templateRights = _.template(["<table>", "<% _.each(users, function(item) { %>", "<tr>", '<td><span class="userLink"><%= Common.Utils.String.htmlEncode(item.user) %></span></td>', "<td><%= Common.Utils.String.htmlEncode(item.permissions) %></td>", "</tr>", "<% }); %>", "</table>"].join(""));
this.template = _.template(['<table class="main">', "<tr>", '<td class="left"><label>' + this.txtTitle + "</label></td>", '<td class="right"><label id="id-info-title">-</label></td>', "</tr>", '<tr class="author">', '<td class="left"><label>' + this.txtAuthor + "</label></td>", '<td class="right"><span class="userLink" id="id-info-author">-</span></td>', "</tr>", '<tr class="placement">', '<td class="left"><label>' + this.txtPlacement + "</label></td>", '<td class="right"><label id="id-info-placement">-</label></td>', "</tr>", '<tr class="date">', '<td class="left"><label>' + this.txtDate + "</label></td>", '<td class="right"><label id="id-info-date">-</label></td>', "</tr>", '<tr class="divider date"></tr>', "<tr>", '<td class="left" style="vertical-align: top;"><label>' + this.txtStatistics + "</label></td>", '<td class="right" style="vertical-align: top;"><div id="id-info-statistic">', "<table>", "<tr>", "<td><label>" + this.txtPages + "</label></td>", '<td><label id="id-info-pages"></label></td>', "</tr>", "<tr>", "<td><label>" + this.txtParagraphs + "</label></td>", '<td><label id="id-info-paragraphs"></label></td>', "</tr>", "<tr>", "<td><label>" + this.txtWords + "</label></td>", '<td><label id="id-info-words"></label></td>', "</tr>", "<tr>", "<td><label>" + this.txtSymbols + "</label></td>", '<td><label id="id-info-symbols"></label></td>', "</tr>", "<tr>", "<td><label>" + this.txtSpaces + "</label></td>", '<td><label id="id-info-spaces"></label></td>', "</tr>", "</table>", "</div></td>", "</tr>", "</table>"].join(""));
this.infoObj = {
PageCount: 0,
WordsCount: 0,
@ -421,11 +420,6 @@
this.lblStatParagraphs = $("#id-info-paragraphs");
this.lblStatSymbols = $("#id-info-symbols");
this.lblStatSpaces = $("#id-info-spaces");
this.cntRights = $("#id-info-rights");
this.btnEditRights = new Common.UI.Button({
el: "#id-info-btn-edit"
});
this.btnEditRights.on("click", _.bind(this.changeAccessRights, this));
this.rendered = true;
this.updateInfo(this.doc);
if (_.isUndefined(this.scroller)) {
@ -464,13 +458,6 @@
this.lblPlacement.text(doc.info.folder);
}
this._ShowHideInfoItem("placement", doc.info.folder !== undefined && doc.info.folder !== null);
if (doc.info.sharingSettings) {
this.cntRights.html(this.templateRights({
users: doc.info.sharingSettings
}));
}
this._ShowHideInfoItem("rights", doc.info.sharingSettings !== undefined && doc.info.sharingSettings !== null && this._readonlyRights !== true);
this._ShowHideInfoItem("edit-rights", !!this.sharingSettingsUrl && this.sharingSettingsUrl.length && this._readonlyRights !== true);
} else {
this._ShowHideDocInfo(false);
}
@ -482,8 +469,6 @@
this._ShowHideInfoItem("date", visible);
this._ShowHideInfoItem("placement", visible);
this._ShowHideInfoItem("author", visible);
this._ShowHideInfoItem("rights", visible);
this._ShowHideInfoItem("edit-rights", visible);
},
updateStatisticInfo: function () {
if (this.api && this.doc) {
@ -504,7 +489,6 @@
return this;
},
setMode: function (mode) {
this.sharingSettingsUrl = mode.sharingSettingsUrl;
return this;
},
_onGetDocInfoStart: function () {
@ -556,6 +540,85 @@
this.lblStatSymbols.text(this.infoObj.SymbolsCount);
this.lblStatSpaces.text(this.infoObj.SymbolsWSCount);
},
txtTitle: "Document Title",
txtAuthor: "Author",
txtPlacement: "Placement",
txtDate: "Creation Date",
txtStatistics: "Statistics",
txtPages: "Pages",
txtWords: "Words",
txtParagraphs: "Paragraphs",
txtSymbols: "Symbols",
txtSpaces: "Symbols with spaces",
txtLoading: "Loading..."
},
DE.Views.FileMenuPanels.DocumentInfo || {}));
DE.Views.FileMenuPanels.DocumentRights = Common.UI.BaseView.extend(_.extend({
el: "#panel-rights",
menu: undefined,
initialize: function (options) {
Common.UI.BaseView.prototype.initialize.call(this, arguments);
this.rendered = false;
this.template = _.template(['<table class="main">', '<tr class="rights">', '<td class="left" style="vertical-align: top;"><label>' + this.txtRights + "</label></td>", '<td class="right"><div id="id-info-rights"></div></td>', "</tr>", '<tr class="edit-rights">', '<td class="left"></td><td class="right"><button id="id-info-btn-edit" class="btn normal dlg-btn primary" style="margin-right: 10px;width: auto;">' + this.txtBtnAccessRights + "</button></td>", "</tr>", "</table>"].join(""));
this.templateRights = _.template(["<table>", "<% _.each(users, function(item) { %>", "<tr>", '<td><span class="userLink"><%= Common.Utils.String.htmlEncode(item.user) %></span></td>', "<td><%= Common.Utils.String.htmlEncode(item.permissions) %></td>", "</tr>", "<% }); %>", "</table>"].join(""));
this.menu = options.menu;
},
render: function () {
$(this.el).html(this.template());
this.cntRights = $("#id-info-rights");
this.btnEditRights = new Common.UI.Button({
el: "#id-info-btn-edit"
});
this.btnEditRights.on("click", _.bind(this.changeAccessRights, this));
this.rendered = true;
this.updateInfo(this.doc);
if (_.isUndefined(this.scroller)) {
this.scroller = new Common.UI.Scroller({
el: $(this.el),
suppressScrollX: true
});
}
return this;
},
show: function () {
Common.UI.BaseView.prototype.show.call(this, arguments);
},
hide: function () {
Common.UI.BaseView.prototype.hide.call(this, arguments);
},
updateInfo: function (doc) {
this.doc = doc;
if (!this.rendered) {
return;
}
doc = doc || {};
if (doc.info) {
if (doc.info.sharingSettings) {
this.cntRights.html(this.templateRights({
users: doc.info.sharingSettings
}));
}
this._ShowHideInfoItem("rights", doc.info.sharingSettings !== undefined && doc.info.sharingSettings !== null && doc.info.sharingSettings.length > 0);
this._ShowHideInfoItem("edit-rights", !!this.sharingSettingsUrl && this.sharingSettingsUrl.length && this._readonlyRights !== true);
} else {
this._ShowHideDocInfo(false);
}
},
_ShowHideInfoItem: function (cls, visible) {
$("tr." + cls, this.el)[visible ? "show" : "hide"]();
},
_ShowHideDocInfo: function (visible) {
this._ShowHideInfoItem("rights", visible);
this._ShowHideInfoItem("edit-rights", visible);
},
setApi: function (o) {
this.api = o;
return this;
},
setMode: function (mode) {
this.sharingSettingsUrl = mode.sharingSettingsUrl;
return this;
},
changeAccessRights: function (btn, event, opts) {
var me = this;
var win = new Common.Views.DocumentAccessDialog({
@ -563,6 +626,7 @@
});
win.on("accessrights", function (obj, rights) {
me.doc.info.sharingSettings = rights;
me._ShowHideInfoItem("rights", me.doc.info.sharingSettings !== undefined && me.doc.info.sharingSettings !== null && me.doc.info.sharingSettings.length > 0);
me.cntRights.html(me.templateRights({
users: me.doc.info.sharingSettings
}));
@ -574,24 +638,12 @@
if (!this.rendered) {
return;
}
this._ShowHideInfoItem("rights", false);
this._ShowHideInfoItem("edit-rights", false);
},
txtTitle: "Document Title",
txtAuthor: "Author",
txtPlacement: "Placement",
txtDate: "Creation Date",
txtRights: "Persons who have rights",
txtStatistics: "Statistics",
txtPages: "Pages",
txtWords: "Words",
txtParagraphs: "Paragraphs",
txtSymbols: "Symbols",
txtSpaces: "Symbols with spaces",
txtLoading: "Loading...",
txtBtnAccessRights: "Change access rights"
},
DE.Views.FileMenuPanels.DocumentInfo || {}));
DE.Views.FileMenuPanels.DocumentRights || {}));
DE.Views.FileMenuPanels.Help = Common.UI.BaseView.extend({
el: "#panel-help",
menu: undefined,

View file

@ -29,7 +29,7 @@
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
*
*/
define(["text!documenteditor/main/app/template/LeftMenu.template", "jquery", "underscore", "backbone", "common/main/lib/component/Button", "common/main/lib/view/About", "common/main/lib/view/Comments", "common/main/lib/view/Chat", "common/main/lib/view/About", "common/main/lib/view/SearchDialog", "documenteditor/main/app/view/FileMenu"], function (menuTemplate, $, _, Backbone) {
define(["text!documenteditor/main/app/template/LeftMenu.template", "jquery", "underscore", "backbone", "common/main/lib/component/Button", "common/main/lib/view/About", "common/main/lib/view/Comments", "common/main/lib/view/Chat", "common/main/lib/view/History", "common/main/lib/view/About", "common/main/lib/view/SearchDialog", "documenteditor/main/app/view/FileMenu"], function (menuTemplate, $, _, Backbone) {
var SCALE_MIN = 40;
var MENU_SCALE_PART = 300;
DE.Views.LeftMenu = Backbone.View.extend(_.extend({
@ -140,7 +140,7 @@
if (btn.options.action == "search") {} else {
if (btn.pressed) {
if (! (this.$el.width() > SCALE_MIN)) {
this.$el.width(localStorage.getItem("de-mainmenu-width") || MENU_SCALE_PART);
this.$el.width(parseInt(localStorage.getItem("de-mainmenu-width")) || MENU_SCALE_PART);
}
} else {
localStorage.setItem("de-mainmenu-width", this.$el.width());
@ -152,8 +152,11 @@
},
onCoauthOptions: function (e) {
if (this.mode.canCoAuthoring) {
if (this.mode.canComments) {
this.panelComments[this.btnComments.pressed ? "show" : "hide"]();
this.fireEvent((this.btnComments.pressed) ? "comments:show": "comments:hide", this);
}
if (this.mode.canChat) {
if (this.btnChat.pressed) {
if (this.btnChat.$el.hasClass("notify")) {
this.btnChat.$el.removeClass("notify");
@ -164,14 +167,6 @@
this.panelChat["hide"]();
}
}
},
setOptionsPanel: function (name, panel) {
if (name == "chat") {
this.panelChat = panel.render("#left-panel-chat");
} else {
if (name == "comment") {
this.panelComments = panel;
}
}
},
markCoauthOptions: function (opt) {
@ -179,19 +174,36 @@
this.btnChat.$el.addClass("notify");
}
},
setOptionsPanel: function (name, panel) {
if (name == "chat") {
this.panelChat = panel.render("#left-panel-chat");
} else {
if (name == "comment") {
this.panelComments = panel;
} else {
if (name == "history") {
this.panelHistory = panel.render("#left-panel-history");
}
}
}
},
close: function (menu) {
this.btnFile.toggle(false);
this.btnAbout.toggle(false);
this.$el.width(SCALE_MIN);
if (this.mode.canCoAuthoring) {
if (this.mode.canComments) {
this.panelComments["hide"]();
this.panelChat["hide"]();
if (this.btnComments.pressed) {
this.fireEvent("comments:hide", this);
}
this.btnComments.toggle(false, true);
}
if (this.mode.canChat) {
this.panelChat["hide"]();
this.btnChat.toggle(false, true);
}
}
},
isOpened: function () {
var isopened = this.btnFile.pressed || this.btnSearch.pressed; ! isopened && (isopened = this.btnComments.pressed || this.btnChat.pressed);
@ -245,6 +257,12 @@
this.mode = mode;
return this;
},
showHistory: function () {
this.panelHistory.show();
this.panelHistory.$el.width((parseInt(localStorage.getItem("de-mainmenu-width")) || MENU_SCALE_PART) - SCALE_MIN);
this.btnFile.panel.items[9].hide();
Common.NotificationCenter.trigger("layout:changed", "history");
},
tipComments: "Comments",
tipChat: "Chat",
tipAbout: "About",

View file

@ -123,19 +123,24 @@ define([
hint: this.tipSetLang,
hintAnchor: 'top-left'
});
this.btnLanguage.cmpEl.on('show.bs.dropdown', function () {
this.btnLanguage.cmpEl.on({
'show.bs.dropdown': function () {
_.defer(function(){
me.api.asc_enableKeyEvents(false);
me.btnLanguage.cmpEl.find('ul').focus();
}, 100);
}
);
this.btnLanguage.cmpEl.on('hide.bs.dropdown', function () {
},
'hide.bs.dropdown': function () {
_.defer(function(){
me.api.asc_enableKeyEvents(true);
}, 100);
},
'click': function (e) {
if (me.btnLanguage.isDisabled()) {
return false;
}
);
}
});
this.langMenu.render(panelLang);
this.langMenu.cmpEl.attr({tabindex: -1});

View file

@ -2040,6 +2040,10 @@
nativeBtnGroup.hide();
}
}
if (mode.isDesktopApp) {
$(".toolbar-group-native").hide();
this.mnuitemHideTitleBar.hide();
}
},
changeViewMode: function (item, compact) {
var me = this,

View file

@ -84,6 +84,16 @@
max: 600
}
},
{
el: items[3],
rely: true,
resize: {
hidden: true,
autohide: false,
min: 300,
max: 600
}
},
{
el: items[1],
stretch: true

View file

@ -1,11 +1,16 @@
{
"Common.Controllers.Chat.notcriticalErrorTitle": "Warnung",
"Common.Controllers.Chat.textEnterMessage": "Geben Sie Ihre Nachricht hier ein",
"Common.Controllers.Chat.textUserLimit": "Sie benutzen ONLYOFFICE Free Edition.<br>Nur zwei Benutzer können das Dokument gleichzeitig bearbeiten.<br>Möchten Sie mehr? Erwerben Sie kommerzielle Version von ONLYOFFICE Enterprise Edition.<br><a href=\"http:\/\/www.onlyoffice.com\/free-edition.aspx\" target=\"_blank\">Lesen Sie mehr davon</a>",
"Common.Controllers.Chat.textUserLimit": "Sie benutzen ONLYOFFICE Free Edition.<br>Nur zwei Benutzer können das Dokument gleichzeitig bearbeiten.<br>Möchten Sie mehr? Erwerben Sie kommerzielle Version von ONLYOFFICE Enterprise Edition.<br><a href=\"http://www.onlyoffice.com/free-edition.aspx\" target=\"_blank\">Lesen Sie mehr davon</a>",
"Common.Controllers.ExternalDiagramEditor.textAnonymous": "Anonym",
"Common.Controllers.ExternalDiagramEditor.textClose": "Schließen",
"Common.Controllers.ExternalDiagramEditor.warningText": "Das Objekt ist deaktiviert, weil es momentan von einem anderen Benutzer bearbeitet wird.",
"Common.Controllers.ExternalDiagramEditor.warningTitle": "Warnung",
"Common.Controllers.ExternalMergeEditor.textAnonymous": "Anonymous",
"Common.Controllers.ExternalMergeEditor.textClose": "Close",
"Common.Controllers.ExternalMergeEditor.warningText": "The object is disabled because it is being edited by another user.",
"Common.Controllers.ExternalMergeEditor.warningTitle": "Warning",
"Common.Controllers.History.notcriticalErrorTitle": "Warning",
"Common.UI.ComboBorderSize.txtNoBorders": "Kein Rahmen",
"Common.UI.ComboBorderSizeEditable.txtNoBorders": "Kein Rahmen",
"Common.UI.ComboDataView.emptyComboText": "Keine Stile",
@ -32,6 +37,7 @@
"Common.UI.Window.noButtonText": "Nein",
"Common.UI.Window.okButtonText": "OK",
"Common.UI.Window.textConfirmation": "Bestätigung",
"Common.UI.Window.textDontShow": "Diese Meldung nicht mehr anzeigen",
"Common.UI.Window.textError": "Fehler",
"Common.UI.Window.textInformation": "Information",
"Common.UI.Window.textWarning": "Warnung",
@ -72,7 +78,12 @@
"Common.Views.ExternalDiagramEditor.textClose": "Schließen",
"Common.Views.ExternalDiagramEditor.textSave": "Übernehmen",
"Common.Views.ExternalDiagramEditor.textTitle": "Diagramm bearbeiten",
"Common.Views.ExternalMergeEditor.textClose": "Close",
"Common.Views.ExternalMergeEditor.textSave": "Save & Exit",
"Common.Views.ExternalMergeEditor.textTitle": "Mail Merge Recipients",
"Common.Views.Header.openNewTabText": "Open in New Tab",
"Common.Views.Header.textBack": "Zu Dokumenten übergehen",
"Common.Views.History.textHistoryHeader": "Zurück zum Dokument",
"Common.Views.ImageFromUrlDialog.cancelButtonText": "Abbrechen",
"Common.Views.ImageFromUrlDialog.okButtonText": "OK",
"Common.Views.ImageFromUrlDialog.textUrl": "Bild-URL einfügen:",
@ -86,8 +97,11 @@
"Common.Views.InsertTableDialog.txtMinText": "Der minimale Wert für dieses Feld ist {0}.",
"Common.Views.InsertTableDialog.txtRows": "Zeilenanzahl",
"Common.Views.InsertTableDialog.txtTitle": "Größe der Tabelle",
"DE.Controllers.LeftMenu.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.",
"DE.Controllers.LeftMenu.newDocumentTitle": "Unbetiteltes Dokument",
"DE.Controllers.LeftMenu.notcriticalErrorTitle": "Warning",
"DE.Controllers.LeftMenu.requestEditRightsText": "Anfrage betreffend die Bearbeitungsberechtigung...",
"DE.Controllers.LeftMenu.textLoadHistory": "Loading versions history...",
"DE.Controllers.LeftMenu.textNoTextFound": "Die Daten, nach denen Sie gesucht haben, können nicht gefunden werden. Bitte ändern Sie die Suchparameter.",
"DE.Controllers.LeftMenu.textReplaceSkipped": "Der Ersatzvorgang wurde durchgeführt. {0} Vorkommen wurden ausgelassen.",
"DE.Controllers.LeftMenu.textReplaceSuccess": "Der Suchvorgang wurde durchgeführt. Vorkommen wurden ersetzt:{0}",
@ -99,6 +113,8 @@
"DE.Controllers.Main.criticalErrorTitle": "Fehler",
"DE.Controllers.Main.defaultTitleText": "ONLYOFFICE Document Editor",
"DE.Controllers.Main.downloadErrorText": "Download ist fehlgeschlagen.",
"DE.Controllers.Main.downloadMergeText": "Downloading...",
"DE.Controllers.Main.downloadMergeTitle": "Downloading",
"DE.Controllers.Main.downloadTextText": "Dokument wird heruntergeladen...",
"DE.Controllers.Main.downloadTitleText": "Herunterladen des Dokuments",
"DE.Controllers.Main.errorCoAuthoringDisconnect": "Verbindung zum Server verloren. Das Dokument kann momentan nicht bearbeitet werden.",
@ -108,6 +124,8 @@
"DE.Controllers.Main.errorFilePassProtect": "Das Dokument ist ein Kennwort geschützt und kann nicht geöffnet werden.",
"DE.Controllers.Main.errorKeyEncrypt": "Unbekannter Schlüsseldeskriptor",
"DE.Controllers.Main.errorKeyExpire": "Der Schlüsseldeskriptor ist abgelaufen",
"DE.Controllers.Main.errorMailMergeLoadFile": "Loading failed",
"DE.Controllers.Main.errorMailMergeSaveFile": "Merge failed.",
"DE.Controllers.Main.errorProcessSaveResult": "Speichern fehlgeschlagen.",
"DE.Controllers.Main.errorStockChart": "Falsche Reihenfolge der Zeilen. Um ein Kursdiagramm zu erstellen, ordnen Sie die Daten auf dem Blatt folgendermaßen an:<br> Eröffnungspreis, Höchstpreis, Tiefstpreis, Schlusskurs.",
"DE.Controllers.Main.errorUpdateVersion": "Die Dateiversion wurde geändert. Die Seite wird neu geladen.",
@ -124,6 +142,8 @@
"DE.Controllers.Main.loadImageTitleText": "Laden des Bildes",
"DE.Controllers.Main.loadingDocumentTextText": "Laden des Dokuments...",
"DE.Controllers.Main.loadingDocumentTitleText": "Laden des Dokuments...",
"DE.Controllers.Main.mailMergeLoadFileText": "Loading Data Source...",
"DE.Controllers.Main.mailMergeLoadFileTitle": "Loading Data Source",
"DE.Controllers.Main.notcriticalErrorTitle": "Warnung",
"DE.Controllers.Main.openTextText": "Dokument wird geöffnet...",
"DE.Controllers.Main.openTitleText": "Öffnen des Dokuments",
@ -136,6 +156,8 @@
"DE.Controllers.Main.savePreparingTitle": "Speichervorbereitung. Bitte warten...",
"DE.Controllers.Main.saveTextText": "Dokument wird gespeichert...",
"DE.Controllers.Main.saveTitleText": "Speichern des Dokuments",
"DE.Controllers.Main.sendMergeText": "Sending Merge...",
"DE.Controllers.Main.sendMergeTitle": "Sending Merge",
"DE.Controllers.Main.splitDividerErrorText": "Die Zeilenanzahl muss ein Divisor von %1 sein.",
"DE.Controllers.Main.splitMaxColsErrorText": "Die Spaltenanzahl muss weniger sein als %1.",
"DE.Controllers.Main.splitMaxRowsErrorText": "Die Zeilenanzahl muss weniger sein als %1.",
@ -147,13 +169,17 @@
"DE.Controllers.Main.txtButtons": "Buttons",
"DE.Controllers.Main.txtCallouts": "Legenden",
"DE.Controllers.Main.txtCharts": "Diagramme",
"DE.Controllers.Main.txtDiagramTitle": "Diagrammtitel",
"DE.Controllers.Main.txtEditingMode": "Bearbeitungsmodul festlegen...",
"DE.Controllers.Main.txtFiguredArrows": "Geformte Pfeile",
"DE.Controllers.Main.txtLines": "Linien",
"DE.Controllers.Main.txtMath": "Mathematik",
"DE.Controllers.Main.txtNeedSynchronize": "Änderungen wurden vorgenommen",
"DE.Controllers.Main.txtRectangles": "Rechtecke",
"DE.Controllers.Main.txtSeries": "Reihe",
"DE.Controllers.Main.txtStarsRibbons": "Sterne und Bänder",
"DE.Controllers.Main.txtXAxis": "x-Achse",
"DE.Controllers.Main.txtYAxis": "y-Achse",
"DE.Controllers.Main.unknownErrorText": "Unbekannter Fehler.",
"DE.Controllers.Main.unsupportedBrowserErrorText ": "Ihr Webbrowser wird nicht unterstützt.",
"DE.Controllers.Main.uploadImageExtMessage": "Unbekanntes Bildformat.",
@ -165,6 +191,7 @@
"DE.Controllers.Main.warnBrowserZoom": "Die aktuelle Zoom-Einstellung Ihres Webbrowsers wird nicht völlig unterstützt. Bitte stellen Sie die Standardeinstellung mithilfe der Tastenkombination Strg+0 wieder her.",
"DE.Controllers.Main.warnProcessRightsChange": "Das Recht, die Datei zu bearbeiten, wurde Ihnen verweigert.",
"DE.Controllers.Statusbar.zoomText": "Zoom {0}%",
"DE.Controllers.Toolbar.confirmAddFontName": "The font you are going to save is not available on the current device.<br>The text style will be displayed using one of the device fonts, the saved font will be used when it is available.<br>Do you want to continue?",
"DE.Controllers.Toolbar.textAccent": "Akzente",
"DE.Controllers.Toolbar.textBracket": "Klammern",
"DE.Controllers.Toolbar.textEmptyImgUrl": "Sie müssen eine Bild-URL angeben.",
@ -541,6 +568,10 @@
"DE.Views.DocumentHolder.deleteRowText": "Zeile löschen",
"DE.Views.DocumentHolder.deleteTableText": "Tabelle löschen",
"DE.Views.DocumentHolder.deleteText": "Löschen",
"DE.Views.DocumentHolder.direct270Text": "Rotate at 270°",
"DE.Views.DocumentHolder.direct90Text": "Rotate at 90°",
"DE.Views.DocumentHolder.directHText": "Horizontal",
"DE.Views.DocumentHolder.directionText": "Text Direction",
"DE.Views.DocumentHolder.editChartText": "Daten ändern",
"DE.Views.DocumentHolder.editFooterText": "Fußzeile bearbeiten",
"DE.Views.DocumentHolder.editHeaderText": "Kopfzeile bearbeiten",
@ -663,10 +694,12 @@
"DE.Views.FileMenu.btnCreateNewCaption": "Neues erstellen",
"DE.Views.FileMenu.btnDownloadCaption": "Herunterladen als...",
"DE.Views.FileMenu.btnHelpCaption": "Hilfe...",
"DE.Views.FileMenu.btnHistoryCaption": "Versionsgeschichte",
"DE.Views.FileMenu.btnInfoCaption": "Dokumenteninfo...",
"DE.Views.FileMenu.btnPrintCaption": "Drucken",
"DE.Views.FileMenu.btnRecentFilesCaption": "Zuletzt benutztes öffnen...",
"DE.Views.FileMenu.btnReturnCaption": "Zurück zum Dokument",
"DE.Views.FileMenu.btnRightsCaption": "Access Rights...",
"DE.Views.FileMenu.btnSaveCaption": "Speichern",
"DE.Views.FileMenu.btnSettingsCaption": "Erweiterte Einstellungen...",
"DE.Views.FileMenu.btnToEditCaption": "Dokument bearbeiten",
@ -688,6 +721,8 @@
"DE.Views.FileMenuPanels.DocumentInfo.txtSymbols": "Zeichen",
"DE.Views.FileMenuPanels.DocumentInfo.txtTitle": "Titel des Dokuments",
"DE.Views.FileMenuPanels.DocumentInfo.txtWords": "Wörter",
"DE.Views.FileMenuPanels.DocumentRights.txtBtnAccessRights": "Zugriffsrechte ändern",
"DE.Views.FileMenuPanels.DocumentRights.txtRights": "Personen mit Berechtigungen",
"DE.Views.FileMenuPanels.Settings.okButtonText": "Übernehmen",
"DE.Views.FileMenuPanels.Settings.strAlignGuides": "Ausrichtungslinien einschalten",
"DE.Views.FileMenuPanels.Settings.strAutosave": "AutoSpeichern einschalten",
@ -823,6 +858,56 @@
"DE.Views.LeftMenu.tipSearch": "Suche",
"DE.Views.LeftMenu.tipSupport": "Feedback und Support",
"DE.Views.LeftMenu.tipTitles": "Titel",
"DE.Views.MailMergeEmailDlg.cancelButtonText": "Cancel",
"DE.Views.MailMergeEmailDlg.filePlaceholder": "PDF",
"DE.Views.MailMergeEmailDlg.okButtonText": "Send",
"DE.Views.MailMergeEmailDlg.subjectPlaceholder": "Theme",
"DE.Views.MailMergeEmailDlg.textAttachDocx": "Attach as DOCX",
"DE.Views.MailMergeEmailDlg.textAttachPdf": "Attach as PDF",
"DE.Views.MailMergeEmailDlg.textFileName": "File name",
"DE.Views.MailMergeEmailDlg.textFormat": "Mail format",
"DE.Views.MailMergeEmailDlg.textFrom": "From",
"DE.Views.MailMergeEmailDlg.textHTML": "HTML",
"DE.Views.MailMergeEmailDlg.textMessage": "Message",
"DE.Views.MailMergeEmailDlg.textSubject": "Subject Line",
"DE.Views.MailMergeEmailDlg.textTitle": "Send to E-mail",
"DE.Views.MailMergeEmailDlg.textTo": "To",
"DE.Views.MailMergeEmailDlg.textWarning": "Warning!",
"DE.Views.MailMergeEmailDlg.textWarningMsg": "Please note that mailing cannot be stopped once your click the 'Send' button.",
"DE.Views.MailMergeRecepients.textLoading": "Ladevorgang",
"DE.Views.MailMergeRecepients.textTitle": "Datenquelle auswählen",
"DE.Views.MailMergeSaveDlg.textLoading": "Loading",
"DE.Views.MailMergeSaveDlg.textTitle": "Folder for save",
"DE.Views.MailMergeSettings.downloadMergeTitle": "Merging",
"DE.Views.MailMergeSettings.errorMailMergeSaveFile": "Merge failed.",
"DE.Views.MailMergeSettings.notcriticalErrorTitle": "Warning",
"DE.Views.MailMergeSettings.textAll": "All records",
"DE.Views.MailMergeSettings.textCurrent": "Current record",
"DE.Views.MailMergeSettings.textDataSource": "Data Source",
"DE.Views.MailMergeSettings.textDocx": "Docx",
"DE.Views.MailMergeSettings.textDownload": "Download",
"DE.Views.MailMergeSettings.textEditData": "Empfängerliste bearbeiten",
"DE.Views.MailMergeSettings.textEmail": "E-mail",
"DE.Views.MailMergeSettings.textFrom": "From",
"DE.Views.MailMergeSettings.textHighlight": "Highlight merge fields",
"DE.Views.MailMergeSettings.textInsertField": "Insert Merge Field",
"DE.Views.MailMergeSettings.textMaxRecepients": "Max 100 recipients.",
"DE.Views.MailMergeSettings.textMerge": "Merge",
"DE.Views.MailMergeSettings.textMergeFields": "Felder zusammenführen",
"DE.Views.MailMergeSettings.textMergeTo": "Merge to",
"DE.Views.MailMergeSettings.textPdf": "PDF",
"DE.Views.MailMergeSettings.textPortal": "Save",
"DE.Views.MailMergeSettings.textPreview": "Preview results",
"DE.Views.MailMergeSettings.textReadMore": "Read more",
"DE.Views.MailMergeSettings.textSendMsg": "All mail messages are ready and will be sent out within some time.<br>The speed of mailing depends on your mail service.<br>You can continue working with document or close it. After the operation is over the notification will be sent to your %1 email address.",
"DE.Views.MailMergeSettings.textTo": "To",
"DE.Views.MailMergeSettings.txtFirst": "To first field",
"DE.Views.MailMergeSettings.txtFromToError": "\"From\" value must be less than \"To\" value",
"DE.Views.MailMergeSettings.txtLast": "To last field",
"DE.Views.MailMergeSettings.txtNext": "To next field",
"DE.Views.MailMergeSettings.txtPrev": "To previous field",
"DE.Views.MailMergeSettings.txtUntitled": "Untitled",
"DE.Views.MailMergeSettings.warnProcessMailMerge": "Starting merge failed",
"DE.Views.ParagraphSettings.strLineHeight": "Zeilenabstand",
"DE.Views.ParagraphSettings.strParagraphSpacing": "Abstand",
"DE.Views.ParagraphSettings.strSomeParagraphSpace": "Kein Abstand zwischen Absätzen gleicher Formatierung",
@ -897,6 +982,7 @@
"DE.Views.RightMenu.txtChartSettings": "Diagrammeinstellungen",
"DE.Views.RightMenu.txtHeaderFooterSettings": "Kopf- und Fußzeileneinstellungen",
"DE.Views.RightMenu.txtImageSettings": "Bildeinstellungen",
"DE.Views.RightMenu.txtMailMergeSettings": "Mail Merge Settings",
"DE.Views.RightMenu.txtParagraphSettings": "Absatzeinstellungen",
"DE.Views.RightMenu.txtShapeSettings": "Formeinstellungen",
"DE.Views.RightMenu.txtTableSettings": "Tabelleneinstellungen",
@ -1152,6 +1238,7 @@
"DE.Views.Toolbar.tipInsertTable": "Tabelle einfügen",
"DE.Views.Toolbar.tipInsertText": "Text einfügen",
"DE.Views.Toolbar.tipLineSpace": "Zeilenabstand",
"DE.Views.Toolbar.tipMailRecepients": "Mail Merge",
"DE.Views.Toolbar.tipMarkers": "Aufzählung",
"DE.Views.Toolbar.tipMultilevels": "Gliederung",
"DE.Views.Toolbar.tipNewDocument": "Neues Dokument",

View file

@ -1,11 +1,16 @@
{
"Common.Controllers.Chat.notcriticalErrorTitle": "Warning",
"Common.Controllers.Chat.textEnterMessage": "Enter your message here",
"Common.Controllers.Chat.textUserLimit": "You are using ONLYOFFICE Free Edition.<br>Only two users can co-edit the document simultaneously.<br>Want more? Consider buying ONLYOFFICE Enterprise Edition.<br><a href=\"http:\/\/www.onlyoffice.com\/free-edition.aspx\" target=\"_blank\">Read more</a>",
"Common.Controllers.Chat.textUserLimit": "You are using ONLYOFFICE Free Edition.<br>Only two users can co-edit the document simultaneously.<br>Want more? Consider buying ONLYOFFICE Enterprise Edition.<br><a href=\"http://www.onlyoffice.com/free-edition.aspx\" target=\"_blank\">Read more</a>",
"Common.Controllers.ExternalDiagramEditor.textAnonymous": "Anonymous",
"Common.Controllers.ExternalDiagramEditor.textClose": "Close",
"Common.Controllers.ExternalDiagramEditor.warningText": "The object is disabled because it is being edited by another user.",
"Common.Controllers.ExternalDiagramEditor.warningTitle": "Warning",
"Common.Controllers.ExternalMergeEditor.textAnonymous": "Anonymous",
"Common.Controllers.ExternalMergeEditor.textClose": "Close",
"Common.Controllers.ExternalMergeEditor.warningText": "The object is disabled because it is being edited by another user.",
"Common.Controllers.ExternalMergeEditor.warningTitle": "Warning",
"Common.Controllers.History.notcriticalErrorTitle": "Warning",
"Common.UI.ComboBorderSize.txtNoBorders": "No borders",
"Common.UI.ComboBorderSizeEditable.txtNoBorders": "No borders",
"Common.UI.ComboDataView.emptyComboText": "No styles",
@ -32,6 +37,7 @@
"Common.UI.Window.noButtonText": "No",
"Common.UI.Window.okButtonText": "OK",
"Common.UI.Window.textConfirmation": "Confirmation",
"Common.UI.Window.textDontShow": "Don't show this message again",
"Common.UI.Window.textError": "Error",
"Common.UI.Window.textInformation": "Information",
"Common.UI.Window.textWarning": "Warning",
@ -72,7 +78,12 @@
"Common.Views.ExternalDiagramEditor.textClose": "Close",
"Common.Views.ExternalDiagramEditor.textSave": "Save & Exit",
"Common.Views.ExternalDiagramEditor.textTitle": "Chart Editor",
"Common.Views.ExternalMergeEditor.textClose": "Close",
"Common.Views.ExternalMergeEditor.textSave": "Save & Exit",
"Common.Views.ExternalMergeEditor.textTitle": "Mail Merge Recipients",
"Common.Views.Header.openNewTabText": "Open in New Tab",
"Common.Views.Header.textBack": "Go to Documents",
"Common.Views.History.textHistoryHeader": "Back to Document",
"Common.Views.ImageFromUrlDialog.cancelButtonText": "Cancel",
"Common.Views.ImageFromUrlDialog.okButtonText": "OK",
"Common.Views.ImageFromUrlDialog.textUrl": "Paste an image URL:",
@ -86,8 +97,11 @@
"Common.Views.InsertTableDialog.txtMinText": "The minimum value for this field is {0}.",
"Common.Views.InsertTableDialog.txtRows": "Number of Rows",
"Common.Views.InsertTableDialog.txtTitle": "Table Size",
"DE.Controllers.LeftMenu.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.",
"DE.Controllers.LeftMenu.newDocumentTitle": "Unnamed document",
"DE.Controllers.LeftMenu.notcriticalErrorTitle": "Warning",
"DE.Controllers.LeftMenu.requestEditRightsText": "Requesting editing rights...",
"DE.Controllers.LeftMenu.textLoadHistory": "Loading versions history...",
"DE.Controllers.LeftMenu.textNoTextFound": "The data you have been searching for could not be found. Please adjust your search options.",
"DE.Controllers.LeftMenu.textReplaceSkipped": "The replacement has been made. {0} occurrences were skipped.",
"DE.Controllers.LeftMenu.textReplaceSuccess": "The search has been done. Occurrences replaced: {0}",
@ -99,6 +113,8 @@
"DE.Controllers.Main.criticalErrorTitle": "Error",
"DE.Controllers.Main.defaultTitleText": "ONLYOFFICE Document Editor",
"DE.Controllers.Main.downloadErrorText": "Download failed.",
"DE.Controllers.Main.downloadMergeText": "Downloading...",
"DE.Controllers.Main.downloadMergeTitle": "Downloading",
"DE.Controllers.Main.downloadTextText": "Downloading document...",
"DE.Controllers.Main.downloadTitleText": "Downloading Document",
"DE.Controllers.Main.errorCoAuthoringDisconnect": "Server connection lost. The document cannot be edited right now.",
@ -108,6 +124,8 @@
"DE.Controllers.Main.errorFilePassProtect": "The document is password protected and could not be opened.",
"DE.Controllers.Main.errorKeyEncrypt": "Unknown key descriptor",
"DE.Controllers.Main.errorKeyExpire": "Key descriptor expired",
"DE.Controllers.Main.errorMailMergeLoadFile": "Loading failed",
"DE.Controllers.Main.errorMailMergeSaveFile": "Merge failed.",
"DE.Controllers.Main.errorProcessSaveResult": "Saving failed.",
"DE.Controllers.Main.errorStockChart": "Incorrect row order. To build a stock chart place the data on the sheet in the following order:<br> opening price, max price, min price, closing price.",
"DE.Controllers.Main.errorUpdateVersion": "The file version has been changed. The page will be reloaded.",
@ -124,6 +142,8 @@
"DE.Controllers.Main.loadImageTitleText": "Loading Image",
"DE.Controllers.Main.loadingDocumentTextText": "Loading document...",
"DE.Controllers.Main.loadingDocumentTitleText": "Loading Document",
"DE.Controllers.Main.mailMergeLoadFileText": "Loading Data Source...",
"DE.Controllers.Main.mailMergeLoadFileTitle": "Loading Data Source",
"DE.Controllers.Main.notcriticalErrorTitle": "Warning",
"DE.Controllers.Main.openTextText": "Opening document...",
"DE.Controllers.Main.openTitleText": "Opening Document",
@ -136,6 +156,8 @@
"DE.Controllers.Main.savePreparingTitle": "Preparing to save. Please wait...",
"DE.Controllers.Main.saveTextText": "Saving document...",
"DE.Controllers.Main.saveTitleText": "Saving Document",
"DE.Controllers.Main.sendMergeText": "Sending Merge...",
"DE.Controllers.Main.sendMergeTitle": "Sending Merge",
"DE.Controllers.Main.splitDividerErrorText": "The number of rows must be a divisor of %1.",
"DE.Controllers.Main.splitMaxColsErrorText": "The number of columns must be less than %1.",
"DE.Controllers.Main.splitMaxRowsErrorText": "The number of rows must be less than %1.",
@ -147,13 +169,17 @@
"DE.Controllers.Main.txtButtons": "Buttons",
"DE.Controllers.Main.txtCallouts": "Callouts",
"DE.Controllers.Main.txtCharts": "Charts",
"DE.Controllers.Main.txtDiagramTitle": "Chart Title",
"DE.Controllers.Main.txtEditingMode": "Set editing mode...",
"DE.Controllers.Main.txtFiguredArrows": "Figured Arrows",
"DE.Controllers.Main.txtLines": "Lines",
"DE.Controllers.Main.txtMath": "Math",
"DE.Controllers.Main.txtNeedSynchronize": "You have updates",
"DE.Controllers.Main.txtRectangles": "Rectangles",
"DE.Controllers.Main.txtSeries": "Series",
"DE.Controllers.Main.txtStarsRibbons": "Stars & Ribbons",
"DE.Controllers.Main.txtXAxis": "X Axis",
"DE.Controllers.Main.txtYAxis": "Y Axis",
"DE.Controllers.Main.unknownErrorText": "Unknown error.",
"DE.Controllers.Main.unsupportedBrowserErrorText ": "Your browser is not supported.",
"DE.Controllers.Main.uploadImageExtMessage": "Unknown image format.",
@ -165,6 +191,7 @@
"DE.Controllers.Main.warnBrowserZoom": "Your browser current zoom setting is not fully supported. Please reset to the default zoom by pressing Ctrl+0.",
"DE.Controllers.Main.warnProcessRightsChange": "You have been denied the right to edit the file.",
"DE.Controllers.Statusbar.zoomText": "Zoom {0}%",
"DE.Controllers.Toolbar.confirmAddFontName": "The font you are going to save is not available on the current device.<br>The text style will be displayed using one of the device fonts, the saved font will be used when it is available.<br>Do you want to continue?",
"DE.Controllers.Toolbar.textAccent": "Accents",
"DE.Controllers.Toolbar.textBracket": "Brackets",
"DE.Controllers.Toolbar.textEmptyImgUrl": "You need to specify image URL.",
@ -541,6 +568,10 @@
"DE.Views.DocumentHolder.deleteRowText": "Delete Row",
"DE.Views.DocumentHolder.deleteTableText": "Delete Table",
"DE.Views.DocumentHolder.deleteText": "Delete",
"DE.Views.DocumentHolder.direct270Text": "Rotate at 270°",
"DE.Views.DocumentHolder.direct90Text": "Rotate at 90°",
"DE.Views.DocumentHolder.directHText": "Horizontal",
"DE.Views.DocumentHolder.directionText": "Text Direction",
"DE.Views.DocumentHolder.editChartText": "Edit Data",
"DE.Views.DocumentHolder.editFooterText": "Edit Footer",
"DE.Views.DocumentHolder.editHeaderText": "Edit Header",
@ -663,10 +694,12 @@
"DE.Views.FileMenu.btnCreateNewCaption": "Create New",
"DE.Views.FileMenu.btnDownloadCaption": "Download as...",
"DE.Views.FileMenu.btnHelpCaption": "Help...",
"DE.Views.FileMenu.btnHistoryCaption": "Version History",
"DE.Views.FileMenu.btnInfoCaption": "Document Info...",
"DE.Views.FileMenu.btnPrintCaption": "Print",
"DE.Views.FileMenu.btnRecentFilesCaption": "Open Recent...",
"DE.Views.FileMenu.btnReturnCaption": "Back to Document",
"DE.Views.FileMenu.btnRightsCaption": "Access Rights...",
"DE.Views.FileMenu.btnSaveCaption": "Save",
"DE.Views.FileMenu.btnSettingsCaption": "Advanced Settings...",
"DE.Views.FileMenu.btnToEditCaption": "Edit Document",
@ -688,6 +721,8 @@
"DE.Views.FileMenuPanels.DocumentInfo.txtSymbols": "Symbols",
"DE.Views.FileMenuPanels.DocumentInfo.txtTitle": "Document Title",
"DE.Views.FileMenuPanels.DocumentInfo.txtWords": "Words",
"DE.Views.FileMenuPanels.DocumentRights.txtBtnAccessRights": "Change access rights",
"DE.Views.FileMenuPanels.DocumentRights.txtRights": "Persons who have rights",
"DE.Views.FileMenuPanels.Settings.okButtonText": "Apply",
"DE.Views.FileMenuPanels.Settings.strAlignGuides": "Turn on alignment guides",
"DE.Views.FileMenuPanels.Settings.strAutosave": "Turn on autosave",
@ -823,6 +858,56 @@
"DE.Views.LeftMenu.tipSearch": "Search",
"DE.Views.LeftMenu.tipSupport": "Feedback & Support",
"DE.Views.LeftMenu.tipTitles": "Titles",
"DE.Views.MailMergeEmailDlg.cancelButtonText": "Cancel",
"DE.Views.MailMergeEmailDlg.filePlaceholder": "PDF",
"DE.Views.MailMergeEmailDlg.okButtonText": "Send",
"DE.Views.MailMergeEmailDlg.subjectPlaceholder": "Theme",
"DE.Views.MailMergeEmailDlg.textAttachDocx": "Attach as DOCX",
"DE.Views.MailMergeEmailDlg.textAttachPdf": "Attach as PDF",
"DE.Views.MailMergeEmailDlg.textFileName": "File name",
"DE.Views.MailMergeEmailDlg.textFormat": "Mail format",
"DE.Views.MailMergeEmailDlg.textFrom": "From",
"DE.Views.MailMergeEmailDlg.textHTML": "HTML",
"DE.Views.MailMergeEmailDlg.textMessage": "Message",
"DE.Views.MailMergeEmailDlg.textSubject": "Subject Line",
"DE.Views.MailMergeEmailDlg.textTitle": "Send to E-mail",
"DE.Views.MailMergeEmailDlg.textTo": "To",
"DE.Views.MailMergeEmailDlg.textWarning": "Warning!",
"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",
"DE.Views.MailMergeSettings.downloadMergeTitle": "Merging",
"DE.Views.MailMergeSettings.errorMailMergeSaveFile": "Merge failed.",
"DE.Views.MailMergeSettings.notcriticalErrorTitle": "Warning",
"DE.Views.MailMergeSettings.textAll": "All records",
"DE.Views.MailMergeSettings.textCurrent": "Current record",
"DE.Views.MailMergeSettings.textDataSource": "Data Source",
"DE.Views.MailMergeSettings.textDocx": "Docx",
"DE.Views.MailMergeSettings.textDownload": "Download",
"DE.Views.MailMergeSettings.textEditData": "Edit recipient list",
"DE.Views.MailMergeSettings.textEmail": "E-mail",
"DE.Views.MailMergeSettings.textFrom": "From",
"DE.Views.MailMergeSettings.textHighlight": "Highlight merge fields",
"DE.Views.MailMergeSettings.textInsertField": "Insert Merge Field",
"DE.Views.MailMergeSettings.textMaxRecepients": "Max 100 recipients.",
"DE.Views.MailMergeSettings.textMerge": "Merge",
"DE.Views.MailMergeSettings.textMergeFields": "Merge Fields",
"DE.Views.MailMergeSettings.textMergeTo": "Merge to",
"DE.Views.MailMergeSettings.textPdf": "PDF",
"DE.Views.MailMergeSettings.textPortal": "Save",
"DE.Views.MailMergeSettings.textPreview": "Preview results",
"DE.Views.MailMergeSettings.textReadMore": "Read more",
"DE.Views.MailMergeSettings.textSendMsg": "All mail messages are ready and will be sent out within some time.<br>The speed of mailing depends on your mail service.<br>You can continue working with document or close it. After the operation is over the notification will be sent to your %1 email address.",
"DE.Views.MailMergeSettings.textTo": "To",
"DE.Views.MailMergeSettings.txtFirst": "To first field",
"DE.Views.MailMergeSettings.txtFromToError": "\"From\" value must be less than \"To\" value",
"DE.Views.MailMergeSettings.txtLast": "To last field",
"DE.Views.MailMergeSettings.txtNext": "To next field",
"DE.Views.MailMergeSettings.txtPrev": "To previous field",
"DE.Views.MailMergeSettings.txtUntitled": "Untitled",
"DE.Views.MailMergeSettings.warnProcessMailMerge": "Starting merge failed",
"DE.Views.ParagraphSettings.strLineHeight": "Line Spacing",
"DE.Views.ParagraphSettings.strParagraphSpacing": "Spacing",
"DE.Views.ParagraphSettings.strSomeParagraphSpace": "Don't add interval between paragraphs of the same style",
@ -897,6 +982,7 @@
"DE.Views.RightMenu.txtChartSettings": "Chart Settings",
"DE.Views.RightMenu.txtHeaderFooterSettings": "Header and Footer Settings",
"DE.Views.RightMenu.txtImageSettings": "Image Settings",
"DE.Views.RightMenu.txtMailMergeSettings": "Mail Merge Settings",
"DE.Views.RightMenu.txtParagraphSettings": "Paragraph Settings",
"DE.Views.RightMenu.txtShapeSettings": "Shape Settings",
"DE.Views.RightMenu.txtTableSettings": "Table Settings",
@ -1152,6 +1238,7 @@
"DE.Views.Toolbar.tipInsertTable": "Insert Table",
"DE.Views.Toolbar.tipInsertText": "Insert Text",
"DE.Views.Toolbar.tipLineSpace": "Paragraph Line Spacing",
"DE.Views.Toolbar.tipMailRecepients": "Mail Merge",
"DE.Views.Toolbar.tipMarkers": "Bullets",
"DE.Views.Toolbar.tipMultilevels": "Outline",
"DE.Views.Toolbar.tipNewDocument": "New Document",

View file

@ -1,11 +1,16 @@
{
"Common.Controllers.Chat.notcriticalErrorTitle": "Aviso",
"Common.Controllers.Chat.textEnterMessage": "Introduzca su mensaje aquí",
"Common.Controllers.Chat.textUserLimit": "Usted está usando la edición ONLYOFFICE gratuita.<br>Sólo dos usuarios pueden editar el documento simultáneamente.<br>¿Quiere más? Compre la edición Empresa ONLYOFFICE.<br><a href=\"http:\/\/www.onlyoffice.com\/free-edition.aspx\" target=\"_blank\">Saber más</a>",
"Common.Controllers.Chat.textUserLimit": "Usted está usando la edición ONLYOFFICE gratuita.<br>Sólo dos usuarios pueden editar el documento simultáneamente.<br>¿Quiere más? Compre la edición Empresa ONLYOFFICE.<br><a href=\"http://www.onlyoffice.com/free-edition.aspx\" target=\"_blank\">Saber más</a>",
"Common.Controllers.ExternalDiagramEditor.textAnonymous": "Anónimo",
"Common.Controllers.ExternalDiagramEditor.textClose": "Cerrar",
"Common.Controllers.ExternalDiagramEditor.warningText": "El objeto está desactivado porque se está editando por otro usuario.",
"Common.Controllers.ExternalDiagramEditor.warningTitle": "Aviso",
"Common.Controllers.ExternalMergeEditor.textAnonymous": "Anónimo",
"Common.Controllers.ExternalMergeEditor.textClose": "Cerrar",
"Common.Controllers.ExternalMergeEditor.warningText": "El objeto está desactivado porque se está editando por otro usuario.",
"Common.Controllers.ExternalMergeEditor.warningTitle": "Aviso",
"Common.Controllers.History.notcriticalErrorTitle": "Aviso",
"Common.UI.ComboBorderSize.txtNoBorders": "Sin bordes",
"Common.UI.ComboBorderSizeEditable.txtNoBorders": "Sin bordes",
"Common.UI.ComboDataView.emptyComboText": "Sin estilo",
@ -32,6 +37,7 @@
"Common.UI.Window.noButtonText": "No",
"Common.UI.Window.okButtonText": "OK",
"Common.UI.Window.textConfirmation": "Confirmación",
"Common.UI.Window.textDontShow": "No volver a mostrar este mensaje",
"Common.UI.Window.textError": "Error",
"Common.UI.Window.textInformation": "Información",
"Common.UI.Window.textWarning": "Aviso",
@ -72,7 +78,12 @@
"Common.Views.ExternalDiagramEditor.textClose": "Cerrar",
"Common.Views.ExternalDiagramEditor.textSave": "Guardar y salir",
"Common.Views.ExternalDiagramEditor.textTitle": "Editor de gráfico",
"Common.Views.ExternalMergeEditor.textClose": "Cerrar",
"Common.Views.ExternalMergeEditor.textSave": "Guardar y salir",
"Common.Views.ExternalMergeEditor.textTitle": "Receptores de Fusión de Correo",
"Common.Views.Header.openNewTabText": "Abrir en pestaña nueva",
"Common.Views.Header.textBack": "Ir a Documentos",
"Common.Views.History.textHistoryHeader": "Volver a Documento",
"Common.Views.ImageFromUrlDialog.cancelButtonText": "Cancelar",
"Common.Views.ImageFromUrlDialog.okButtonText": "OK",
"Common.Views.ImageFromUrlDialog.textUrl": "Pegar URL de imagen:",
@ -86,8 +97,11 @@
"Common.Views.InsertTableDialog.txtMinText": "El valor mínimo para este campo es {0}.",
"Common.Views.InsertTableDialog.txtRows": "Número de filas",
"Common.Views.InsertTableDialog.txtTitle": "Tamaño de tabla",
"DE.Controllers.LeftMenu.leavePageText": "Todos los cambios no guardados de este documento se perderán.<br> Pulse \"Cancelar\" después \"Guardar\" para guardarlos. Pulse \"OK\" para deshacer todos los cambios no guardados.",
"DE.Controllers.LeftMenu.newDocumentTitle": "Documento sin título",
"DE.Controllers.LeftMenu.notcriticalErrorTitle": "Aviso",
"DE.Controllers.LeftMenu.requestEditRightsText": "Solicitando derechos de edición...",
"DE.Controllers.LeftMenu.textLoadHistory": "Cargando historial de versiones...",
"DE.Controllers.LeftMenu.textNoTextFound": "No se puede encontrar los datos que usted busca. Por favor, ajuste los parámetros de búsqueda.",
"DE.Controllers.LeftMenu.textReplaceSkipped": "Se ha realizado el reemplazo. {0} ocurrencias fueron saltadas.",
"DE.Controllers.LeftMenu.textReplaceSuccess": "La búsqueda se ha realizado. Ocurrencias reemplazadas: {0}",
@ -99,6 +113,8 @@
"DE.Controllers.Main.criticalErrorTitle": "Error",
"DE.Controllers.Main.defaultTitleText": "ONLYOFFICE Document Editor",
"DE.Controllers.Main.downloadErrorText": "Error de descarga.",
"DE.Controllers.Main.downloadMergeText": "Descargando...",
"DE.Controllers.Main.downloadMergeTitle": "Descargando",
"DE.Controllers.Main.downloadTextText": "Cargando documento...",
"DE.Controllers.Main.downloadTitleText": "Cargando documento",
"DE.Controllers.Main.errorCoAuthoringDisconnect": "Se ha perdido la conexión con servidor. El documento no puede ser editado ahora.",
@ -108,6 +124,8 @@
"DE.Controllers.Main.errorFilePassProtect": "El documento está protegido por una contraseña y no puede ser abierto.",
"DE.Controllers.Main.errorKeyEncrypt": "Descriptor de clave desconocido",
"DE.Controllers.Main.errorKeyExpire": "Descriptor de clave ha expirado",
"DE.Controllers.Main.errorMailMergeLoadFile": "Error de carga",
"DE.Controllers.Main.errorMailMergeSaveFile": "Error de fusión.",
"DE.Controllers.Main.errorProcessSaveResult": "Problemas al guardar",
"DE.Controllers.Main.errorStockChart": "Orden de las filas incorrecto. Para crear un gráfico de cotizaciones introduzca los datos en la hoja de la forma siguiente:<br> precio de apertura, precio máximo, precio mínimo, precio de cierre.",
"DE.Controllers.Main.errorUpdateVersion": "Se ha cambiado la versión del archivo. La página será actualizada.",
@ -124,6 +142,8 @@
"DE.Controllers.Main.loadImageTitleText": "Cargando imagen",
"DE.Controllers.Main.loadingDocumentTextText": "Cargando documento...",
"DE.Controllers.Main.loadingDocumentTitleText": "Cargando documento",
"DE.Controllers.Main.mailMergeLoadFileText": "Cargando fuente de datos...",
"DE.Controllers.Main.mailMergeLoadFileTitle": "Cargando fuente de datos",
"DE.Controllers.Main.notcriticalErrorTitle": "Aviso",
"DE.Controllers.Main.openTextText": "Abriendo documento...",
"DE.Controllers.Main.openTitleText": "Abriendo documento",
@ -136,6 +156,8 @@
"DE.Controllers.Main.savePreparingTitle": "Preparando para guardar.Espere por favor...",
"DE.Controllers.Main.saveTextText": "Guardando documento...",
"DE.Controllers.Main.saveTitleText": "Guardando documento",
"DE.Controllers.Main.sendMergeText": "Envío de fusión...",
"DE.Controllers.Main.sendMergeTitle": "Envío de fusión",
"DE.Controllers.Main.splitDividerErrorText": "El número de filas debe ser un divisor de %1.",
"DE.Controllers.Main.splitMaxColsErrorText": "El número de columnas debe ser menos que %1.",
"DE.Controllers.Main.splitMaxRowsErrorText": "El número de filas debe ser menos que %1.",
@ -147,13 +169,17 @@
"DE.Controllers.Main.txtButtons": "Botones",
"DE.Controllers.Main.txtCallouts": "Llamadas",
"DE.Controllers.Main.txtCharts": "Gráficos",
"DE.Controllers.Main.txtDiagramTitle": "Título de diagrama",
"DE.Controllers.Main.txtEditingMode": "Establecer el modo de edición...",
"DE.Controllers.Main.txtFiguredArrows": "Formas de flecha",
"DE.Controllers.Main.txtLines": "Líneas",
"DE.Controllers.Main.txtMath": "Matemáticas",
"DE.Controllers.Main.txtNeedSynchronize": "Usted tiene actualizaciones",
"DE.Controllers.Main.txtRectangles": "Rectángulos",
"DE.Controllers.Main.txtSeries": "Serie",
"DE.Controllers.Main.txtStarsRibbons": "Cintas y estrellas",
"DE.Controllers.Main.txtXAxis": "Eje X",
"DE.Controllers.Main.txtYAxis": "Eje Y",
"DE.Controllers.Main.unknownErrorText": "Error desconocido.",
"DE.Controllers.Main.unsupportedBrowserErrorText ": "Su navegador no está soportado.",
"DE.Controllers.Main.uploadImageExtMessage": "Formato de imagen desconocido.",
@ -165,6 +191,7 @@
"DE.Controllers.Main.warnBrowserZoom": "La configuración actual de zoom de su navegador no está soportada por completo. Por favor restablezca zoom predeterminado pulsando Ctrl+0.",
"DE.Controllers.Main.warnProcessRightsChange": "El derecho de edición del archivo es denegado",
"DE.Controllers.Statusbar.zoomText": "Zoom {0}%",
"DE.Controllers.Toolbar.confirmAddFontName": "El tipo de letra que usted va a guardar no está disponible en este dispositivo. <br>El estilo de letra se mostrará usando uno de los tipos de letra del dispositivo, el tipo de letra guardado va a usarse cuando esté disponible.<br>¿Desea continuar?",
"DE.Controllers.Toolbar.textAccent": "Acentos",
"DE.Controllers.Toolbar.textBracket": "Paréntesis",
"DE.Controllers.Toolbar.textEmptyImgUrl": "Hay que especificar URL de imagen",
@ -541,6 +568,10 @@
"DE.Views.DocumentHolder.deleteRowText": "Borrar fila",
"DE.Views.DocumentHolder.deleteTableText": "Borrar tabla",
"DE.Views.DocumentHolder.deleteText": "Borrar",
"DE.Views.DocumentHolder.direct270Text": "Girar a 270°",
"DE.Views.DocumentHolder.direct90Text": "Girar a 90°",
"DE.Views.DocumentHolder.directHText": "Horizontal ",
"DE.Views.DocumentHolder.directionText": "Dirección de texto",
"DE.Views.DocumentHolder.editChartText": "Editar datos",
"DE.Views.DocumentHolder.editFooterText": "Editar pie de página",
"DE.Views.DocumentHolder.editHeaderText": "Editar encabezado",
@ -630,7 +661,7 @@
"DE.Views.DropcapSettingsAdvanced.textColumn": "Columna",
"DE.Views.DropcapSettingsAdvanced.textDistance": "Distancia del texto",
"DE.Views.DropcapSettingsAdvanced.textExact": "Exacto",
"DE.Views.DropcapSettingsAdvanced.textFlow": "Marco de flujo",
"DE.Views.DropcapSettingsAdvanced.textFlow": "Marco flujo",
"DE.Views.DropcapSettingsAdvanced.textFont": "Letra ",
"DE.Views.DropcapSettingsAdvanced.textFrame": "Marco",
"DE.Views.DropcapSettingsAdvanced.textHeight": "Altura",
@ -663,10 +694,12 @@
"DE.Views.FileMenu.btnCreateNewCaption": "Crear nuevo",
"DE.Views.FileMenu.btnDownloadCaption": "Descargar como...",
"DE.Views.FileMenu.btnHelpCaption": "Ayuda...",
"DE.Views.FileMenu.btnHistoryCaption": "Historial de las Versiones",
"DE.Views.FileMenu.btnInfoCaption": "Info sobre documento...",
"DE.Views.FileMenu.btnPrintCaption": "Imprimir",
"DE.Views.FileMenu.btnRecentFilesCaption": "Abrir reciente...",
"DE.Views.FileMenu.btnReturnCaption": "Volver a Documento",
"DE.Views.FileMenu.btnRightsCaption": "Derechos de acceso...",
"DE.Views.FileMenu.btnSaveCaption": "Guardar",
"DE.Views.FileMenu.btnSettingsCaption": "Ajustes avanzados...",
"DE.Views.FileMenu.btnToEditCaption": "Editar documento",
@ -688,6 +721,8 @@
"DE.Views.FileMenuPanels.DocumentInfo.txtSymbols": "Símbolos",
"DE.Views.FileMenuPanels.DocumentInfo.txtTitle": "Título de documento",
"DE.Views.FileMenuPanels.DocumentInfo.txtWords": "Palabras",
"DE.Views.FileMenuPanels.DocumentRights.txtBtnAccessRights": "Cambiar derechos de acceso",
"DE.Views.FileMenuPanels.DocumentRights.txtRights": "Personas que tienen derechos",
"DE.Views.FileMenuPanels.Settings.okButtonText": "Aplicar",
"DE.Views.FileMenuPanels.Settings.strAlignGuides": "Activar guías de alineación",
"DE.Views.FileMenuPanels.Settings.strAutosave": "Activar autoguardado",
@ -823,6 +858,56 @@
"DE.Views.LeftMenu.tipSearch": "Búsqueda",
"DE.Views.LeftMenu.tipSupport": "Feedback & Support",
"DE.Views.LeftMenu.tipTitles": "Títulos",
"DE.Views.MailMergeEmailDlg.cancelButtonText": "Cancelar",
"DE.Views.MailMergeEmailDlg.filePlaceholder": "PDF",
"DE.Views.MailMergeEmailDlg.okButtonText": "Enviar",
"DE.Views.MailMergeEmailDlg.subjectPlaceholder": "Tema",
"DE.Views.MailMergeEmailDlg.textAttachDocx": "Adjuntar como DOCX",
"DE.Views.MailMergeEmailDlg.textAttachPdf": "Adjuntar como PDF",
"DE.Views.MailMergeEmailDlg.textFileName": "Nombre de archivo",
"DE.Views.MailMergeEmailDlg.textFormat": "Formato",
"DE.Views.MailMergeEmailDlg.textFrom": "De",
"DE.Views.MailMergeEmailDlg.textHTML": "HTML",
"DE.Views.MailMergeEmailDlg.textMessage": "Mensaje",
"DE.Views.MailMergeEmailDlg.textSubject": "Línea de tema",
"DE.Views.MailMergeEmailDlg.textTitle": "Enviar vía e-mail",
"DE.Views.MailMergeEmailDlg.textTo": "Para",
"DE.Views.MailMergeEmailDlg.textWarning": "¡Aviso!",
"DE.Views.MailMergeEmailDlg.textWarningMsg": "Note, por favor, que no se puede detener el envío, una vez pulsado el botón 'Enviar'.",
"DE.Views.MailMergeRecepients.textLoading": "Cargando",
"DE.Views.MailMergeRecepients.textTitle": "Seleccionar Origen de Datos",
"DE.Views.MailMergeSaveDlg.textLoading": "Cargando",
"DE.Views.MailMergeSaveDlg.textTitle": "Carpeta para guardar",
"DE.Views.MailMergeSettings.downloadMergeTitle": "Fusión",
"DE.Views.MailMergeSettings.errorMailMergeSaveFile": "Error de fusión.",
"DE.Views.MailMergeSettings.notcriticalErrorTitle": "Aviso",
"DE.Views.MailMergeSettings.textAll": "Todos registros",
"DE.Views.MailMergeSettings.textCurrent": "Registro actual",
"DE.Views.MailMergeSettings.textDataSource": "Fuente de datos",
"DE.Views.MailMergeSettings.textDocx": "Docx",
"DE.Views.MailMergeSettings.textDownload": "Descargar",
"DE.Views.MailMergeSettings.textEditData": "Editar lista de destinatarios",
"DE.Views.MailMergeSettings.textEmail": "E-mail",
"DE.Views.MailMergeSettings.textFrom": "De",
"DE.Views.MailMergeSettings.textHighlight": "Resaltar campos unidos",
"DE.Views.MailMergeSettings.textInsertField": "Insertar campo unido",
"DE.Views.MailMergeSettings.textMaxRecepients": "Máximo - 100 receptores",
"DE.Views.MailMergeSettings.textMerge": "Fusión",
"DE.Views.MailMergeSettings.textMergeFields": "Combinar Campos",
"DE.Views.MailMergeSettings.textMergeTo": "Fusión en",
"DE.Views.MailMergeSettings.textPdf": "PDF",
"DE.Views.MailMergeSettings.textPortal": "Guardar",
"DE.Views.MailMergeSettings.textPreview": "Vista previa de resultados",
"DE.Views.MailMergeSettings.textReadMore": "Leer más",
"DE.Views.MailMergeSettings.textSendMsg": "Todos los mensajes de email están listos y se enviarán en poco tiempo.<br>La velocidad de envío depende de su servicio de correo.<br>Usted puede continuar trabajando en el documento o cerrarlo. Una vez terminada la operación la notificación se enviará a su dirección de email %1.",
"DE.Views.MailMergeSettings.textTo": "a",
"DE.Views.MailMergeSettings.txtFirst": "Primer campo",
"DE.Views.MailMergeSettings.txtFromToError": "El valor \"De\" debe ser menor que \"A\"",
"DE.Views.MailMergeSettings.txtLast": "Último campo",
"DE.Views.MailMergeSettings.txtNext": "Campo siguente",
"DE.Views.MailMergeSettings.txtPrev": "Campo anterior",
"DE.Views.MailMergeSettings.txtUntitled": "Sin título",
"DE.Views.MailMergeSettings.warnProcessMailMerge": "Imposible empezar fusión",
"DE.Views.ParagraphSettings.strLineHeight": "Espaciado de línea",
"DE.Views.ParagraphSettings.strParagraphSpacing": "Espaciado",
"DE.Views.ParagraphSettings.strSomeParagraphSpace": "No añadir intervalo entre párrafos del mismo estilo",
@ -897,6 +982,7 @@
"DE.Views.RightMenu.txtChartSettings": "Ajustes de gráfico",
"DE.Views.RightMenu.txtHeaderFooterSettings": "Ajustes de encabezado y pie de página",
"DE.Views.RightMenu.txtImageSettings": "Ajustes de imagen",
"DE.Views.RightMenu.txtMailMergeSettings": "Ajustes de fusión",
"DE.Views.RightMenu.txtParagraphSettings": "Ajustes de párrafo",
"DE.Views.RightMenu.txtShapeSettings": "Ajustes de forma",
"DE.Views.RightMenu.txtTableSettings": "Ajustes de tabla",
@ -971,8 +1057,8 @@
"DE.Views.TableSettings.deleteColumnText": "Borrar columna",
"DE.Views.TableSettings.deleteRowText": "Borrar fila",
"DE.Views.TableSettings.deleteTableText": "Borrar tabla",
"DE.Views.TableSettings.insertColumnLeftText": "Insertar columna izquierda",
"DE.Views.TableSettings.insertColumnRightText": "Insertar columna derecha",
"DE.Views.TableSettings.insertColumnLeftText": "Insertar columna a la izquierda",
"DE.Views.TableSettings.insertColumnRightText": "Insertar columna a la derecha",
"DE.Views.TableSettings.insertRowAboveText": "Insertar fila arriba",
"DE.Views.TableSettings.insertRowBelowText": "Insertar fila abajo",
"DE.Views.TableSettings.mergeCellsText": "Unir celdas",
@ -1042,7 +1128,7 @@
"DE.Views.TableSettingsAdvanced.textLeft": "Izquierdo",
"DE.Views.TableSettingsAdvanced.textLeftTooltip": "Izquierdo",
"DE.Views.TableSettingsAdvanced.textMargin": "Margen",
"DE.Views.TableSettingsAdvanced.textMargins": "Márgenes de celdas",
"DE.Views.TableSettingsAdvanced.textMargins": "Márgenes de celda",
"DE.Views.TableSettingsAdvanced.textMove": "Desplazar objeto con texto",
"DE.Views.TableSettingsAdvanced.textNewColor": "Color personalizado",
"DE.Views.TableSettingsAdvanced.textOnlyCells": "Sólo para celdas seleccionadas",
@ -1152,6 +1238,7 @@
"DE.Views.Toolbar.tipInsertTable": "Insertar tabla",
"DE.Views.Toolbar.tipInsertText": "Insertar texto",
"DE.Views.Toolbar.tipLineSpace": "Espaciado de línea de párrafo",
"DE.Views.Toolbar.tipMailRecepients": "Combinación de Correspondencia",
"DE.Views.Toolbar.tipMarkers": "Viñetas",
"DE.Views.Toolbar.tipMultilevels": "Esquema",
"DE.Views.Toolbar.tipNewDocument": "Nuevo documento",

View file

@ -1,11 +1,16 @@
{
"Common.Controllers.Chat.notcriticalErrorTitle": "Avertissement",
"Common.Controllers.Chat.textEnterMessage": "Entrez votre message ici",
"Common.Controllers.Chat.textUserLimit": "Vous êtes en train d'utiliser ONLYOFFICE Free Edition.<br>Ce ne sont que deux utilisateurs qui peuvent éditer le document simultanément.<br>Voulez plus ? Envisagez d'acheter ONLYOFFICE Enterprise Edition.<br><a href=\"http:\/\/www.onlyoffice.com\/free-edition.aspx\" target=\"_blank\">En savoir plus</a>",
"Common.Controllers.Chat.textUserLimit": "Vous êtes en train d'utiliser ONLYOFFICE Free Edition.<br>Ce ne sont que deux utilisateurs qui peuvent éditer le document simultanément.<br>Voulez plus ? Envisagez d'acheter ONLYOFFICE Enterprise Edition.<br><a href=\"http://www.onlyoffice.com/free-edition.aspx\" target=\"_blank\">En savoir plus</a>",
"Common.Controllers.ExternalDiagramEditor.textAnonymous": "Anonyme",
"Common.Controllers.ExternalDiagramEditor.textClose": "Fermer",
"Common.Controllers.ExternalDiagramEditor.warningText": "L'objet est désactivé car il est en cours de modification par un autre utilisateur.",
"Common.Controllers.ExternalDiagramEditor.warningTitle": "Avertissement",
"Common.Controllers.ExternalMergeEditor.textAnonymous": "Anonymous",
"Common.Controllers.ExternalMergeEditor.textClose": "Close",
"Common.Controllers.ExternalMergeEditor.warningText": "The object is disabled because it is being edited by another user.",
"Common.Controllers.ExternalMergeEditor.warningTitle": "Warning",
"Common.Controllers.History.notcriticalErrorTitle": "Warning",
"Common.UI.ComboBorderSize.txtNoBorders": "Pas de bordures",
"Common.UI.ComboBorderSizeEditable.txtNoBorders": "Pas de bordures",
"Common.UI.ComboDataView.emptyComboText": "Aucun style",
@ -32,6 +37,7 @@
"Common.UI.Window.noButtonText": "Non",
"Common.UI.Window.okButtonText": "OK",
"Common.UI.Window.textConfirmation": "Confirmation",
"Common.UI.Window.textDontShow": "Ne plus afficher ce message",
"Common.UI.Window.textError": "Erreur",
"Common.UI.Window.textInformation": "Information",
"Common.UI.Window.textWarning": "Avertissement",
@ -72,7 +78,12 @@
"Common.Views.ExternalDiagramEditor.textClose": "Fermer",
"Common.Views.ExternalDiagramEditor.textSave": "Enregistrer",
"Common.Views.ExternalDiagramEditor.textTitle": "Éditeur de graphique",
"Common.Views.ExternalMergeEditor.textClose": "Close",
"Common.Views.ExternalMergeEditor.textSave": "Save & Exit",
"Common.Views.ExternalMergeEditor.textTitle": "Mail Merge Recipients",
"Common.Views.Header.openNewTabText": "Open in New Tab",
"Common.Views.Header.textBack": "Aller aux Documents",
"Common.Views.History.textHistoryHeader": "Retour au Document",
"Common.Views.ImageFromUrlDialog.cancelButtonText": "Annuler",
"Common.Views.ImageFromUrlDialog.okButtonText": "OK",
"Common.Views.ImageFromUrlDialog.textUrl": "Coller URL d'image",
@ -86,8 +97,11 @@
"Common.Views.InsertTableDialog.txtMinText": "La valeur minimale pour ce champ est {0}.",
"Common.Views.InsertTableDialog.txtRows": "Nombre de lignes",
"Common.Views.InsertTableDialog.txtTitle": "Taille du tableau",
"DE.Controllers.LeftMenu.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.",
"DE.Controllers.LeftMenu.newDocumentTitle": "Document sans nom",
"DE.Controllers.LeftMenu.notcriticalErrorTitle": "Warning",
"DE.Controllers.LeftMenu.requestEditRightsText": "Demande des droits de modification...",
"DE.Controllers.LeftMenu.textLoadHistory": "Loading versions history...",
"DE.Controllers.LeftMenu.textNoTextFound": "Votre recherche n'a donné aucun résultat.S'il vous plaît, modifiez vos critères de recherche.",
"DE.Controllers.LeftMenu.textReplaceSkipped": "Le remplacement est fait. {0} occurrences ont été ignorées.",
"DE.Controllers.LeftMenu.textReplaceSuccess": "La recherche est effectuée. Occurrences ont été remplacées:{0}",
@ -99,6 +113,8 @@
"DE.Controllers.Main.criticalErrorTitle": "Erreur",
"DE.Controllers.Main.defaultTitleText": "ONLYOFFICE Document Editor",
"DE.Controllers.Main.downloadErrorText": "Échec du téléchargement.",
"DE.Controllers.Main.downloadMergeText": "Downloading...",
"DE.Controllers.Main.downloadMergeTitle": "Downloading",
"DE.Controllers.Main.downloadTextText": "Téléchargement du document...",
"DE.Controllers.Main.downloadTitleText": "Téléchargement du document",
"DE.Controllers.Main.errorCoAuthoringDisconnect": "Connexion au serveur perdue. Le document ne peut être modifié en ce moment.",
@ -108,6 +124,8 @@
"DE.Controllers.Main.errorFilePassProtect": "Le document est protégé par le mot de passe et ne peut être ouvert.",
"DE.Controllers.Main.errorKeyEncrypt": "Descripteur de clés inconnu",
"DE.Controllers.Main.errorKeyExpire": "Key descriptor expired",
"DE.Controllers.Main.errorMailMergeLoadFile": "Loading failed",
"DE.Controllers.Main.errorMailMergeSaveFile": "Merge failed.",
"DE.Controllers.Main.errorProcessSaveResult": "Échec de l'enregistrement",
"DE.Controllers.Main.errorStockChart": "Ordre des lignes est incorrect. Pour créer un graphique boursier organisez vos données sur la feuille de calcul dans l'ordre suivant:<br> cours à l'ouverture, cours maximal, cours minimal, cours à la clôture.",
"DE.Controllers.Main.errorUpdateVersion": "La version du fichier a été changée. La page sera rechargée.",
@ -124,6 +142,8 @@
"DE.Controllers.Main.loadImageTitleText": "Chargement d'une image",
"DE.Controllers.Main.loadingDocumentTextText": "Chargement du document...",
"DE.Controllers.Main.loadingDocumentTitleText": "Chargement du document",
"DE.Controllers.Main.mailMergeLoadFileText": "Loading Data Source...",
"DE.Controllers.Main.mailMergeLoadFileTitle": "Loading Data Source",
"DE.Controllers.Main.notcriticalErrorTitle": "Avertissement",
"DE.Controllers.Main.openTextText": "Ouverture du document...",
"DE.Controllers.Main.openTitleText": "Ouverture du document",
@ -136,6 +156,8 @@
"DE.Controllers.Main.savePreparingTitle": "Préparation à l'enregistrement en cours. Veuillez patienter...",
"DE.Controllers.Main.saveTextText": "Enregistrement du document...",
"DE.Controllers.Main.saveTitleText": "Enregistrement du document",
"DE.Controllers.Main.sendMergeText": "Sending Merge...",
"DE.Controllers.Main.sendMergeTitle": "Sending Merge",
"DE.Controllers.Main.splitDividerErrorText": "Le nombre de lignes doit être un diviseur de %1.",
"DE.Controllers.Main.splitMaxColsErrorText": "Le nombre de colonnes doivent être inférieure à %1.",
"DE.Controllers.Main.splitMaxRowsErrorText": "Le nombre de lignes doit être inférieure à %1.",
@ -147,13 +169,17 @@
"DE.Controllers.Main.txtButtons": "Boutons",
"DE.Controllers.Main.txtCallouts": "Légendes",
"DE.Controllers.Main.txtCharts": "Graphiques",
"DE.Controllers.Main.txtDiagramTitle": "Titre du diagramme",
"DE.Controllers.Main.txtEditingMode": "Définissez le mode d'édition...",
"DE.Controllers.Main.txtFiguredArrows": "Flèches figurées",
"DE.Controllers.Main.txtLines": "Lignes",
"DE.Controllers.Main.txtMath": "Maths",
"DE.Controllers.Main.txtNeedSynchronize": "Vous avez des mises à jour",
"DE.Controllers.Main.txtRectangles": "Rectangles",
"DE.Controllers.Main.txtSeries": "Série",
"DE.Controllers.Main.txtStarsRibbons": "Étoiles et rubans",
"DE.Controllers.Main.txtXAxis": "Axe X",
"DE.Controllers.Main.txtYAxis": "Axe Y",
"DE.Controllers.Main.unknownErrorText": "Erreur inconnue.",
"DE.Controllers.Main.unsupportedBrowserErrorText ": "Votre navigateur n'est pas pris en charge.",
"DE.Controllers.Main.uploadImageExtMessage": "Format d'image inconnu.",
@ -165,6 +191,7 @@
"DE.Controllers.Main.warnBrowserZoom": "Le paramètre actuel de zoom de votre navigateur n'est pas accepté. Veuillez rétablir le niveau de zoom par défaut en appuyant sur Ctrl+0.",
"DE.Controllers.Main.warnProcessRightsChange": "Le droit d'édition du fichier vous a été refusé.",
"DE.Controllers.Statusbar.zoomText": "Zoom {0}%",
"DE.Controllers.Toolbar.confirmAddFontName": "The font you are going to save is not available on the current device.<br>The text style will be displayed using one of the device fonts, the saved font will be used when it is available.<br>Do you want to continue?",
"DE.Controllers.Toolbar.textAccent": "Types d'accentuation",
"DE.Controllers.Toolbar.textBracket": "Crochets",
"DE.Controllers.Toolbar.textEmptyImgUrl": "Specifiez URL d'image",
@ -541,6 +568,10 @@
"DE.Views.DocumentHolder.deleteRowText": "Supprimer la ligne",
"DE.Views.DocumentHolder.deleteTableText": "Supprimer le tableau",
"DE.Views.DocumentHolder.deleteText": "Supprimer",
"DE.Views.DocumentHolder.direct270Text": "Rotate at 270°",
"DE.Views.DocumentHolder.direct90Text": "Rotate at 90°",
"DE.Views.DocumentHolder.directHText": "Horizontal",
"DE.Views.DocumentHolder.directionText": "Text Direction",
"DE.Views.DocumentHolder.editChartText": "Modifier données",
"DE.Views.DocumentHolder.editFooterText": "Modifier le pied de page",
"DE.Views.DocumentHolder.editHeaderText": "Modifier l'en-tête",
@ -663,10 +694,12 @@
"DE.Views.FileMenu.btnCreateNewCaption": "Nouvel objet",
"DE.Views.FileMenu.btnDownloadCaption": "Télécharger comme...",
"DE.Views.FileMenu.btnHelpCaption": "Aide...",
"DE.Views.FileMenu.btnHistoryCaption": "Version History",
"DE.Views.FileMenu.btnInfoCaption": "Descriptif du document...",
"DE.Views.FileMenu.btnPrintCaption": "Imprimer",
"DE.Views.FileMenu.btnRecentFilesCaption": "Ouvrir récent...",
"DE.Views.FileMenu.btnReturnCaption": "Retour au Document",
"DE.Views.FileMenu.btnRightsCaption": "Access Rights...",
"DE.Views.FileMenu.btnSaveCaption": "Enregistrer",
"DE.Views.FileMenu.btnSettingsCaption": "Paramètres avancés...",
"DE.Views.FileMenu.btnToEditCaption": "Modifier le document",
@ -688,6 +721,8 @@
"DE.Views.FileMenuPanels.DocumentInfo.txtSymbols": "Symboles",
"DE.Views.FileMenuPanels.DocumentInfo.txtTitle": "Titre du document",
"DE.Views.FileMenuPanels.DocumentInfo.txtWords": "Mots",
"DE.Views.FileMenuPanels.DocumentRights.txtBtnAccessRights": "Changer les droits d'accès",
"DE.Views.FileMenuPanels.DocumentRights.txtRights": "Personnes qui ont des droits",
"DE.Views.FileMenuPanels.Settings.okButtonText": "Appliquer",
"DE.Views.FileMenuPanels.Settings.strAlignGuides": "Activer les repères d'alignement",
"DE.Views.FileMenuPanels.Settings.strAutosave": "Activer l'enregistrement automatique",
@ -823,6 +858,56 @@
"DE.Views.LeftMenu.tipSearch": "Recherche",
"DE.Views.LeftMenu.tipSupport": "Feedback & Support",
"DE.Views.LeftMenu.tipTitles": "Titres",
"DE.Views.MailMergeEmailDlg.cancelButtonText": "Cancel",
"DE.Views.MailMergeEmailDlg.filePlaceholder": "PDF",
"DE.Views.MailMergeEmailDlg.okButtonText": "Send",
"DE.Views.MailMergeEmailDlg.subjectPlaceholder": "Theme",
"DE.Views.MailMergeEmailDlg.textAttachDocx": "Attach as DOCX",
"DE.Views.MailMergeEmailDlg.textAttachPdf": "Attach as PDF",
"DE.Views.MailMergeEmailDlg.textFileName": "File name",
"DE.Views.MailMergeEmailDlg.textFormat": "Mail format",
"DE.Views.MailMergeEmailDlg.textFrom": "From",
"DE.Views.MailMergeEmailDlg.textHTML": "HTML",
"DE.Views.MailMergeEmailDlg.textMessage": "Message",
"DE.Views.MailMergeEmailDlg.textSubject": "Subject Line",
"DE.Views.MailMergeEmailDlg.textTitle": "Send to E-mail",
"DE.Views.MailMergeEmailDlg.textTo": "To",
"DE.Views.MailMergeEmailDlg.textWarning": "Warning!",
"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",
"DE.Views.MailMergeSettings.downloadMergeTitle": "Merging",
"DE.Views.MailMergeSettings.errorMailMergeSaveFile": "Merge failed.",
"DE.Views.MailMergeSettings.notcriticalErrorTitle": "Warning",
"DE.Views.MailMergeSettings.textAll": "All records",
"DE.Views.MailMergeSettings.textCurrent": "Current record",
"DE.Views.MailMergeSettings.textDataSource": "Data Source",
"DE.Views.MailMergeSettings.textDocx": "Docx",
"DE.Views.MailMergeSettings.textDownload": "Download",
"DE.Views.MailMergeSettings.textEditData": "Edit recipients list",
"DE.Views.MailMergeSettings.textEmail": "E-mail",
"DE.Views.MailMergeSettings.textFrom": "From",
"DE.Views.MailMergeSettings.textHighlight": "Highlight merge fields",
"DE.Views.MailMergeSettings.textInsertField": "Insert Merge Field",
"DE.Views.MailMergeSettings.textMaxRecepients": "Max 100 recipients.",
"DE.Views.MailMergeSettings.textMerge": "Merge",
"DE.Views.MailMergeSettings.textMergeFields": "Merge Fields",
"DE.Views.MailMergeSettings.textMergeTo": "Merge to",
"DE.Views.MailMergeSettings.textPdf": "PDF",
"DE.Views.MailMergeSettings.textPortal": "Save",
"DE.Views.MailMergeSettings.textPreview": "Preview results",
"DE.Views.MailMergeSettings.textReadMore": "Read more",
"DE.Views.MailMergeSettings.textSendMsg": "All mail messages are ready and will be sent out within some time.<br>The speed of mailing depends on your mail service.<br>You can continue working with document or close it. After the operation is over the notification will be sent to your %1 email address.",
"DE.Views.MailMergeSettings.textTo": "To",
"DE.Views.MailMergeSettings.txtFirst": "To first field",
"DE.Views.MailMergeSettings.txtFromToError": "\"From\" value must be less than \"To\" value",
"DE.Views.MailMergeSettings.txtLast": "To last field",
"DE.Views.MailMergeSettings.txtNext": "To next field",
"DE.Views.MailMergeSettings.txtPrev": "To previous field",
"DE.Views.MailMergeSettings.txtUntitled": "Untitled",
"DE.Views.MailMergeSettings.warnProcessMailMerge": "Starting merge failed",
"DE.Views.ParagraphSettings.strLineHeight": "Interligne",
"DE.Views.ParagraphSettings.strParagraphSpacing": "Espacement",
"DE.Views.ParagraphSettings.strSomeParagraphSpace": "N'ajoutez pas l'intervalle entre paragraphes du même style",
@ -897,6 +982,7 @@
"DE.Views.RightMenu.txtChartSettings": "Paramètres du graphique",
"DE.Views.RightMenu.txtHeaderFooterSettings": "Paramètres d'en-têtes et de pieds de page",
"DE.Views.RightMenu.txtImageSettings": "Paramètres de l'image",
"DE.Views.RightMenu.txtMailMergeSettings": "Mail Merge Settings",
"DE.Views.RightMenu.txtParagraphSettings": "Paramètres du paragraphe",
"DE.Views.RightMenu.txtShapeSettings": "Paramètres de la forme",
"DE.Views.RightMenu.txtTableSettings": "Paramètres du tableau",
@ -1152,6 +1238,7 @@
"DE.Views.Toolbar.tipInsertTable": "Insérer un tableau",
"DE.Views.Toolbar.tipInsertText": "Insérer du texte",
"DE.Views.Toolbar.tipLineSpace": "Interligne du paragraphe",
"DE.Views.Toolbar.tipMailRecepients": "Mail Merge",
"DE.Views.Toolbar.tipMarkers": "Puces",
"DE.Views.Toolbar.tipMultilevels": "Plan",
"DE.Views.Toolbar.tipNewDocument": "Nouveau document",

View file

@ -1,11 +1,16 @@
{
"Common.Controllers.Chat.notcriticalErrorTitle": "Avviso",
"Common.Controllers.Chat.textEnterMessage": "Scrivi il tuo messaggio qui",
"Common.Controllers.Chat.textUserLimit": "Stai usando ONLYOFFICE Free Edition.<br>Solo due utenti possono modificare il documento contemporaneamente.<br>Si desidera di più? Considera l'acquisto di ONLYOFFICE Enterprise Edition.<br><a href=\"http:\/\/www.onlyoffice.com\/free-edition.aspx\" target=\"_blank\">Ulteriori informazioni</a>",
"Common.Controllers.Chat.textUserLimit": "Stai usando ONLYOFFICE Free Edition.<br>Solo due utenti possono modificare il documento contemporaneamente.<br>Si desidera di più? Considera l'acquisto di ONLYOFFICE Enterprise Edition.<br><a href=\"http://www.onlyoffice.com/free-edition.aspx\" target=\"_blank\">Ulteriori informazioni</a>",
"Common.Controllers.ExternalDiagramEditor.textAnonymous": "Anonimo",
"Common.Controllers.ExternalDiagramEditor.textClose": "Chiudi",
"Common.Controllers.ExternalDiagramEditor.warningText": "L'oggetto è disabilitato perché si sta modificando da un altro utente.",
"Common.Controllers.ExternalDiagramEditor.warningTitle": "Avviso",
"Common.Controllers.ExternalMergeEditor.textAnonymous": "Anonymous",
"Common.Controllers.ExternalMergeEditor.textClose": "Close",
"Common.Controllers.ExternalMergeEditor.warningText": "The object is disabled because it is being edited by another user.",
"Common.Controllers.ExternalMergeEditor.warningTitle": "Warning",
"Common.Controllers.History.notcriticalErrorTitle": "Warning",
"Common.UI.ComboBorderSize.txtNoBorders": "Nessun bordo",
"Common.UI.ComboBorderSizeEditable.txtNoBorders": "Nessun bordo",
"Common.UI.ComboDataView.emptyComboText": "Nessuno stile",
@ -32,6 +37,7 @@
"Common.UI.Window.noButtonText": "No",
"Common.UI.Window.okButtonText": "OK",
"Common.UI.Window.textConfirmation": "Conferma",
"Common.UI.Window.textDontShow": "Non visualizzare più questo messaggio",
"Common.UI.Window.textError": "Errore",
"Common.UI.Window.textInformation": "Informazione",
"Common.UI.Window.textWarning": "Avviso",
@ -72,7 +78,12 @@
"Common.Views.ExternalDiagramEditor.textClose": "Chiudi",
"Common.Views.ExternalDiagramEditor.textSave": "Salva ed esci",
"Common.Views.ExternalDiagramEditor.textTitle": "Modifica grafico",
"Common.Views.ExternalMergeEditor.textClose": "Close",
"Common.Views.ExternalMergeEditor.textSave": "Save & Exit",
"Common.Views.ExternalMergeEditor.textTitle": "Mail Merge Recipients",
"Common.Views.Header.openNewTabText": "Open in New Tab",
"Common.Views.Header.textBack": "Va' ai Documenti",
"Common.Views.History.textHistoryHeader": "Back to Document",
"Common.Views.ImageFromUrlDialog.cancelButtonText": "Annulla",
"Common.Views.ImageFromUrlDialog.okButtonText": "OK",
"Common.Views.ImageFromUrlDialog.textUrl": "Incolla URL immagine:",
@ -86,8 +97,11 @@
"Common.Views.InsertTableDialog.txtMinText": "Il valore minimo di questo campo è {0}.",
"Common.Views.InsertTableDialog.txtRows": "Numero di righe",
"Common.Views.InsertTableDialog.txtTitle": "Dimensioni tabella",
"DE.Controllers.LeftMenu.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.",
"DE.Controllers.LeftMenu.newDocumentTitle": "Documento senza nome",
"DE.Controllers.LeftMenu.notcriticalErrorTitle": "Warning",
"DE.Controllers.LeftMenu.requestEditRightsText": "Richiesta di autorizzazione di modifica...",
"DE.Controllers.LeftMenu.textLoadHistory": "Loading versions history...",
"DE.Controllers.LeftMenu.textNoTextFound": "I dati da cercare non sono stati trovati. Modifica i parametri di ricerca.",
"DE.Controllers.LeftMenu.textReplaceSkipped": "La sostituzione è stata effettuata. {0} occorrenze sono state saltate.",
"DE.Controllers.LeftMenu.textReplaceSuccess": "La ricerca è stata effettuata. Occorrenze sostituite: {0}",
@ -99,6 +113,8 @@
"DE.Controllers.Main.criticalErrorTitle": "Errore",
"DE.Controllers.Main.defaultTitleText": "ONLYOFFICE Document Editor",
"DE.Controllers.Main.downloadErrorText": "Download fallito.",
"DE.Controllers.Main.downloadMergeText": "Downloading...",
"DE.Controllers.Main.downloadMergeTitle": "Downloading",
"DE.Controllers.Main.downloadTextText": "Download del documento in corso...",
"DE.Controllers.Main.downloadTitleText": "Download del documento",
"DE.Controllers.Main.errorCoAuthoringDisconnect": "Connessione al server persa. Impossibile modificare il documento.",
@ -108,6 +124,8 @@
"DE.Controllers.Main.errorFilePassProtect": "Il documento è protetto da una password. Impossibile aprirlo.",
"DE.Controllers.Main.errorKeyEncrypt": "Descrittore di chiave sconosciuto",
"DE.Controllers.Main.errorKeyExpire": "Descrittore di chiave scaduto",
"DE.Controllers.Main.errorMailMergeLoadFile": "Loading failed",
"DE.Controllers.Main.errorMailMergeSaveFile": "Merge failed.",
"DE.Controllers.Main.errorProcessSaveResult": "Salvataggio non riuscito",
"DE.Controllers.Main.errorStockChart": "Ordine di righe scorretto. Per creare o grafico in pila posiziona i dati nel foglio nel seguente ordine:<br> prezzo di apertura, prezzo massimo, prezzo minimo, prezzo di chiusura.",
"DE.Controllers.Main.errorUpdateVersion": "La versione file è stata moificata. La pagina verrà ricaricata.",
@ -124,6 +142,8 @@
"DE.Controllers.Main.loadImageTitleText": "Caricamento dell'immagine",
"DE.Controllers.Main.loadingDocumentTextText": "Caricamento del documento in corso...",
"DE.Controllers.Main.loadingDocumentTitleText": "Caricamento del documento",
"DE.Controllers.Main.mailMergeLoadFileText": "Loading Data Source...",
"DE.Controllers.Main.mailMergeLoadFileTitle": "Loading Data Source",
"DE.Controllers.Main.notcriticalErrorTitle": "Avviso",
"DE.Controllers.Main.openTextText": "Apertura del documento in corso...",
"DE.Controllers.Main.openTitleText": "Apertura del documento",
@ -136,6 +156,8 @@
"DE.Controllers.Main.savePreparingTitle": "Preparazione al salvataggio. Si prega di aspettare...",
"DE.Controllers.Main.saveTextText": "Salvataggio del documento in corso...",
"DE.Controllers.Main.saveTitleText": "Salvataggio del documento",
"DE.Controllers.Main.sendMergeText": "Sending Merge...",
"DE.Controllers.Main.sendMergeTitle": "Sending Merge",
"DE.Controllers.Main.splitDividerErrorText": "Il numero di righe deve essere un divisore di %1.",
"DE.Controllers.Main.splitMaxColsErrorText": "Il numero di colonne deve essere inferiore a %1.",
"DE.Controllers.Main.splitMaxRowsErrorText": "Il numero di righe deve essere inferiore a %1.",
@ -147,13 +169,17 @@
"DE.Controllers.Main.txtButtons": "Bottoni",
"DE.Controllers.Main.txtCallouts": "Callout",
"DE.Controllers.Main.txtCharts": "Grafici",
"DE.Controllers.Main.txtDiagramTitle": "Titolo diagramma",
"DE.Controllers.Main.txtEditingMode": "Impostazione modo di modifica...",
"DE.Controllers.Main.txtFiguredArrows": "Frecce decorate",
"DE.Controllers.Main.txtLines": "Linee",
"DE.Controllers.Main.txtMath": "Matematica",
"DE.Controllers.Main.txtNeedSynchronize": "Ci sono aggiornamenti disponibili",
"DE.Controllers.Main.txtRectangles": "Rettangoli",
"DE.Controllers.Main.txtSeries": "Serie",
"DE.Controllers.Main.txtStarsRibbons": "Stelle e nastri",
"DE.Controllers.Main.txtXAxis": "Asse X",
"DE.Controllers.Main.txtYAxis": "Asse Y",
"DE.Controllers.Main.unknownErrorText": "Errore sconosciuto.",
"DE.Controllers.Main.unsupportedBrowserErrorText ": "Il tuo browser non è supportato.",
"DE.Controllers.Main.uploadImageExtMessage": "Formato immagine sconosciuto.",
@ -165,6 +191,7 @@
"DE.Controllers.Main.warnBrowserZoom": "Le impostazioni correnti di zoom del tuo browser non sono completamente supportate. Per favore, ritorna allo zoom predefinito premendo Ctrl+0.",
"DE.Controllers.Main.warnProcessRightsChange": "Ci stato negato il diritto alla modifica del file.",
"DE.Controllers.Statusbar.zoomText": "Zoom {0}%",
"DE.Controllers.Toolbar.confirmAddFontName": "The font you are going to save is not available on the current device.<br>The text style will be displayed using one of the device fonts, the saved font will be used when it is available.<br>Do you want to continue?",
"DE.Controllers.Toolbar.textAccent": "Accents",
"DE.Controllers.Toolbar.textBracket": "Brackets",
"DE.Controllers.Toolbar.textEmptyImgUrl": "Specifica URL immagine.",
@ -541,6 +568,10 @@
"DE.Views.DocumentHolder.deleteRowText": "Elimina riga",
"DE.Views.DocumentHolder.deleteTableText": "Elimina tabella",
"DE.Views.DocumentHolder.deleteText": "Elimina",
"DE.Views.DocumentHolder.direct270Text": "Rotate at 270°",
"DE.Views.DocumentHolder.direct90Text": "Rotate at 90°",
"DE.Views.DocumentHolder.directHText": "Horizontal",
"DE.Views.DocumentHolder.directionText": "Text Direction",
"DE.Views.DocumentHolder.editChartText": "Modifica dati",
"DE.Views.DocumentHolder.editFooterText": "Modifica piè di pagina",
"DE.Views.DocumentHolder.editHeaderText": "Modifica intestazione",
@ -663,10 +694,12 @@
"DE.Views.FileMenu.btnCreateNewCaption": "Crea nuovo oggetto",
"DE.Views.FileMenu.btnDownloadCaption": "Scarica in...",
"DE.Views.FileMenu.btnHelpCaption": "Guida...",
"DE.Views.FileMenu.btnHistoryCaption": "Version History",
"DE.Views.FileMenu.btnInfoCaption": "Informazioni documento...",
"DE.Views.FileMenu.btnPrintCaption": "Stampa",
"DE.Views.FileMenu.btnRecentFilesCaption": "Apri recenti...",
"DE.Views.FileMenu.btnReturnCaption": "Torna al documento",
"DE.Views.FileMenu.btnRightsCaption": "Access Rights...",
"DE.Views.FileMenu.btnSaveCaption": "Salva",
"DE.Views.FileMenu.btnSettingsCaption": "Impostazioni avanzate...",
"DE.Views.FileMenu.btnToEditCaption": "Modifica documento",
@ -688,6 +721,8 @@
"DE.Views.FileMenuPanels.DocumentInfo.txtSymbols": "Simboli",
"DE.Views.FileMenuPanels.DocumentInfo.txtTitle": "Titolo documento",
"DE.Views.FileMenuPanels.DocumentInfo.txtWords": "Parole",
"DE.Views.FileMenuPanels.DocumentRights.txtBtnAccessRights": "Cambia diritti di accesso",
"DE.Views.FileMenuPanels.DocumentRights.txtRights": "Persone con diritti",
"DE.Views.FileMenuPanels.Settings.okButtonText": "Applica",
"DE.Views.FileMenuPanels.Settings.strAlignGuides": "Abilita guide di allineamento",
"DE.Views.FileMenuPanels.Settings.strAutosave": "Attiva salvataggio automatico",
@ -823,6 +858,56 @@
"DE.Views.LeftMenu.tipSearch": "Ricerca",
"DE.Views.LeftMenu.tipSupport": "Feedback & Support",
"DE.Views.LeftMenu.tipTitles": "Titoli",
"DE.Views.MailMergeEmailDlg.cancelButtonText": "Cancel",
"DE.Views.MailMergeEmailDlg.filePlaceholder": "PDF",
"DE.Views.MailMergeEmailDlg.okButtonText": "Send",
"DE.Views.MailMergeEmailDlg.subjectPlaceholder": "Theme",
"DE.Views.MailMergeEmailDlg.textAttachDocx": "Attach as DOCX",
"DE.Views.MailMergeEmailDlg.textAttachPdf": "Attach as PDF",
"DE.Views.MailMergeEmailDlg.textFileName": "File name",
"DE.Views.MailMergeEmailDlg.textFormat": "Mail format",
"DE.Views.MailMergeEmailDlg.textFrom": "From",
"DE.Views.MailMergeEmailDlg.textHTML": "HTML",
"DE.Views.MailMergeEmailDlg.textMessage": "Message",
"DE.Views.MailMergeEmailDlg.textSubject": "Subject Line",
"DE.Views.MailMergeEmailDlg.textTitle": "Send to E-mail",
"DE.Views.MailMergeEmailDlg.textTo": "To",
"DE.Views.MailMergeEmailDlg.textWarning": "Warning!",
"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",
"DE.Views.MailMergeSettings.downloadMergeTitle": "Merging",
"DE.Views.MailMergeSettings.errorMailMergeSaveFile": "Merge failed.",
"DE.Views.MailMergeSettings.notcriticalErrorTitle": "Warning",
"DE.Views.MailMergeSettings.textAll": "All records",
"DE.Views.MailMergeSettings.textCurrent": "Current record",
"DE.Views.MailMergeSettings.textDataSource": "Data Source",
"DE.Views.MailMergeSettings.textDocx": "Docx",
"DE.Views.MailMergeSettings.textDownload": "Download",
"DE.Views.MailMergeSettings.textEditData": "Edit recipients list",
"DE.Views.MailMergeSettings.textEmail": "E-mail",
"DE.Views.MailMergeSettings.textFrom": "From",
"DE.Views.MailMergeSettings.textHighlight": "Highlight merge fields",
"DE.Views.MailMergeSettings.textInsertField": "Insert Merge Field",
"DE.Views.MailMergeSettings.textMaxRecepients": "Max 100 recipients.",
"DE.Views.MailMergeSettings.textMerge": "Merge",
"DE.Views.MailMergeSettings.textMergeFields": "Merge Fields",
"DE.Views.MailMergeSettings.textMergeTo": "Merge to",
"DE.Views.MailMergeSettings.textPdf": "PDF",
"DE.Views.MailMergeSettings.textPortal": "Save",
"DE.Views.MailMergeSettings.textPreview": "Preview results",
"DE.Views.MailMergeSettings.textReadMore": "Read more",
"DE.Views.MailMergeSettings.textSendMsg": "All mail messages are ready and will be sent out within some time.<br>The speed of mailing depends on your mail service.<br>You can continue working with document or close it. After the operation is over the notification will be sent to your %1 email address.",
"DE.Views.MailMergeSettings.textTo": "To",
"DE.Views.MailMergeSettings.txtFirst": "To first field",
"DE.Views.MailMergeSettings.txtFromToError": "\"From\" value must be less than \"To\" value",
"DE.Views.MailMergeSettings.txtLast": "To last field",
"DE.Views.MailMergeSettings.txtNext": "To next field",
"DE.Views.MailMergeSettings.txtPrev": "To previous field",
"DE.Views.MailMergeSettings.txtUntitled": "Untitled",
"DE.Views.MailMergeSettings.warnProcessMailMerge": "Starting merge failed",
"DE.Views.ParagraphSettings.strLineHeight": "Interlinea",
"DE.Views.ParagraphSettings.strParagraphSpacing": "Spaziatura",
"DE.Views.ParagraphSettings.strSomeParagraphSpace": "Non aggiungere intervallo tra paragrafi dello stesso stile",
@ -897,6 +982,7 @@
"DE.Views.RightMenu.txtChartSettings": "Impostazioni grafico",
"DE.Views.RightMenu.txtHeaderFooterSettings": "Impostazioni intestazione e piè di pagina",
"DE.Views.RightMenu.txtImageSettings": "Impostazioni immagine",
"DE.Views.RightMenu.txtMailMergeSettings": "Mail Merge Settings",
"DE.Views.RightMenu.txtParagraphSettings": "Impostazioni paragrafo",
"DE.Views.RightMenu.txtShapeSettings": "Impostazioni forma",
"DE.Views.RightMenu.txtTableSettings": "Impostazioni tabella",
@ -1152,6 +1238,7 @@
"DE.Views.Toolbar.tipInsertTable": "Inserisci tabella",
"DE.Views.Toolbar.tipInsertText": "Inserisci testo",
"DE.Views.Toolbar.tipLineSpace": "Interlinea tra i paragrafi",
"DE.Views.Toolbar.tipMailRecepients": "Mail Merge",
"DE.Views.Toolbar.tipMarkers": "Elenchi puntati",
"DE.Views.Toolbar.tipMultilevels": "Struttura",
"DE.Views.Toolbar.tipNewDocument": "Nuovo documento",

View file

@ -1,11 +1,16 @@
{
"Common.Controllers.Chat.notcriticalErrorTitle": "Aviso",
"Common.Controllers.Chat.textEnterMessage": "Inserir sua mensagem aqui",
"Common.Controllers.Chat.textUserLimit": "You are using ONLYOFFICE Free Edition.<br>Only two users can co-edit the document simultaneously.<br>Want more? Consider buying ONLYOFFICE Enterprise Edition.<br><a href=\"http:\/\/www.onlyoffice.com\/free-edition.aspx\" target=\"_blank\">Read more</a>",
"Common.Controllers.Chat.textEnterMessage": "Insira sua mensagem aqui",
"Common.Controllers.Chat.textUserLimit": "You are using ONLYOFFICE Free Edition.<br>Only two users can co-edit the document simultaneously.<br>Want more? Consider buying ONLYOFFICE Enterprise Edition.<br><a href=\"http://www.onlyoffice.com/free-edition.aspx\" target=\"_blank\">Read more</a>",
"Common.Controllers.ExternalDiagramEditor.textAnonymous": "Anônimo",
"Common.Controllers.ExternalDiagramEditor.textClose": "Fechar",
"Common.Controllers.ExternalDiagramEditor.warningText": "O objeto está desabilitado por que está sendo editado por outro usuário.",
"Common.Controllers.ExternalDiagramEditor.warningTitle": "Aviso",
"Common.Controllers.ExternalMergeEditor.textAnonymous": "Anonymous",
"Common.Controllers.ExternalMergeEditor.textClose": "Close",
"Common.Controllers.ExternalMergeEditor.warningText": "The object is disabled because it is being edited by another user.",
"Common.Controllers.ExternalMergeEditor.warningTitle": "Warning",
"Common.Controllers.History.notcriticalErrorTitle": "Warning",
"Common.UI.ComboBorderSize.txtNoBorders": "Sem bordas",
"Common.UI.ComboBorderSizeEditable.txtNoBorders": "Sem bordas",
"Common.UI.ComboDataView.emptyComboText": "Sem estilos",
@ -32,6 +37,7 @@
"Common.UI.Window.noButtonText": "Não",
"Common.UI.Window.okButtonText": "OK",
"Common.UI.Window.textConfirmation": "Confirmação",
"Common.UI.Window.textDontShow": "Não exibir esta mensagem novamente",
"Common.UI.Window.textError": "Erro",
"Common.UI.Window.textInformation": "Informações",
"Common.UI.Window.textWarning": "Aviso",
@ -41,7 +47,7 @@
"Common.Views.About.txtLicensee": "LICENÇA",
"Common.Views.About.txtLicensor": "LICENCIANTE",
"Common.Views.About.txtMail": "e-mail:",
"Common.Views.About.txtPoweredBy": "Powered by",
"Common.Views.About.txtPoweredBy": "Desenvolvido por",
"Common.Views.About.txtTel": "tel.: ",
"Common.Views.About.txtVersion": "Versão",
"Common.Views.AdvancedSettingsWindow.cancelButtonText": "Cancelar",
@ -72,7 +78,12 @@
"Common.Views.ExternalDiagramEditor.textClose": "Fechar",
"Common.Views.ExternalDiagramEditor.textSave": "Salvar e Sair",
"Common.Views.ExternalDiagramEditor.textTitle": "Editor de gráfico",
"Common.Views.ExternalMergeEditor.textClose": "Close",
"Common.Views.ExternalMergeEditor.textSave": "Save & Exit",
"Common.Views.ExternalMergeEditor.textTitle": "Mail Merge Recepients",
"Common.Views.Header.openNewTabText": "Open in New Tab",
"Common.Views.Header.textBack": "Ir para Documentos",
"Common.Views.History.textHistoryHeader": "Back to Document",
"Common.Views.ImageFromUrlDialog.cancelButtonText": "Cancelar",
"Common.Views.ImageFromUrlDialog.okButtonText": "OK",
"Common.Views.ImageFromUrlDialog.textUrl": "Colar uma URL de imagem:",
@ -86,11 +97,14 @@
"Common.Views.InsertTableDialog.txtMinText": "O valor mínimo para este campo é {0}.",
"Common.Views.InsertTableDialog.txtRows": "Número de linhas",
"Common.Views.InsertTableDialog.txtTitle": "Tamanho da tabela",
"DE.Controllers.LeftMenu.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.",
"DE.Controllers.LeftMenu.newDocumentTitle": "Documento sem nome",
"DE.Controllers.LeftMenu.notcriticalErrorTitle": "Warning",
"DE.Controllers.LeftMenu.requestEditRightsText": "Solicitando direitos de edição...",
"DE.Controllers.LeftMenu.textLoadHistory": "Loading versions history...",
"DE.Controllers.LeftMenu.textNoTextFound": "Os dados que você tem estado procurando não podem ser encontrados. Ajuste suas opções de pesquisa.",
"DE.Controllers.LeftMenu.textReplaceSkipped": "A substituição foi realizada. {0} ocorrências foram ignoradas.",
"DE.Controllers.LeftMenu.textReplaceSuccess": "A pesquisa foi realizada. {0} ocorrências foram substituídas.",
"DE.Controllers.LeftMenu.textReplaceSuccess": "A pesquisa foi realizada. Ocorrências substituídas: {0}",
"DE.Controllers.Main.applyChangesTextText": "Carregando as alterações...",
"DE.Controllers.Main.applyChangesTitleText": "Carregando as alterações",
"DE.Controllers.Main.convertationErrorText": "Conversão falhou.",
@ -99,6 +113,8 @@
"DE.Controllers.Main.criticalErrorTitle": "Erro",
"DE.Controllers.Main.defaultTitleText": "Editor de documento ONLYOFFICE",
"DE.Controllers.Main.downloadErrorText": "Download falhou.",
"DE.Controllers.Main.downloadMergeText": "Downloading...",
"DE.Controllers.Main.downloadMergeTitle": "Downloading",
"DE.Controllers.Main.downloadTextText": "Baixando documento...",
"DE.Controllers.Main.downloadTitleText": "Baixando documento",
"DE.Controllers.Main.errorCoAuthoringDisconnect": "Conexão com servidor perdida. O documento não pode ser editado neste momento.",
@ -108,10 +124,12 @@
"DE.Controllers.Main.errorFilePassProtect": "O documento é protegido por senha e não pode ser aberto.",
"DE.Controllers.Main.errorKeyEncrypt": "Descritor de chave desconhecido",
"DE.Controllers.Main.errorKeyExpire": "Descritor de chave expirado",
"DE.Controllers.Main.errorMailMergeLoadFile": "Loading failed",
"DE.Controllers.Main.errorMailMergeSaveFile": "Merge failed.",
"DE.Controllers.Main.errorProcessSaveResult": "Salvamento falhou.",
"DE.Controllers.Main.errorStockChart": "Ordem da linha incorreta. Para criar um gráfico de ações coloque os dados na planilha na seguinte ordem:<br>preço de abertura, preço máx., preço mín., preço de fechamento.",
"DE.Controllers.Main.errorUpdateVersion": "A versão do arquivo foi alterada. A página será recarregada.",
"DE.Controllers.Main.errorUserDrop": "The file cannot be accessed right now.",
"DE.Controllers.Main.errorUserDrop": "O arquivo não pode ser acessado agora.",
"DE.Controllers.Main.errorUsersExceed": "O número de usuários permitidos pelo plano de preços foi excedido",
"DE.Controllers.Main.leavePageText": "Você não salvou as alterações neste documento. Clique em \"Permanecer nesta página\", em seguida, clique em \"Salvar\" para salvá-las. Clique em \"Sair desta página\" para descartar todas as alterações não salvas.",
"DE.Controllers.Main.loadFontsTextText": "Carregando dados...",
@ -124,6 +142,8 @@
"DE.Controllers.Main.loadImageTitleText": "Carregando imagem",
"DE.Controllers.Main.loadingDocumentTextText": "Carregando documento...",
"DE.Controllers.Main.loadingDocumentTitleText": "Carregando documento",
"DE.Controllers.Main.mailMergeLoadFileText": "Loading Data Source...",
"DE.Controllers.Main.mailMergeLoadFileTitle": "Loading Data Source",
"DE.Controllers.Main.notcriticalErrorTitle": "Aviso",
"DE.Controllers.Main.openTextText": "Abrindo documento...",
"DE.Controllers.Main.openTitleText": "Abrindo documento",
@ -136,6 +156,8 @@
"DE.Controllers.Main.savePreparingTitle": "Preparando para salvar. Aguarde...",
"DE.Controllers.Main.saveTextText": "Salvando documento...",
"DE.Controllers.Main.saveTitleText": "Salvando documento",
"DE.Controllers.Main.sendMergeText": "Sending Merge...",
"DE.Controllers.Main.sendMergeTitle": "Sending Merge",
"DE.Controllers.Main.splitDividerErrorText": "O número de linhas deve ser um divisor de %1.",
"DE.Controllers.Main.splitMaxColsErrorText": "O número de colunas deve ser inferior a %1.",
"DE.Controllers.Main.splitMaxRowsErrorText": "O número de linhas deve ser inferior a %1.",
@ -147,13 +169,17 @@
"DE.Controllers.Main.txtButtons": "Botões",
"DE.Controllers.Main.txtCallouts": "Textos explicativos",
"DE.Controllers.Main.txtCharts": "Gráficos",
"DE.Controllers.Main.txtDiagramTitle": "Título do diagrama",
"DE.Controllers.Main.txtEditingMode": "Definir modo de edição...",
"DE.Controllers.Main.txtFiguredArrows": "Setas figuradas",
"DE.Controllers.Main.txtLines": "Linhas",
"DE.Controllers.Main.txtMath": "Matemática",
"DE.Controllers.Main.txtNeedSynchronize": "Você tem atualizações",
"DE.Controllers.Main.txtRectangles": "Retângulos",
"DE.Controllers.Main.txtSeries": "Série",
"DE.Controllers.Main.txtStarsRibbons": "Estrelas e arco-íris",
"DE.Controllers.Main.txtXAxis": "Eixo X",
"DE.Controllers.Main.txtYAxis": "Eixo Y",
"DE.Controllers.Main.unknownErrorText": "Erro desconhecido.",
"DE.Controllers.Main.unsupportedBrowserErrorText ": "Seu navegador não é suportado.",
"DE.Controllers.Main.uploadImageExtMessage": "Formato de imagem desconhecido.",
@ -165,335 +191,336 @@
"DE.Controllers.Main.warnBrowserZoom": "A configuração de zoom atual de seu navegador não é completamente suportada. Redefina para o zoom padrão pressionando Ctrl+0.",
"DE.Controllers.Main.warnProcessRightsChange": "Foi negado a você o direito de editar o arquivo.",
"DE.Controllers.Statusbar.zoomText": "Zoom {0}%",
"DE.Controllers.Toolbar.textAccent": "Accents",
"DE.Controllers.Toolbar.textBracket": "Brackets",
"DE.Controllers.Toolbar.confirmAddFontName": "The font you are going to save is not available on the current device.<br>The text style will be displayed using one of the device fonts, the saved font will be used when it is available.<br>Do you want to continue?",
"DE.Controllers.Toolbar.textAccent": "Destaques",
"DE.Controllers.Toolbar.textBracket": "Parênteses",
"DE.Controllers.Toolbar.textEmptyImgUrl": "Você precisa especificar uma URL de imagem.",
"DE.Controllers.Toolbar.textFontSizeErr": "O valor inserido está incorreto.<br>Insira um valor numérico entre 1 e 100",
"DE.Controllers.Toolbar.textFraction": "Fractions",
"DE.Controllers.Toolbar.textFunction": "Functions",
"DE.Controllers.Toolbar.textIntegral": "Integrals",
"DE.Controllers.Toolbar.textLargeOperator": "Large Operators",
"DE.Controllers.Toolbar.textLimitAndLog": "Limits And Logarithms",
"DE.Controllers.Toolbar.textMatrix": "Matrixes",
"DE.Controllers.Toolbar.textOperator": "Operators",
"DE.Controllers.Toolbar.textRadical": "Radicals",
"DE.Controllers.Toolbar.textFraction": "Frações",
"DE.Controllers.Toolbar.textFunction": "Funções",
"DE.Controllers.Toolbar.textIntegral": "Inteiros",
"DE.Controllers.Toolbar.textLargeOperator": "Grandes operadores",
"DE.Controllers.Toolbar.textLimitAndLog": "Limites e logaritmos",
"DE.Controllers.Toolbar.textMatrix": "Matrizes",
"DE.Controllers.Toolbar.textOperator": "Operadores",
"DE.Controllers.Toolbar.textRadical": "Radicais",
"DE.Controllers.Toolbar.textScript": "Scripts",
"DE.Controllers.Toolbar.textSymbols": "Symbols",
"DE.Controllers.Toolbar.textSymbols": "Símbolos",
"DE.Controllers.Toolbar.textWarning": "Aviso",
"DE.Controllers.Toolbar.txtAccent_Accent": "Acute",
"DE.Controllers.Toolbar.txtAccent_ArrowD": "Right-Left Arrow Above",
"DE.Controllers.Toolbar.txtAccent_ArrowL": "Leftwards Arrow Above",
"DE.Controllers.Toolbar.txtAccent_ArrowR": "Rightwards Arrow Above",
"DE.Controllers.Toolbar.txtAccent_Bar": "Bar",
"DE.Controllers.Toolbar.txtAccent_BarBot": "Underbar",
"DE.Controllers.Toolbar.txtAccent_BarTop": "Overbar",
"DE.Controllers.Toolbar.txtAccent_BorderBox": "Boxed Formula (With Placeholder)",
"DE.Controllers.Toolbar.txtAccent_BorderBoxCustom": "Boxed Formula(Example)",
"DE.Controllers.Toolbar.txtAccent_Check": "Check",
"DE.Controllers.Toolbar.txtAccent_CurveBracketBot": "Underbrace",
"DE.Controllers.Toolbar.txtAccent_CurveBracketTop": "Overbrace",
"DE.Controllers.Toolbar.txtAccent_Custom_1": "Vector A",
"DE.Controllers.Toolbar.txtAccent_Custom_2": "ABC With Overbar",
"DE.Controllers.Toolbar.txtAccent_Custom_3": "x XOR y With Overbar",
"DE.Controllers.Toolbar.txtAccent_DDDot": "Triple Dot",
"DE.Controllers.Toolbar.txtAccent_DDot": "Double Dot",
"DE.Controllers.Toolbar.txtAccent_Dot": "Dot",
"DE.Controllers.Toolbar.txtAccent_DoubleBar": "Double Overbar",
"DE.Controllers.Toolbar.txtAccent_Accent": "Agudo",
"DE.Controllers.Toolbar.txtAccent_ArrowD": "Seta para direita-esquerda acima",
"DE.Controllers.Toolbar.txtAccent_ArrowL": "Seta adiante para cima",
"DE.Controllers.Toolbar.txtAccent_ArrowR": "Seta para direita acima",
"DE.Controllers.Toolbar.txtAccent_Bar": "Barra",
"DE.Controllers.Toolbar.txtAccent_BarBot": "Barra inferior",
"DE.Controllers.Toolbar.txtAccent_BarTop": "Barra superior",
"DE.Controllers.Toolbar.txtAccent_BorderBox": "Fórmula embalada (com Placeholder)",
"DE.Controllers.Toolbar.txtAccent_BorderBoxCustom": "Fórmula embalada(Exemplo)",
"DE.Controllers.Toolbar.txtAccent_Check": "Verificar",
"DE.Controllers.Toolbar.txtAccent_CurveBracketBot": "Chave Inferior",
"DE.Controllers.Toolbar.txtAccent_CurveBracketTop": "Chave Superior",
"DE.Controllers.Toolbar.txtAccent_Custom_1": "Vetor A",
"DE.Controllers.Toolbar.txtAccent_Custom_2": "Barra superior com ABC",
"DE.Controllers.Toolbar.txtAccent_Custom_3": "x XOR y com barra superior",
"DE.Controllers.Toolbar.txtAccent_DDDot": "Ponto triplo",
"DE.Controllers.Toolbar.txtAccent_DDot": "Ponto duplo",
"DE.Controllers.Toolbar.txtAccent_Dot": "Ponto",
"DE.Controllers.Toolbar.txtAccent_DoubleBar": "Barra superior dupla",
"DE.Controllers.Toolbar.txtAccent_Grave": "Grave",
"DE.Controllers.Toolbar.txtAccent_GroupBot": "Grouping Character Below",
"DE.Controllers.Toolbar.txtAccent_GroupTop": "Grouping Character Above",
"DE.Controllers.Toolbar.txtAccent_HarpoonL": "Leftwards Harpoon Above",
"DE.Controllers.Toolbar.txtAccent_HarpoonR": "Rightwards Harpoon Above",
"DE.Controllers.Toolbar.txtAccent_Hat": "Hat",
"DE.Controllers.Toolbar.txtAccent_GroupBot": "Agrupamento de caracteres abaixo",
"DE.Controllers.Toolbar.txtAccent_GroupTop": "Agrupamento de caracteres acima",
"DE.Controllers.Toolbar.txtAccent_HarpoonL": "Arpão adiante para cima",
"DE.Controllers.Toolbar.txtAccent_HarpoonR": "Arpão para direita acima",
"DE.Controllers.Toolbar.txtAccent_Hat": "Acento circunflexo",
"DE.Controllers.Toolbar.txtAccent_Smile": "Breve",
"DE.Controllers.Toolbar.txtAccent_Tilde": "Tilde",
"DE.Controllers.Toolbar.txtBracket_Angle": "Brackets",
"DE.Controllers.Toolbar.txtBracket_Angle_Delimiter_2": "Brackets with Separators",
"DE.Controllers.Toolbar.txtBracket_Angle_Delimiter_3": "Brackets with Separators",
"DE.Controllers.Toolbar.txtBracket_Angle_NoneOpen": "Single Bracket",
"DE.Controllers.Toolbar.txtBracket_Angle_OpenNone": "Single Bracket",
"DE.Controllers.Toolbar.txtBracket_Curve": "Brackets",
"DE.Controllers.Toolbar.txtBracket_Curve_Delimiter_2": "Brackets with Separators",
"DE.Controllers.Toolbar.txtBracket_Curve_NoneOpen": "Single Bracket",
"DE.Controllers.Toolbar.txtBracket_Curve_OpenNone": "Single Bracket",
"DE.Controllers.Toolbar.txtBracket_Custom_1": "Cases (Two Conditions)",
"DE.Controllers.Toolbar.txtBracket_Custom_2": "Cases (Three Conditions)",
"DE.Controllers.Toolbar.txtBracket_Custom_3": "Stack Object",
"DE.Controllers.Toolbar.txtBracket_Custom_4": "Stack Object",
"DE.Controllers.Toolbar.txtBracket_Custom_5": "Cases Example",
"DE.Controllers.Toolbar.txtBracket_Custom_6": "Binomial Coefficient",
"DE.Controllers.Toolbar.txtBracket_Custom_7": "Binomial Coefficient",
"DE.Controllers.Toolbar.txtBracket_Line": "Brackets",
"DE.Controllers.Toolbar.txtBracket_Line_NoneOpen": "Single Bracket",
"DE.Controllers.Toolbar.txtBracket_Line_OpenNone": "Single Bracket",
"DE.Controllers.Toolbar.txtBracket_LineDouble": "Brackets",
"DE.Controllers.Toolbar.txtBracket_LineDouble_NoneOpen": "Single Bracket",
"DE.Controllers.Toolbar.txtBracket_LineDouble_OpenNone": "Single Bracket",
"DE.Controllers.Toolbar.txtBracket_LowLim": "Brackets",
"DE.Controllers.Toolbar.txtBracket_LowLim_NoneNone": "Single Bracket",
"DE.Controllers.Toolbar.txtBracket_LowLim_OpenNone": "Single Bracket",
"DE.Controllers.Toolbar.txtBracket_Round": "Brackets",
"DE.Controllers.Toolbar.txtBracket_Round_Delimiter_2": "Brackets with Separators",
"DE.Controllers.Toolbar.txtBracket_Round_NoneOpen": "Single Bracket",
"DE.Controllers.Toolbar.txtBracket_Round_OpenNone": "Single Bracket",
"DE.Controllers.Toolbar.txtBracket_Square": "Brackets",
"DE.Controllers.Toolbar.txtBracket_Square_CloseClose": "Brackets",
"DE.Controllers.Toolbar.txtBracket_Square_CloseOpen": "Brackets",
"DE.Controllers.Toolbar.txtBracket_Square_NoneOpen": "Single Bracket",
"DE.Controllers.Toolbar.txtBracket_Square_OpenNone": "Single Bracket",
"DE.Controllers.Toolbar.txtBracket_Square_OpenOpen": "Brackets",
"DE.Controllers.Toolbar.txtBracket_SquareDouble": "Brackets",
"DE.Controllers.Toolbar.txtBracket_SquareDouble_NoneOpen": "Single Bracket",
"DE.Controllers.Toolbar.txtBracket_SquareDouble_OpenNone": "Single Bracket",
"DE.Controllers.Toolbar.txtBracket_UppLim": "Brackets",
"DE.Controllers.Toolbar.txtBracket_UppLim_NoneOpen": "Single Bracket",
"DE.Controllers.Toolbar.txtBracket_UppLim_OpenNone": "Single Bracket",
"DE.Controllers.Toolbar.txtFractionDiagonal": "Skewed Fraction",
"DE.Controllers.Toolbar.txtFractionDifferential_1": "Differential",
"DE.Controllers.Toolbar.txtFractionDifferential_2": "Differential",
"DE.Controllers.Toolbar.txtFractionDifferential_3": "Differential",
"DE.Controllers.Toolbar.txtFractionDifferential_4": "Differential",
"DE.Controllers.Toolbar.txtFractionHorizontal": "Linear Fraction",
"DE.Controllers.Toolbar.txtFractionPi_2": "Pi Over 2",
"DE.Controllers.Toolbar.txtFractionSmall": "Small Fraction",
"DE.Controllers.Toolbar.txtFractionVertical": "Stacked Fraction",
"DE.Controllers.Toolbar.txtFunction_1_Cos": "Inverse Cosine Function",
"DE.Controllers.Toolbar.txtFunction_1_Cosh": "Hyperbolic Inverse Cosine Function",
"DE.Controllers.Toolbar.txtFunction_1_Cot": "Inverse Cotangent Function",
"DE.Controllers.Toolbar.txtFunction_1_Coth": "Hyperbolic Inverse Cotangent Function",
"DE.Controllers.Toolbar.txtFunction_1_Csc": "Inverse Cosecant Function",
"DE.Controllers.Toolbar.txtFunction_1_Csch": "Hyperbolic Inverse Cosecant Function",
"DE.Controllers.Toolbar.txtFunction_1_Sec": "Inverse Secant Function",
"DE.Controllers.Toolbar.txtFunction_1_Sech": "Hyperbolic Inverse Secant Function",
"DE.Controllers.Toolbar.txtFunction_1_Sin": "Inverse Sine Function",
"DE.Controllers.Toolbar.txtFunction_1_Sinh": "Hyperbolic Inverse Sine Function",
"DE.Controllers.Toolbar.txtFunction_1_Tan": "Inverse Tangent Function",
"DE.Controllers.Toolbar.txtFunction_1_Tanh": "Hyperbolic Inverse Tangent Function",
"DE.Controllers.Toolbar.txtFunction_Cos": "Cosine Function",
"DE.Controllers.Toolbar.txtFunction_Cosh": "Hyperbolic Cosine Function",
"DE.Controllers.Toolbar.txtFunction_Cot": "Cotangent Function",
"DE.Controllers.Toolbar.txtFunction_Coth": "Hyperbolic Cotangent Function",
"DE.Controllers.Toolbar.txtFunction_Csc": "Cosecant Function",
"DE.Controllers.Toolbar.txtFunction_Csch": "Hyperbolic Cosecant Function",
"DE.Controllers.Toolbar.txtFunction_Custom_1": "Sine theta",
"DE.Controllers.Toolbar.txtAccent_Tilde": "Til",
"DE.Controllers.Toolbar.txtBracket_Angle": "Parênteses",
"DE.Controllers.Toolbar.txtBracket_Angle_Delimiter_2": "Parênteses com separadores",
"DE.Controllers.Toolbar.txtBracket_Angle_Delimiter_3": "Parênteses com separadores",
"DE.Controllers.Toolbar.txtBracket_Angle_NoneOpen": "Colchete Simples",
"DE.Controllers.Toolbar.txtBracket_Angle_OpenNone": "Colchete Simples",
"DE.Controllers.Toolbar.txtBracket_Curve": "Parênteses",
"DE.Controllers.Toolbar.txtBracket_Curve_Delimiter_2": "Parênteses com separadores",
"DE.Controllers.Toolbar.txtBracket_Curve_NoneOpen": "Colchete Simples",
"DE.Controllers.Toolbar.txtBracket_Curve_OpenNone": "Colchete Simples",
"DE.Controllers.Toolbar.txtBracket_Custom_1": "Casos (Duas Condições)",
"DE.Controllers.Toolbar.txtBracket_Custom_2": "Casos (Três Condições)",
"DE.Controllers.Toolbar.txtBracket_Custom_3": "Objeto Empilhado",
"DE.Controllers.Toolbar.txtBracket_Custom_4": "Objeto Empilhado",
"DE.Controllers.Toolbar.txtBracket_Custom_5": "Exemplo de casos",
"DE.Controllers.Toolbar.txtBracket_Custom_6": "Coeficiente binominal",
"DE.Controllers.Toolbar.txtBracket_Custom_7": "Coeficiente binominal",
"DE.Controllers.Toolbar.txtBracket_Line": "Parênteses",
"DE.Controllers.Toolbar.txtBracket_Line_NoneOpen": "Colchete Simples",
"DE.Controllers.Toolbar.txtBracket_Line_OpenNone": "Colchete Simples",
"DE.Controllers.Toolbar.txtBracket_LineDouble": "Parênteses",
"DE.Controllers.Toolbar.txtBracket_LineDouble_NoneOpen": "Colchete Simples",
"DE.Controllers.Toolbar.txtBracket_LineDouble_OpenNone": "Colchete Simples",
"DE.Controllers.Toolbar.txtBracket_LowLim": "Parênteses",
"DE.Controllers.Toolbar.txtBracket_LowLim_NoneNone": "Colchete Simples",
"DE.Controllers.Toolbar.txtBracket_LowLim_OpenNone": "Colchete Simples",
"DE.Controllers.Toolbar.txtBracket_Round": "Parênteses",
"DE.Controllers.Toolbar.txtBracket_Round_Delimiter_2": "Parênteses com separadores",
"DE.Controllers.Toolbar.txtBracket_Round_NoneOpen": "Colchete Simples",
"DE.Controllers.Toolbar.txtBracket_Round_OpenNone": "Colchete Simples",
"DE.Controllers.Toolbar.txtBracket_Square": "Parênteses",
"DE.Controllers.Toolbar.txtBracket_Square_CloseClose": "Parênteses",
"DE.Controllers.Toolbar.txtBracket_Square_CloseOpen": "Parênteses",
"DE.Controllers.Toolbar.txtBracket_Square_NoneOpen": "Colchete Simples",
"DE.Controllers.Toolbar.txtBracket_Square_OpenNone": "Colchete Simples",
"DE.Controllers.Toolbar.txtBracket_Square_OpenOpen": "Parênteses",
"DE.Controllers.Toolbar.txtBracket_SquareDouble": "Parênteses",
"DE.Controllers.Toolbar.txtBracket_SquareDouble_NoneOpen": "Colchete Simples",
"DE.Controllers.Toolbar.txtBracket_SquareDouble_OpenNone": "Colchete Simples",
"DE.Controllers.Toolbar.txtBracket_UppLim": "Parênteses",
"DE.Controllers.Toolbar.txtBracket_UppLim_NoneOpen": "Colchete Simples",
"DE.Controllers.Toolbar.txtBracket_UppLim_OpenNone": "Colchete Simples",
"DE.Controllers.Toolbar.txtFractionDiagonal": "Fração inclinada",
"DE.Controllers.Toolbar.txtFractionDifferential_1": "Diferencial",
"DE.Controllers.Toolbar.txtFractionDifferential_2": "Diferencial",
"DE.Controllers.Toolbar.txtFractionDifferential_3": "Diferencial",
"DE.Controllers.Toolbar.txtFractionDifferential_4": "Diferencial",
"DE.Controllers.Toolbar.txtFractionHorizontal": "Fração linear",
"DE.Controllers.Toolbar.txtFractionPi_2": "Pi sobre 2",
"DE.Controllers.Toolbar.txtFractionSmall": "Fração pequena",
"DE.Controllers.Toolbar.txtFractionVertical": "Fração Empilhada",
"DE.Controllers.Toolbar.txtFunction_1_Cos": "Função cosseno inverso",
"DE.Controllers.Toolbar.txtFunction_1_Cosh": "Função cosseno inverso hiperbólico",
"DE.Controllers.Toolbar.txtFunction_1_Cot": "Função cotangente inversa",
"DE.Controllers.Toolbar.txtFunction_1_Coth": "Função cotangente inversa hiperbólica",
"DE.Controllers.Toolbar.txtFunction_1_Csc": "Função cossecante inversa",
"DE.Controllers.Toolbar.txtFunction_1_Csch": "Função cossecante inversa hiperbólica",
"DE.Controllers.Toolbar.txtFunction_1_Sec": "Função secante inversa",
"DE.Controllers.Toolbar.txtFunction_1_Sech": "Função secante inversa hiperbólica",
"DE.Controllers.Toolbar.txtFunction_1_Sin": "Função seno inverso",
"DE.Controllers.Toolbar.txtFunction_1_Sinh": "Função seno inverso hiperbólico",
"DE.Controllers.Toolbar.txtFunction_1_Tan": "Função tangente inversa",
"DE.Controllers.Toolbar.txtFunction_1_Tanh": "Função tangente inversa hiperbólica",
"DE.Controllers.Toolbar.txtFunction_Cos": "Função cosseno",
"DE.Controllers.Toolbar.txtFunction_Cosh": "Função cosseno hiperbólico",
"DE.Controllers.Toolbar.txtFunction_Cot": "Função cotangente",
"DE.Controllers.Toolbar.txtFunction_Coth": "Função cotangente hiperbólica",
"DE.Controllers.Toolbar.txtFunction_Csc": "Função cossecante",
"DE.Controllers.Toolbar.txtFunction_Csch": "Função co-secante hiperbólica",
"DE.Controllers.Toolbar.txtFunction_Custom_1": "Teta seno",
"DE.Controllers.Toolbar.txtFunction_Custom_2": "Cos 2x",
"DE.Controllers.Toolbar.txtFunction_Custom_3": "Tangent formula",
"DE.Controllers.Toolbar.txtFunction_Sec": "Secant Function",
"DE.Controllers.Toolbar.txtFunction_Sech": "Hyperbolic Secant Function",
"DE.Controllers.Toolbar.txtFunction_Sin": "Sine Function",
"DE.Controllers.Toolbar.txtFunction_Sinh": "Hyperbolic Sine Function",
"DE.Controllers.Toolbar.txtFunction_Tan": "Tangent Function",
"DE.Controllers.Toolbar.txtFunction_Tanh": "Hyperbolic Tangent Function",
"DE.Controllers.Toolbar.txtFunction_Custom_3": "Fórmula da tangente",
"DE.Controllers.Toolbar.txtFunction_Sec": "Função secante",
"DE.Controllers.Toolbar.txtFunction_Sech": "Função secante hiperbólica",
"DE.Controllers.Toolbar.txtFunction_Sin": "Função de seno",
"DE.Controllers.Toolbar.txtFunction_Sinh": "Função seno hiperbólico",
"DE.Controllers.Toolbar.txtFunction_Tan": "Função da tangente",
"DE.Controllers.Toolbar.txtFunction_Tanh": "Função tangente hiperbólica",
"DE.Controllers.Toolbar.txtIntegral": "Integral",
"DE.Controllers.Toolbar.txtIntegral_dtheta": "Differential theta",
"DE.Controllers.Toolbar.txtIntegral_dx": "Differential x",
"DE.Controllers.Toolbar.txtIntegral_dy": "Differential y",
"DE.Controllers.Toolbar.txtIntegral_dtheta": "Teta diferencial",
"DE.Controllers.Toolbar.txtIntegral_dx": "Diferencial x",
"DE.Controllers.Toolbar.txtIntegral_dy": "Diferencial y",
"DE.Controllers.Toolbar.txtIntegralCenterSubSup": "Integral",
"DE.Controllers.Toolbar.txtIntegralDouble": "Double Integral",
"DE.Controllers.Toolbar.txtIntegralDoubleCenterSubSup": "Double Integral",
"DE.Controllers.Toolbar.txtIntegralDoubleSubSup": "Double Integral",
"DE.Controllers.Toolbar.txtIntegralOriented": "Contour Integral",
"DE.Controllers.Toolbar.txtIntegralOrientedCenterSubSup": "Contour Integral",
"DE.Controllers.Toolbar.txtIntegralOrientedDouble": "Surface Integral",
"DE.Controllers.Toolbar.txtIntegralOrientedDoubleCenterSubSup": "Surface Integral",
"DE.Controllers.Toolbar.txtIntegralOrientedDoubleSubSup": "Surface Integral",
"DE.Controllers.Toolbar.txtIntegralOrientedSubSup": "Contour Integral",
"DE.Controllers.Toolbar.txtIntegralDouble": "Inteiro duplo",
"DE.Controllers.Toolbar.txtIntegralDoubleCenterSubSup": "Inteiro duplo",
"DE.Controllers.Toolbar.txtIntegralDoubleSubSup": "Inteiro duplo",
"DE.Controllers.Toolbar.txtIntegralOriented": "Contorno integral",
"DE.Controllers.Toolbar.txtIntegralOrientedCenterSubSup": "Contorno integral",
"DE.Controllers.Toolbar.txtIntegralOrientedDouble": "Integral de Superfície",
"DE.Controllers.Toolbar.txtIntegralOrientedDoubleCenterSubSup": "Integral de Superfície",
"DE.Controllers.Toolbar.txtIntegralOrientedDoubleSubSup": "Integral de Superfície",
"DE.Controllers.Toolbar.txtIntegralOrientedSubSup": "Contorno integral",
"DE.Controllers.Toolbar.txtIntegralOrientedTriple": "Volume Integral",
"DE.Controllers.Toolbar.txtIntegralOrientedTripleCenterSubSup": "Volume Integral",
"DE.Controllers.Toolbar.txtIntegralOrientedTripleSubSup": "Volume Integral",
"DE.Controllers.Toolbar.txtIntegralSubSup": "Integral",
"DE.Controllers.Toolbar.txtIntegralTriple": "Triple Integral",
"DE.Controllers.Toolbar.txtIntegralTripleCenterSubSup": "Triple Integral",
"DE.Controllers.Toolbar.txtIntegralTripleSubSup": "Triple Integral",
"DE.Controllers.Toolbar.txtLargeOperator_Conjunction": "Wedge",
"DE.Controllers.Toolbar.txtLargeOperator_Conjunction_CenterSub": "Wedge",
"DE.Controllers.Toolbar.txtLargeOperator_Conjunction_CenterSubSup": "Wedge",
"DE.Controllers.Toolbar.txtLargeOperator_Conjunction_Sub": "Wedge",
"DE.Controllers.Toolbar.txtLargeOperator_Conjunction_SubSup": "Wedge",
"DE.Controllers.Toolbar.txtLargeOperator_CoProd": "Co-Product",
"DE.Controllers.Toolbar.txtLargeOperator_CoProd_CenterSub": "Co-Product",
"DE.Controllers.Toolbar.txtLargeOperator_CoProd_CenterSubSup": "Co-Product",
"DE.Controllers.Toolbar.txtLargeOperator_CoProd_Sub": "Co-Product",
"DE.Controllers.Toolbar.txtLargeOperator_CoProd_SubSup": "Co-Product",
"DE.Controllers.Toolbar.txtLargeOperator_Custom_1": "Summation",
"DE.Controllers.Toolbar.txtLargeOperator_Custom_2": "Summation",
"DE.Controllers.Toolbar.txtLargeOperator_Custom_3": "Summation",
"DE.Controllers.Toolbar.txtLargeOperator_Custom_4": "Product",
"DE.Controllers.Toolbar.txtLargeOperator_Custom_5": "Union",
"DE.Controllers.Toolbar.txtIntegralTriple": "Integral Tripla",
"DE.Controllers.Toolbar.txtIntegralTripleCenterSubSup": "Integral Tripla",
"DE.Controllers.Toolbar.txtIntegralTripleSubSup": "Integral Tripla",
"DE.Controllers.Toolbar.txtLargeOperator_Conjunction": "Triangular",
"DE.Controllers.Toolbar.txtLargeOperator_Conjunction_CenterSub": "Triangular",
"DE.Controllers.Toolbar.txtLargeOperator_Conjunction_CenterSubSup": "Triangular",
"DE.Controllers.Toolbar.txtLargeOperator_Conjunction_Sub": "Triangular",
"DE.Controllers.Toolbar.txtLargeOperator_Conjunction_SubSup": "Triangular",
"DE.Controllers.Toolbar.txtLargeOperator_CoProd": "Coproduto",
"DE.Controllers.Toolbar.txtLargeOperator_CoProd_CenterSub": "Coproduto",
"DE.Controllers.Toolbar.txtLargeOperator_CoProd_CenterSubSup": "Coproduto",
"DE.Controllers.Toolbar.txtLargeOperator_CoProd_Sub": "Coproduto",
"DE.Controllers.Toolbar.txtLargeOperator_CoProd_SubSup": "Coproduto",
"DE.Controllers.Toolbar.txtLargeOperator_Custom_1": "Somatório",
"DE.Controllers.Toolbar.txtLargeOperator_Custom_2": "Somatório",
"DE.Controllers.Toolbar.txtLargeOperator_Custom_3": "Somatório",
"DE.Controllers.Toolbar.txtLargeOperator_Custom_4": "Produto",
"DE.Controllers.Toolbar.txtLargeOperator_Custom_5": "União",
"DE.Controllers.Toolbar.txtLargeOperator_Disjunction": "Vee",
"DE.Controllers.Toolbar.txtLargeOperator_Disjunction_CenterSub": "Vee",
"DE.Controllers.Toolbar.txtLargeOperator_Disjunction_CenterSubSup": "Vee",
"DE.Controllers.Toolbar.txtLargeOperator_Disjunction_Sub": "Vee",
"DE.Controllers.Toolbar.txtLargeOperator_Disjunction_SubSup": "Vee",
"DE.Controllers.Toolbar.txtLargeOperator_Intersection": "Intersection",
"DE.Controllers.Toolbar.txtLargeOperator_Intersection_CenterSub": "Intersection",
"DE.Controllers.Toolbar.txtLargeOperator_Intersection_CenterSubSup": "Intersection",
"DE.Controllers.Toolbar.txtLargeOperator_Intersection_Sub": "Intersection",
"DE.Controllers.Toolbar.txtLargeOperator_Intersection_SubSup": "Intersection",
"DE.Controllers.Toolbar.txtLargeOperator_Prod": "Product",
"DE.Controllers.Toolbar.txtLargeOperator_Prod_CenterSub": "Product",
"DE.Controllers.Toolbar.txtLargeOperator_Prod_CenterSubSup": "Product",
"DE.Controllers.Toolbar.txtLargeOperator_Prod_Sub": "Product",
"DE.Controllers.Toolbar.txtLargeOperator_Prod_SubSup": "Product",
"DE.Controllers.Toolbar.txtLargeOperator_Sum": "Summation",
"DE.Controllers.Toolbar.txtLargeOperator_Sum_CenterSub": "Summation",
"DE.Controllers.Toolbar.txtLargeOperator_Sum_CenterSubSup": "Summation",
"DE.Controllers.Toolbar.txtLargeOperator_Sum_Sub": "Summation",
"DE.Controllers.Toolbar.txtLargeOperator_Sum_SubSup": "Summation",
"DE.Controllers.Toolbar.txtLargeOperator_Union": "Union",
"DE.Controllers.Toolbar.txtLargeOperator_Union_CenterSub": "Union",
"DE.Controllers.Toolbar.txtLargeOperator_Union_CenterSubSup": "Union",
"DE.Controllers.Toolbar.txtLargeOperator_Union_Sub": "Union",
"DE.Controllers.Toolbar.txtLargeOperator_Union_SubSup": "Union",
"DE.Controllers.Toolbar.txtLimitLog_Custom_1": "Limit Example",
"DE.Controllers.Toolbar.txtLimitLog_Custom_2": "Maximum Example",
"DE.Controllers.Toolbar.txtLimitLog_Lim": "Limit",
"DE.Controllers.Toolbar.txtLimitLog_Ln": "Natural Logarithm",
"DE.Controllers.Toolbar.txtLimitLog_Log": "Logarithm",
"DE.Controllers.Toolbar.txtLimitLog_LogBase": "Logarithm",
"DE.Controllers.Toolbar.txtLimitLog_Max": "Maximum",
"DE.Controllers.Toolbar.txtLimitLog_Min": "Minimum",
"DE.Controllers.Toolbar.txtMatrix_1_2": "1x2 Empty Matrix",
"DE.Controllers.Toolbar.txtMatrix_1_3": "1x3 Empty Matrix",
"DE.Controllers.Toolbar.txtMatrix_2_1": "2x1 Empty Matrix",
"DE.Controllers.Toolbar.txtMatrix_2_2": "2x2 Empty Matrix",
"DE.Controllers.Toolbar.txtMatrix_2_2_DLineBracket": "Empty Matrix with Brackets",
"DE.Controllers.Toolbar.txtMatrix_2_2_LineBracket": "Empty Matrix with Brackets",
"DE.Controllers.Toolbar.txtMatrix_2_2_RoundBracket": "Empty Matrix with Brackets",
"DE.Controllers.Toolbar.txtMatrix_2_2_SquareBracket": "Empty Matrix with Brackets",
"DE.Controllers.Toolbar.txtMatrix_2_3": "2x3 Empty Matrix",
"DE.Controllers.Toolbar.txtMatrix_3_1": "3x1 Empty Matrix",
"DE.Controllers.Toolbar.txtMatrix_3_2": "3x2 Empty Matrix",
"DE.Controllers.Toolbar.txtMatrix_3_3": "3x3 Empty Matrix",
"DE.Controllers.Toolbar.txtMatrix_Dots_Baseline": "Baseline Dots",
"DE.Controllers.Toolbar.txtMatrix_Dots_Center": "Midline Dots",
"DE.Controllers.Toolbar.txtMatrix_Dots_Diagonal": "Diagonal Dots",
"DE.Controllers.Toolbar.txtMatrix_Dots_Vertical": "Vertical Dots",
"DE.Controllers.Toolbar.txtMatrix_Flat_Round": "Sparse Matrix",
"DE.Controllers.Toolbar.txtMatrix_Flat_Square": "Sparse Matrix",
"DE.Controllers.Toolbar.txtMatrix_Identity_2": "2x2 Identity Matrix",
"DE.Controllers.Toolbar.txtMatrix_Identity_2_NoZeros": "3x3 Identity Matrix",
"DE.Controllers.Toolbar.txtMatrix_Identity_3": "3x3 Identity Matrix",
"DE.Controllers.Toolbar.txtMatrix_Identity_3_NoZeros": "3x3 Identity Matrix",
"DE.Controllers.Toolbar.txtOperator_ArrowD_Bot": "Right-Left Arrow Below",
"DE.Controllers.Toolbar.txtOperator_ArrowD_Top": "Right-Left Arrow Above",
"DE.Controllers.Toolbar.txtOperator_ArrowL_Bot": "Leftwards Arrow Below",
"DE.Controllers.Toolbar.txtOperator_ArrowL_Top": "Leftwards Arrow Above",
"DE.Controllers.Toolbar.txtOperator_ArrowR_Bot": "Rightwards Arrow Below",
"DE.Controllers.Toolbar.txtOperator_ArrowR_Top": "Rightwards Arrow Above",
"DE.Controllers.Toolbar.txtOperator_ColonEquals": "Colon Equal",
"DE.Controllers.Toolbar.txtOperator_Custom_1": "Yields",
"DE.Controllers.Toolbar.txtOperator_Custom_2": "Delta Yields",
"DE.Controllers.Toolbar.txtOperator_Definition": "Equal to By Definition",
"DE.Controllers.Toolbar.txtOperator_DeltaEquals": "Delta Equal To",
"DE.Controllers.Toolbar.txtOperator_DoubleArrowD_Bot": "Right-Left Arrow Below",
"DE.Controllers.Toolbar.txtOperator_DoubleArrowD_Top": "Right-Left Arrow Above",
"DE.Controllers.Toolbar.txtOperator_DoubleArrowL_Bot": "Leftwards Arrow Below",
"DE.Controllers.Toolbar.txtOperator_DoubleArrowL_Top": "Leftwards Arrow Above",
"DE.Controllers.Toolbar.txtOperator_DoubleArrowR_Bot": "Rightwards Arrow Below",
"DE.Controllers.Toolbar.txtLargeOperator_Intersection": "Interseção",
"DE.Controllers.Toolbar.txtLargeOperator_Intersection_CenterSub": "Interseção",
"DE.Controllers.Toolbar.txtLargeOperator_Intersection_CenterSubSup": "Interseção",
"DE.Controllers.Toolbar.txtLargeOperator_Intersection_Sub": "Interseção",
"DE.Controllers.Toolbar.txtLargeOperator_Intersection_SubSup": "Interseção",
"DE.Controllers.Toolbar.txtLargeOperator_Prod": "Produto",
"DE.Controllers.Toolbar.txtLargeOperator_Prod_CenterSub": "Produto",
"DE.Controllers.Toolbar.txtLargeOperator_Prod_CenterSubSup": "Produto",
"DE.Controllers.Toolbar.txtLargeOperator_Prod_Sub": "Produto",
"DE.Controllers.Toolbar.txtLargeOperator_Prod_SubSup": "Produto",
"DE.Controllers.Toolbar.txtLargeOperator_Sum": "Somatório",
"DE.Controllers.Toolbar.txtLargeOperator_Sum_CenterSub": "Somatório",
"DE.Controllers.Toolbar.txtLargeOperator_Sum_CenterSubSup": "Somatório",
"DE.Controllers.Toolbar.txtLargeOperator_Sum_Sub": "Somatório",
"DE.Controllers.Toolbar.txtLargeOperator_Sum_SubSup": "Somatório",
"DE.Controllers.Toolbar.txtLargeOperator_Union": "União",
"DE.Controllers.Toolbar.txtLargeOperator_Union_CenterSub": "União",
"DE.Controllers.Toolbar.txtLargeOperator_Union_CenterSubSup": "União",
"DE.Controllers.Toolbar.txtLargeOperator_Union_Sub": "União",
"DE.Controllers.Toolbar.txtLargeOperator_Union_SubSup": "União",
"DE.Controllers.Toolbar.txtLimitLog_Custom_1": "Exemplo limite",
"DE.Controllers.Toolbar.txtLimitLog_Custom_2": "Exemplo máximo",
"DE.Controllers.Toolbar.txtLimitLog_Lim": "Limite",
"DE.Controllers.Toolbar.txtLimitLog_Ln": "Logaritmo natural",
"DE.Controllers.Toolbar.txtLimitLog_Log": "Logaritmo",
"DE.Controllers.Toolbar.txtLimitLog_LogBase": "Logaritmo",
"DE.Controllers.Toolbar.txtLimitLog_Max": "Máximo",
"DE.Controllers.Toolbar.txtLimitLog_Min": "Mínimo",
"DE.Controllers.Toolbar.txtMatrix_1_2": "Matriz Vazia 1x2",
"DE.Controllers.Toolbar.txtMatrix_1_3": "Matriz Vazia 1x3",
"DE.Controllers.Toolbar.txtMatrix_2_1": "Matriz Vazia 2x1",
"DE.Controllers.Toolbar.txtMatrix_2_2": "Matriz Vazia 2x2",
"DE.Controllers.Toolbar.txtMatrix_2_2_DLineBracket": "Matriz vazia com parênteses",
"DE.Controllers.Toolbar.txtMatrix_2_2_LineBracket": "Matriz vazia com parênteses",
"DE.Controllers.Toolbar.txtMatrix_2_2_RoundBracket": "Matriz vazia com parênteses",
"DE.Controllers.Toolbar.txtMatrix_2_2_SquareBracket": "Matriz vazia com parênteses",
"DE.Controllers.Toolbar.txtMatrix_2_3": "Matriz Vazia 2x3",
"DE.Controllers.Toolbar.txtMatrix_3_1": "Matriz Vazia 3x1",
"DE.Controllers.Toolbar.txtMatrix_3_2": "Matriz Vazia 3x2",
"DE.Controllers.Toolbar.txtMatrix_3_3": "Matriz Vazia 3x3",
"DE.Controllers.Toolbar.txtMatrix_Dots_Baseline": "Pontos de linha de base",
"DE.Controllers.Toolbar.txtMatrix_Dots_Center": "Pontos de linha média",
"DE.Controllers.Toolbar.txtMatrix_Dots_Diagonal": "Pontos diagonais",
"DE.Controllers.Toolbar.txtMatrix_Dots_Vertical": "Pontos verticais",
"DE.Controllers.Toolbar.txtMatrix_Flat_Round": "Matriz dispersa",
"DE.Controllers.Toolbar.txtMatrix_Flat_Square": "Matriz dispersa",
"DE.Controllers.Toolbar.txtMatrix_Identity_2": "Matriz da identidade 2x2",
"DE.Controllers.Toolbar.txtMatrix_Identity_2_NoZeros": "Matriz da identidade 3x3",
"DE.Controllers.Toolbar.txtMatrix_Identity_3": "Matriz da identidade 3x3",
"DE.Controllers.Toolbar.txtMatrix_Identity_3_NoZeros": "Matriz da identidade 3x3",
"DE.Controllers.Toolbar.txtOperator_ArrowD_Bot": "Seta para direita esquerda abaixo",
"DE.Controllers.Toolbar.txtOperator_ArrowD_Top": "Seta para direita-esquerda acima",
"DE.Controllers.Toolbar.txtOperator_ArrowL_Bot": "Seta adiante para baixo",
"DE.Controllers.Toolbar.txtOperator_ArrowL_Top": "Seta adiante para cima",
"DE.Controllers.Toolbar.txtOperator_ArrowR_Bot": "Seta para direita abaixo",
"DE.Controllers.Toolbar.txtOperator_ArrowR_Top": "Seta para direita acima",
"DE.Controllers.Toolbar.txtOperator_ColonEquals": "Dois-pontos-Sinal de Igual",
"DE.Controllers.Toolbar.txtOperator_Custom_1": "Resultados",
"DE.Controllers.Toolbar.txtOperator_Custom_2": "Resultados de Delta",
"DE.Controllers.Toolbar.txtOperator_Definition": "Igual a por definição",
"DE.Controllers.Toolbar.txtOperator_DeltaEquals": "Delta igual a",
"DE.Controllers.Toolbar.txtOperator_DoubleArrowD_Bot": "Seta para direita esquerda abaixo",
"DE.Controllers.Toolbar.txtOperator_DoubleArrowD_Top": "Seta para direita-esquerda acima",
"DE.Controllers.Toolbar.txtOperator_DoubleArrowL_Bot": "Seta adiante para baixo",
"DE.Controllers.Toolbar.txtOperator_DoubleArrowL_Top": "Seta adiante para cima",
"DE.Controllers.Toolbar.txtOperator_DoubleArrowR_Bot": "Seta para direita abaixo",
"DE.Controllers.Toolbar.txtOperator_DoubleArrowR_Top": "Rightwards Arrow Above",
"DE.Controllers.Toolbar.txtOperator_EqualsEquals": "Equal Equal",
"DE.Controllers.Toolbar.txtOperator_MinusEquals": "Minus Equal",
"DE.Controllers.Toolbar.txtOperator_PlusEquals": "Plus Equal",
"DE.Controllers.Toolbar.txtOperator_UnitOfMeasure": "Measured By",
"DE.Controllers.Toolbar.txtOperator_EqualsEquals": "Sinal de Igual-Sinal de Igual",
"DE.Controllers.Toolbar.txtOperator_MinusEquals": "Sinal de Menos-Sinal de Igual",
"DE.Controllers.Toolbar.txtOperator_PlusEquals": "Sinal de Mais-Sinal de Igual",
"DE.Controllers.Toolbar.txtOperator_UnitOfMeasure": "Medido por",
"DE.Controllers.Toolbar.txtRadicalCustom_1": "Radical",
"DE.Controllers.Toolbar.txtRadicalCustom_2": "Radical",
"DE.Controllers.Toolbar.txtRadicalRoot_2": "Square Root With Degree",
"DE.Controllers.Toolbar.txtRadicalRoot_3": "Cubic Root",
"DE.Controllers.Toolbar.txtRadicalRoot_n": "Radical With Degree",
"DE.Controllers.Toolbar.txtRadicalSqrt": "Square Root",
"DE.Controllers.Toolbar.txtRadicalRoot_2": "Raiz quadrada com grau",
"DE.Controllers.Toolbar.txtRadicalRoot_3": "Raiz cúbica",
"DE.Controllers.Toolbar.txtRadicalRoot_n": "Radical com grau",
"DE.Controllers.Toolbar.txtRadicalSqrt": "Raiz quadrada",
"DE.Controllers.Toolbar.txtScriptCustom_1": "Script",
"DE.Controllers.Toolbar.txtScriptCustom_2": "Script",
"DE.Controllers.Toolbar.txtScriptCustom_3": "Script",
"DE.Controllers.Toolbar.txtScriptCustom_4": "Script",
"DE.Controllers.Toolbar.txtScriptSub": "Subscript",
"DE.Controllers.Toolbar.txtScriptSubSup": "Subscript-Superscript",
"DE.Controllers.Toolbar.txtScriptSub": "Subscrito",
"DE.Controllers.Toolbar.txtScriptSubSup": "Subscrito-Sobrescrito",
"DE.Controllers.Toolbar.txtScriptSubSupLeft": "LeftSubscript-Superscript",
"DE.Controllers.Toolbar.txtScriptSup": "Superscript",
"DE.Controllers.Toolbar.txtSymbol_about": "Approximately",
"DE.Controllers.Toolbar.txtSymbol_additional": "Complement",
"DE.Controllers.Toolbar.txtScriptSup": "Sobrescrito",
"DE.Controllers.Toolbar.txtSymbol_about": "Aproximadamente",
"DE.Controllers.Toolbar.txtSymbol_additional": "Complemento",
"DE.Controllers.Toolbar.txtSymbol_aleph": "Alef",
"DE.Controllers.Toolbar.txtSymbol_alpha": "Alpha",
"DE.Controllers.Toolbar.txtSymbol_approx": "Almost Equal To",
"DE.Controllers.Toolbar.txtSymbol_ast": "Asterisk Operator",
"DE.Controllers.Toolbar.txtSymbol_alpha": "Alfa",
"DE.Controllers.Toolbar.txtSymbol_approx": "Quase igual a",
"DE.Controllers.Toolbar.txtSymbol_ast": "Operador de asterisco",
"DE.Controllers.Toolbar.txtSymbol_beta": "Beta",
"DE.Controllers.Toolbar.txtSymbol_beth": "Bet",
"DE.Controllers.Toolbar.txtSymbol_bullet": "Bullet Operator",
"DE.Controllers.Toolbar.txtSymbol_cap": "Intersection",
"DE.Controllers.Toolbar.txtSymbol_cbrt": "Cube Root",
"DE.Controllers.Toolbar.txtSymbol_cdots": "Midline Horizontal Ellipsis",
"DE.Controllers.Toolbar.txtSymbol_celsius": "Degrees Celsius",
"DE.Controllers.Toolbar.txtSymbol_chi": "Chi",
"DE.Controllers.Toolbar.txtSymbol_cong": "Approximately Equal To",
"DE.Controllers.Toolbar.txtSymbol_cup": "Union",
"DE.Controllers.Toolbar.txtSymbol_ddots": "Down Right Diagonal Ellipsis",
"DE.Controllers.Toolbar.txtSymbol_degree": "Degrees",
"DE.Controllers.Toolbar.txtSymbol_beth": "Aposta",
"DE.Controllers.Toolbar.txtSymbol_bullet": "Operador de marcador",
"DE.Controllers.Toolbar.txtSymbol_cap": "Interseção",
"DE.Controllers.Toolbar.txtSymbol_cbrt": "Raiz cúbica",
"DE.Controllers.Toolbar.txtSymbol_cdots": "Reticências horizontais de linha média",
"DE.Controllers.Toolbar.txtSymbol_celsius": "Graus Celsius",
"DE.Controllers.Toolbar.txtSymbol_chi": "Ki",
"DE.Controllers.Toolbar.txtSymbol_cong": "Aproximadamente igual a",
"DE.Controllers.Toolbar.txtSymbol_cup": "União",
"DE.Controllers.Toolbar.txtSymbol_ddots": "Reticências diagonal para baixo à direita",
"DE.Controllers.Toolbar.txtSymbol_degree": "Graus",
"DE.Controllers.Toolbar.txtSymbol_delta": "Delta",
"DE.Controllers.Toolbar.txtSymbol_div": "Division Sign",
"DE.Controllers.Toolbar.txtSymbol_downarrow": "Down Arrow",
"DE.Controllers.Toolbar.txtSymbol_emptyset": "Empty Set",
"DE.Controllers.Toolbar.txtSymbol_epsilon": "Epsilon",
"DE.Controllers.Toolbar.txtSymbol_equals": "Equal",
"DE.Controllers.Toolbar.txtSymbol_equiv": "Identical To",
"DE.Controllers.Toolbar.txtSymbol_div": "Sinal de divisão",
"DE.Controllers.Toolbar.txtSymbol_downarrow": "Seta para baixo",
"DE.Controllers.Toolbar.txtSymbol_emptyset": "Conjunto vazio",
"DE.Controllers.Toolbar.txtSymbol_epsilon": "Epsílon",
"DE.Controllers.Toolbar.txtSymbol_equals": "Igual",
"DE.Controllers.Toolbar.txtSymbol_equiv": "Idêntico a",
"DE.Controllers.Toolbar.txtSymbol_eta": "Eta",
"DE.Controllers.Toolbar.txtSymbol_exists": "There Exist",
"DE.Controllers.Toolbar.txtSymbol_factorial": "Factorial",
"DE.Controllers.Toolbar.txtSymbol_fahrenheit": "Degrees Fahrenheit",
"DE.Controllers.Toolbar.txtSymbol_forall": "For All",
"DE.Controllers.Toolbar.txtSymbol_gamma": "Gamma",
"DE.Controllers.Toolbar.txtSymbol_geq": "Greater Than or Equal To",
"DE.Controllers.Toolbar.txtSymbol_gg": "Much Greater Than",
"DE.Controllers.Toolbar.txtSymbol_greater": "Greater Than",
"DE.Controllers.Toolbar.txtSymbol_in": "Element Of",
"DE.Controllers.Toolbar.txtSymbol_inc": "Increment",
"DE.Controllers.Toolbar.txtSymbol_infinity": "Infinity",
"DE.Controllers.Toolbar.txtSymbol_exists": "Existe",
"DE.Controllers.Toolbar.txtSymbol_factorial": "Fatorial",
"DE.Controllers.Toolbar.txtSymbol_fahrenheit": "Graus Fahrenheit",
"DE.Controllers.Toolbar.txtSymbol_forall": "Para todos",
"DE.Controllers.Toolbar.txtSymbol_gamma": "Gama",
"DE.Controllers.Toolbar.txtSymbol_geq": "Superior a ou igual a",
"DE.Controllers.Toolbar.txtSymbol_gg": "Muito superior a",
"DE.Controllers.Toolbar.txtSymbol_greater": "Superior a",
"DE.Controllers.Toolbar.txtSymbol_in": "Elemento de",
"DE.Controllers.Toolbar.txtSymbol_inc": "Incremento",
"DE.Controllers.Toolbar.txtSymbol_infinity": "Infinidade",
"DE.Controllers.Toolbar.txtSymbol_iota": "Iota",
"DE.Controllers.Toolbar.txtSymbol_kappa": "Kappa",
"DE.Controllers.Toolbar.txtSymbol_kappa": "Capa",
"DE.Controllers.Toolbar.txtSymbol_lambda": "Lambda",
"DE.Controllers.Toolbar.txtSymbol_leftarrow": "Left Arrow",
"DE.Controllers.Toolbar.txtSymbol_leftrightarrow": "Left-Right Arrow",
"DE.Controllers.Toolbar.txtSymbol_leq": "Less Than or Equal To",
"DE.Controllers.Toolbar.txtSymbol_less": "Less Than",
"DE.Controllers.Toolbar.txtSymbol_ll": "Much Less Than",
"DE.Controllers.Toolbar.txtSymbol_minus": "Minus",
"DE.Controllers.Toolbar.txtSymbol_mp": "Minus Plus",
"DE.Controllers.Toolbar.txtSymbol_leftarrow": "Seta para esquerda",
"DE.Controllers.Toolbar.txtSymbol_leftrightarrow": "Seta esquerda-direita",
"DE.Controllers.Toolbar.txtSymbol_leq": "Inferior a ou igual a",
"DE.Controllers.Toolbar.txtSymbol_less": "Inferior a",
"DE.Controllers.Toolbar.txtSymbol_ll": "Muito inferior a",
"DE.Controllers.Toolbar.txtSymbol_minus": "Menos",
"DE.Controllers.Toolbar.txtSymbol_mp": "Sinal de Menos-Sinal de Mais",
"DE.Controllers.Toolbar.txtSymbol_mu": "Mu",
"DE.Controllers.Toolbar.txtSymbol_nabla": "Nabla",
"DE.Controllers.Toolbar.txtSymbol_neq": "Not Equal To",
"DE.Controllers.Toolbar.txtSymbol_ni": "Contains as Member",
"DE.Controllers.Toolbar.txtSymbol_not": "Not Sign",
"DE.Controllers.Toolbar.txtSymbol_notexists": "There Does Not Exist",
"DE.Controllers.Toolbar.txtSymbol_neq": "Não igual a",
"DE.Controllers.Toolbar.txtSymbol_ni": "Contém como membro",
"DE.Controllers.Toolbar.txtSymbol_not": "Não entrar",
"DE.Controllers.Toolbar.txtSymbol_notexists": "Não existe",
"DE.Controllers.Toolbar.txtSymbol_nu": "Nu",
"DE.Controllers.Toolbar.txtSymbol_o": "Omicron",
"DE.Controllers.Toolbar.txtSymbol_omega": "Omega",
"DE.Controllers.Toolbar.txtSymbol_partial": "Partial Differential",
"DE.Controllers.Toolbar.txtSymbol_percent": "Percentage",
"DE.Controllers.Toolbar.txtSymbol_phi": "Phi",
"DE.Controllers.Toolbar.txtSymbol_omega": "Ômega",
"DE.Controllers.Toolbar.txtSymbol_partial": "Diferencial parcial",
"DE.Controllers.Toolbar.txtSymbol_percent": "Porcentagem",
"DE.Controllers.Toolbar.txtSymbol_phi": "Fi",
"DE.Controllers.Toolbar.txtSymbol_pi": "Pi",
"DE.Controllers.Toolbar.txtSymbol_plus": "Plus",
"DE.Controllers.Toolbar.txtSymbol_pm": "Plus Minus",
"DE.Controllers.Toolbar.txtSymbol_propto": "Proportional To",
"DE.Controllers.Toolbar.txtSymbol_plus": "Mais",
"DE.Controllers.Toolbar.txtSymbol_pm": "Sinal de Menos-Sinal de Igual",
"DE.Controllers.Toolbar.txtSymbol_propto": "Proporcional a",
"DE.Controllers.Toolbar.txtSymbol_psi": "Psi",
"DE.Controllers.Toolbar.txtSymbol_qdrt": "Fourth Root",
"DE.Controllers.Toolbar.txtSymbol_QED": "End of Proof",
"DE.Controllers.Toolbar.txtSymbol_rddots": "Up Right Diagonal Ellipsis",
"DE.Controllers.Toolbar.txtSymbol_rho": "Rho",
"DE.Controllers.Toolbar.txtSymbol_rightarrow": "Right Arrow",
"DE.Controllers.Toolbar.txtSymbol_qdrt": "Quarta raiz",
"DE.Controllers.Toolbar.txtSymbol_QED": "Fim da prova",
"DE.Controllers.Toolbar.txtSymbol_rddots": "Reticências diagonal direitas para cima",
"DE.Controllers.Toolbar.txtSymbol_rho": "Rô",
"DE.Controllers.Toolbar.txtSymbol_rightarrow": "Seta para direita",
"DE.Controllers.Toolbar.txtSymbol_sigma": "Sigma",
"DE.Controllers.Toolbar.txtSymbol_sqrt": "Radical Sign",
"DE.Controllers.Toolbar.txtSymbol_sqrt": "Sinal de Radical",
"DE.Controllers.Toolbar.txtSymbol_tau": "Tau",
"DE.Controllers.Toolbar.txtSymbol_therefore": "Therefore",
"DE.Controllers.Toolbar.txtSymbol_theta": "Theta",
"DE.Controllers.Toolbar.txtSymbol_times": "Multiplication Sign",
"DE.Controllers.Toolbar.txtSymbol_uparrow": "Up Arrow",
"DE.Controllers.Toolbar.txtSymbol_upsilon": "Upsilon",
"DE.Controllers.Toolbar.txtSymbol_varepsilon": "Epsilon Variant",
"DE.Controllers.Toolbar.txtSymbol_varphi": "Phi Variant",
"DE.Controllers.Toolbar.txtSymbol_varpi": "Pi Variant",
"DE.Controllers.Toolbar.txtSymbol_varrho": "Rho Variant",
"DE.Controllers.Toolbar.txtSymbol_varsigma": "Sigma Variant",
"DE.Controllers.Toolbar.txtSymbol_vartheta": "Theta Variant",
"DE.Controllers.Toolbar.txtSymbol_vdots": "Vertical Ellipsis",
"DE.Controllers.Toolbar.txtSymbol_therefore": "Portanto",
"DE.Controllers.Toolbar.txtSymbol_theta": "Teta",
"DE.Controllers.Toolbar.txtSymbol_times": "Sinal de multiplicação",
"DE.Controllers.Toolbar.txtSymbol_uparrow": "Seta para cima",
"DE.Controllers.Toolbar.txtSymbol_upsilon": "Ípsilon",
"DE.Controllers.Toolbar.txtSymbol_varepsilon": "Variante de Epsílon",
"DE.Controllers.Toolbar.txtSymbol_varphi": "Variante de fi",
"DE.Controllers.Toolbar.txtSymbol_varpi": "Variante de Pi",
"DE.Controllers.Toolbar.txtSymbol_varrho": "Variante de Rô",
"DE.Controllers.Toolbar.txtSymbol_varsigma": "Variante de Sigma",
"DE.Controllers.Toolbar.txtSymbol_vartheta": "Variante de Teta",
"DE.Controllers.Toolbar.txtSymbol_vdots": "Reticências verticais",
"DE.Controllers.Toolbar.txtSymbol_Xsi": "Xi",
"DE.Controllers.Toolbar.txtSymbol_zeta": "Zeta",
"DE.Views.ChartSettings.textAdvanced": "Exibir configurações avançadas",
@ -541,6 +568,10 @@
"DE.Views.DocumentHolder.deleteRowText": "Excluir linha",
"DE.Views.DocumentHolder.deleteTableText": "Excluir tabela",
"DE.Views.DocumentHolder.deleteText": "Excluir",
"DE.Views.DocumentHolder.direct270Text": "Rotate at 270°",
"DE.Views.DocumentHolder.direct90Text": "Rotate at 90°",
"DE.Views.DocumentHolder.directHText": "Horizontal",
"DE.Views.DocumentHolder.directionText": "Text Direction",
"DE.Views.DocumentHolder.editChartText": "Editar dados",
"DE.Views.DocumentHolder.editFooterText": "Editar rodapé",
"DE.Views.DocumentHolder.editHeaderText": "Editar cabeçalho",
@ -663,10 +694,12 @@
"DE.Views.FileMenu.btnCreateNewCaption": "Criar novo",
"DE.Views.FileMenu.btnDownloadCaption": "Baixar como...",
"DE.Views.FileMenu.btnHelpCaption": "Ajuda...",
"DE.Views.FileMenu.btnHistoryCaption": "Version History",
"DE.Views.FileMenu.btnInfoCaption": "Informações do documento...",
"DE.Views.FileMenu.btnPrintCaption": "Imprimir",
"DE.Views.FileMenu.btnRecentFilesCaption": "Abrir recente...",
"DE.Views.FileMenu.btnReturnCaption": "Voltar para documento",
"DE.Views.FileMenu.btnRightsCaption": "Access Rights...",
"DE.Views.FileMenu.btnSaveCaption": "Salvar",
"DE.Views.FileMenu.btnSettingsCaption": "Configurações avançadas...",
"DE.Views.FileMenu.btnToEditCaption": "Editar documento",
@ -688,8 +721,10 @@
"DE.Views.FileMenuPanels.DocumentInfo.txtSymbols": "Símbolos",
"DE.Views.FileMenuPanels.DocumentInfo.txtTitle": "Título do documento",
"DE.Views.FileMenuPanels.DocumentInfo.txtWords": "Palavras",
"DE.Views.FileMenuPanels.DocumentRights.txtBtnAccessRights": "Alterar direitos de acesso",
"DE.Views.FileMenuPanels.DocumentRights.txtRights": "Pessoas que têm direitos",
"DE.Views.FileMenuPanels.Settings.okButtonText": "Aplicar",
"DE.Views.FileMenuPanels.Settings.strAlignGuides": "Turn on alignment guides",
"DE.Views.FileMenuPanels.Settings.strAlignGuides": "Ativar guias de alinhamento",
"DE.Views.FileMenuPanels.Settings.strAutosave": "Ativar salvamento automático",
"DE.Views.FileMenuPanels.Settings.strFontRender": "Dicas de fonte",
"DE.Views.FileMenuPanels.Settings.strInputMode": "Ativar hieróglifos",
@ -702,7 +737,7 @@
"DE.Views.FileMenuPanels.Settings.text30Minutes": "Cada 30 minutos",
"DE.Views.FileMenuPanels.Settings.text5Minutes": "Cada 5 minutos",
"DE.Views.FileMenuPanels.Settings.text60Minutes": "Cada hora",
"DE.Views.FileMenuPanels.Settings.textAlignGuides": "Alignment Guides",
"DE.Views.FileMenuPanels.Settings.textAlignGuides": "Guias de alinhamento",
"DE.Views.FileMenuPanels.Settings.textAutoSave": "Salvamento automático",
"DE.Views.FileMenuPanels.Settings.textDisabled": "Desabilitado",
"DE.Views.FileMenuPanels.Settings.textMinute": "Cada minuto",
@ -823,6 +858,56 @@
"DE.Views.LeftMenu.tipSearch": "Pesquisar",
"DE.Views.LeftMenu.tipSupport": "Feedback e Suporte",
"DE.Views.LeftMenu.tipTitles": "Títulos",
"DE.Views.MailMergeEmailDlg.cancelButtonText": "Cancel",
"DE.Views.MailMergeEmailDlg.filePlaceholder": "PDF",
"DE.Views.MailMergeEmailDlg.okButtonText": "Send",
"DE.Views.MailMergeEmailDlg.subjectPlaceholder": "Theme",
"DE.Views.MailMergeEmailDlg.textAttachDocx": "Attach as DOCX",
"DE.Views.MailMergeEmailDlg.textAttachPdf": "Attach as PDF",
"DE.Views.MailMergeEmailDlg.textFileName": "File name",
"DE.Views.MailMergeEmailDlg.textFormat": "Mail format",
"DE.Views.MailMergeEmailDlg.textFrom": "From",
"DE.Views.MailMergeEmailDlg.textHTML": "HTML",
"DE.Views.MailMergeEmailDlg.textMessage": "Message",
"DE.Views.MailMergeEmailDlg.textSubject": "Subject Line",
"DE.Views.MailMergeEmailDlg.textTitle": "Send to E-mail",
"DE.Views.MailMergeEmailDlg.textTo": "To",
"DE.Views.MailMergeEmailDlg.textWarning": "Warning!",
"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",
"DE.Views.MailMergeSettings.downloadMergeTitle": "Merging",
"DE.Views.MailMergeSettings.errorMailMergeSaveFile": "Merge failed.",
"DE.Views.MailMergeSettings.notcriticalErrorTitle": "Warning",
"DE.Views.MailMergeSettings.textAll": "All records",
"DE.Views.MailMergeSettings.textCurrent": "Current record",
"DE.Views.MailMergeSettings.textDataSource": "Data Source",
"DE.Views.MailMergeSettings.textDocx": "Docx",
"DE.Views.MailMergeSettings.textDownload": "Download",
"DE.Views.MailMergeSettings.textEditData": "Edit data source",
"DE.Views.MailMergeSettings.textEmail": "E-mail",
"DE.Views.MailMergeSettings.textFrom": "From",
"DE.Views.MailMergeSettings.textHighlight": "Highlight merge fields",
"DE.Views.MailMergeSettings.textInsertField": "Insert Merge Field",
"DE.Views.MailMergeSettings.textMaxRecepients": "Max 100 recepients.",
"DE.Views.MailMergeSettings.textMerge": "Merge",
"DE.Views.MailMergeSettings.textMergeFields": "Merge Fields",
"DE.Views.MailMergeSettings.textMergeTo": "Merge to",
"DE.Views.MailMergeSettings.textPdf": "PDF",
"DE.Views.MailMergeSettings.textPortal": "Save",
"DE.Views.MailMergeSettings.textPreview": "Preview results",
"DE.Views.MailMergeSettings.textReadMore": "Read more",
"DE.Views.MailMergeSettings.textSendMsg": "All mail messages are ready and will be sent out within some time.<br>The speed of mailing depends on your mail service.<br>You can continue working with document or close it. After the operation is over the notification will be sent to your %1 email address.",
"DE.Views.MailMergeSettings.textTo": "To",
"DE.Views.MailMergeSettings.txtFirst": "To first field",
"DE.Views.MailMergeSettings.txtFromToError": "\"From\" value must be less than \"To\" value",
"DE.Views.MailMergeSettings.txtLast": "To last field",
"DE.Views.MailMergeSettings.txtNext": "To next field",
"DE.Views.MailMergeSettings.txtPrev": "To previous field",
"DE.Views.MailMergeSettings.txtUntitled": "Untitled",
"DE.Views.MailMergeSettings.warnProcessMailMerge": "Starting merge failed",
"DE.Views.ParagraphSettings.strLineHeight": "Espaçamento de linha",
"DE.Views.ParagraphSettings.strParagraphSpacing": "Espaçamento",
"DE.Views.ParagraphSettings.strSomeParagraphSpace": "Não adicionar intervalo entre parágrafos do mesmo estilo",
@ -897,6 +982,7 @@
"DE.Views.RightMenu.txtChartSettings": "Configurações de gráfico",
"DE.Views.RightMenu.txtHeaderFooterSettings": "Configurações de cabeçalho e rodapé",
"DE.Views.RightMenu.txtImageSettings": "Configurações de imagem",
"DE.Views.RightMenu.txtMailMergeSettings": "Mail Merge Settings",
"DE.Views.RightMenu.txtParagraphSettings": "Configurações do parágrafo",
"DE.Views.RightMenu.txtShapeSettings": "Configurações da forma",
"DE.Views.RightMenu.txtTableSettings": "Configurações da tabela",
@ -1144,7 +1230,7 @@
"DE.Views.Toolbar.tipIncFont": "Aumentar tamanho da fonte",
"DE.Views.Toolbar.tipIncPrLeft": "Aumentar recuo",
"DE.Views.Toolbar.tipInsertChart": "Inserir gráfico",
"DE.Views.Toolbar.tipInsertEquation": "Insert Equation",
"DE.Views.Toolbar.tipInsertEquation": "Inserir equação",
"DE.Views.Toolbar.tipInsertHyperlink": "Adicionar hiperlink",
"DE.Views.Toolbar.tipInsertImage": "Inserir imagem",
"DE.Views.Toolbar.tipInsertNum": "Inserir número da página",
@ -1152,6 +1238,7 @@
"DE.Views.Toolbar.tipInsertTable": "Inserir tabela",
"DE.Views.Toolbar.tipInsertText": "Inserir texto",
"DE.Views.Toolbar.tipLineSpace": "Espaçamento entre linhas do parágrafo",
"DE.Views.Toolbar.tipMailRecepients": "Select Recepients",
"DE.Views.Toolbar.tipMarkers": "Marcadores",
"DE.Views.Toolbar.tipMultilevels": "Contorno",
"DE.Views.Toolbar.tipNewDocument": "Novo documento",

View file

@ -1,11 +1,16 @@
{
"Common.Controllers.Chat.notcriticalErrorTitle": "Предупреждение",
"Common.Controllers.Chat.textEnterMessage": "Введите здесь своё сообщение",
"Common.Controllers.Chat.textUserLimit": "Вы используете бесплатную версию ONLYOFFICE.<br>Только два пользователя одновременно могут совместно редактировать документ.<br>Требуется больше? Рекомендуем приобрести корпоративную версию ONLYOFFICE.<br><a href=\"http:\/\/www.onlyoffice.com\/free-edition.aspx\" target=\"_blank\">Читать дальше</a>",
"Common.Controllers.Chat.textUserLimit": "Вы используете бесплатную версию ONLYOFFICE.<br>Только два пользователя одновременно могут совместно редактировать документ.<br>Требуется больше? Рекомендуем приобрести корпоративную версию ONLYOFFICE.<br><a href=\"http://www.onlyoffice.com/free-edition.aspx\" target=\"_blank\">Читать дальше</a>",
"Common.Controllers.ExternalDiagramEditor.textAnonymous": "Аноним",
"Common.Controllers.ExternalDiagramEditor.textClose": "Закрыть",
"Common.Controllers.ExternalDiagramEditor.warningText": "Объект недоступен, так как редактируется другим пользователем.",
"Common.Controllers.ExternalDiagramEditor.warningTitle": "Предупреждение",
"Common.Controllers.ExternalMergeEditor.textAnonymous": "Анонимный пользователь",
"Common.Controllers.ExternalMergeEditor.textClose": "Закрыть",
"Common.Controllers.ExternalMergeEditor.warningText": "Объект недоступен, так как редактируется другим пользователем.",
"Common.Controllers.ExternalMergeEditor.warningTitle": "Внимание",
"Common.Controllers.History.notcriticalErrorTitle": "Внимание",
"Common.UI.ComboBorderSize.txtNoBorders": "Без границ",
"Common.UI.ComboBorderSizeEditable.txtNoBorders": "Без границ",
"Common.UI.ComboDataView.emptyComboText": "Без стилей",
@ -32,6 +37,7 @@
"Common.UI.Window.noButtonText": "Нет",
"Common.UI.Window.okButtonText": "OK",
"Common.UI.Window.textConfirmation": "Подтверждение",
"Common.UI.Window.textDontShow": "Больше не показывать это сообщение",
"Common.UI.Window.textError": "Ошибка",
"Common.UI.Window.textInformation": "Информация",
"Common.UI.Window.textWarning": "Предупреждение",
@ -72,7 +78,12 @@
"Common.Views.ExternalDiagramEditor.textClose": "Закрыть",
"Common.Views.ExternalDiagramEditor.textSave": "Сохранить и выйти",
"Common.Views.ExternalDiagramEditor.textTitle": "Редактор диаграмм",
"Common.Views.ExternalMergeEditor.textClose": "Закрыть",
"Common.Views.ExternalMergeEditor.textSave": "Сохранить и выйти",
"Common.Views.ExternalMergeEditor.textTitle": "Получатели слияния",
"Common.Views.Header.openNewTabText": "Открыть в новой вкладке",
"Common.Views.Header.textBack": "Перейти к Документам",
"Common.Views.History.textHistoryHeader": "Вернуться к документу",
"Common.Views.ImageFromUrlDialog.cancelButtonText": "Отмена",
"Common.Views.ImageFromUrlDialog.okButtonText": "OK",
"Common.Views.ImageFromUrlDialog.textUrl": "Вставьте URL изображения:",
@ -86,8 +97,11 @@
"Common.Views.InsertTableDialog.txtMinText": "Минимальное значение для этого поля - {0}.",
"Common.Views.InsertTableDialog.txtRows": "Количество строк",
"Common.Views.InsertTableDialog.txtTitle": "Размер таблицы",
"DE.Controllers.LeftMenu.leavePageText": "Все несохраненные изменения в этом документе будут потеряны.<br> Нажмите кнопку \"Отмена\", а затем нажмите кнопку \"Сохранить\", чтобы сохранить их. Нажмите кнопку \"OK\", чтобы сбросить все несохраненные изменения.",
"DE.Controllers.LeftMenu.newDocumentTitle": "Документ без имени",
"DE.Controllers.LeftMenu.notcriticalErrorTitle": "Внимание",
"DE.Controllers.LeftMenu.requestEditRightsText": "Запрос прав на редактирование...",
"DE.Controllers.LeftMenu.textLoadHistory": "Загрузка журнала версий...",
"DE.Controllers.LeftMenu.textNoTextFound": "Искомые данные не найдены. Пожалуйста, измените параметры поиска.",
"DE.Controllers.LeftMenu.textReplaceSkipped": "Замена выполнена. Пропущено вхождений - {0}.",
"DE.Controllers.LeftMenu.textReplaceSuccess": "Поиск выполнен. Заменено вхождений: {0}",
@ -99,6 +113,8 @@
"DE.Controllers.Main.criticalErrorTitle": "Ошибка",
"DE.Controllers.Main.defaultTitleText": "ONLYOFFICE Document Editor",
"DE.Controllers.Main.downloadErrorText": "Загрузка не удалась.",
"DE.Controllers.Main.downloadMergeText": "Загрузка...",
"DE.Controllers.Main.downloadMergeTitle": "Загрузка",
"DE.Controllers.Main.downloadTextText": "Загрузка документа...",
"DE.Controllers.Main.downloadTitleText": "Загрузка документа",
"DE.Controllers.Main.errorCoAuthoringDisconnect": "Потеряно соединение с сервером. В данный момент нельзя отредактировать документ.",
@ -108,6 +124,8 @@
"DE.Controllers.Main.errorFilePassProtect": "Документ защищен паролем и не может быть открыт.",
"DE.Controllers.Main.errorKeyEncrypt": "Неизвестный дескриптор ключа",
"DE.Controllers.Main.errorKeyExpire": "Срок действия дескриптора ключа истек",
"DE.Controllers.Main.errorMailMergeLoadFile": "Сбой при загрузке",
"DE.Controllers.Main.errorMailMergeSaveFile": "Не удалось выполнить слияние.",
"DE.Controllers.Main.errorProcessSaveResult": "Сбой при сохранении.",
"DE.Controllers.Main.errorStockChart": "Неверный порядок строк. Чтобы создать биржевую диаграмму, расположите данные на листе в следующем порядке:<br> цена открытия, максимальная цена, минимальная цена, цена закрытия.",
"DE.Controllers.Main.errorUpdateVersion": "Версия файла была изменена. Страница будет перезагружена.",
@ -124,6 +142,8 @@
"DE.Controllers.Main.loadImageTitleText": "Загрузка изображения",
"DE.Controllers.Main.loadingDocumentTextText": "Загрузка документа...",
"DE.Controllers.Main.loadingDocumentTitleText": "Загрузка документа",
"DE.Controllers.Main.mailMergeLoadFileText": "Загрузка источника данных...",
"DE.Controllers.Main.mailMergeLoadFileTitle": "Загрузка источника данных",
"DE.Controllers.Main.notcriticalErrorTitle": "Предупреждение",
"DE.Controllers.Main.openTextText": "Открытие документа...",
"DE.Controllers.Main.openTitleText": "Открытие документа",
@ -136,6 +156,8 @@
"DE.Controllers.Main.savePreparingTitle": "Подготовка к сохранению. Пожалуйста, подождите...",
"DE.Controllers.Main.saveTextText": "Сохранение документа...",
"DE.Controllers.Main.saveTitleText": "Сохранение документа",
"DE.Controllers.Main.sendMergeText": "Отправка результатов слияния...",
"DE.Controllers.Main.sendMergeTitle": "Отправка результатов слияния",
"DE.Controllers.Main.splitDividerErrorText": "Число строк должно являться делителем для %1.",
"DE.Controllers.Main.splitMaxColsErrorText": "Число столбцов должно быть меньше, чем %1.",
"DE.Controllers.Main.splitMaxRowsErrorText": "Число строк должно быть меньше, чем %1.",
@ -147,13 +169,17 @@
"DE.Controllers.Main.txtButtons": "Кнопки",
"DE.Controllers.Main.txtCallouts": "Выноски",
"DE.Controllers.Main.txtCharts": "Схемы",
"DE.Controllers.Main.txtDiagramTitle": "Заголовок диаграммы",
"DE.Controllers.Main.txtEditingMode": "Установка режима редактирования...",
"DE.Controllers.Main.txtFiguredArrows": "Фигурные стрелки",
"DE.Controllers.Main.txtLines": "Линии",
"DE.Controllers.Main.txtMath": "Математические знаки",
"DE.Controllers.Main.txtNeedSynchronize": "Есть обновления",
"DE.Controllers.Main.txtRectangles": "Прямоугольники",
"DE.Controllers.Main.txtSeries": "Ряд",
"DE.Controllers.Main.txtStarsRibbons": "Звезды и ленты",
"DE.Controllers.Main.txtXAxis": "Ось X",
"DE.Controllers.Main.txtYAxis": "Ось Y",
"DE.Controllers.Main.unknownErrorText": "Неизвестная ошибка.",
"DE.Controllers.Main.unsupportedBrowserErrorText ": "Ваш браузер не поддерживается.",
"DE.Controllers.Main.uploadImageExtMessage": "Неизвестный формат изображения.",
@ -165,6 +191,7 @@
"DE.Controllers.Main.warnBrowserZoom": "Текущее значение масштаба страницы в браузере поддерживается не полностью. Вернитесь к масштабу по умолчанию, нажав Ctrl+0.",
"DE.Controllers.Main.warnProcessRightsChange": "Вам было отказано в праве на редактирование этого файла.",
"DE.Controllers.Statusbar.zoomText": "Масштаб {0}%",
"DE.Controllers.Toolbar.confirmAddFontName": "Шрифт, который вы собираетесь сохранить, недоступен на этом устройстве.<br>Стиль текста будет отображаться с использованием одного из шрифтов устройства; сохраненный шрифт будет использоваться, когда он будет доступен.<br>Вы хотите продолжить?",
"DE.Controllers.Toolbar.textAccent": "Диакритические знаки",
"DE.Controllers.Toolbar.textBracket": "Скобки",
"DE.Controllers.Toolbar.textEmptyImgUrl": "Необходимо указать URL изображения.",
@ -541,6 +568,10 @@
"DE.Views.DocumentHolder.deleteRowText": "Удалить строку",
"DE.Views.DocumentHolder.deleteTableText": "Удалить таблицу",
"DE.Views.DocumentHolder.deleteText": "Удалить",
"DE.Views.DocumentHolder.direct270Text": "Поворот на 270°",
"DE.Views.DocumentHolder.direct90Text": "Поворот на 90°",
"DE.Views.DocumentHolder.directHText": "Горизонтальное",
"DE.Views.DocumentHolder.directionText": "Направление текста",
"DE.Views.DocumentHolder.editChartText": "Изменить данные",
"DE.Views.DocumentHolder.editFooterText": "Изменить нижний колонтитул",
"DE.Views.DocumentHolder.editHeaderText": "Изменить верхний колонтитул",
@ -663,10 +694,12 @@
"DE.Views.FileMenu.btnCreateNewCaption": "Создать новый",
"DE.Views.FileMenu.btnDownloadCaption": "Скачать как...",
"DE.Views.FileMenu.btnHelpCaption": "Справка...",
"DE.Views.FileMenu.btnHistoryCaption": "Журнал версий",
"DE.Views.FileMenu.btnInfoCaption": "Сведения о документе...",
"DE.Views.FileMenu.btnPrintCaption": "Печать",
"DE.Views.FileMenu.btnRecentFilesCaption": "Открыть последние...",
"DE.Views.FileMenu.btnReturnCaption": "Вернуться к документу",
"DE.Views.FileMenu.btnRightsCaption": "Права доступа...",
"DE.Views.FileMenu.btnSaveCaption": "Сохранить",
"DE.Views.FileMenu.btnSettingsCaption": "Дополнительные параметры...",
"DE.Views.FileMenu.btnToEditCaption": "Редактировать",
@ -688,6 +721,8 @@
"DE.Views.FileMenuPanels.DocumentInfo.txtSymbols": "Символы",
"DE.Views.FileMenuPanels.DocumentInfo.txtTitle": "Название документа",
"DE.Views.FileMenuPanels.DocumentInfo.txtWords": "Слова",
"DE.Views.FileMenuPanels.DocumentRights.txtBtnAccessRights": "Изменить права доступа",
"DE.Views.FileMenuPanels.DocumentRights.txtRights": "Люди, имеющие права",
"DE.Views.FileMenuPanels.Settings.okButtonText": "Применить",
"DE.Views.FileMenuPanels.Settings.strAlignGuides": "Включить направляющие выравнивания",
"DE.Views.FileMenuPanels.Settings.strAutosave": "Включить автосохранение",
@ -823,6 +858,56 @@
"DE.Views.LeftMenu.tipSearch": "Поиск",
"DE.Views.LeftMenu.tipSupport": "Обратная связь и поддержка",
"DE.Views.LeftMenu.tipTitles": "Заголовки",
"DE.Views.MailMergeEmailDlg.cancelButtonText": "Отмена",
"DE.Views.MailMergeEmailDlg.filePlaceholder": "PDF",
"DE.Views.MailMergeEmailDlg.okButtonText": "Отправить",
"DE.Views.MailMergeEmailDlg.subjectPlaceholder": "Тема",
"DE.Views.MailMergeEmailDlg.textAttachDocx": "Прикрепить как DOCX",
"DE.Views.MailMergeEmailDlg.textAttachPdf": "Прикрепить как PDF",
"DE.Views.MailMergeEmailDlg.textFileName": "Имя файла",
"DE.Views.MailMergeEmailDlg.textFormat": "Формат",
"DE.Views.MailMergeEmailDlg.textFrom": "От кого",
"DE.Views.MailMergeEmailDlg.textHTML": "HTML",
"DE.Views.MailMergeEmailDlg.textMessage": "Сообщение",
"DE.Views.MailMergeEmailDlg.textSubject": "Строка темы",
"DE.Views.MailMergeEmailDlg.textTitle": "Отправить по электронной почте",
"DE.Views.MailMergeEmailDlg.textTo": "Кому",
"DE.Views.MailMergeEmailDlg.textWarning": "Внимание!",
"DE.Views.MailMergeEmailDlg.textWarningMsg": "Пожалуйста, обратите внимание: после нажатия кнопки 'Отправить' отправку нельзя будет остановить.",
"DE.Views.MailMergeRecepients.textLoading": "Загрузка",
"DE.Views.MailMergeRecepients.textTitle": "Выбрать источник данных",
"DE.Views.MailMergeSaveDlg.textLoading": "Загрузка",
"DE.Views.MailMergeSaveDlg.textTitle": "Папка для сохранения",
"DE.Views.MailMergeSettings.downloadMergeTitle": "Слияние",
"DE.Views.MailMergeSettings.errorMailMergeSaveFile": "Не удалось выполнить слияние.",
"DE.Views.MailMergeSettings.notcriticalErrorTitle": "Внимание",
"DE.Views.MailMergeSettings.textAll": "Все записи",
"DE.Views.MailMergeSettings.textCurrent": "Текущая запись",
"DE.Views.MailMergeSettings.textDataSource": "Источник данных",
"DE.Views.MailMergeSettings.textDocx": "Docx",
"DE.Views.MailMergeSettings.textDownload": "Скачать",
"DE.Views.MailMergeSettings.textEditData": "Изменить список получателей",
"DE.Views.MailMergeSettings.textEmail": "E-mail",
"DE.Views.MailMergeSettings.textFrom": "С",
"DE.Views.MailMergeSettings.textHighlight": "Выделить поля слияния",
"DE.Views.MailMergeSettings.textInsertField": "Вставить поле слияния",
"DE.Views.MailMergeSettings.textMaxRecepients": "Макс. 100 получателей.",
"DE.Views.MailMergeSettings.textMerge": "Слияние",
"DE.Views.MailMergeSettings.textMergeFields": "Поля слияния",
"DE.Views.MailMergeSettings.textMergeTo": "Слияние в",
"DE.Views.MailMergeSettings.textPdf": "PDF",
"DE.Views.MailMergeSettings.textPortal": "Сохранить",
"DE.Views.MailMergeSettings.textPreview": "Просмотр результатов",
"DE.Views.MailMergeSettings.textReadMore": "Подробнее",
"DE.Views.MailMergeSettings.textSendMsg": "Письма сформированы и будут отправлены в течение некоторого времени.<br>Скорость отправки писем зависит от вашего почтового сервиса.<br>Вы можете продолжить работу с документом или закрыть документ. По завершению процесса отправки на ваш почтовый ящик %1 придет уведомление.",
"DE.Views.MailMergeSettings.textTo": "По",
"DE.Views.MailMergeSettings.txtFirst": "Первое поле",
"DE.Views.MailMergeSettings.txtFromToError": "Значение \"С\" должно быть меньше значения \"По\"",
"DE.Views.MailMergeSettings.txtLast": "Последнее поле",
"DE.Views.MailMergeSettings.txtNext": "Следующее поле",
"DE.Views.MailMergeSettings.txtPrev": "Предыдущее поле",
"DE.Views.MailMergeSettings.txtUntitled": "Без имени",
"DE.Views.MailMergeSettings.warnProcessMailMerge": "Не удалось начать слияние",
"DE.Views.ParagraphSettings.strLineHeight": "Междустрочный",
"DE.Views.ParagraphSettings.strParagraphSpacing": "Интервал",
"DE.Views.ParagraphSettings.strSomeParagraphSpace": "Не добавлять интервал между абзацами одного стиля",
@ -897,6 +982,7 @@
"DE.Views.RightMenu.txtChartSettings": "Параметры диаграммы",
"DE.Views.RightMenu.txtHeaderFooterSettings": "Параметры верхнего и нижнего колонтитулов",
"DE.Views.RightMenu.txtImageSettings": "Параметры изображения",
"DE.Views.RightMenu.txtMailMergeSettings": "Параметры слияния",
"DE.Views.RightMenu.txtParagraphSettings": "Параметры абзаца",
"DE.Views.RightMenu.txtShapeSettings": "Параметры фигуры",
"DE.Views.RightMenu.txtTableSettings": "Параметры таблицы",
@ -1152,6 +1238,7 @@
"DE.Views.Toolbar.tipInsertTable": "Вставить таблицу",
"DE.Views.Toolbar.tipInsertText": "Вставить текст",
"DE.Views.Toolbar.tipLineSpace": "Междустрочный интервал в абзацах",
"DE.Views.Toolbar.tipMailRecepients": "Слияние",
"DE.Views.Toolbar.tipMarkers": "Маркированный список",
"DE.Views.Toolbar.tipMultilevels": "Структура",
"DE.Views.Toolbar.tipNewDocument": "Новый документ",

View file

@ -1,11 +1,16 @@
{
"Common.Controllers.Chat.notcriticalErrorTitle": "Opozorilo",
"Common.Controllers.Chat.textEnterMessage": "Svoje sporočilo vnesite tu",
"Common.Controllers.Chat.textUserLimit": "You are using ONLYOFFICE Free Edition.<br>Only two users can co-edit the document simultaneously.<br>Want more? Consider buying ONLYOFFICE Enterprise Edition.<br><a href=\"http:\/\/www.onlyoffice.com\/free-edition.aspx\" target=\"_blank\">Read more</a>",
"Common.Controllers.Chat.textUserLimit": "You are using ONLYOFFICE Free Edition.<br>Only two users can co-edit the document simultaneously.<br>Want more? Consider buying ONLYOFFICE Enterprise Edition.<br><a href=\"http://www.onlyoffice.com/free-edition.aspx\" target=\"_blank\">Read more</a>",
"Common.Controllers.ExternalDiagramEditor.textAnonymous": "Anonimno",
"Common.Controllers.ExternalDiagramEditor.textClose": "Zapri",
"Common.Controllers.ExternalDiagramEditor.warningText": "Objekt je onemogočen, saj ga ureja drug uporabnik.",
"Common.Controllers.ExternalDiagramEditor.warningTitle": "Opozorilo",
"Common.Controllers.ExternalMergeEditor.textAnonymous": "Anonymous",
"Common.Controllers.ExternalMergeEditor.textClose": "Close",
"Common.Controllers.ExternalMergeEditor.warningText": "The object is disabled because it is being edited by another user.",
"Common.Controllers.ExternalMergeEditor.warningTitle": "Warning",
"Common.Controllers.History.notcriticalErrorTitle": "Warning",
"Common.UI.ComboBorderSize.txtNoBorders": "Ni mej",
"Common.UI.ComboBorderSizeEditable.txtNoBorders": "Ni mej",
"Common.UI.ComboDataView.emptyComboText": "Ni slogov",
@ -32,6 +37,7 @@
"Common.UI.Window.noButtonText": "Ne",
"Common.UI.Window.okButtonText": "OK",
"Common.UI.Window.textConfirmation": "Potrditev",
"Common.UI.Window.textDontShow": "Tega sporočila ne prikaži več",
"Common.UI.Window.textError": "Napaka",
"Common.UI.Window.textInformation": "Informacija",
"Common.UI.Window.textWarning": "Opozorilo",
@ -72,7 +78,12 @@
"Common.Views.ExternalDiagramEditor.textClose": "Zapri",
"Common.Views.ExternalDiagramEditor.textSave": "Shrani & Zapusti",
"Common.Views.ExternalDiagramEditor.textTitle": "Urejevalec grafa",
"Common.Views.ExternalMergeEditor.textClose": "Close",
"Common.Views.ExternalMergeEditor.textSave": "Save & Exit",
"Common.Views.ExternalMergeEditor.textTitle": "Mail Merge Recipients",
"Common.Views.Header.openNewTabText": "Open in New Tab",
"Common.Views.Header.textBack": "Pojdi v dokumente",
"Common.Views.History.textHistoryHeader": "Back to Document",
"Common.Views.ImageFromUrlDialog.cancelButtonText": "Prekliči",
"Common.Views.ImageFromUrlDialog.okButtonText": "OK",
"Common.Views.ImageFromUrlDialog.textUrl": "Prilepi URL slike:",
@ -86,8 +97,11 @@
"Common.Views.InsertTableDialog.txtMinText": "Minimalna vrednost za to polje je {0}.",
"Common.Views.InsertTableDialog.txtRows": "Število vrstic",
"Common.Views.InsertTableDialog.txtTitle": "Velikost tabele",
"DE.Controllers.LeftMenu.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.",
"DE.Controllers.LeftMenu.newDocumentTitle": "Neimenovan dokument",
"DE.Controllers.LeftMenu.notcriticalErrorTitle": "Warning",
"DE.Controllers.LeftMenu.requestEditRightsText": "Zahtevanje urejevalnih pravic...",
"DE.Controllers.LeftMenu.textLoadHistory": "Loading versions history...",
"DE.Controllers.LeftMenu.textNoTextFound": "Podatkov, katere iščete, ni bilo mogoče najti. Prosim nastavite svoje možnosti iskanja.",
"DE.Controllers.LeftMenu.textReplaceSkipped": "Nadomestek je bil izdelan. {0} dogodki so bili preskočeni.",
"DE.Controllers.LeftMenu.textReplaceSuccess": "Iskanje je bilo storjeno. Dogodki nadomeščeni: {0}",
@ -99,6 +113,8 @@
"DE.Controllers.Main.criticalErrorTitle": "Napaka",
"DE.Controllers.Main.defaultTitleText": "ONLYOFFICE urejevalec dokumentov",
"DE.Controllers.Main.downloadErrorText": "Prenos ni uspel.",
"DE.Controllers.Main.downloadMergeText": "Downloading...",
"DE.Controllers.Main.downloadMergeTitle": "Downloading",
"DE.Controllers.Main.downloadTextText": "Prenašanje dokumenta...",
"DE.Controllers.Main.downloadTitleText": "Prenašanje dokumenta",
"DE.Controllers.Main.errorCoAuthoringDisconnect": "Povezava s strežnikom izgubljena. Dokument v tem trenutku ne more biti urejen.",
@ -108,6 +124,8 @@
"DE.Controllers.Main.errorFilePassProtect": "Dokument je zaščiten z geslom in ga ni mogoče odpreti.",
"DE.Controllers.Main.errorKeyEncrypt": "Neznan ključni deskriptor",
"DE.Controllers.Main.errorKeyExpire": "Ključni deskriptor je potekel",
"DE.Controllers.Main.errorMailMergeLoadFile": "Loading failed",
"DE.Controllers.Main.errorMailMergeSaveFile": "Merge failed.",
"DE.Controllers.Main.errorProcessSaveResult": "Shranjevanje ni bilo uspešno",
"DE.Controllers.Main.errorStockChart": "Nepravilen vrstni red vrstic. Za izgradnjo razpredelnice delnic podatke na strani navedite v sledečem vrstnem redu:<br>otvoritvena cena, maksimalna cena, minimalna cena, zaključna cena.",
"DE.Controllers.Main.errorUpdateVersion": "Različica datoteke je bila spremenjena. Stran bo osvežena.",
@ -124,6 +142,8 @@
"DE.Controllers.Main.loadImageTitleText": "Nalaganje Slike",
"DE.Controllers.Main.loadingDocumentTextText": "Nalaganje dokumenta...",
"DE.Controllers.Main.loadingDocumentTitleText": "Nalaganje Dokumenta",
"DE.Controllers.Main.mailMergeLoadFileText": "Loading Data Source...",
"DE.Controllers.Main.mailMergeLoadFileTitle": "Loading Data Source",
"DE.Controllers.Main.notcriticalErrorTitle": "Opozorilo",
"DE.Controllers.Main.openTextText": "Odpiranje dokumenta...",
"DE.Controllers.Main.openTitleText": "Odpiranje dokumenta",
@ -136,6 +156,8 @@
"DE.Controllers.Main.savePreparingTitle": "Priprava za shranjevanje. Prosim počakajte...",
"DE.Controllers.Main.saveTextText": "Shranjevanje dokumenta...",
"DE.Controllers.Main.saveTitleText": "Shranjevanje dokumenta",
"DE.Controllers.Main.sendMergeText": "Sending Merge...",
"DE.Controllers.Main.sendMergeTitle": "Sending Merge",
"DE.Controllers.Main.splitDividerErrorText": "Število vrstic mora biti razdelilec %1.",
"DE.Controllers.Main.splitMaxColsErrorText": "Število stolpcev mora biti manj kot 1%.",
"DE.Controllers.Main.splitMaxRowsErrorText": "Število vrstic mora biti manj kot %1.",
@ -147,13 +169,17 @@
"DE.Controllers.Main.txtButtons": "Gumbi",
"DE.Controllers.Main.txtCallouts": "Oblački",
"DE.Controllers.Main.txtCharts": "Grafi",
"DE.Controllers.Main.txtDiagramTitle": "Naslov diagrama",
"DE.Controllers.Main.txtEditingMode": "Nastavi način urejanja...",
"DE.Controllers.Main.txtFiguredArrows": "Figurirane puščice",
"DE.Controllers.Main.txtLines": "Vrste",
"DE.Controllers.Main.txtMath": "Matematika",
"DE.Controllers.Main.txtNeedSynchronize": "Imate posodobitve",
"DE.Controllers.Main.txtRectangles": "Pravokotniki",
"DE.Controllers.Main.txtSeries": "Serije",
"DE.Controllers.Main.txtStarsRibbons": "Zvezde & Trakovi",
"DE.Controllers.Main.txtXAxis": "X os",
"DE.Controllers.Main.txtYAxis": "Y os",
"DE.Controllers.Main.unknownErrorText": "Neznana napaka.",
"DE.Controllers.Main.unsupportedBrowserErrorText ": "Vaš brskalnik ni podprt.",
"DE.Controllers.Main.uploadImageExtMessage": "Neznan format slike.",
@ -165,6 +191,7 @@
"DE.Controllers.Main.warnBrowserZoom": "Nastavitve povečave vašega trenutnega brskalnika niso popolnoma podprte. Prosim ponastavite na privzeto povečanje s pritiskom na Ctrl+0.",
"DE.Controllers.Main.warnProcessRightsChange": "Pravica, da urejate datoteko je bila zavrnjena.",
"DE.Controllers.Statusbar.zoomText": "Povečava {0}%",
"DE.Controllers.Toolbar.confirmAddFontName": "The font you are going to save is not available on the current device.<br>The text style will be displayed using one of the device fonts, the saved font will be used when it is available.<br>Do you want to continue?",
"DE.Controllers.Toolbar.textAccent": "Narečja",
"DE.Controllers.Toolbar.textBracket": "Oklepaji",
"DE.Controllers.Toolbar.textEmptyImgUrl": "Določiti morate URL slike.",
@ -541,6 +568,10 @@
"DE.Views.DocumentHolder.deleteRowText": "Izbriši vrsto",
"DE.Views.DocumentHolder.deleteTableText": "Izbriši tabelo",
"DE.Views.DocumentHolder.deleteText": "Izbriši",
"DE.Views.DocumentHolder.direct270Text": "Rotate at 270°",
"DE.Views.DocumentHolder.direct90Text": "Rotate at 90°",
"DE.Views.DocumentHolder.directHText": "Horizontal",
"DE.Views.DocumentHolder.directionText": "Text Direction",
"DE.Views.DocumentHolder.editChartText": "Uredi podatke",
"DE.Views.DocumentHolder.editFooterText": "Uredi nogo",
"DE.Views.DocumentHolder.editHeaderText": "Uredi glavo",
@ -663,10 +694,12 @@
"DE.Views.FileMenu.btnCreateNewCaption": "Ustvari nov",
"DE.Views.FileMenu.btnDownloadCaption": "Prenesi kot...",
"DE.Views.FileMenu.btnHelpCaption": "Pomoč...",
"DE.Views.FileMenu.btnHistoryCaption": "Version History",
"DE.Views.FileMenu.btnInfoCaption": "Informacije dokumenta...",
"DE.Views.FileMenu.btnPrintCaption": "Natisni",
"DE.Views.FileMenu.btnRecentFilesCaption": "Odpri nedavno...",
"DE.Views.FileMenu.btnReturnCaption": "Nazaj v dokument",
"DE.Views.FileMenu.btnRightsCaption": "Access Rights...",
"DE.Views.FileMenu.btnSaveCaption": "Shrani",
"DE.Views.FileMenu.btnSettingsCaption": "Napredne nastavitve...",
"DE.Views.FileMenu.btnToEditCaption": "Uredi dokument",
@ -688,6 +721,8 @@
"DE.Views.FileMenuPanels.DocumentInfo.txtSymbols": "Simboli",
"DE.Views.FileMenuPanels.DocumentInfo.txtTitle": "Naslov dokumenta",
"DE.Views.FileMenuPanels.DocumentInfo.txtWords": "Besede",
"DE.Views.FileMenuPanels.DocumentRights.txtBtnAccessRights": "Spremeni pravice dostopa",
"DE.Views.FileMenuPanels.DocumentRights.txtRights": "Osebe, ki imajo pravice",
"DE.Views.FileMenuPanels.Settings.okButtonText": "Uporabi",
"DE.Views.FileMenuPanels.Settings.strAlignGuides": "Vključi vodnike poravnave",
"DE.Views.FileMenuPanels.Settings.strAutosave": "Vključi samodejno shranjevanje",
@ -816,13 +851,63 @@
"DE.Views.ImageSettingsAdvanced.textWrapThroughTooltip": "Preko",
"DE.Views.ImageSettingsAdvanced.textWrapTightTooltip": "Tesen",
"DE.Views.ImageSettingsAdvanced.textWrapTopbottomTooltip": "Vrh in Dno",
"DE.Views.LeftMenu.tipAbout": "o",
"DE.Views.LeftMenu.tipAbout": "O programu",
"DE.Views.LeftMenu.tipChat": "Pogovor",
"DE.Views.LeftMenu.tipComments": "Komentarji",
"DE.Views.LeftMenu.tipFile": "Datoteka",
"DE.Views.LeftMenu.tipSearch": "Iskanje",
"DE.Views.LeftMenu.tipSupport": "Povratne informacije & Pomoč",
"DE.Views.LeftMenu.tipTitles": "Naslovi",
"DE.Views.MailMergeEmailDlg.cancelButtonText": "Cancel",
"DE.Views.MailMergeEmailDlg.filePlaceholder": "PDF",
"DE.Views.MailMergeEmailDlg.okButtonText": "Send",
"DE.Views.MailMergeEmailDlg.subjectPlaceholder": "Theme",
"DE.Views.MailMergeEmailDlg.textAttachDocx": "Attach as DOCX",
"DE.Views.MailMergeEmailDlg.textAttachPdf": "Attach as PDF",
"DE.Views.MailMergeEmailDlg.textFileName": "File name",
"DE.Views.MailMergeEmailDlg.textFormat": "Mail format",
"DE.Views.MailMergeEmailDlg.textFrom": "From",
"DE.Views.MailMergeEmailDlg.textHTML": "HTML",
"DE.Views.MailMergeEmailDlg.textMessage": "Message",
"DE.Views.MailMergeEmailDlg.textSubject": "Subject Line",
"DE.Views.MailMergeEmailDlg.textTitle": "Send to E-mail",
"DE.Views.MailMergeEmailDlg.textTo": "To",
"DE.Views.MailMergeEmailDlg.textWarning": "Warning!",
"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",
"DE.Views.MailMergeSettings.downloadMergeTitle": "Merging",
"DE.Views.MailMergeSettings.errorMailMergeSaveFile": "Merge failed.",
"DE.Views.MailMergeSettings.notcriticalErrorTitle": "Warning",
"DE.Views.MailMergeSettings.textAll": "All records",
"DE.Views.MailMergeSettings.textCurrent": "Current record",
"DE.Views.MailMergeSettings.textDataSource": "Data Source",
"DE.Views.MailMergeSettings.textDocx": "Docx",
"DE.Views.MailMergeSettings.textDownload": "Download",
"DE.Views.MailMergeSettings.textEditData": "Edit recipients list",
"DE.Views.MailMergeSettings.textEmail": "E-mail",
"DE.Views.MailMergeSettings.textFrom": "From",
"DE.Views.MailMergeSettings.textHighlight": "Highlight merge fields",
"DE.Views.MailMergeSettings.textInsertField": "Insert Merge Field",
"DE.Views.MailMergeSettings.textMaxRecepients": "Max 100 recipients.",
"DE.Views.MailMergeSettings.textMerge": "Merge",
"DE.Views.MailMergeSettings.textMergeFields": "Merge Fields",
"DE.Views.MailMergeSettings.textMergeTo": "Merge to",
"DE.Views.MailMergeSettings.textPdf": "PDF",
"DE.Views.MailMergeSettings.textPortal": "Save",
"DE.Views.MailMergeSettings.textPreview": "Preview results",
"DE.Views.MailMergeSettings.textReadMore": "Read more",
"DE.Views.MailMergeSettings.textSendMsg": "All mail messages are ready and will be sent out within some time.<br>The speed of mailing depends on your mail service.<br>You can continue working with document or close it. After the operation is over the notification will be sent to your %1 email address.",
"DE.Views.MailMergeSettings.textTo": "To",
"DE.Views.MailMergeSettings.txtFirst": "To first field",
"DE.Views.MailMergeSettings.txtFromToError": "\"From\" value must be less than \"To\" value",
"DE.Views.MailMergeSettings.txtLast": "To last field",
"DE.Views.MailMergeSettings.txtNext": "To next field",
"DE.Views.MailMergeSettings.txtPrev": "To previous field",
"DE.Views.MailMergeSettings.txtUntitled": "Untitled",
"DE.Views.MailMergeSettings.warnProcessMailMerge": "Starting merge failed",
"DE.Views.ParagraphSettings.strLineHeight": "Razmik med vrsticami",
"DE.Views.ParagraphSettings.strParagraphSpacing": "Razmik",
"DE.Views.ParagraphSettings.strSomeParagraphSpace": "Med odstavke enakega sloga ne dodaj intervalov",
@ -897,6 +982,7 @@
"DE.Views.RightMenu.txtChartSettings": "Nastavitve grafa",
"DE.Views.RightMenu.txtHeaderFooterSettings": "Nastavitve glave in noge",
"DE.Views.RightMenu.txtImageSettings": "Nastavitve slike",
"DE.Views.RightMenu.txtMailMergeSettings": "Mail Merge Settings",
"DE.Views.RightMenu.txtParagraphSettings": "Nastavitve odstavka",
"DE.Views.RightMenu.txtShapeSettings": "Nastavitve oblike",
"DE.Views.RightMenu.txtTableSettings": "Nastavitve tabele",
@ -1089,7 +1175,7 @@
"DE.Views.Toolbar.textArea": "Ploščinski grafikon",
"DE.Views.Toolbar.textAutoColor": "Samodejen",
"DE.Views.Toolbar.textBar": "Stolpični grafikon",
"DE.Views.Toolbar.textBold": "Drzen",
"DE.Views.Toolbar.textBold": "Krepko",
"DE.Views.Toolbar.textColumn": "Stolpični grafikon",
"DE.Views.Toolbar.textCompactView": "Poglej kompaktno orodno vrstico",
"DE.Views.Toolbar.textContPage": "Neprekinjena stran",
@ -1152,6 +1238,7 @@
"DE.Views.Toolbar.tipInsertTable": "Vstavi tabelo",
"DE.Views.Toolbar.tipInsertText": "Vstavi besedilo",
"DE.Views.Toolbar.tipLineSpace": "Razmik črt odstavka",
"DE.Views.Toolbar.tipMailRecepients": "Mail Merge",
"DE.Views.Toolbar.tipMarkers": "Krogle",
"DE.Views.Toolbar.tipMultilevels": "Obroba",
"DE.Views.Toolbar.tipNewDocument": "Nov dokument",

View file

@ -1,11 +1,16 @@
{
"Common.Controllers.Chat.notcriticalErrorTitle": "Dikkat",
"Common.Controllers.Chat.textEnterMessage": "Mesajınızı buraya giriniz",
"Common.Controllers.Chat.textUserLimit": "You are using ONLYOFFICE Free Edition.<br>Only two users can co-edit the document simultaneously.<br>Want more? Consider buying ONLYOFFICE Enterprise Edition.<br><a href=\"http:\/\/www.onlyoffice.com\/free-edition.aspx\" target=\"_blank\">Read more</a>",
"Common.Controllers.Chat.textUserLimit": "You are using ONLYOFFICE Free Edition.<br>Only two users can co-edit the document simultaneously.<br>Want more? Consider buying ONLYOFFICE Enterprise Edition.<br><a href=\"http://www.onlyoffice.com/free-edition.aspx\" target=\"_blank\">Read more</a>",
"Common.Controllers.ExternalDiagramEditor.textAnonymous": "Anonim",
"Common.Controllers.ExternalDiagramEditor.textClose": "Kapat",
"Common.Controllers.ExternalDiagramEditor.warningText": "Obje devre dışı bırakıldı, çünkü başka kullanıcı tarafından düzenleniyor.",
"Common.Controllers.ExternalDiagramEditor.warningTitle": "Dikkat",
"Common.Controllers.ExternalMergeEditor.textAnonymous": "Anonymous",
"Common.Controllers.ExternalMergeEditor.textClose": "Close",
"Common.Controllers.ExternalMergeEditor.warningText": "The object is disabled because it is being edited by another user.",
"Common.Controllers.ExternalMergeEditor.warningTitle": "Warning",
"Common.Controllers.History.notcriticalErrorTitle": "Warning",
"Common.UI.ComboBorderSize.txtNoBorders": "Sınır yok",
"Common.UI.ComboBorderSizeEditable.txtNoBorders": "Sınır yok",
"Common.UI.ComboDataView.emptyComboText": "Stil yok",
@ -32,6 +37,7 @@
"Common.UI.Window.noButtonText": "Hayır",
"Common.UI.Window.okButtonText": "TAMAM",
"Common.UI.Window.textConfirmation": "Konfirmasyon",
"Common.UI.Window.textDontShow": "Bu mesajı bir daha gösterme",
"Common.UI.Window.textError": "Hata",
"Common.UI.Window.textInformation": "Bilgi",
"Common.UI.Window.textWarning": "Dikkat",
@ -72,7 +78,12 @@
"Common.Views.ExternalDiagramEditor.textClose": "Kapat",
"Common.Views.ExternalDiagramEditor.textSave": "Kaydet & Çık",
"Common.Views.ExternalDiagramEditor.textTitle": "Grafik Editörü",
"Common.Views.ExternalMergeEditor.textClose": "Close",
"Common.Views.ExternalMergeEditor.textSave": "Save & Exit",
"Common.Views.ExternalMergeEditor.textTitle": "Mail Merge Recipients",
"Common.Views.Header.openNewTabText": "Open in New Tab",
"Common.Views.Header.textBack": "Dökümanlara Git",
"Common.Views.History.textHistoryHeader": "Back to Document",
"Common.Views.ImageFromUrlDialog.cancelButtonText": "İptal Et",
"Common.Views.ImageFromUrlDialog.okButtonText": "TAMAM",
"Common.Views.ImageFromUrlDialog.textUrl": "Resim URL'sini yapıştır:",
@ -86,8 +97,11 @@
"Common.Views.InsertTableDialog.txtMinText": "Bu alan için minimum değer: {0}.",
"Common.Views.InsertTableDialog.txtRows": "Sıra Sayısı",
"Common.Views.InsertTableDialog.txtTitle": "Tablo Boyutu",
"DE.Controllers.LeftMenu.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.",
"DE.Controllers.LeftMenu.newDocumentTitle": "İsimlendirilmemiş döküman",
"DE.Controllers.LeftMenu.notcriticalErrorTitle": "Warning",
"DE.Controllers.LeftMenu.requestEditRightsText": "Düzenleme hakları isteniyor...",
"DE.Controllers.LeftMenu.textLoadHistory": "Loading versions history...",
"DE.Controllers.LeftMenu.textNoTextFound": "Aradığınız veri bulunamadı. Lütfen arama seçeneklerinizi ayarlayınız.",
"DE.Controllers.LeftMenu.textReplaceSkipped": "Değiştirme yapıldı. {0} olay atlandı.",
"DE.Controllers.LeftMenu.textReplaceSuccess": "Arama yapıldı. {0} olay değiştirildi.",
@ -99,6 +113,8 @@
"DE.Controllers.Main.criticalErrorTitle": "Hata",
"DE.Controllers.Main.defaultTitleText": "ONLYOFFICE Döküman Editörü",
"DE.Controllers.Main.downloadErrorText": "Yükleme başarısız oldu.",
"DE.Controllers.Main.downloadMergeText": "Downloading...",
"DE.Controllers.Main.downloadMergeTitle": "Downloading",
"DE.Controllers.Main.downloadTextText": "Döküman yükleniyor...",
"DE.Controllers.Main.downloadTitleText": "Döküman yükleniyor",
"DE.Controllers.Main.errorCoAuthoringDisconnect": "Sunucu bağlantısı kesildi. Döküman şu an düzenlenemez.",
@ -108,6 +124,8 @@
"DE.Controllers.Main.errorFilePassProtect": "Döküman şifre korumalı ve açılamadı",
"DE.Controllers.Main.errorKeyEncrypt": "Bilinmeyen anahtar tanımlayıcı",
"DE.Controllers.Main.errorKeyExpire": "Anahtar tanımlayıcının süresi doldu",
"DE.Controllers.Main.errorMailMergeLoadFile": "Loading failed",
"DE.Controllers.Main.errorMailMergeSaveFile": "Merge failed.",
"DE.Controllers.Main.errorProcessSaveResult": "Kaydetme başarısız.",
"DE.Controllers.Main.errorStockChart": "Yanlış dizi sırası. Stok grafiği oluşturma için tablodaki verileri şu sırada yerleştirin:<br> açılış fiyatı, maksimum fiyat, minimum fiyat, kapanış fiyatı. ",
"DE.Controllers.Main.errorUpdateVersion": "Dosya versiyonu değiştirildi. Sayfa yenilenecektir.",
@ -124,6 +142,8 @@
"DE.Controllers.Main.loadImageTitleText": "Resim yükleniyor",
"DE.Controllers.Main.loadingDocumentTextText": "Döküman yükleniyor...",
"DE.Controllers.Main.loadingDocumentTitleText": "Döküman yükleniyor",
"DE.Controllers.Main.mailMergeLoadFileText": "Loading Data Source...",
"DE.Controllers.Main.mailMergeLoadFileTitle": "Loading Data Source",
"DE.Controllers.Main.notcriticalErrorTitle": "Dikkat",
"DE.Controllers.Main.openTextText": "Döküman Açılıyor",
"DE.Controllers.Main.openTitleText": "Döküman Açılıyor",
@ -136,6 +156,8 @@
"DE.Controllers.Main.savePreparingTitle": "Kaydetmeye hazırlanıyor. Lütfen bekleyin...",
"DE.Controllers.Main.saveTextText": "Döküman kaydediliyor...",
"DE.Controllers.Main.saveTitleText": "Döküman Kaydediliyor",
"DE.Controllers.Main.sendMergeText": "Sending Merge...",
"DE.Controllers.Main.sendMergeTitle": "Sending Merge",
"DE.Controllers.Main.splitDividerErrorText": "Satır sayısı %1'in böleni olmalıdır.",
"DE.Controllers.Main.splitMaxColsErrorText": "Sütun sayısı %1'den az olmalıdır.",
"DE.Controllers.Main.splitMaxRowsErrorText": "Satır sayısı %1'den az olmalıdır.",
@ -147,13 +169,17 @@
"DE.Controllers.Main.txtButtons": "Tuşlar",
"DE.Controllers.Main.txtCallouts": "Belirtme Çizgiler",
"DE.Controllers.Main.txtCharts": "Grafikler",
"DE.Controllers.Main.txtDiagramTitle": "Diagram Başlığı",
"DE.Controllers.Main.txtEditingMode": "Düzenleme modunu belirle",
"DE.Controllers.Main.txtFiguredArrows": "Şekilli Oklar",
"DE.Controllers.Main.txtLines": "Satırlar",
"DE.Controllers.Main.txtMath": "Matematik",
"DE.Controllers.Main.txtNeedSynchronize": "Güncellemeleriniz var",
"DE.Controllers.Main.txtRectangles": "Dikdörtgenler",
"DE.Controllers.Main.txtSeries": "Seriler",
"DE.Controllers.Main.txtStarsRibbons": "Yıldızlar & Kurdeleler",
"DE.Controllers.Main.txtXAxis": "X Ekseni",
"DE.Controllers.Main.txtYAxis": "Y Ekseni",
"DE.Controllers.Main.unknownErrorText": "Bilinmeyen hata.",
"DE.Controllers.Main.unsupportedBrowserErrorText ": "Tarayıcınız desteklenmiyor.",
"DE.Controllers.Main.uploadImageExtMessage": "Bilinmeyen resim formatı",
@ -165,6 +191,7 @@
"DE.Controllers.Main.warnBrowserZoom": "Tarayıcınızın mevcut zum ayarı tam olarak desteklenmiyor. Ctrl+0'a basarak varsayılan zumu sıfırlayınız.",
"DE.Controllers.Main.warnProcessRightsChange": "Dosyayı düzenleme hakkınız reddedildi",
"DE.Controllers.Statusbar.zoomText": "Zum {0}%",
"DE.Controllers.Toolbar.confirmAddFontName": "The font you are going to save is not available on the current device.<br>The text style will be displayed using one of the device fonts, the saved font will be used when it is available.<br>Do you want to continue?",
"DE.Controllers.Toolbar.textAccent": "Accents",
"DE.Controllers.Toolbar.textBracket": "Brackets",
"DE.Controllers.Toolbar.textEmptyImgUrl": "Resim URL'si belirtmelisiniz.",
@ -541,6 +568,10 @@
"DE.Views.DocumentHolder.deleteRowText": "Satırı Sil",
"DE.Views.DocumentHolder.deleteTableText": "Tabloyu Sil",
"DE.Views.DocumentHolder.deleteText": "Sil",
"DE.Views.DocumentHolder.direct270Text": "Rotate at 270°",
"DE.Views.DocumentHolder.direct90Text": "Rotate at 90°",
"DE.Views.DocumentHolder.directHText": "Horizontal",
"DE.Views.DocumentHolder.directionText": "Text Direction",
"DE.Views.DocumentHolder.editChartText": "Veri düzenle",
"DE.Views.DocumentHolder.editFooterText": "Altlığı Düzenle",
"DE.Views.DocumentHolder.editHeaderText": "Üstlüğü Düzenle",
@ -663,10 +694,12 @@
"DE.Views.FileMenu.btnCreateNewCaption": "Yeni oluştur",
"DE.Views.FileMenu.btnDownloadCaption": "Farklı Yükle...",
"DE.Views.FileMenu.btnHelpCaption": "Yardım...",
"DE.Views.FileMenu.btnHistoryCaption": "Version History",
"DE.Views.FileMenu.btnInfoCaption": "Döküman Bilgisi...",
"DE.Views.FileMenu.btnPrintCaption": "Yazdır",
"DE.Views.FileMenu.btnRecentFilesCaption": "En sonunucuyu aç...",
"DE.Views.FileMenu.btnReturnCaption": "Dökümana Geri Dön",
"DE.Views.FileMenu.btnRightsCaption": "Access Rights...",
"DE.Views.FileMenu.btnSaveCaption": "Kaydet",
"DE.Views.FileMenu.btnSettingsCaption": "Gelişmiş Ayarlar...",
"DE.Views.FileMenu.btnToEditCaption": "Döküman Düzenle",
@ -688,6 +721,8 @@
"DE.Views.FileMenuPanels.DocumentInfo.txtSymbols": "Semboller",
"DE.Views.FileMenuPanels.DocumentInfo.txtTitle": "Döküman Başlığı",
"DE.Views.FileMenuPanels.DocumentInfo.txtWords": "Kelimeler",
"DE.Views.FileMenuPanels.DocumentRights.txtBtnAccessRights": "Erişim haklarını değiştir",
"DE.Views.FileMenuPanels.DocumentRights.txtRights": "Hakkı olan kişiler",
"DE.Views.FileMenuPanels.Settings.okButtonText": "Uygula",
"DE.Views.FileMenuPanels.Settings.strAlignGuides": "Turn on alignment guides",
"DE.Views.FileMenuPanels.Settings.strAutosave": "Otomatik kaydetmeyi aç",
@ -823,6 +858,56 @@
"DE.Views.LeftMenu.tipSearch": "Ara",
"DE.Views.LeftMenu.tipSupport": "Geri Bildirim & Destek",
"DE.Views.LeftMenu.tipTitles": "Başlıklar",
"DE.Views.MailMergeEmailDlg.cancelButtonText": "Cancel",
"DE.Views.MailMergeEmailDlg.filePlaceholder": "PDF",
"DE.Views.MailMergeEmailDlg.okButtonText": "Send",
"DE.Views.MailMergeEmailDlg.subjectPlaceholder": "Theme",
"DE.Views.MailMergeEmailDlg.textAttachDocx": "Attach as DOCX",
"DE.Views.MailMergeEmailDlg.textAttachPdf": "Attach as PDF",
"DE.Views.MailMergeEmailDlg.textFileName": "File name",
"DE.Views.MailMergeEmailDlg.textFormat": "Mail format",
"DE.Views.MailMergeEmailDlg.textFrom": "From",
"DE.Views.MailMergeEmailDlg.textHTML": "HTML",
"DE.Views.MailMergeEmailDlg.textMessage": "Message",
"DE.Views.MailMergeEmailDlg.textSubject": "Subject Line",
"DE.Views.MailMergeEmailDlg.textTitle": "Send to E-mail",
"DE.Views.MailMergeEmailDlg.textTo": "To",
"DE.Views.MailMergeEmailDlg.textWarning": "Warning!",
"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",
"DE.Views.MailMergeSettings.downloadMergeTitle": "Merging",
"DE.Views.MailMergeSettings.errorMailMergeSaveFile": "Merge failed.",
"DE.Views.MailMergeSettings.notcriticalErrorTitle": "Warning",
"DE.Views.MailMergeSettings.textAll": "All records",
"DE.Views.MailMergeSettings.textCurrent": "Current record",
"DE.Views.MailMergeSettings.textDataSource": "Data Source",
"DE.Views.MailMergeSettings.textDocx": "Docx",
"DE.Views.MailMergeSettings.textDownload": "Download",
"DE.Views.MailMergeSettings.textEditData": "Edit recipients list",
"DE.Views.MailMergeSettings.textEmail": "E-mail",
"DE.Views.MailMergeSettings.textFrom": "From",
"DE.Views.MailMergeSettings.textHighlight": "Highlight merge fields",
"DE.Views.MailMergeSettings.textInsertField": "Insert Merge Field",
"DE.Views.MailMergeSettings.textMaxRecepients": "Max 100 recipients.",
"DE.Views.MailMergeSettings.textMerge": "Merge",
"DE.Views.MailMergeSettings.textMergeFields": "Merge Fields",
"DE.Views.MailMergeSettings.textMergeTo": "Merge to",
"DE.Views.MailMergeSettings.textPdf": "PDF",
"DE.Views.MailMergeSettings.textPortal": "Save",
"DE.Views.MailMergeSettings.textPreview": "Preview results",
"DE.Views.MailMergeSettings.textReadMore": "Read more",
"DE.Views.MailMergeSettings.textSendMsg": "All mail messages are ready and will be sent out within some time.<br>The speed of mailing depends on your mail service.<br>You can continue working with document or close it. After the operation is over the notification will be sent to your %1 email address.",
"DE.Views.MailMergeSettings.textTo": "To",
"DE.Views.MailMergeSettings.txtFirst": "To first field",
"DE.Views.MailMergeSettings.txtFromToError": "\"From\" value must be less than \"To\" value",
"DE.Views.MailMergeSettings.txtLast": "To last field",
"DE.Views.MailMergeSettings.txtNext": "To next field",
"DE.Views.MailMergeSettings.txtPrev": "To previous field",
"DE.Views.MailMergeSettings.txtUntitled": "Untitled",
"DE.Views.MailMergeSettings.warnProcessMailMerge": "Starting merge failed",
"DE.Views.ParagraphSettings.strLineHeight": "Satır Aralığı",
"DE.Views.ParagraphSettings.strParagraphSpacing": "Aralık",
"DE.Views.ParagraphSettings.strSomeParagraphSpace": "Aynı stildeki paragraflar arasına aralık ekleme",
@ -897,6 +982,7 @@
"DE.Views.RightMenu.txtChartSettings": "Grafik Ayarları",
"DE.Views.RightMenu.txtHeaderFooterSettings": "Üst Başlık ve Alt Başlık Ayarları",
"DE.Views.RightMenu.txtImageSettings": "Resim Ayarları",
"DE.Views.RightMenu.txtMailMergeSettings": "Mail Merge Settings",
"DE.Views.RightMenu.txtParagraphSettings": "Paragraf Ayarları",
"DE.Views.RightMenu.txtShapeSettings": "Şekil Ayarları",
"DE.Views.RightMenu.txtTableSettings": "Tablo Ayarları",
@ -1152,6 +1238,7 @@
"DE.Views.Toolbar.tipInsertTable": "Tablo ekle",
"DE.Views.Toolbar.tipInsertText": "Metin ekle",
"DE.Views.Toolbar.tipLineSpace": "Paragraf Satır Aralığı",
"DE.Views.Toolbar.tipMailRecepients": "Mail Merge",
"DE.Views.Toolbar.tipMarkers": "İmler",
"DE.Views.Toolbar.tipMultilevels": "Çerçeve",
"DE.Views.Toolbar.tipNewDocument": "Yeni Döküman",

View file

@ -109,6 +109,7 @@
@import "../../../../common/main/resources/less/scroller.less";
@import "../../../../common/main/resources/less/synchronize-tip.less";
@import "../../../../common/main/resources/less/common.less";
@import "../../../../common/main/resources/less/history.less";
// App
// --------------------------------------------------

View file

@ -69,3 +69,10 @@ label {
max-width: none;
}
}
#left-panel-history {
left: 40px;
width: 300px;
height: 100%;
display: none;
}

View file

@ -36,6 +36,19 @@
}
}
#left-panel-history {
&+.layout-resizer {
border-left: 0 none;
border-right: 0 none;
&.move {
border-left: 1px solid @gray-dark;
border-right: 1px solid @gray-dark;
opacity: 0.4;
}
}
}
.tool-menu-btns {
width: 40px;
height: 100%;
@ -59,6 +72,9 @@
#left-panel-comments {
height: 100%;
}
#left-panel-history {
height: 100%;
}
}
.left-menu-full-ct {
@ -387,7 +403,8 @@
}
}
#panel-info {
#panel-info,
#panel-rights {
padding: 0 30px;
table {
tr {

View file

@ -48,7 +48,7 @@
}
&[disabled] .btn-icon {
background-position: -60px @top-position;
background-position: -40px @top-position;
}
&.active {
@ -146,6 +146,14 @@
.apply-language-flag();
}
}
&.disabled {
cursor: default;
label, .icon-lang-flag {
cursor: default;
opacity: 0.4;
}
}
}
.cnt-zoom {

View file

@ -39,6 +39,7 @@
return;
}
this.initControl();
Common.component.Analytics.initialize("UA-12442749-13", "Document Editor Mobile");
var api = this.api,
app = this.getApplication();
api = new asc_docs_api("id-sdkeditor");

View file

@ -18,149 +18,149 @@
overflow: hidden;
border: none;
background-color: #f4f4f4;
z-index: 20002;
z-index: 100;
}
.loadmask-body {
position:relative;
top:44%;
.loader-page {
top: 50%;
left: 50%;
width: 50px;
height: 180px;
position: absolute;
margin-top: -100px;
}
.loadmask-logo {
display: inline-block;
min-width:220px;
min-height:62px;
vertical-align: top;
background-image: url('./resources/img/loading-logo.gif');
background-image: -webkit-image-set(url('./resources/img/loading-logo.gif') 1x, url('./resources/img/loading-logo@2x.gif') 2x);
background-repeat: no-repeat;
.romb {
width: 40px;
height: 40px;
-webkit-transform: rotate(135deg) skew(20deg, 20deg);
-moz-transform: rotate(135deg) skew(20deg, 20deg);
-ms-transform: rotate(135deg) skew(20deg, 20deg);
-o-transform: rotate(135deg) skew(20deg, 20deg);
position: absolute;
background: red;
border-radius: 6px;
-webkit-animation: movedown 3s infinite ease;
-moz-animation: movedown 3s infinite ease;
-ms-animation: movedown 3s infinite ease;
-o-animation: movedown 3s infinite ease;
animation: movedown 3s infinite ease;
}
#blue {
z-index: 3;
background: #55bce6;
-webkit-animation-name: blue;
-moz-animation-name: blue;
-ms-animation-name: blue;
-o-animation-name: blue;
animation-name: blue;
}
#red {
z-index:1;
background: #de7a59;
-webkit-animation-name: red;
-moz-animation-name: red;
-ms-animation-name: red;
-o-animation-name: red;
animation-name: red;
}
#green {
z-index: 2;
background: #a1cb5c;
-webkit-animation-name: green;
-moz-animation-name: green;
-ms-animation-name: green;
-o-animation-name: green;
animation-name: green;
}
@-webkit-keyframes red {
0% { top:120px; background: #de7a59; }
10% { top:120px; background: #F2CBBF; }
14% { background: #f4f4f4; top:120px; }
15% { background: #f4f4f4; top:0;}
20% { background: #E6E4E4; }
30% { background: #D2D2D2; }
40% { top:120px; }
100% { top:120px; background: #de7a59; }
}
@keyframes red {
0% { top:120px; background: #de7a59; }
10% { top:120px; background: #F2CBBF; }
14% { background: #f4f4f4; top:120px; }
15% { background: #f4f4f4; top:0; }
20% { background: #E6E4E4; }
30% { background: #D2D2D2; }
40% { top:120px; }
100% { top:120px; background: #de7a59; }
}
@-webkit-keyframes green {
0% { top:110px; background: #a1cb5c; opacity:1; }
10% { top:110px; background: #CBE0AC; opacity:1; }
14% { background: #f4f4f4; top:110px; opacity:1; }
15% { background: #f4f4f4; top:0; opacity:1; }
20% { background: #f4f4f4; top:0; opacity:0; }
25% { background: #EFEFEF; top:0; opacity:1; }
30% { background:#E6E4E4; }
70% { top:110px; }
100% { top:110px; background: #a1cb5c; }
}
@keyframes green {
0% { top:110px; background: #a1cb5c; opacity:1; }
10% { top:110px; background: #CBE0AC; opacity:1; }
14% { background: #f4f4f4; top:110px; opacity:1; }
15% { background: #f4f4f4; top:0; opacity:1; }
20% { background: #f4f4f4; top:0; opacity:0; }
25% { background: #EFEFEF; top:0; opacity:1; }
30% { background:#E6E4E4; }
70% { top:110px; }
100% { top:110px; background: #a1cb5c; }
}
@-webkit-keyframes blue {
0% { top:100px; background: #55bce6; opacity:1; }
10% { top:100px; background: #BFE8F8; opacity:1; }
14% { background: #f4f4f4; top:100px; opacity:1; }
15% { background: #f4f4f4; top:0; opacity:1; }
20% { background: #f4f4f4; top:0; opacity:0; }
25% { background: #f4f4f4; top:0; opacity:0; }
45% { background: #EFEFEF; top:0; opacity:0,2; }
100% { top:100px; background: #55bce6; }
}
@keyframes blue {
0% { top:100px; background: #55bce6; opacity:1; }
10% { top:100px; background: #BFE8F8; opacity:1; }
14% { background: #f4f4f4; top:100px; opacity:1; }
15% { background: #f4f4f4; top:0; opacity:1; }
20% { background: #f4f4f4; top:0; opacity:0; }
25% { background: #fff; top:0; opacity:0; }
45% { background: #EFEFEF; top:0; opacity:0,2; }
100% { top:100px; background: #55bce6; }
}
</style>
<!--vendor-->
<!-- debug -->
<!--<script src="http://192.168.3.97:3030/target/target-script-min.js#anonymous"></script>-->
<!-- vendor -->
<script type="text/javascript" src="../../../vendor/touch/sencha-touch-debug.js"></script>
<script type="text/javascript" src="../../../vendor/jquery/jquery.min.js"></script>
<script type="text/javascript" src="../../../vendor/jquery/jquery.browser.min.js"></script>
<script type="text/javascript" src="../../../vendor/bootstrap/dist/js/bootstrap.min.js"></script>
<script type="text/javascript" src="../../../vendor/ZeroClipboard/ZeroClipboard.min.js"></script>
<script type="text/javascript" src="../../../vendor/sockjs/sockjs.min.js"></script>
<script type="text/javascript" src="../../../vendor/underscore/underscore-min.js"></script>
<script type="text/javascript" src="../../../vendor/megapixel/src/megapix-image.js"></script>
<script type="text/javascript" src="../../../vendor/xregexp/xregexp-all-min.js"></script>
<!--application-->
<script type="text/javascript" src="../../common/Analytics.js"></script>
<script type="text/javascript" src="../../common/Gateway.js"></script>
<script type="text/javascript" src="../../common/mobile/loader.js"></script>
<script type="text/javascript" src="app.js"></script>
<script type="text/javascript" src="../../common/locale.js"></script>
<!-- Application -->
<!--sdk-->
<script type="text/javascript" src="../../../sdk/Common/AllFonts.js"></script>
<script type="text/javascript" src="../../../sdk/Common/browser.js"></script>
<script type="text/javascript" src="../../../sdk/Common/docscoapisettings.js"></script>
<script type="text/javascript" src="../../../sdk/Common/docscoapicommon.js"></script>
<script type="text/javascript" src="../../../sdk/Common/docscoapi.js"></script>
<script type="text/javascript" src="../../../sdk/Common/apiCommon.js"></script>
<script type="text/javascript" src="../../../sdk/Common/spellcheckapisettings.js"></script>
<script type="text/javascript" src="../../../sdk/Common/spellcheckapi.js"></script>
<script type="text/javascript" src="../../../sdk/Common/wordcopypaste.js"></script>
<script type="text/javascript" src="../../../sdk/Common/spellCheckLanguage.js"></script>
<script type="text/javascript" src="../../../sdk/Common/spellCheckLanguagesAll.js"></script>
<script type="text/javascript" src="../../../sdk/Common/downloaderfiles.js"></script>
<script type="text/javascript" src="../../../sdk/Common/commonDefines.js"></script>
<script type="text/javascript" src="../../../sdk/Common/editorscommon.js"></script>
<script type="text/javascript" src="../../../sdk/Common/NumFormat.js"></script>
<script type="text/javascript" src="../../../sdk/Common/Shapes/EditorSettings.js"></script>
<script type="text/javascript" src="../../../sdk/Common/Shapes/Serialize.js"></script>
<script type="text/javascript" src="../../../sdk/Common/Shapes/SerializeWriter.js"></script>
<script type="text/javascript" src="../../../sdk/Common/SerializeCommonWordExcel.js"></script>
<script type="text/javascript" src="../../../sdk/Common/trackFile.js"></script>
<script type="text/javascript" src="../../../sdk/Common/Charts/charts.js"></script>
<script type="text/javascript" src="../../../sdk/Common/Charts/DrawingObjects.js"></script>
<script type="text/javascript" src="../../../sdk/Common/FontsFreeType/font_engine.js"></script>
<script type="text/javascript" src="../../../sdk/Common/FontsFreeType/FontFile.js"></script>
<script type="text/javascript" src="../../../sdk/Common/FontsFreeType/FontManager.js"></script>
<script type="text/javascript" src="../../../sdk/Word/Drawing/Externals.js"></script>
<script type="text/javascript" src="../../../sdk/Word/Drawing/GlobalLoaders.js"></script>
<script type="text/javascript" src="../../../sdk/Word/Drawing/translations.js"></script>
<script type="text/javascript" src="../../../sdk/Word/Editor/GraphicObjects/GraphicObjects.js"></script>
<script type="text/javascript" src="../../../sdk/Word/Editor/GraphicObjects/GraphicPage.js"></script>
<script type="text/javascript" src="../../../sdk/Word/Editor/GraphicObjects/States.js"></script>
<script type="text/javascript" src="../../../sdk/Word/Editor/GraphicObjects/Math.js"></script>
<script type="text/javascript" src="../../../sdk/Word/Editor/GraphicObjects/TrackGraphicObjects.js"></script>
<script type="text/javascript" src="../../../sdk/Word/Editor/GraphicObjects/WrapManager.js"></script>
<script type="text/javascript" src="../../../sdk/Word/Editor/GraphicObjects/Spline.js"></script>
<script type="text/javascript" src="../../../sdk/Word/Editor/GraphicObjects/PolyLine.js"></script>
<script type="text/javascript" src="../../../sdk/Word/Editor/GraphicObjects/ObjectTypes/WordShape.js"></script>
<script type="text/javascript" src="../../../sdk/Word/Editor/GraphicObjects/ObjectTypes/WordImage.js"></script>
<script type="text/javascript" src="../../../sdk/Word/Editor/GraphicObjects/ObjectTypes/WordGroupShapes.js"></script>
<script type="text/javascript" src="../../../sdk/Word/Editor/GraphicObjects/ObjectTypes/Format.js"></script>
<script type="text/javascript" src="../../../sdk/Word/Editor/GraphicObjects/ObjectTypes/Geometry.js"></script>
<script type="text/javascript" src="../../../sdk/Word/Editor/GraphicObjects/ObjectTypes/ShapeTracks.js"></script>
<script type="text/javascript" src="../../../sdk/Word/Editor/GraphicObjects/ObjectTypes/GroupTracks.js"></script>
<script type="text/javascript" src="../../../sdk/Word/Editor/GraphicObjects/ObjectTypes/CreateGeometry.js"></script>
<script type="text/javascript" src="../../../sdk/Word/Editor/GraphicObjects/ObjectTypes/Path.js"></script>
<script type="text/javascript" src="../../../sdk/Word/Editor/GraphicObjects/ObjectTypes/Chart.js"></script>
<script type="text/javascript" src="../../../sdk/Word/Editor/GraphicObjects/ObjectTypes/ChartLayout.js"></script>
<script type="text/javascript" src="../../../sdk/Word/Editor/GraphicObjects/ObjectTypes/ChartLegend.js"></script>
<script type="text/javascript" src="../../../sdk/Word/Editor/GraphicObjects/ObjectTypes/ChartTitle.js"></script>
<script type="text/javascript" src="../../../sdk/Word/Editor/GraphicObjects/ObjectTypes/TextBody.js"></script>
<script type="text/javascript" src="../../../sdk/Word/Drawing/Metafile.js"></script>
<script type="text/javascript" src="../../../sdk/Word/Editor/CollaborativeEditing.js"></script>
<script type="text/javascript" src="../../../sdk/Word/Editor/Comments.js"></script>
<script type="text/javascript" src="../../../sdk/Word/Editor/History.js"></script>
<script type="text/javascript" src="../../../sdk/Word/Editor/Styles.js"></script>
<script type="text/javascript" src="../../../sdk/Word/Editor/DrawingObjects.js"></script>
<script type="text/javascript" src="../../../sdk/Word/Editor/FlowObjects.js"></script>
<script type="text/javascript" src="../../../sdk/Word/Editor/ParagraphContent.js"></script>
<script type="text/javascript" src="../../../sdk/Word/Editor/Paragraph.js"></script>
<script type="text/javascript" src="../../../sdk/Word/Editor/Sections.js"></script>
<script type="text/javascript" src="../../../sdk/Word/Editor/Numbering.js"></script>
<script type="text/javascript" src="../../../sdk/Word/Editor/HeaderFooter.js"></script>
<script type="text/javascript" src="../../../sdk/Word/Editor/Document.js"></script>
<script type="text/javascript" src="../../../sdk/Word/Editor/Common.js"></script>
<script type="text/javascript" src="../../../sdk/Word/Editor/DocumentContent.js"></script>
<script type="text/javascript" src="../../../sdk/Word/Editor/Table.js"></script>
<script type="text/javascript" src="../../../sdk/Word/Editor/Serialize2.js"></script>
<script type="text/javascript" src="../../../sdk/Word/Editor/Search.js"></script>
<script type="text/javascript" src="../../../sdk/Word/Editor/FontClassification.js"></script>
<script type="text/javascript" src="../../../sdk/Word/Editor/Spelling.js"></script>
<script type="text/javascript" src="../../../sdk/Word/Drawing/Graphics.js"></script>
<script type="text/javascript" src="../../../sdk/Word/Drawing/ArcTo.js"></script>
<script type="text/javascript" src="../../../sdk/Word/Drawing/Hit.js"></script>
<script type="text/javascript" src="../../../sdk/Word/Drawing/ColorArray.js"></script>
<script type="text/javascript" src="../../../sdk/Word/Drawing/Overlay.js"></script>
<script type="text/javascript" src="../../../sdk/Word/Drawing/HatchPattern.js"></script>
<script type="text/javascript" src="../../../sdk/Word/Drawing/ShapeDrawer.js"></script>
<script type="text/javascript" src="../../../sdk/Word/Drawing/DrawingDocument.js"></script>
<script type="text/javascript" src="../../../sdk/Word/Drawing/GraphicsEvents.js"></script>
<script type="text/javascript" src="../../../sdk/Word/Drawing/scrolls/iscroll.js"></script>
<script type="text/javascript" src="../../../sdk/Word/Drawing/WorkEvents.js"></script>
<script type="text/javascript" src="../../../sdk/Word/Drawing/Controls.js"></script>
<script type="text/javascript" src="../../../sdk/Word/Drawing/Rulers.js"></script>
<script type="text/javascript" src="../../../sdk/Word/Drawing/HtmlPage.js"></script>
<script type="text/javascript" src="../../../sdk/Word/Drawing/documentrenderer.js"></script>
<script type="text/javascript" src="../../../sdk/Common/scroll.js"></script>
<script type="text/javascript" src="../../../sdk/Word/Editor/SerializeCommon.js"></script>
<script type="text/javascript" src="../../../sdk/Word/apiDefines.js"></script>
<script type="text/javascript" src="../../../sdk/Word/api.js"></script>
<script type="text/javascript" src="../../../sdk/Word/apiCommon.js"></script>
<script type="text/javascript" src="../../../sdk/Word/document/empty.js"></script>
<script type="text/javascript" src="../../../sdk/Excel/graphics/DrawingContextWord.js"></script>
</head>
<body>
<!--<link rel="stylesheet" href="resources/css/application-normal.css" type="text/css"/>-->
<script type="text/javascript">
if (!(Ext.browser.is.WebKit && (Ext.os.is.iOS || Ext.os.is.Android || Ext.os.is.Desktop))) {
document.write(
'<div id="unsuported-view-id" class="unsuported-view"></div>'
);
} else {
document.write(
'<div id="loading-mask" class="loadmask">' +
'<div class="loadmask-body" align="center">' +
'<div class="loadmask-logo"></div>' +
'</div>' +
'</div>');
}
var injectStyleElement = function(url) {
var style = document.createElement('link'),
documentHead = typeof document != 'undefined' && (document.head || document.getElementsByTagName('head')[0]);
@ -182,5 +182,38 @@
: 'resources/css/application-normal.css'
);
</script>
<script type="text/javascript" src="../../common/Analytics.js"></script>
<script type="text/javascript" src="../../common/Gateway.js"></script>
<script type="text/javascript" src="../../common/mobile/loader.js"></script>
<script type="text/javascript" src="app.js"></script>
<script type="text/javascript" src="../../common/locale.js"></script>
<!-- SDK -->
<script>
window.g_cAscCoAuthoringUrl = "";
</script>
<script type="text/javascript" src="../../../sdk/Common/AllFonts.js"></script>
<script type="text/javascript" src="../../../sdk/Word/sdk-all.js"></script>
</head>
<body>
<script type="text/javascript">
if (!(Ext.browser.is.WebKit && (Ext.os.is.iOS || Ext.os.is.Android || Ext.os.is.Desktop))) {
document.write(
'<div id="unsuported-view-id" class="unsuported-view"></div>'
);
} else {
document.write(
'<div id="loading-mask" class="loadmask">' +
'<div class="loader-page">' +
'<div class="romb" id="blue"></div>' +
'<div class="romb" id="green"></div>' +
'<div class="romb" id="red"></div>' +
'</div>' +
'</div>');
}
</script>
</body>
</html>

View file

@ -7,6 +7,10 @@
<meta name="description" content="">
<meta name="author" content="">
<!-- debug begin -->
<link rel="stylesheet/less" type="text/css" href="resources/less/application.less" />
<!-- debug end -->
<!-- splash -->
<style type="text/css">
@ -22,23 +26,131 @@
z-index: 20002;
}
.loadmask-body {
position:relative;
top:44%;
.loader-page {
top: 50%;
left: 50%;
width: 50px;
height: 180px;
position: absolute;
margin-top: -100px;
}
.loadmask-logo {
display:inline-block;
min-width:220px;
min-height:62px;
vertical-align:top;
background-image:url('./resources/img/loading-logo.gif');
background-repeat:no-repeat;
.romb {
width: 40px;
height: 40px;
-webkit-transform: rotate(135deg) skew(20deg, 20deg);
-moz-transform: rotate(135deg) skew(20deg, 20deg);
-ms-transform: rotate(135deg) skew(20deg, 20deg);
-o-transform: rotate(135deg) skew(20deg, 20deg);
position: absolute;
background: red;
border-radius: 6px;
-webkit-animation: movedown 3s infinite ease;
-moz-animation: movedown 3s infinite ease;
-ms-animation: movedown 3s infinite ease;
-o-animation: movedown 3s infinite ease;
animation: movedown 3s infinite ease;
}
#blue {
z-index: 3;
background: #55bce6;
-webkit-animation-name: blue;
-moz-animation-name: blue;
-ms-animation-name: blue;
-o-animation-name: blue;
animation-name: blue;
}
#red {
z-index:1;
background: #de7a59;
-webkit-animation-name: red;
-moz-animation-name: red;
-ms-animation-name: red;
-o-animation-name: red;
animation-name: red;
}
#green {
z-index: 2;
background: #a1cb5c;
-webkit-animation-name: green;
-moz-animation-name: green;
-ms-animation-name: green;
-o-animation-name: green;
animation-name: green;
}
@-webkit-keyframes red {
0% { top:120px; background: #de7a59; }
10% { top:120px; background: #F2CBBF; }
14% { background: #f4f4f4; top:120px; }
15% { background: #f4f4f4; top:0;}
20% { background: #E6E4E4; }
30% { background: #D2D2D2; }
40% { top:120px; }
100% { top:120px; background: #de7a59; }
}
@keyframes red {
0% { top:120px; background: #de7a59; }
10% { top:120px; background: #F2CBBF; }
14% { background: #f4f4f4; top:120px; }
15% { background: #f4f4f4; top:0; }
20% { background: #E6E4E4; }
30% { background: #D2D2D2; }
40% { top:120px; }
100% { top:120px; background: #de7a59; }
}
@-webkit-keyframes green {
0% { top:110px; background: #a1cb5c; opacity:1; }
10% { top:110px; background: #CBE0AC; opacity:1; }
14% { background: #f4f4f4; top:110px; opacity:1; }
15% { background: #f4f4f4; top:0; opacity:1; }
20% { background: #f4f4f4; top:0; opacity:0; }
25% { background: #EFEFEF; top:0; opacity:1; }
30% { background:#E6E4E4; }
70% { top:110px; }
100% { top:110px; background: #a1cb5c; }
}
@keyframes green {
0% { top:110px; background: #a1cb5c; opacity:1; }
10% { top:110px; background: #CBE0AC; opacity:1; }
14% { background: #f4f4f4; top:110px; opacity:1; }
15% { background: #f4f4f4; top:0; opacity:1; }
20% { background: #f4f4f4; top:0; opacity:0; }
25% { background: #EFEFEF; top:0; opacity:1; }
30% { background:#E6E4E4; }
70% { top:110px; }
100% { top:110px; background: #a1cb5c; }
}
@-webkit-keyframes blue {
0% { top:100px; background: #55bce6; opacity:1; }
10% { top:100px; background: #BFE8F8; opacity:1; }
14% { background: #f4f4f4; top:100px; opacity:1; }
15% { background: #f4f4f4; top:0; opacity:1; }
20% { background: #f4f4f4; top:0; opacity:0; }
25% { background: #f4f4f4; top:0; opacity:0; }
45% { background: #EFEFEF; top:0; opacity:0,2; }
100% { top:100px; background: #55bce6; }
}
@keyframes blue {
0% { top:100px; background: #55bce6; opacity:1; }
10% { top:100px; background: #BFE8F8; opacity:1; }
14% { background: #f4f4f4; top:100px; opacity:1; }
15% { background: #f4f4f4; top:0; opacity:1; }
20% { background: #f4f4f4; top:0; opacity:0; }
25% { background: #fff; top:0; opacity:0; }
45% { background: #EFEFEF; top:0; opacity:0,2; }
100% { top:100px; background: #55bce6; }
}
</style>
<link href="../../../3rdparty/bootstrap/css/bootstrap.css" rel="stylesheet">
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
@ -46,6 +158,11 @@
<body class="embed-body">
<!-- debug begin -->
<script type="text/javascript">var less=less||{};less.env='development';</script>
<script src="../../../vendor/less/dist/less-1.5.1.js" type="text/javascript"></script>
<!-- debug end -->
<!--facebook button-->
<div id="fb-root"></div>
<script>(function(d, s, id) {
@ -60,10 +177,11 @@
<!--twitter button-->
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
<div id="loading-mask" class="loadmask">
<div class="loadmask-body" align="center">
<div class="loadmask-logo"></div>
<div class="loader-page">
<div class="romb" id="blue"></div>
<div class="romb" id="green"></div>
<div class="romb" id="red"></div>
</div>
</div>
@ -79,14 +197,14 @@
<div class="toolbar" id="toolbar">
<ul class="left">
<li><a class="brand-logo" href="http://www.onlyoffice.com/" target="_blank"></a></li>
<li><a id="header-logo" class="brand-logo" href="http://www.onlyoffice.com/" target="_blank"></a></li>
<li class="separator"></li>
<li id="id-btn-copy"><button class="control-btn"><i class="control-icon-save"></i><span>Save Copy</span></button></li>
<li id="id-btn-share"><button class="control-btn"><i class="control-icon-share"></i><span>Share</span></button></li>
<li id="id-btn-embed"><button class="control-btn"><i class="control-icon-embed"></i><span>Embed</span></button></li>
</ul>
<ul class="right">
<li><input id="page-number" style="width: 25px" type="text" value="0"><span class="text" id="pages">of 0</span></li>
<li><input id="page-number" class="form-control input-sm" style="width: 25px;" type="text" value="0"><span class="text" id="pages">of 0</span></li>
<li class="separator"></li>
<li><button id="id-btn-fullscreen" class="control-btn no-caption"><i class="control-icon-fullscreen"></i></button></li>
<li><button id="id-btn-close" class="control-btn no-caption"><i class="control-icon-close"></i></button></li>
@ -110,112 +228,20 @@
<div class="cmd-loader-title">Please wait...</div>
</div>
<!--3td party-->
<script type="text/javascript" src="../../../3rdparty/jquery/jquery-1.8.1.min.js"></script>
<script type="text/javascript" src="../../../3rdparty/bootstrap/js/bootstrap.js"></script>
<script type="text/javascript" src="../../../3rdparty/ZeroClipboard/ZeroClipboard.min.js"></script>
<script type="text/javascript" src="../../../3rdparty/sockjs/sockjs-0.3.min.js"></script>
<script type="text/javascript" src="../../../3rdparty/xregexp/xregexp-all-min.js"></script>
<!--vendor-->
<script type="text/javascript" src="../../../vendor/jquery/jquery.min.js"></script>
<script type="text/javascript" src="../../../vendor/jquery.browser/dist/jquery.browser.min.js"></script>
<script type="text/javascript" src="../../../vendor/bootstrap/dist/js/bootstrap.js"></script>
<script type="text/javascript" src="../../../vendor/ZeroClipboard/ZeroClipboard.min.js"></script>
<script type="text/javascript" src="../../../vendor/sockjs/sockjs.min.js"></script>
<script type="text/javascript" src="../../../vendor/xregexp/xregexp-all-min.js"></script>
<!--sdk-->
<script type="text/javascript" src="../../../sdk/Common/AllFonts.js"></script>
<script type="text/javascript" src="../../../sdk/Common/browser.js"></script>
<script type="text/javascript" src="../../../sdk/Common/docscoapisettings.js"></script>
<script type="text/javascript" src="../../../sdk/Common/docscoapicommon.js"></script>
<script type="text/javascript" src="../../../sdk/Common/docscoapi.js"></script>
<script type="text/javascript" src="../../../sdk/Common/wordcopypaste.js"></script>
<script type="text/javascript" src="../../../sdk/Common/downloaderfiles.js"></script>
<script type="text/javascript" src="../../../sdk/Common/editorscommon.js"></script>
<script type="text/javascript" src="../../../sdk/Common/apiCommon.js"></script>
<script type="text/javascript" src="../../../sdk/Common/Shapes/Serialize.js"></script>
<script type="text/javascript" src="../../../sdk/Common/Shapes/SerializeWriter.js"></script>
<script type="text/javascript" src="../../../sdk/Common/FontsFreeType/font_engine.js"></script>
<script type="text/javascript" src="../../../sdk/Common/FontsFreeType/FontFile.js"></script>
<script type="text/javascript" src="../../../sdk/Common/FontsFreeType/FontManager.js"></script>
<script type="text/javascript" src="../../../sdk/Word/Drawing/Externals.js"></script>
<script type="text/javascript" src="../../../sdk/Word/Drawing/GlobalLoaders.js"></script>
<script type="text/javascript" src="../../../sdk/Word/Drawing/Metafile.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Drawing/ThemeLoader.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/Format/Table.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/Format/CollaborativeEditing.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/Styles.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/Format/Table.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/Format/Paragraph.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/Format/FontClassification.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/Format/ParagraphContent.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/Format/Spelling.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/Format/Comments.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/GraphicObjects.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/States.js"></script>
<script type="text/javascript" src="../../../sdk/Common/Charts/DrawingObjects.js"></script>
<script type="text/javascript" src="../../../sdk/Common/commonDefines.js"></script>
<script type="text/javascript" src="../../../sdk/Common/SerializeCommonWordExcel.js"></script>
<script type="text/javascript" src="../../../sdk/Word/Editor/Serialize2.js"></script>
<script type="text/javascript" src="../../../sdk/Common/Charts/charts.js"></script>
<script type="text/javascript" src="../../../sdk/Excel/graphics/DrawingContextWord.js"></script>
<script type="text/javascript" src="../../../sdk/Common/trackFile.js"></script>
<script type="text/javascript" src="../../../sdk/Word/Editor/SerializeCommon.js"></script>
<script type="text/javascript" src="../../../sdk/Word/Drawing/GraphicsEvents.js"></script>
<script type="text/javascript" src="../../../sdk/Word/Drawing/WorkEvents.js"></script>
<script type="text/javascript" src="../../../sdk/Word/Drawing/Controls.js"></script>
<script type="text/javascript" src="../../../sdk/Word/Drawing/Rulers.js"></script>
<script type="text/javascript" src="../../../sdk/Word/Editor/Common.js"></script>
<script type="text/javascript" src="../../../sdk/Word/Editor/Sections.js"></script>
<script type="text/javascript" src="../../../sdk/Common/scroll.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/History.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/FlowObjects.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/Format/DocumentContent.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/Format/Presentation.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/SlideShowInfo.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/PresentationProperties.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/Format/Shape.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/Format/GraphicFrame.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/Numbering.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/TrackObjects/AdjustmentTracks.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/TrackObjects/MoveTracks.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/TrackObjects/NewShapeTracks.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/TrackObjects/PolyLine.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/TrackObjects/ResizeTracks.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/TrackObjects/RotateTracks.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/TrackObjects/Spline.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/Format/TextBody.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/Format/Image.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/Format/GroupShape.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/Format/ChartTitle.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/Format/Chart.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/Format/ChartLayout.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/Format/Slide.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/Format/SlideMaster.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/Format/Layout.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/Drawing/Geometry.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/Drawing/CreateGoemetry.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/Drawing/ColorArray.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/Drawing/Math.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/Drawing/Path.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/Drawing/ArcTo.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/Drawing/GraphicFigure.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/Drawing/Clone.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/Drawing/CImage.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/Drawing/Spline.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/Drawing/PolyLine.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/Drawing/Hit.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/Drawing/Joined.js"></script>
<script type="text/javascript" src="../../../sdk/Word/Drawing/Graphics.js"></script>
<script type="text/javascript" src="../../../sdk/Word/Drawing/Overlay.js"></script>
<script type="text/javascript" src="../../../sdk/Word/Drawing/HatchPattern.js"></script>
<script type="text/javascript" src="../../../sdk/Word/Drawing/ShapeDrawer.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Drawing/Transitions.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Drawing/DrawingDocument.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Drawing/HtmlPage.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/Format.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/apiDefines.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/api.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/apiCommon.js"></script>
<script type="text/javascript" src="../../../sdk/Common/Shapes/EditorSettings.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/themes/Themes.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/sdk-all.js"></script>
<!--application-->
<link href="resources/css/application.css" rel="stylesheet">
<!--<link href="resources/css/application.css" rel="stylesheet">-->
<script type="text/javascript" src="../../common/Gateway.js"></script>
<script type="text/javascript" src="../../common/Analytics.js"></script>
<script type="text/javascript" src="js/ApplicationView.js"></script>

View file

@ -189,7 +189,7 @@
<div class="toolbar" id="toolbar">
<ul class="left">
<li><a class="brand-logo" href="http://www.onlyoffice.com/" target="_blank"></a></li>
<li><a id="header-logo" class="brand-logo" href="http://www.onlyoffice.com/" target="_blank"></a></li>
<li class="separator"></li>
<li id="id-btn-copy"><button class="control-btn"><i class="control-icon-save"></i><span>Save Copy</span></button></li>
<li id="id-btn-share"><button class="control-btn"><i class="control-icon-share"></i><span>Share</span></button></li>

View file

@ -30,7 +30,8 @@
*
*/
var ApplicationController = new(function () {
var me, api, docConfig = {},
var me, api, config = {},
docConfig = {},
embedConfig = {},
permissions = {},
maxPages = 0,
@ -40,6 +41,7 @@
embedCode = '<iframe allowtransparency="true" frameborder="0" scrolling="no" src="{embed-url}" width="{width}" height="{height}"></iframe>',
maxZIndex = 9090,
created = false;
Common.Analytics.initialize("UA-12442749-13", "Embedded ONLYOFFICE Presentation");
if (typeof isBrowserSupported !== "undefined" && !isBrowserSupported()) {
Common.Gateway.reportError(undefined, "Your browser is not supported.");
return;
@ -77,6 +79,7 @@
}
}
function loadConfig(data) {
config = $.extend(config, data.config);
embedConfig = $.extend(embedConfig, data.config.embedded);
$("#id-short-url").text(embedConfig.shareUrl || "Unavailable");
$("#id-textarea-embed").text(embedCode.replace("{embed-url}", embedConfig.embedUrl).replace("{width}", minEmbedWidth).replace("{height}", minEmbedHeight));
@ -96,7 +99,7 @@
if (typeof embedConfig.fullscreenUrl === "undefined") {
$("#id-btn-fullscreen").hide();
}
if (typeof data.config.canBackToFolder === "undefined" || !data.config.canBackToFolder) {
if (typeof config.canBackToFolder === "undefined" || !config.canBackToFolder) {
$("#id-btn-close").hide();
}
if (embedConfig.toolbarDocked === "top") {
@ -122,6 +125,8 @@
docInfo.put_Format(docConfig.fileType);
docInfo.put_VKey(docConfig.vkey);
if (api) {
api.asc_registerCallback("asc_onGetEditorPermissions", onEditorPermissions);
api.asc_getEditorPermissions();
api.asc_enableKeyEvents(true);
api.SetViewMode(true);
api.LoadDocument(docInfo);
@ -204,6 +209,15 @@
hidePreloader();
Common.Analytics.trackEvent("Load", "Complete");
}
function onEditorPermissions(params) {
if (params.asc_getCanBranding() && (typeof config.customization == "object") && config.customization && config.customization.logoUrlEmbedded) {
$("#header-logo").css({
"background-image": 'url("' + config.customization.logoUrlEmbedded + '")',
"background-position": "0 center",
"background-repeat": "no-repeat"
});
}
}
function showMask() {
$("#id-loadmask").modal({
backdrop: "static",

View file

@ -94,7 +94,7 @@
this.api.asc_registerCallback("asc_onThumbnailsShow", _.bind(this.onThumbnailsShow, this));
this.api.asc_registerCallback("asc_onСoAuthoringDisconnect", _.bind(this.onApiServerDisconnect, this));
Common.NotificationCenter.on("api:disconnect", _.bind(this.onApiServerDisconnect, this));
if (this.mode.canCoAuthoring) {
if (this.mode.canCoAuthoring && this.mode.canChat) {
this.api.asc_registerCallback("asc_onCoAuthoringChatReceiveMessage", _.bind(this.onApiChatMessage, this));
}
this.api.asc_registerCallback("asc_onCountPages", _.bind(this.onApiCountPages, this));
@ -110,10 +110,14 @@
},
createDelayedElements: function () {
if (this.mode.canCoAuthoring) {
this.leftMenu.btnComments[this.mode.isEdit ? "show" : "hide"]();
this.leftMenu.btnChat.show();
this.leftMenu.setOptionsPanel("chat", this.getApplication().getController("Common.Controllers.Chat").getView("Common.Views.Chat"));
this.leftMenu.btnComments[this.mode.isEdit && this.mode.canComments ? "show" : "hide"]();
if (this.mode.canComments) {
this.leftMenu.setOptionsPanel("comment", this.getApplication().getController("Common.Controllers.Comments").getView("Common.Views.Comments"));
}
this.leftMenu.btnChat[this.mode.canChat ? "show" : "hide"]();
if (this.mode.canChat) {
this.leftMenu.setOptionsPanel("chat", this.getApplication().getController("Common.Controllers.Chat").getView("Common.Views.Chat"));
}
} else {
this.leftMenu.btnChat.hide();
this.leftMenu.btnComments.hide();
@ -214,7 +218,7 @@
this.leftMenu.getMenu("file").disableMenu("save", status);
},
clickStatusbarUsers: function () {
if (this.mode.canCoAuthoring) {
if (this.mode.canCoAuthoring && this.mode.canChat) {
if (this.leftMenu.btnChat.pressed) {
this.leftMenu.close();
} else {
@ -366,13 +370,13 @@
}
break;
case "chat":
if (this.mode.canCoAuthoring && (!previewPanel || !previewPanel.isVisible())) {
if (this.mode.canCoAuthoring && this.mode.canChat && (!previewPanel || !previewPanel.isVisible())) {
Common.UI.Menu.Manager.hideAll();
this.leftMenu.showMenu("chat");
}
return false;
case "comments":
if (this.mode.canCoAuthoring && this.mode.isEdit && (!previewPanel || !previewPanel.isVisible()) && !this._state.no_slides) {
if (this.mode.canCoAuthoring && this.mode.isEdit && this.mode.canComments && (!previewPanel || !previewPanel.isVisible()) && !this._state.no_slides) {
Common.UI.Menu.Manager.hideAll();
this.leftMenu.showMenu("comments");
this.getApplication().getController("Common.Controllers.Comments").focusOnInput();

View file

@ -33,6 +33,11 @@
PE.Controllers.Main = Backbone.Controller.extend(_.extend((function () {
var ApplyEditRights = -255;
var LoadingDocument = -256;
var mapCustomizationElements = {
about: "button#left-btn-about",
feedback: "button#left-btn-support",
goback: "#fm-btn-back > a, #header-back > div"
};
return {
models: [],
collections: ["ShapeGroups", "SlideLayouts"],
@ -148,14 +153,16 @@
this.appOptions.user = this.editorConfig.user;
this.appOptions.canBack = this.editorConfig.nativeApp !== true && this.editorConfig.canBackToFolder === true;
this.appOptions.nativeApp = this.editorConfig.nativeApp === true;
this.appOptions.canCreateNew = !_.isEmpty(this.editorConfig.createUrl);
this.appOptions.canOpenRecent = this.editorConfig.nativeApp !== true && this.editorConfig.recent !== undefined;
this.appOptions.isDesktopApp = this.editorConfig.targetApp == "desktop";
this.appOptions.canCreateNew = !_.isEmpty(this.editorConfig.createUrl) && !this.appOptions.isDesktopApp;
this.appOptions.canOpenRecent = this.editorConfig.nativeApp !== true && this.editorConfig.recent !== undefined && !this.appOptions.isDesktopApp;
this.appOptions.templates = this.editorConfig.templates;
this.appOptions.recent = this.editorConfig.recent;
this.appOptions.createUrl = this.editorConfig.createUrl;
this.appOptions.lang = this.editorConfig.lang;
this.appOptions.sharingSettingsUrl = this.editorConfig.sharingSettingsUrl;
this.appOptions.canAnalytics = false;
this.appOptions.customization = this.editorConfig.customization;
this.getApplication().getController("Viewport").getView("Common.Views.Header").setCanBack(this.editorConfig.canBackToFolder === true);
if (this.editorConfig.lang) {
this.api.asc_setLocale(this.editorConfig.lang);
@ -177,7 +184,6 @@
docInfo.put_UserId(this.editorConfig.user.id);
docInfo.put_UserName(this.editorConfig.user.name);
docInfo.put_CallbackUrl(this.editorConfig.callbackUrl);
docInfo.put_OfflineApp(this.editorConfig.nativeApp === true);
}
this.api.asc_registerCallback("asc_onGetEditorPermissions", _.bind(this.onEditorPermissions, this));
this.api.asc_setDocInfo(docInfo);
@ -198,7 +204,7 @@
onProcessRightsChange: function (data) {
if (data && data.enabled === false) {
this.api.asc_coAuthoringDisconnect();
this.getApplication().getController("LeftMenu").leftMenu.getMenu("file").panels["info"].onLostEditRights();
this.getApplication().getController("LeftMenu").leftMenu.getMenu("file").panels["rights"].onLostEditRights();
Common.UI.warning({
title: this.notcriticalErrorTitle,
msg: _.isEmpty(data.message) ? this.warnProcessRightsChange : data.message
@ -406,10 +412,12 @@
value = window.localStorage.getItem("pe-settings-zoom");
var zf = (value !== null) ? parseInt(value) : -1;
(zf == -1) ? this.api.zoomFitToPage() : this.api.zoom(zf);
if ( !! window["AscDesktopEditor"]) {
Common.Utils.isIE9m && tips.push(me.warnBrowserIE9); ! Common.Utils.isGecko && (Math.abs(me.getBrowseZoomLevel() - 1) > 0.1) && tips.push(Common.Utils.String.platformKey(me.warnBrowserZoom, "{0}"));
if (tips.length) {
me.showTips(tips);
}
}
me.api.asc_registerCallback("asc_onStartAction", _.bind(me.onLongActionBegin, me));
me.api.asc_registerCallback("asc_onEndAction", _.bind(me.onLongActionEnd, me));
me.api.asc_registerCallback("asc_onСoAuthoringDisconnect", _.bind(me.onCoAuthoringDisconnect, me));
@ -441,7 +449,7 @@
statusbarController.createDelayedElements();
leftmenuController.getView("LeftMenu").disableMenu("all", false);
if (me.appOptions.canBranding) {
me.getApplication().getController("LeftMenu").leftMenu.getMenu("about").setLicInfo(me.editorConfig.branding);
me.getApplication().getController("LeftMenu").leftMenu.getMenu("about").setLicInfo(me.editorConfig.customization);
}
documentHolderController.getView("DocumentHolder").setApi(me.api).on("editcomplete", _.bind(me.onEditComplete, me));
application.getController("Viewport").getView("DocumentPreview").setApi(me.api).on("editcomplete", _.bind(me.onEditComplete, me));
@ -480,8 +488,9 @@
}
me.api.asc_setAutoSaveGap(value);
if (this.appOptions.canAnalytics) {
Common.Gateway.on("applyeditrights", _.bind(me.onApplyEditRights, me));
Common.component.Analytics.initialize("UA-12442749-13", "Presentation Editor");
}
Common.Gateway.on("applyeditrights", _.bind(me.onApplyEditRights, me));
Common.Gateway.on("processsaveresult", _.bind(me.onProcessSaveResult, me));
Common.Gateway.on("processrightschange", _.bind(me.onProcessRightsChange, me));
Common.Gateway.on("processmouse", _.bind(me.onProcessMouse, me));
@ -500,15 +509,18 @@
onEditorPermissions: function (params) {
this.permissions.edit !== false && (this.permissions.edit = params.asc_getCanEdit());
this.permissions.download !== false && (this.permissions.download = params.asc_getCanDownload());
this.appOptions.canCoAuthoring = params.asc_getCanCoAuthoring();
this.appOptions.canCoAuthoring = true;
this.appOptions.canEdit = this.permissions.edit === true;
this.appOptions.isEdit = this.appOptions.canEdit && this.editorConfig.mode !== "view";
this.appOptions.canDownload = !this.appOptions.nativeApp && this.permissions.download;
this.appOptions.canAutosave = this.editorConfig.canAutosave !== false && params.asc_getIsAutosaveEnable();
this.appOptions.canAnalytics = params.asc_getIsAnalyticsEnable();
this.appOptions.canBranding = params.asc_getCanBranding() && (typeof(this.editorConfig.branding) == "object");
this.appOptions.canLicense = params.asc_getCanLicense ? params.asc_getCanLicense() : false;
this.appOptions.canComments = this.appOptions.canLicense && !((typeof(this.editorConfig.customization) == "object") && this.editorConfig.customization.comments === false);
this.appOptions.canChat = this.appOptions.canLicense && !((typeof(this.editorConfig.customization) == "object") && this.editorConfig.customization.chat === false);
this.appOptions.canBranding = params.asc_getCanBranding() && (typeof(this.editorConfig.customization) == "object");
if (this.appOptions.canBranding) {
this.getApplication().getController("Viewport").getView("Common.Views.Header").setBranding(this.editorConfig.branding);
this.getApplication().getController("Viewport").getView("Common.Views.Header").setBranding(this.editorConfig.customization);
}
this.applyModeCommonElements();
this.applyModeEditorElements();
@ -530,7 +542,7 @@
documentHolder = app.getController("DocumentHolder").getView("DocumentHolder");
if (headerView) {
headerView.setHeaderCaption(this.appOptions.isEdit ? "Presentation Editor" : "Presentation Viewer");
headerView.setVisible(!this.appOptions.nativeApp && !value);
headerView.setVisible(!this.appOptions.nativeApp && !value && !this.appOptions.isDesktopApp);
}
viewport && viewport.setMode(this.appOptions, true);
statusbarView && statusbarView.setMode(this.appOptions);
@ -807,6 +819,10 @@
}
},
hidePreloader: function () {
if ( !! this.appOptions.customization && !this.appOptions.customization.done) {
this.appOptions.customization.done = true;
Common.Utils.applyCustomization(this.appOptions.customization, mapCustomizationElements);
}
Common.NotificationCenter.trigger("layout:changed", "main");
$("#loading-mask").hide().remove();
},

View file

@ -803,6 +803,10 @@
onCopyPaste: function (copy, e) {
var me = this;
if (me.api) {
if (typeof window["AscDesktopEditor"] === "object") {
copy ? me.api.Copy() : me.api.Paste();
Common.NotificationCenter.trigger("edit:complete", me.toolbar);
} else {
var value = window.localStorage.getItem("pe-hide-copywarning");
if (! (value && parseInt(value) == 1) && this._state.show_copywarning) {
(new Common.Views.CopyWarningDialog({
@ -818,6 +822,7 @@
copy ? me.api.Copy() : me.api.Paste();
Common.NotificationCenter.trigger("edit:complete", me.toolbar);
}
}
Common.component.Analytics.trackEvent("ToolBar", "Copy Warning");
} else {
Common.NotificationCenter.trigger("edit:complete", me.toolbar);

View file

@ -11,6 +11,7 @@
<li id="fm-btn-create" class="fm-btn" />
<li class="devider" />
<li id="fm-btn-info" class="fm-btn" />
<li id="fm-btn-rights" class="fm-btn" />
<li class="devider" class="fm-btn" />
<li id="fm-btn-settings" class="fm-btn" />
<li class="devider" />
@ -23,6 +24,7 @@
<div id="panel-recentfiles" class="content-box" />
<div id="panel-createnew" class="content-box" />
<div id="panel-info" class="content-box" />
<div id="panel-rights" class="content-box" />
<div id="panel-settings" class="content-box" />
<div id="panel-help" class="content-box" />
</div>

View file

@ -581,7 +581,7 @@
me.api.asc_registerCallback("asc_onDialogAddHyperlink", _.bind(onDialogAddHyperlink, me));
me.api.asc_registerCallback("asc_doubleClickOnChart", onDoubleClickOnChart);
}
me.mode = mode; ! (me.mode.canCoAuthoring && me.mode.isEdit) ? Common.util.Shortcuts.suspendEvents(hkComments) : Common.util.Shortcuts.resumeEvents(hkComments);
me.mode = mode; ! (me.mode.canCoAuthoring && me.mode.isEdit && me.mode.canComments) ? Common.util.Shortcuts.suspendEvents(hkComments) : Common.util.Shortcuts.resumeEvents(hkComments);
me.editorConfig = {
user: mode.user
};
@ -650,7 +650,7 @@
}
},
addComment: function (item, e, eOpt) {
if (this.api && this.mode.canCoAuthoring && this.mode.isEdit) {
if (this.api && this.mode.canCoAuthoring && this.mode.isEdit && this.mode.canComments) {
this.suppressEditComplete = true;
this.api.asc_enableKeyEvents(false);
var controller = PE.getController("Common.Controllers.Comments");
@ -673,6 +673,9 @@
onCutCopyPaste: function (item, e) {
var me = this;
if (me.api) {
if (typeof window["AscDesktopEditor"] === "object") {
(item.value == "cut") ? me.api.Cut() : ((item.value == "copy") ? me.api.Copy() : me.api.Paste());
} else {
var value = window.localStorage.getItem("pe-hide-copywarning");
if (! (value && parseInt(value) == 1) && me.show_copywarning) {
(new Common.Views.CopyWarningDialog({
@ -688,6 +691,7 @@
(item.value == "cut") ? me.api.Cut() : ((item.value == "copy") ? me.api.Copy() : me.api.Paste());
me.fireEvent("editcomplete", me);
}
}
} else {
me.fireEvent("editcomplete", me);
}
@ -1330,7 +1334,7 @@
menuAddHyperlinkPara.hyperProps.value = new CHyperlinkProperty();
menuAddHyperlinkPara.hyperProps.value.put_Text(text);
}
menuAddCommentPara.setVisible(!isInChart && me.api.can_AddQuotedComment() !== false && me.mode.canCoAuthoring);
menuAddCommentPara.setVisible(!isInChart && me.api.can_AddQuotedComment() !== false && me.mode.canCoAuthoring && me.mode.canComments);
menuCommentParaSeparator.setVisible(menuAddCommentPara.isVisible() || menuAddHyperlinkPara.isVisible() || menuHyperlinkPara.isVisible());
menuAddHyperlinkPara.setDisabled(disabled);
menuHyperlinkPara.setDisabled(disabled);
@ -1386,7 +1390,7 @@
menuAddHyperlinkTable.setDisabled(value.paraProps.locked || disabled);
menuHyperlinkTable.setDisabled(value.paraProps.locked || disabled);
}
menuAddCommentTable.setVisible(me.api.can_AddQuotedComment() !== false && me.mode.canCoAuthoring);
menuAddCommentTable.setVisible(me.api.can_AddQuotedComment() !== false && me.mode.canCoAuthoring && me.mode.canComments);
menuAddCommentTable.setDisabled(!_.isUndefined(value.paraProps) && value.paraProps.locked || disabled);
menuHyperlinkSeparator.setVisible(menuAddHyperlinkTable.isVisible() || menuHyperlinkTable.isVisible() || menuAddCommentTable.isVisible());
},
@ -1515,7 +1519,7 @@
menuShapeAdvanced.setVisible(_.isUndefined(value.imgProps) && _.isUndefined(value.chartProps));
menuChartEdit.setVisible(_.isUndefined(value.imgProps) && !_.isUndefined(value.chartProps) && (_.isUndefined(value.shapeProps) || value.shapeProps.isChart));
menuImgShapeSeparator.setVisible(menuImageAdvanced.isVisible() || menuShapeAdvanced.isVisible() || menuChartEdit.isVisible());
menuAddCommentImg.setVisible(me.api.can_AddQuotedComment() !== false && me.mode.canCoAuthoring);
menuAddCommentImg.setVisible(me.api.can_AddQuotedComment() !== false && me.mode.canCoAuthoring && me.mode.canComments);
menuCommentSeparatorImg.setVisible(menuAddCommentImg.isVisible());
menuAddCommentImg.setDisabled(disabled);
menuImgShapeAlign.setDisabled(disabled);

View file

@ -106,6 +106,11 @@
action: "info",
caption: this.btnInfoCaption,
canFocused: false
}), new Common.UI.MenuItem({
el: $("#fm-btn-rights", this.el),
action: "rights",
caption: this.btnRightsCaption,
canFocused: false
}), new Common.UI.MenuItem({
el: $("#fm-btn-settings", this.el),
action: "opts",
@ -135,6 +140,9 @@
"info": (new PE.Views.FileMenuPanels.DocumentInfo({
menu: me
})).render(),
"rights": (new PE.Views.FileMenuPanels.DocumentRights({
menu: me
})).render(),
"help": (new PE.Views.FileMenuPanels.Help({
menu: me
})).render()
@ -166,16 +174,17 @@
this.api.asc_enableKeyEvents(true);
},
applyMode: function () {
this.items[0][this.mode.canBack ? "show" : "hide"]();
this.items[0].$el.find("+.devider")[this.mode.canBack ? "show" : "hide"]();
this.items[5][this.mode.canOpenRecent ? "show" : "hide"]();
this.items[6][this.mode.canCreateNew ? "show" : "hide"]();
this.items[6].$el.find("+.devider")[this.mode.canCreateNew ? "show" : "hide"]();
this.items[3][this.mode.canDownload ? "show" : "hide"]();
this.items[1][this.mode.isEdit ? "show" : "hide"]();
this.items[2][!this.mode.isEdit && this.mode.canEdit ? "show" : "hide"]();
this.mode.canBack ? this.$el.find("#fm-btn-back").show().prev().show() : this.$el.find("#fm-btn-back").hide().prev().hide();
this.items[8][(this.document && this.document.info && (this.document.info.sharingSettings && this.document.info.sharingSettings.length > 0 || this.mode.sharingSettingsUrl && this.mode.sharingSettingsUrl.length)) ? "show" : "hide"]();
this.panels["opts"].setMode(this.mode);
this.panels["info"].setMode(this.mode).updateInfo(this.document);
this.panels["rights"].setMode(this.mode).updateInfo(this.document);
if (this.mode.canCreateNew) {
if (this.mode.templates && this.mode.templates.length) {
$("a", this.items[6].$el).text(this.btnCreateNewCaption + "...");
@ -193,6 +202,9 @@
})).render();
}
}
if (this.mode.targetApp == "desktop") {
this.$el.find("#fm-btn-create, #fm-btn-back, #fm-btn-create+.devider").hide();
}
this.panels["help"].setLangConfig(this.mode.lang);
},
setMode: function (mode, delay) {
@ -241,6 +253,7 @@
btnSaveCaption: "Save",
btnDownloadCaption: "Download as...",
btnInfoCaption: "Document Info...",
btnRightsCaption: "Access Rights...",
btnCreateNewCaption: "Create New",
btnRecentFilesCaption: "Open Recent...",
btnPrintCaption: "Print",

View file

@ -339,8 +339,7 @@
initialize: function (options) {
Common.UI.BaseView.prototype.initialize.call(this, arguments);
this.rendered = false;
this.template = _.template(['<table class="main">', "<tr>", '<td class="left"><label>' + this.txtTitle + "</label></td>", '<td class="right"><label id="id-info-title">-</label></td>', "</tr>", '<tr class="author">', '<td class="left"><label>' + this.txtAuthor + "</label></td>", '<td class="right"><span class="userLink" id="id-info-author">-</span></td>', "</tr>", '<tr class="placement">', '<td class="left"><label>' + this.txtPlacement + "</label></td>", '<td class="right"><label id="id-info-placement">-</label></td>', "</tr>", '<tr class="date">', '<td class="left"><label>' + this.txtDate + "</label></td>", '<td class="right"><label id="id-info-date">-</label></td>', "</tr>", '<tr class="divider date"></tr>', '<tr class="rights">', '<td class="left" style="vertical-align: top;"><label>' + this.txtRights + "</label></td>", '<td class="right"><div id="id-info-rights"></div></td>', "</tr>", '<tr class="edit-rights">', '<td class="left"></td><td class="right"><button id="id-info-btn-edit" class="btn normal dlg-btn primary" style="margin-right: 10px;width: auto;">' + this.txtBtnAccessRights + "</button></td>", "</tr>", "</table>"].join(""));
this.templateRights = _.template(["<table>", "<% _.each(users, function(item) { %>", "<tr>", '<td><span class="userLink"><%= Common.Utils.String.htmlEncode(item.user) %></span></td>', "<td><%= Common.Utils.String.htmlEncode(item.permissions) %></td>", "</tr>", "<% }); %>", "</table>"].join(""));
this.template = _.template(['<table class="main">', "<tr>", '<td class="left"><label>' + this.txtTitle + "</label></td>", '<td class="right"><label id="id-info-title">-</label></td>', "</tr>", '<tr class="author">', '<td class="left"><label>' + this.txtAuthor + "</label></td>", '<td class="right"><span class="userLink" id="id-info-author">-</span></td>', "</tr>", '<tr class="placement">', '<td class="left"><label>' + this.txtPlacement + "</label></td>", '<td class="right"><label id="id-info-placement">-</label></td>', "</tr>", '<tr class="date">', '<td class="left"><label>' + this.txtDate + "</label></td>", '<td class="right"><label id="id-info-date">-</label></td>', "</tr>", '<tr class="divider date"></tr>', "</table>"].join(""));
this.menu = options.menu;
},
render: function () {
@ -349,11 +348,6 @@
this.lblPlacement = $("#id-info-placement");
this.lblDate = $("#id-info-date");
this.lblAuthor = $("#id-info-author");
this.cntRights = $("#id-info-rights");
this.btnEditRights = new Common.UI.Button({
el: "#id-info-btn-edit"
});
this.btnEditRights.on("click", _.bind(this.changeAccessRights, this));
this.rendered = true;
this.updateInfo(this.doc);
if (_.isUndefined(this.scroller)) {
@ -390,13 +384,6 @@
this.lblPlacement.text(doc.info.folder);
}
this._ShowHideInfoItem("placement", doc.info.folder !== undefined && doc.info.folder !== null);
if (doc.info.sharingSettings) {
this.cntRights.html(this.templateRights({
users: doc.info.sharingSettings
}));
}
this._ShowHideInfoItem("rights", doc.info.sharingSettings !== undefined && doc.info.sharingSettings !== null && this._readonlyRights !== true);
this._ShowHideInfoItem("edit-rights", !!this.sharingSettingsUrl && this.sharingSettingsUrl.length && this._readonlyRights !== true);
} else {
this._ShowHideDocInfo(false);
}
@ -408,6 +395,71 @@
this._ShowHideInfoItem("date", visible);
this._ShowHideInfoItem("placement", visible);
this._ShowHideInfoItem("author", visible);
},
setMode: function (mode) {
return this;
},
txtTitle: "Document Title",
txtAuthor: "Author",
txtPlacement: "Placement",
txtDate: "Creation Date"
},
PE.Views.FileMenuPanels.DocumentInfo || {}));
PE.Views.FileMenuPanels.DocumentRights = Common.UI.BaseView.extend(_.extend({
el: "#panel-rights",
menu: undefined,
initialize: function (options) {
Common.UI.BaseView.prototype.initialize.call(this, arguments);
this.rendered = false;
this.template = _.template(['<table class="main">', '<tr class="rights">', '<td class="left" style="vertical-align: top;"><label>' + this.txtRights + "</label></td>", '<td class="right"><div id="id-info-rights"></div></td>', "</tr>", '<tr class="edit-rights">', '<td class="left"></td><td class="right"><button id="id-info-btn-edit" class="btn normal dlg-btn primary" style="margin-right: 10px;width: auto;">' + this.txtBtnAccessRights + "</button></td>", "</tr>", "</table>"].join(""));
this.templateRights = _.template(["<table>", "<% _.each(users, function(item) { %>", "<tr>", '<td><span class="userLink"><%= Common.Utils.String.htmlEncode(item.user) %></span></td>', "<td><%= Common.Utils.String.htmlEncode(item.permissions) %></td>", "</tr>", "<% }); %>", "</table>"].join(""));
this.menu = options.menu;
},
render: function () {
$(this.el).html(this.template());
this.cntRights = $("#id-info-rights");
this.btnEditRights = new Common.UI.Button({
el: "#id-info-btn-edit"
});
this.btnEditRights.on("click", _.bind(this.changeAccessRights, this));
this.rendered = true;
this.updateInfo(this.doc);
if (_.isUndefined(this.scroller)) {
this.scroller = new Common.UI.Scroller({
el: $(this.el),
suppressScrollX: true
});
}
return this;
},
show: function () {
Common.UI.BaseView.prototype.show.call(this, arguments);
},
hide: function () {
Common.UI.BaseView.prototype.hide.call(this, arguments);
},
updateInfo: function (doc) {
this.doc = doc;
if (!this.rendered) {
return;
}
doc = doc || {};
if (doc.info) {
if (doc.info.sharingSettings) {
this.cntRights.html(this.templateRights({
users: doc.info.sharingSettings
}));
}
this._ShowHideInfoItem("rights", doc.info.sharingSettings !== undefined && doc.info.sharingSettings !== null && doc.info.sharingSettings.length > 0);
this._ShowHideInfoItem("edit-rights", !!this.sharingSettingsUrl && this.sharingSettingsUrl.length && this._readonlyRights !== true);
} else {
this._ShowHideDocInfo(false);
}
},
_ShowHideInfoItem: function (cls, visible) {
$("tr." + cls, this.el)[visible ? "show" : "hide"]();
},
_ShowHideDocInfo: function (visible) {
this._ShowHideInfoItem("rights", visible);
this._ShowHideInfoItem("edit-rights", visible);
},
@ -416,34 +468,35 @@
return this;
},
changeAccessRights: function (btn, event, opts) {
if (this._docAccessDlg) {
return;
}
var me = this;
var win = new Common.Views.DocumentAccessDialog({
me._docAccessDlg = new Common.Views.DocumentAccessDialog({
settingsurl: this.sharingSettingsUrl
});
win.on("accessrights", function (obj, rights) {
me._docAccessDlg.on("accessrights", function (obj, rights) {
me.doc.info.sharingSettings = rights;
me._ShowHideInfoItem("rights", me.doc.info.sharingSettings !== undefined && me.doc.info.sharingSettings !== null && me.doc.info.sharingSettings.length > 0);
me.cntRights.html(me.templateRights({
users: me.doc.info.sharingSettings
}));
}).on("close", function (obj) {
me._docAccessDlg = undefined;
});
win.show();
me._docAccessDlg.show();
},
onLostEditRights: function () {
this._readonlyRights = true;
if (!this.rendered) {
return;
}
this._ShowHideInfoItem("rights", false);
this._ShowHideInfoItem("edit-rights", false);
},
txtTitle: "Document Title",
txtAuthor: "Author",
txtPlacement: "Placement",
txtDate: "Creation Date",
txtRights: "Persons who have rights",
txtBtnAccessRights: "Change access rights"
},
PE.Views.FileMenuPanels.DocumentInfo || {}));
PE.Views.FileMenuPanels.DocumentRights || {}));
PE.Views.FileMenuPanels.Help = Common.UI.BaseView.extend({
el: "#panel-help",
menu: undefined,

View file

@ -178,8 +178,11 @@
},
onCoauthOptions: function (e) {
if (this.mode.canCoAuthoring) {
if (this.mode.canComments) {
this.panelComments[this.btnComments.pressed ? "show" : "hide"]();
this.fireEvent((this.btnComments.pressed) ? "comments:show": "comments:hide", this);
}
if (this.mode.canChat) {
if (this.btnChat.pressed) {
if (this.btnChat.$el.hasClass("notify")) {
this.btnChat.$el.removeClass("notify");
@ -190,6 +193,7 @@
this.panelChat["hide"]();
}
}
}
},
setOptionsPanel: function (name, panel) {
if (name == "chat") {
@ -211,14 +215,18 @@
this.btnThumbs.toggle(false);
this.$el.width(SCALE_MIN);
if (this.mode.canCoAuthoring) {
if (this.mode.canComments) {
this.panelComments["hide"]();
this.panelChat["hide"]();
if (this.btnComments.pressed) {
this.fireEvent("comments:hide", this);
}
this.btnComments.toggle(false, true);
}
if (this.mode.canChat) {
this.panelChat["hide"]();
this.btnChat.toggle(false, true);
}
}
this.fireEvent("panel:show", [this, "", false]);
},
isOpened: function () {

View file

@ -1564,6 +1564,10 @@
nativeBtnGroup.hide();
}
}
if (mode.isDesktopApp) {
$(".toolbar-group-native").hide();
this.mnuitemHideTitleBar.hide();
}
},
changeViewMode: function (item, compact) {
var me = this,

View file

@ -304,6 +304,7 @@
"PE.Views.FileMenu.btnPrintCaption": "Drucken",
"PE.Views.FileMenu.btnRecentFilesCaption": "Zuletzt benutzte öffnen...",
"PE.Views.FileMenu.btnReturnCaption": "Zurück zur Präsentation",
"PE.Views.FileMenu.btnRightsCaption": "Access Rights...",
"PE.Views.FileMenu.btnSaveCaption": "Speichern",
"PE.Views.FileMenu.btnSettingsCaption": "Erweiterte Einstellungen...",
"PE.Views.FileMenu.btnToEditCaption": "Präsentation bearbeiten",
@ -313,10 +314,10 @@
"PE.Views.FileMenuPanels.CreateNew.newDocumentText": "Neue Präsentation",
"PE.Views.FileMenuPanels.CreateNew.noTemplatesText": "Es gibt keine Vorlagen",
"PE.Views.FileMenuPanels.DocumentInfo.txtAuthor": "Autor",
"PE.Views.FileMenuPanels.DocumentInfo.txtBtnAccessRights": "Zugriffsrechte ändern",
"PE.Views.FileMenuPanels.DocumentRights.txtBtnAccessRights": "Zugriffsrechte ändern",
"PE.Views.FileMenuPanels.DocumentInfo.txtDate": "Erstellungsdatum",
"PE.Views.FileMenuPanels.DocumentInfo.txtPlacement": "Speicherort",
"PE.Views.FileMenuPanels.DocumentInfo.txtRights": "Personen mit Berechtigungen",
"PE.Views.FileMenuPanels.DocumentRights.txtRights": "Personen mit Berechtigungen",
"PE.Views.FileMenuPanels.DocumentInfo.txtTitle": "Titel der Präsentation",
"PE.Views.FileMenuPanels.Settings.okButtonText": "Übernehmen",
"PE.Views.FileMenuPanels.Settings.strAlignGuides": "Ausrichtungslinien einschalten",

View file

@ -301,6 +301,7 @@
"PE.Views.FileMenu.btnDownloadCaption": "Download as...",
"PE.Views.FileMenu.btnHelpCaption": "Help...",
"PE.Views.FileMenu.btnInfoCaption": "Presentation Info...",
"PE.Views.FileMenu.btnRightsCaption": "Access Rights...",
"PE.Views.FileMenu.btnPrintCaption": "Print",
"PE.Views.FileMenu.btnRecentFilesCaption": "Open Recent...",
"PE.Views.FileMenu.btnReturnCaption": "Back to Presentation",
@ -313,10 +314,10 @@
"PE.Views.FileMenuPanels.CreateNew.newDocumentText": "New Presentation",
"PE.Views.FileMenuPanels.CreateNew.noTemplatesText": "There are no templates",
"PE.Views.FileMenuPanels.DocumentInfo.txtAuthor": "Author",
"PE.Views.FileMenuPanels.DocumentInfo.txtBtnAccessRights": "Change access rights",
"PE.Views.FileMenuPanels.DocumentRights.txtBtnAccessRights": "Change access rights",
"PE.Views.FileMenuPanels.DocumentInfo.txtDate": "Creation Date",
"PE.Views.FileMenuPanels.DocumentInfo.txtPlacement": "Location",
"PE.Views.FileMenuPanels.DocumentInfo.txtRights": "Persons who have rights",
"PE.Views.FileMenuPanels.DocumentRights.txtRights": "Persons who have rights",
"PE.Views.FileMenuPanels.DocumentInfo.txtTitle": "Presentation Title",
"PE.Views.FileMenuPanels.Settings.okButtonText": "Apply",
"PE.Views.FileMenuPanels.Settings.strAlignGuides": "Turn on alignment guides",

View file

@ -304,6 +304,7 @@
"PE.Views.FileMenu.btnPrintCaption": "Imprimir",
"PE.Views.FileMenu.btnRecentFilesCaption": "Abrir reciente...",
"PE.Views.FileMenu.btnReturnCaption": "Ir a presentación",
"PE.Views.FileMenu.btnRightsCaption": "Derechos de acceso...",
"PE.Views.FileMenu.btnSaveCaption": "Guardar",
"PE.Views.FileMenu.btnSettingsCaption": "Ajustes avanzados...",
"PE.Views.FileMenu.btnToEditCaption": "Editar presentación",
@ -313,10 +314,10 @@
"PE.Views.FileMenuPanels.CreateNew.newDocumentText": "Presentación nueva",
"PE.Views.FileMenuPanels.CreateNew.noTemplatesText": "No hay ningunas plantillas",
"PE.Views.FileMenuPanels.DocumentInfo.txtAuthor": "Autor",
"PE.Views.FileMenuPanels.DocumentInfo.txtBtnAccessRights": "Cambiar derechos de acceso",
"PE.Views.FileMenuPanels.DocumentRights.txtBtnAccessRights": "Cambiar derechos de acceso",
"PE.Views.FileMenuPanels.DocumentInfo.txtDate": "Fecha de creación",
"PE.Views.FileMenuPanels.DocumentInfo.txtPlacement": "Ubicación",
"PE.Views.FileMenuPanels.DocumentInfo.txtRights": "Personas que tienen derechos",
"PE.Views.FileMenuPanels.DocumentRights.txtRights": "Personas que tienen derechos",
"PE.Views.FileMenuPanels.DocumentInfo.txtTitle": "Título de presentación",
"PE.Views.FileMenuPanels.Settings.okButtonText": "Aplicar",
"PE.Views.FileMenuPanels.Settings.strAlignGuides": "Activar guías de alineación",

View file

@ -313,10 +313,10 @@
"PE.Views.FileMenuPanels.CreateNew.newDocumentText": "Nouvelle présentation",
"PE.Views.FileMenuPanels.CreateNew.noTemplatesText": "Pas de modèles",
"PE.Views.FileMenuPanels.DocumentInfo.txtAuthor": "Auteur",
"PE.Views.FileMenuPanels.DocumentInfo.txtBtnAccessRights": "Changer les droits d'accès",
"PE.Views.FileMenuPanels.DocumentRights.txtBtnAccessRights": "Changer les droits d'accès",
"PE.Views.FileMenuPanels.DocumentInfo.txtDate": "Date de création",
"PE.Views.FileMenuPanels.DocumentInfo.txtPlacement": "Emplacement",
"PE.Views.FileMenuPanels.DocumentInfo.txtRights": "Personnes qui ont des droits",
"PE.Views.FileMenuPanels.DocumentRights.txtRights": "Personnes qui ont des droits",
"PE.Views.FileMenuPanels.DocumentInfo.txtTitle": "Titre de la présentation",
"PE.Views.FileMenuPanels.Settings.okButtonText": "Appliquer",
"PE.Views.FileMenuPanels.Settings.strAlignGuides": "Activer les repères d'alignement",

View file

@ -313,10 +313,10 @@
"PE.Views.FileMenuPanels.CreateNew.newDocumentText": "Nuova presentazione",
"PE.Views.FileMenuPanels.CreateNew.noTemplatesText": "Nessun modello",
"PE.Views.FileMenuPanels.DocumentInfo.txtAuthor": "Autore",
"PE.Views.FileMenuPanels.DocumentInfo.txtBtnAccessRights": "Cambia diritti di accesso",
"PE.Views.FileMenuPanels.DocumentRights.txtBtnAccessRights": "Cambia diritti di accesso",
"PE.Views.FileMenuPanels.DocumentInfo.txtDate": "Data di creazione",
"PE.Views.FileMenuPanels.DocumentInfo.txtPlacement": "Percorso",
"PE.Views.FileMenuPanels.DocumentInfo.txtRights": "Persone con diritti",
"PE.Views.FileMenuPanels.DocumentRights.txtRights": "Persone con diritti",
"PE.Views.FileMenuPanels.DocumentInfo.txtTitle": "Titolo presentazione",
"PE.Views.FileMenuPanels.Settings.okButtonText": "Applica",
"PE.Views.FileMenuPanels.Settings.strAlignGuides": "Turn on alignment guides",

View file

@ -313,10 +313,10 @@
"PE.Views.FileMenuPanels.CreateNew.newDocumentText": "Nova apresentação",
"PE.Views.FileMenuPanels.CreateNew.noTemplatesText": "Não há modelos",
"PE.Views.FileMenuPanels.DocumentInfo.txtAuthor": "Autor",
"PE.Views.FileMenuPanels.DocumentInfo.txtBtnAccessRights": "Alterar direitos de acesso",
"PE.Views.FileMenuPanels.DocumentRights.txtBtnAccessRights": "Alterar direitos de acesso",
"PE.Views.FileMenuPanels.DocumentInfo.txtDate": "Data de criação",
"PE.Views.FileMenuPanels.DocumentInfo.txtPlacement": "Localização",
"PE.Views.FileMenuPanels.DocumentInfo.txtRights": "Pessoas que têm direitos",
"PE.Views.FileMenuPanels.DocumentRights.txtRights": "Pessoas que têm direitos",
"PE.Views.FileMenuPanels.DocumentInfo.txtTitle": "Título de apresentação",
"PE.Views.FileMenuPanels.Settings.okButtonText": "Aplicar",
"PE.Views.FileMenuPanels.Settings.strAlignGuides": "Turn on alignment guides",

View file

@ -304,6 +304,7 @@
"PE.Views.FileMenu.btnPrintCaption": "Печать",
"PE.Views.FileMenu.btnRecentFilesCaption": "Открыть последние...",
"PE.Views.FileMenu.btnReturnCaption": "Вернуться к презентации",
"PE.Views.FileMenu.btnRightsCaption": "Права доступа...",
"PE.Views.FileMenu.btnSaveCaption": "Сохранить",
"PE.Views.FileMenu.btnSettingsCaption": "Дополнительные параметры...",
"PE.Views.FileMenu.btnToEditCaption": "Редактировать",
@ -313,10 +314,10 @@
"PE.Views.FileMenuPanels.CreateNew.newDocumentText": "Новая презентация",
"PE.Views.FileMenuPanels.CreateNew.noTemplatesText": "Шаблоны отсутствуют",
"PE.Views.FileMenuPanels.DocumentInfo.txtAuthor": "Автор",
"PE.Views.FileMenuPanels.DocumentInfo.txtBtnAccessRights": "Изменить права доступа",
"PE.Views.FileMenuPanels.DocumentRights.txtBtnAccessRights": "Изменить права доступа",
"PE.Views.FileMenuPanels.DocumentInfo.txtDate": "Дата создания",
"PE.Views.FileMenuPanels.DocumentInfo.txtPlacement": "Размещение",
"PE.Views.FileMenuPanels.DocumentInfo.txtRights": "Люди, имеющие права",
"PE.Views.FileMenuPanels.DocumentRights.txtRights": "Люди, имеющие права",
"PE.Views.FileMenuPanels.DocumentInfo.txtTitle": "Название презентации",
"PE.Views.FileMenuPanels.Settings.okButtonText": "Применить",
"PE.Views.FileMenuPanels.Settings.strAlignGuides": "Включить направляющие выравнивания",

View file

@ -313,10 +313,10 @@
"PE.Views.FileMenuPanels.CreateNew.newDocumentText": "Nova predstavitev",
"PE.Views.FileMenuPanels.CreateNew.noTemplatesText": "Ni predlog",
"PE.Views.FileMenuPanels.DocumentInfo.txtAuthor": "Avtor",
"PE.Views.FileMenuPanels.DocumentInfo.txtBtnAccessRights": "Spremeni pravice dostopa",
"PE.Views.FileMenuPanels.DocumentRights.txtBtnAccessRights": "Spremeni pravice dostopa",
"PE.Views.FileMenuPanels.DocumentInfo.txtDate": "Datum nastanka",
"PE.Views.FileMenuPanels.DocumentInfo.txtPlacement": "Lokacija",
"PE.Views.FileMenuPanels.DocumentInfo.txtRights": "Osebe, ki imajo pravice",
"PE.Views.FileMenuPanels.DocumentRights.txtRights": "Osebe, ki imajo pravice",
"PE.Views.FileMenuPanels.DocumentInfo.txtTitle": "Naslov predstavitve",
"PE.Views.FileMenuPanels.Settings.okButtonText": "Uporabi",
"PE.Views.FileMenuPanels.Settings.strAlignGuides": "Vključi vodnike poravnave",

View file

@ -313,10 +313,10 @@
"PE.Views.FileMenuPanels.CreateNew.newDocumentText": "Yeni Sunum",
"PE.Views.FileMenuPanels.CreateNew.noTemplatesText": "Şablon yok",
"PE.Views.FileMenuPanels.DocumentInfo.txtAuthor": "Yayıncı",
"PE.Views.FileMenuPanels.DocumentInfo.txtBtnAccessRights": "Erişim haklarını değiştir",
"PE.Views.FileMenuPanels.DocumentRights.txtBtnAccessRights": "Erişim haklarını değiştir",
"PE.Views.FileMenuPanels.DocumentInfo.txtDate": "Oluşturulma tarihi",
"PE.Views.FileMenuPanels.DocumentInfo.txtPlacement": "Lokasyon",
"PE.Views.FileMenuPanels.DocumentInfo.txtRights": "Hakkı olan kişiler",
"PE.Views.FileMenuPanels.DocumentRights.txtRights": "Hakkı olan kişiler",
"PE.Views.FileMenuPanels.DocumentInfo.txtTitle": "Sunum Başlığı",
"PE.Views.FileMenuPanels.Settings.okButtonText": "Uygula",
"PE.Views.FileMenuPanels.Settings.strAlignGuides": "Turn on alignment guides",

View file

@ -397,7 +397,8 @@
}
}
#panel-info {
#panel-info,
#panel-rights {
padding: 0 30px;
table {
tr {

View file

@ -39,6 +39,7 @@
return;
}
this.initControl();
Common.component.Analytics.initialize("UA-12442749-13", "Presentation Editor Mobile");
var api = this.api,
app = this.getApplication(),
profile = app.getCurrentProfile();

View file

@ -18,154 +18,149 @@
overflow: hidden;
border: none;
background-color: #f4f4f4;
z-index: 20002;
z-index: 100;
}
.loadmask-body {
position:relative;
top:44%;
.loader-page {
top: 50%;
left: 50%;
width: 50px;
height: 180px;
position: absolute;
margin-top: -100px;
}
.loadmask-logo {
display: inline-block;
min-width:220px;
min-height:62px;
vertical-align: top;
background-image: url('./resources/img/loading-logo.gif');
background-image: -webkit-image-set(url('./resources/img/loading-logo.gif') 1x, url('./resources/img/loading-logo@2x.gif') 2x);
background-repeat: no-repeat;
.romb {
width: 40px;
height: 40px;
-webkit-transform: rotate(135deg) skew(20deg, 20deg);
-moz-transform: rotate(135deg) skew(20deg, 20deg);
-ms-transform: rotate(135deg) skew(20deg, 20deg);
-o-transform: rotate(135deg) skew(20deg, 20deg);
position: absolute;
background: red;
border-radius: 6px;
-webkit-animation: movedown 3s infinite ease;
-moz-animation: movedown 3s infinite ease;
-ms-animation: movedown 3s infinite ease;
-o-animation: movedown 3s infinite ease;
animation: movedown 3s infinite ease;
}
#blue {
z-index: 3;
background: #55bce6;
-webkit-animation-name: blue;
-moz-animation-name: blue;
-ms-animation-name: blue;
-o-animation-name: blue;
animation-name: blue;
}
#red {
z-index:1;
background: #de7a59;
-webkit-animation-name: red;
-moz-animation-name: red;
-ms-animation-name: red;
-o-animation-name: red;
animation-name: red;
}
#green {
z-index: 2;
background: #a1cb5c;
-webkit-animation-name: green;
-moz-animation-name: green;
-ms-animation-name: green;
-o-animation-name: green;
animation-name: green;
}
@-webkit-keyframes red {
0% { top:120px; background: #de7a59; }
10% { top:120px; background: #F2CBBF; }
14% { background: #f4f4f4; top:120px; }
15% { background: #f4f4f4; top:0;}
20% { background: #E6E4E4; }
30% { background: #D2D2D2; }
40% { top:120px; }
100% { top:120px; background: #de7a59; }
}
@keyframes red {
0% { top:120px; background: #de7a59; }
10% { top:120px; background: #F2CBBF; }
14% { background: #f4f4f4; top:120px; }
15% { background: #f4f4f4; top:0; }
20% { background: #E6E4E4; }
30% { background: #D2D2D2; }
40% { top:120px; }
100% { top:120px; background: #de7a59; }
}
@-webkit-keyframes green {
0% { top:110px; background: #a1cb5c; opacity:1; }
10% { top:110px; background: #CBE0AC; opacity:1; }
14% { background: #f4f4f4; top:110px; opacity:1; }
15% { background: #f4f4f4; top:0; opacity:1; }
20% { background: #f4f4f4; top:0; opacity:0; }
25% { background: #EFEFEF; top:0; opacity:1; }
30% { background:#E6E4E4; }
70% { top:110px; }
100% { top:110px; background: #a1cb5c; }
}
@keyframes green {
0% { top:110px; background: #a1cb5c; opacity:1; }
10% { top:110px; background: #CBE0AC; opacity:1; }
14% { background: #f4f4f4; top:110px; opacity:1; }
15% { background: #f4f4f4; top:0; opacity:1; }
20% { background: #f4f4f4; top:0; opacity:0; }
25% { background: #EFEFEF; top:0; opacity:1; }
30% { background:#E6E4E4; }
70% { top:110px; }
100% { top:110px; background: #a1cb5c; }
}
@-webkit-keyframes blue {
0% { top:100px; background: #55bce6; opacity:1; }
10% { top:100px; background: #BFE8F8; opacity:1; }
14% { background: #f4f4f4; top:100px; opacity:1; }
15% { background: #f4f4f4; top:0; opacity:1; }
20% { background: #f4f4f4; top:0; opacity:0; }
25% { background: #f4f4f4; top:0; opacity:0; }
45% { background: #EFEFEF; top:0; opacity:0,2; }
100% { top:100px; background: #55bce6; }
}
@keyframes blue {
0% { top:100px; background: #55bce6; opacity:1; }
10% { top:100px; background: #BFE8F8; opacity:1; }
14% { background: #f4f4f4; top:100px; opacity:1; }
15% { background: #f4f4f4; top:0; opacity:1; }
20% { background: #f4f4f4; top:0; opacity:0; }
25% { background: #fff; top:0; opacity:0; }
45% { background: #EFEFEF; top:0; opacity:0,2; }
100% { top:100px; background: #55bce6; }
}
</style>
<!--<script src="http://192.168.3.65:3030/target/target-script-min.js#anonymous"></script>-->
<!-- vendors -->
<script type="text/javascript" src="../../../vendor/touch/sencha-touch-debug.js"></script>
<script type="text/javascript" src="../../../vendor/jquery/jquery-1.7.1.min.js"></script>
<script type="text/javascript" src="../../../vendor/sockjs/sockjs-0.3.min.js"></script>
<script type="text/javascript" src="../../../vendor/xregexp/xregexp-all-min.js"></script>
<script type="text/javascript" src="../../../vendor/jquery/jquery.min.js"></script>
<script type="text/javascript" src="../../../vendor/sockjs/sockjs.min.js"></script>
<script type="text/javascript" src="../../../vendor/underscore/underscore-min.js"></script>
<script type="text/javascript" src="../../../vendor/megapixel/src/megapix-image.js"></script>
<script type="text/javascript" src="../../../vendor/xregexp/xregexp-all-min.js"></script>
<!-- Application -->
<script type="text/javascript" src="../../common/Analytics.js"></script>
<script type="text/javascript" src="../../common/Gateway.js"></script>
<script type="text/javascript" src="../../common/mobile/loader.js"></script>
<script type="text/javascript" src="app.js"></script>
<script type="text/javascript" src="../../common/locale.js"></script>
<!-- SDK -->
<script type="text/javascript" src="../../../sdk/Common/AllFonts.js"></script>
<script type="text/javascript" src="../../../sdk/Common/browser.js"></script>
<script type="text/javascript" src="../../../sdk/Common/docscoapisettings.js"></script>
<script type="text/javascript" src="../../../sdk/Common/docscoapicommon.js"></script>
<script type="text/javascript" src="../../../sdk/Common/docscoapi.js"></script>
<script type="text/javascript" src="../../../sdk/Common/wordcopypaste.js"></script>
<script type="text/javascript" src="../../../sdk/Common/downloaderfiles.js"></script>
<script type="text/javascript" src="../../../sdk/Common/editorscommon.js"></script>
<script type="text/javascript" src="../../../sdk/Common/apiCommon.js"></script>
<script type="text/javascript" src="../../../sdk/Common/Shapes/Serialize.js"></script>
<script type="text/javascript" src="../../../sdk/Common/Shapes/SerializeWriter.js"></script>
<script type="text/javascript" src="../../../sdk/Common/FontsFreeType/font_engine.js"></script>
<script type="text/javascript" src="../../../sdk/Common/FontsFreeType/FontFile.js"></script>
<script type="text/javascript" src="../../../sdk/Common/FontsFreeType/FontManager.js"></script>
<script type="text/javascript" src="../../../sdk/Word/Drawing/Externals.js"></script>
<script type="text/javascript" src="../../../sdk/Word/Drawing/GlobalLoaders.js"></script>
<script type="text/javascript" src="../../../sdk/Word/Drawing/Metafile.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Drawing/ThemeLoader.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/Format/Table.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/Format/CollaborativeEditing.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/Styles.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/Format/Table.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/Format/Paragraph.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/Format/FontClassification.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/Format/ParagraphContent.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/Format/Spelling.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/Format/Comments.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/GraphicObjects.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/States.js"></script>
<script type="text/javascript" src="../../../sdk/Common/Charts/DrawingObjects.js"></script>
<script type="text/javascript" src="../../../sdk/Common/commonDefines.js"></script>
<script type="text/javascript" src="../../../sdk/Common/SerializeCommonWordExcel.js"></script>
<script type="text/javascript" src="../../../sdk/Word/Editor/Serialize2.js"></script>
<script type="text/javascript" src="../../../sdk/Common/Charts/charts.js"></script>
<script type="text/javascript" src="../../../sdk/Excel/graphics/DrawingContextWord.js"></script>
<script type="text/javascript" src="../../../sdk/Common/trackFile.js"></script>
<script type="text/javascript" src="../../../sdk/Word/Editor/SerializeCommon.js"></script>
<script type="text/javascript" src="../../../sdk/Word/Drawing/GraphicsEvents.js"></script>
<script type="text/javascript" src="../../../sdk/Word/Drawing/WorkEvents.js"></script>
<script type="text/javascript" src="../../../sdk/Word/Drawing/Controls.js"></script>
<script type="text/javascript" src="../../../sdk/Word/Drawing/Rulers.js"></script>
<script type="text/javascript" src="../../../sdk/Word/Editor/Common.js"></script>
<script type="text/javascript" src="../../../sdk/Word/Editor/Sections.js"></script>
<script type="text/javascript" src="../../../sdk/Common/scroll.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/History.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/FlowObjects.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/Format/DocumentContent.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/Format/Presentation.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/SlideShowInfo.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/PresentationProperties.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/Format/Shape.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/Format/GraphicFrame.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/Numbering.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/TrackObjects/AdjustmentTracks.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/TrackObjects/MoveTracks.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/TrackObjects/NewShapeTracks.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/TrackObjects/PolyLine.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/TrackObjects/ResizeTracks.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/TrackObjects/RotateTracks.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/TrackObjects/Spline.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/Format/TextBody.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/Format/Image.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/Format/GroupShape.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/Format/ChartTitle.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/Format/Chart.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/Format/ChartLayout.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/Format/Slide.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/Format/SlideMaster.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/Format/Layout.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/Drawing/Geometry.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/Drawing/CreateGoemetry.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/Drawing/ColorArray.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/Drawing/Math.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/Drawing/Path.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/Drawing/ArcTo.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/Drawing/GraphicFigure.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/Drawing/Clone.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/Drawing/CImage.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/Drawing/Spline.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/Drawing/PolyLine.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/Drawing/Hit.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/Drawing/Joined.js"></script>
<script type="text/javascript" src="../../../sdk/Word/Drawing/Graphics.js"></script>
<script type="text/javascript" src="../../../sdk/Word/Drawing/Overlay.js"></script>
<script type="text/javascript" src="../../../sdk/Word/Drawing/HatchPattern.js"></script>
<script type="text/javascript" src="../../../sdk/Word/Drawing/ShapeDrawer.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Drawing/Transitions.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Drawing/DrawingDocument.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Drawing/HtmlPage.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/Editor/Format.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/apiDefines.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/api.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/apiCommon.js"></script>
<script type="text/javascript" src="../../../sdk/Common/Shapes/EditorSettings.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/themes/Themes.js"></script>
</head>
<body>
<!--<link rel="stylesheet" href="resources/css/application.css" type="text/css"/>-->
<script type="text/javascript">
if (!(Ext.browser.is.WebKit && (Ext.os.is.iOS || Ext.os.is.Android || Ext.os.is.Desktop))) {
document.write(
'<div id="unsuported-view-id" class="unsuported-view"></div>'
);
} else {
document.write(
'<div id="loading-mask" class="loadmask">' +
'<div class="loadmask-body" align="center">' +
'<div class="loadmask-logo"></div>' +
'</div>' +
'</div>');
}
var injectStyleElement = function(url) {
var style = document.createElement('link'),
documentHead = typeof document != 'undefined' && (document.head || document.getElementsByTagName('head')[0]);
@ -182,11 +177,39 @@
return false;
};
injectStyleElement(
(window.devicePixelRatio > 1)
injectStyleElement((window.devicePixelRatio > 1)
? 'resources/css/application-retina.css'
: 'resources/css/application-normal.css'
);
</script>
<script type="text/javascript" src="../../common/Analytics.js"></script>
<script type="text/javascript" src="../../common/Gateway.js"></script>
<script type="text/javascript" src="../../common/mobile/loader.js"></script>
<script type="text/javascript" src="app.js"></script>
<script type="text/javascript" src="../../common/locale.js"></script>
<!-- SDK -->
<script type="text/javascript" src="../../../sdk/Common/AllFonts.js"></script>
<script type="text/javascript" src="../../../sdk/PowerPoint/sdk-all.js"></script>
</head>
<body>
<script type="text/javascript">
if (!(Ext.browser.is.WebKit && (Ext.os.is.iOS || Ext.os.is.Android || Ext.os.is.Desktop))) {
document.write(
'<div id="unsuported-view-id" class="unsuported-view"></div>'
);
} else {
document.write(
'<div id="loading-mask" class="loadmask">' +
'<div class="loader-page">' +
'<div class="romb" id="blue"></div>' +
'<div class="romb" id="green"></div>' +
'<div class="romb" id="red"></div>' +
'</div>' +
'</div>');
}
</script>
</body>
</html>

View file

@ -200,7 +200,7 @@
<div class="toolbar" id="toolbar">
<ul class="left">
<li><a class="brand-logo" href="http://www.onlyoffice.com/" target="_blank"></a></li>
<li><a id="header-logo" class="brand-logo" href="http://www.onlyoffice.com/" target="_blank"></a></li>
<li class="separator"></li>
<li id="id-btn-copy"><button class="control-btn"><i class="control-icon-save"></i><span>Save Copy</span></button></li>
<li id="id-btn-share"><button class="control-btn"><i class="control-icon-share"></i><span>Share</span></button></li>

View file

@ -189,7 +189,7 @@
<div class="toolbar" id="toolbar">
<ul class="left">
<li><a class="brand-logo" href="http://www.onlyoffice.com/" target="_blank"></a></li>
<li><a id="header-logo" class="brand-logo" href="http://www.onlyoffice.com/" target="_blank"></a></li>
<li class="separator"></li>
<li id="id-btn-copy"><button class="control-btn"><i class="control-icon-save"></i><span>Save Copy</span></button></li>
<li id="id-btn-share"><button class="control-btn"><i class="control-icon-share"></i><span>Share</span></button></li>

View file

@ -30,7 +30,8 @@
*
*/
var ApplicationController = new(function () {
var me, api, docConfig = {},
var me, api, config = {},
docConfig = {},
embedConfig = {},
permissions = {},
maxPages = 0,
@ -40,6 +41,7 @@
embedCode = '<iframe allowtransparency="true" frameborder="0" scrolling="no" src="{embed-url}" width="{width}" height="{height}"></iframe>',
maxZIndex = 9090,
created = false;
Common.Analytics.initialize("UA-12442749-13", "Embedded ONLYOFFICE Spreadsheet");
if (typeof isBrowserSupported !== "undefined" && !isBrowserSupported()) {
Common.Gateway.reportError(undefined, "Your browser is not supported.");
return;
@ -77,6 +79,7 @@
}
}
function loadConfig(data) {
config = $.extend(config, data.config);
embedConfig = $.extend(embedConfig, data.config.embedded);
$("#id-short-url").val(embedConfig.shareUrl || "Unavailable");
$("#id-textarea-embed").text(embedCode.replace("{embed-url}", embedConfig.embedUrl).replace("{width}", minEmbedWidth).replace("{height}", minEmbedHeight));
@ -84,7 +87,7 @@
if ($("#id-popover-social-container ul")) {
$("#id-popover-social-container ul").append('<li><div class="fb-like" data-href="' + embedConfig.shareUrl + '" data-send="false" data-layout="button_count" data-width="450" data-show-faces="false"></div></li>');
$("#id-popover-social-container ul").append('<li class="share-twitter"><a href="https://twitter.com/share" class="twitter-share-button" data-url="' + embedConfig.shareUrl + '">Tweet</a></li>');
$("#id-popover-social-container ul").append('<li class="share-mail"><a class="btn btn-xs btn-default" href="mailto:?subject=I have shared a document with you: ' + embedConfig.docTitle + "&body=I have shared a document with you: " + embedConfig.shareUrl + '"><span class="glyphicon glyphicon-envelope">Email</a></li>');
$("#id-popover-social-container ul").append('<li class="share-mail"><a class="btn btn-xs btn-default" href="mailto:?subject=I have shared a document with you: ' + embedConfig.docTitle + "&body=I have shared a document with you: " + encodeURIComponent(embedConfig.shareUrl) + '"><span class="glyphicon glyphicon-envelope">Email</a></li>');
}
}
if (typeof embedConfig.shareUrl === "undefined") {
@ -96,7 +99,7 @@
if (typeof embedConfig.fullscreenUrl === "undefined") {
$("#id-btn-fullscreen").hide();
}
if (typeof data.config.canBackToFolder === "undefined" || !data.config.canBackToFolder) {
if (typeof config.canBackToFolder === "undefined" || !config.canBackToFolder) {
$("#id-btn-close").hide();
}
if (embedConfig.toolbarDocked === "top") {
@ -119,11 +122,19 @@
docInfo.VKey = docConfig.vkey;
docInfo.Origin = docConfig.origin;
if (api) {
api.asc_registerCallback("asc_onGetEditorPermissions", onEditorPermissions);
api.asc_getEditorPermissions();
api.asc_enableKeyEvents(true);
api.asc_setViewerMode(true);
api.asc_LoadDocument(docInfo);
Common.Analytics.trackEvent("Load", "Start");
}
if (docConfig.title && !embedConfig.docTitle) {
var el = $("#id-popover-social-container ul .share-mail > a");
if (el.length) {
el.attr("href", el.attr("href").replace(/:\sundefined&/, ": " + docConfig.title + "&"));
}
}
}
}
function onSheetsChanged() {
@ -176,6 +187,15 @@
hidePreloader();
Common.Analytics.trackEvent("Load", "Complete");
}
function onEditorPermissions(params) {
if (params.asc_getCanBranding() && (typeof config.customization == "object") && config.customization && config.customization.logoUrlEmbedded) {
$("#header-logo").css({
"background-image": 'url("' + config.customization.logoUrlEmbedded + '")',
"background-position": "0 center",
"background-repeat": "no-repeat"
});
}
}
function showMask() {
$("#id-loadmask").modal({
backdrop: "static",

View file

@ -167,7 +167,7 @@
this.editorConfig = data.config;
},
setMode: function (permissions) {
this.permissions = permissions; ! (this.permissions.canCoAuthoring && this.permissions.isEdit) ? Common.util.Shortcuts.suspendEvents(this.hkComments) : Common.util.Shortcuts.resumeEvents(this.hkComments);
this.permissions = permissions; ! (this.permissions.canCoAuthoring && this.permissions.isEdit && this.permissions.canComments) ? Common.util.Shortcuts.suspendEvents(this.hkComments) : Common.util.Shortcuts.resumeEvents(this.hkComments);
},
setApi: function (api) {
this.api = api;
@ -187,6 +187,9 @@
onCopyPaste: function (item) {
var me = this;
if (me.api) {
if (typeof window["AscDesktopEditor"] === "object") {
(item.value == "cut") ? me.api.asc_Cut() : ((item.value == "copy") ? me.api.asc_Copy() : me.api.asc_Paste());
} else {
var value = window.localStorage.getItem("sse-hide-copywarning");
if (! (value && parseInt(value) == 1) && me.show_copywarning) {
(new Common.Views.CopyWarningDialog({
@ -204,6 +207,7 @@
}
Common.component.Analytics.trackEvent("ToolBar", "Copy Warning");
}
}
},
onInsertEntire: function (item) {
if (this.api) {
@ -342,7 +346,7 @@
}
},
onAddComment: function (item) {
if (this.api && this.permissions.canCoAuthoring && this.permissions.isEdit) {
if (this.api && this.permissions.canCoAuthoring && this.permissions.isEdit && this.permissions.canComments) {
this.api.asc_enableKeyEvents(false);
var controller = SSE.getController("Common.Controllers.Comments"),
cellinfo = this.api.asc_getCellInfo();
@ -910,8 +914,8 @@
documentHolder.pmiColumnWidth.setVisible(iscolmenu || isallmenu);
documentHolder.pmiEntireHide.setVisible(iscolmenu || isrowmenu);
documentHolder.pmiEntireShow.setVisible(iscolmenu || isrowmenu);
documentHolder.ssMenu.items[10].setVisible(iscellmenu && !iscelledit && this.permissions.canCoAuthoring);
documentHolder.pmiAddComment.setVisible(iscellmenu && !iscelledit && this.permissions.canCoAuthoring);
documentHolder.ssMenu.items[10].setVisible(iscellmenu && !iscelledit && this.permissions.canCoAuthoring && this.permissions.canComments);
documentHolder.pmiAddComment.setVisible(iscellmenu && !iscelledit && this.permissions.canCoAuthoring && this.permissions.canComments);
documentHolder.pmiCellMenuSeparator.setVisible(iscellmenu || isrowmenu || iscolmenu || isallmenu || insfunc);
documentHolder.pmiEntireHide.isrowmenu = isrowmenu;
documentHolder.pmiEntireShow.isrowmenu = isrowmenu;

View file

@ -103,7 +103,7 @@
this.api.asc_registerCallback("asc_onRenameCellTextEnd", _.bind(this.onRenameText, this));
this.api.asc_registerCallback("asc_onСoAuthoringDisconnect", _.bind(this.onApiServerDisconnect, this));
Common.NotificationCenter.on("api:disconnect", _.bind(this.onApiServerDisconnect, this));
if (this.mode.canCoAuthoring) {
if (this.mode.canCoAuthoring && this.mode.canChat) {
this.api.asc_registerCallback("asc_onCoAuthoringChatReceiveMessage", _.bind(this.onApiChatMessage, this));
}
if (!this.mode.isEditDiagram) {
@ -120,10 +120,14 @@
},
createDelayedElements: function () {
if (this.mode.canCoAuthoring) {
this.leftMenu.btnComments[this.mode.isEdit ? "show" : "hide"]();
this.leftMenu.btnChat.show();
this.leftMenu.setOptionsPanel("chat", this.getApplication().getController("Common.Controllers.Chat").getView("Common.Views.Chat"));
this.leftMenu.btnComments[this.mode.isEdit && this.mode.canComments ? "show" : "hide"]();
if (this.mode.canComments) {
this.leftMenu.setOptionsPanel("comment", this.getApplication().getController("Common.Controllers.Comments").getView("Common.Views.Comments"));
}
this.leftMenu.btnChat[this.mode.canChat ? "show" : "hide"]();
if (this.mode.canChat) {
this.leftMenu.setOptionsPanel("chat", this.getApplication().getController("Common.Controllers.Chat").getView("Common.Views.Chat"));
}
} else {
this.leftMenu.btnChat.hide();
this.leftMenu.btnComments.hide();
@ -236,7 +240,7 @@
}
},
clickStatusbarUsers: function () {
if (this.mode.canCoAuthoring) {
if (this.mode.canCoAuthoring && this.mode.canChat) {
if (this.leftMenu.btnChat.pressed) {
this.leftMenu.close();
} else {
@ -523,13 +527,13 @@
}
break;
case "chat":
if (this.mode.canCoAuthoring) {
if (this.mode.canCoAuthoring && this.mode.canChat) {
Common.UI.Menu.Manager.hideAll();
this.leftMenu.showMenu("chat");
}
return false;
case "comments":
if (this.mode.canCoAuthoring && this.mode.isEdit) {
if (this.mode.canCoAuthoring && this.mode.isEdit && this.mode.canComments) {
Common.UI.Menu.Manager.hideAll();
this.leftMenu.showMenu("comments");
this.getApplication().getController("Common.Controllers.Comments").focusOnInput();

View file

@ -34,6 +34,11 @@
var InitApplication = -254;
var ApplyEditRights = -255;
var LoadingDocument = -256;
var mapCustomizationElements = {
about: "button#left-btn-about",
feedback: "button#left-btn-support",
goback: "#fm-btn-back > a, #header-back > div"
};
return {
models: [],
collections: ["ShapeGroups", "TableTemplates"],
@ -159,8 +164,9 @@
this.appOptions.user = this.editorConfig.user;
this.appOptions.canBack = this.editorConfig.nativeApp !== true && this.editorConfig.canBackToFolder === true;
this.appOptions.nativeApp = this.editorConfig.nativeApp === true;
this.appOptions.canCreateNew = !_.isEmpty(this.editorConfig.createUrl);
this.appOptions.canOpenRecent = this.editorConfig.nativeApp !== true && this.editorConfig.recent !== undefined;
this.appOptions.isDesktopApp = this.editorConfig.targetApp == "desktop";
this.appOptions.canCreateNew = !_.isEmpty(this.editorConfig.createUrl) && !this.appOptions.isDesktopApp;
this.appOptions.canOpenRecent = this.editorConfig.nativeApp !== true && this.editorConfig.recent !== undefined && !this.appOptions.isDesktopApp;
this.appOptions.templates = this.editorConfig.templates;
this.appOptions.recent = this.editorConfig.recent;
this.appOptions.createUrl = this.editorConfig.createUrl;
@ -169,6 +175,7 @@
this.appOptions.canAnalytics = false;
this.appOptions.sharingSettingsUrl = this.editorConfig.sharingSettingsUrl;
this.appOptions.isEditDiagram = this.editorConfig.mode == "editdiagram";
this.appOptions.customization = this.editorConfig.customization;
this.headerView = this.getApplication().getController("Viewport").getView("Common.Views.Header");
this.headerView.setCanBack(this.editorConfig.canBackToFolder === true);
if (this.editorConfig.lang) {
@ -191,7 +198,6 @@
docInfo.VKey = data.doc.vkey;
docInfo.Origin = data.doc.origin;
docInfo.CallbackUrl = this.editorConfig.callbackUrl;
docInfo.OfflineApp = this.editorConfig.nativeApp === true;
this.headerView.setDocumentCaption(data.doc.title);
}
if (this.appOptions.isEditDiagram) {
@ -214,7 +220,7 @@
onProcessRightsChange: function (data) {
if (data && data.enabled === false) {
this.api.asc_coAuthoringDisconnect();
this.getApplication().getController("LeftMenu").leftMenu.getMenu("file").panels["info"].onLostEditRights();
this.getApplication().getController("LeftMenu").leftMenu.getMenu("file").panels["rights"].onLostEditRights();
Common.UI.warning({
title: this.notcriticalErrorTitle,
msg: _.isEmpty(data.message) ? this.warnProcessRightsChange : data.message
@ -417,7 +423,7 @@
leftmenuController.setMode(me.appOptions).createDelayedElements().setApi(me.api);
leftMenuView.disableMenu("all", false);
if (!me.appOptions.isEditDiagram && me.appOptions.canBranding) {
me.getApplication().getController("LeftMenu").leftMenu.getMenu("about").setLicInfo(me.editorConfig.branding);
me.getApplication().getController("LeftMenu").leftMenu.getMenu("about").setLicInfo(me.editorConfig.customization);
}
documentHolderController.setApi(me.api).loadConfig({
config: me.editorConfig
@ -471,16 +477,19 @@
}
me.api.asc_setAutoSaveGap(value);
if (me.appOptions.canAnalytics) {
Common.Gateway.on("applyeditrights", _.bind(me.onApplyEditRights, me));
Common.component.Analytics.initialize("UA-12442749-13", "Spreadsheet Editor");
}
Common.Gateway.on("applyeditrights", _.bind(me.onApplyEditRights, me));
Common.Gateway.on("processsaveresult", _.bind(me.onProcessSaveResult, me));
Common.Gateway.on("processrightschange", _.bind(me.onProcessRightsChange, me));
Common.Gateway.on("processmouse", _.bind(me.onProcessMouse, me));
$(document).on("contextmenu", _.bind(me.onContextMenu, me));
if ( !! window["AscDesktopEditor"]) {
Common.Utils.isIE9m && tips.push(me.warnBrowserIE9); ! Common.Utils.isGecko && !me.appOptions.isEditDiagram && !me.appOptions.nativeApp && (Math.abs(me.getBrowseZoomLevel() - 1) > 0.1) && tips.push(Common.Utils.String.platformKey(me.warnBrowserZoom, "{0}"));
if (tips.length) {
me.showTips(tips);
}
}
},
onOpenDocument: function (progress) {
var elem = document.getElementById("loadmask-text");
@ -494,10 +503,13 @@
this.permissions.download !== false && (this.permissions.download = params.asc_getCanDownload());
this.appOptions.canAutosave = this.editorConfig.canAutosave !== false && params.asc_getIsAutosaveEnable();
this.appOptions.canAnalytics = params.asc_getIsAnalyticsEnable();
this.appOptions.canCoAuthoring = params.asc_getCanCoAuthoring();
this.appOptions.canBranding = params.asc_getCanBranding() && (typeof(this.editorConfig.branding) == "object");
this.appOptions.canCoAuthoring = true;
this.appOptions.canLicense = params.asc_getCanLicense ? params.asc_getCanLicense() : false;
this.appOptions.canComments = this.appOptions.canLicense && !((typeof(this.editorConfig.customization) == "object") && this.editorConfig.customization.comments === false);
this.appOptions.canChat = this.appOptions.canLicense && !((typeof(this.editorConfig.customization) == "object") && this.editorConfig.customization.chat === false);
this.appOptions.canBranding = params.asc_getCanBranding() && (typeof(this.editorConfig.customization) == "object");
if (this.appOptions.canBranding) {
this.headerView.setBranding(this.editorConfig.branding);
this.headerView.setBranding(this.editorConfig.customization);
}
}
this.appOptions.canEdit = this.permissions.edit === true;
@ -521,7 +533,7 @@
statusbarView = app.getController("Statusbar").getView("Statusbar");
if (this.headerView) {
this.headerView.setHeaderCaption(this.appOptions.isEdit ? "Spreadsheet Editor" : "Spreadsheet Viewer");
this.headerView.setVisible(!this.appOptions.nativeApp && !value && !this.appOptions.isEditDiagram);
this.headerView.setVisible(!this.appOptions.nativeApp && !value && !this.appOptions.isDesktopApp && !this.appOptions.isEditDiagram);
}
viewport && viewport.setMode(this.appOptions, true);
statusbarView && statusbarView.setMode(this.appOptions);
@ -870,6 +882,10 @@
}
},
hidePreloader: function () {
if ( !! this.appOptions.customization && !this.appOptions.customization.done) {
this.appOptions.customization.done = true;
Common.Utils.applyCustomization(this.appOptions.customization, mapCustomizationElements);
}
this.stackLongActions.pop({
id: InitApplication,
type: c_oAscAsyncActionType.BlockInteraction

View file

@ -287,6 +287,10 @@
onCopyPaste: function (copy, e) {
var me = this;
if (me.api) {
if (typeof window["AscDesktopEditor"] === "object") {
copy ? me.api.asc_Copy() : me.api.asc_Paste();
Common.NotificationCenter.trigger("edit:complete", me.toolbar);
} else {
var value = window.localStorage.getItem("sse-hide-copywarning");
if (! (value && parseInt(value) == 1) && this._state.show_copywarning) {
(new Common.Views.CopyWarningDialog({
@ -302,6 +306,7 @@
copy ? me.api.asc_Copy() : me.api.asc_Paste();
Common.NotificationCenter.trigger("edit:complete", me.toolbar);
}
}
Common.component.Analytics.trackEvent("ToolBar", "Copy Warning");
} else {
Common.NotificationCenter.trigger("edit:complete", me.toolbar);

View file

@ -11,6 +11,7 @@
<li id="fm-btn-create" class="fm-btn" />
<li class="devider" />
<li id="fm-btn-info" class="fm-btn" />
<li id="fm-btn-rights" class="fm-btn" />
<li class="devider" class="fm-btn" />
<li id="fm-btn-settings" class="fm-btn" />
<li class="devider" />
@ -23,6 +24,7 @@
<div id="panel-recentfiles" class="content-box" />
<div id="panel-createnew" class="content-box" />
<div id="panel-info" class="content-box" />
<div id="panel-rights" class="content-box" />
<div id="panel-settings" class="content-box" />
<div id="panel-help" class="content-box" />
</div>

View file

@ -102,6 +102,11 @@
action: "info",
caption: this.btnInfoCaption,
canFocused: false
}), new Common.UI.MenuItem({
el: $("#fm-btn-rights", this.el),
action: "rights",
caption: this.btnRightsCaption,
canFocused: false
}), new Common.UI.MenuItem({
el: $("#fm-btn-settings", this.el),
action: "opts",
@ -131,6 +136,9 @@
"info": (new SSE.Views.FileMenuPanels.DocumentInfo({
menu: me
})).render(),
"rights": (new SSE.Views.FileMenuPanels.DocumentRights({
menu: me
})).render(),
"help": (new SSE.Views.FileMenuPanels.Help({
menu: me
})).render()
@ -161,18 +169,18 @@
this.api.asc_enableKeyEvents(true);
},
applyMode: function () {
this.items[0][this.mode.canBack ? "show" : "hide"]();
this.items[0].$el.find("+.devider")[this.mode.canBack ? "show" : "hide"]();
this.items[5][this.mode.canOpenRecent ? "show" : "hide"]();
this.items[6][this.mode.canCreateNew ? "show" : "hide"]();
this.items[6].$el.find("+.devider")[this.mode.canCreateNew ? "show" : "hide"]();
this.items[3][this.mode.canDownload ? "show" : "hide"]();
this.items[1][this.mode.isEdit ? "show" : "hide"]();
this.items[2][!this.mode.isEdit && this.mode.canEdit ? "show" : "hide"]();
this.items[8][this.mode.isEdit ? "show" : "hide"]();
this.items[8].$el.find("+.devider")[this.mode.isEdit ? "show" : "hide"]();
this.items[8][(this.document && this.document.info && (this.document.info.sharingSettings && this.document.info.sharingSettings.length > 0 || this.mode.sharingSettingsUrl && this.mode.sharingSettingsUrl.length)) ? "show" : "hide"]();
this.items[9][this.mode.isEdit ? "show" : "hide"]();
this.items[9].$el.find("+.devider")[this.mode.isEdit ? "show" : "hide"]();
this.panels["opts"].setMode(this.mode);
this.panels["info"].setMode(this.mode).updateInfo(this.document);
this.panels["rights"].setMode(this.mode).updateInfo(this.document);
if (this.mode.canCreateNew) {
if (this.mode.templates && this.mode.templates.length) {
$("a", this.items[6].$el).text(this.btnCreateNewCaption + "...");
@ -230,6 +238,7 @@
btnSaveCaption: "Save",
btnDownloadCaption: "Download as...",
btnInfoCaption: "Document Info...",
btnRightsCaption: "Access Rights...",
btnCreateNewCaption: "Create New",
btnRecentFilesCaption: "Open Recent...",
btnPrintCaption: "Print",

View file

@ -117,7 +117,7 @@
panel: this.printSettings,
iconCls: "mnu-print"
}]),
itemTemplate: _.template(['<div id="<%= id %>" class="settings-item-wrap">', '<div><span class="settings-icon <%= iconCls %>"/><span class="caption"><%= name %></span></div>', "</div>"].join(""))
itemTemplate: _.template(['<div id="<%= id %>" class="settings-item-wrap">', '<div class="settings-icon <%= iconCls %>" style="display: inline-block;" >', "</div><%= name %>", "</div>"].join(""))
});
this.viewSettingsPicker.on("item:select", _.bind(function (dataview, itemview, record) {
var panel = record.get("panel");
@ -594,8 +594,7 @@
initialize: function (options) {
Common.UI.BaseView.prototype.initialize.call(this, arguments);
this.rendered = false;
this.template = _.template(['<table class="main">', "<tr>", '<td class="left"><label>' + this.txtTitle + "</label></td>", '<td class="right"><label id="id-info-title">-</label></td>', "</tr>", '<tr class="author">', '<td class="left"><label>' + this.txtAuthor + "</label></td>", '<td class="right"><span class="userLink" id="id-info-author">-</span></td>', "</tr>", '<tr class="placement">', '<td class="left"><label>' + this.txtPlacement + "</label></td>", '<td class="right"><label id="id-info-placement">-</label></td>', "</tr>", '<tr class="date">', '<td class="left"><label>' + this.txtDate + "</label></td>", '<td class="right"><label id="id-info-date">-</label></td>', "</tr>", '<tr class="divider date"></tr>', '<tr class="rights">', '<td class="left" style="vertical-align: top;"><label>' + this.txtRights + "</label></td>", '<td class="right"><div id="id-info-rights"></div></td>', "</tr>", '<tr class="edit-rights">', '<td class="left"></td><td class="right"><button id="id-info-btn-edit" class="btn normal dlg-btn primary" style="margin-right: 10px;width: auto;">' + this.txtBtnAccessRights + "</button></td>", "</tr>", "</table>"].join(""));
this.templateRights = _.template(["<table>", "<% _.each(users, function(item) { %>", "<tr>", '<td><span class="userLink"><%= Common.Utils.String.htmlEncode(item.user) %></span></td>', "<td><%= Common.Utils.String.htmlEncode(item.permissions) %></td>", "</tr>", "<% }); %>", "</table>"].join(""));
this.template = _.template(['<table class="main">', "<tr>", '<td class="left"><label>' + this.txtTitle + "</label></td>", '<td class="right"><label id="id-info-title">-</label></td>', "</tr>", '<tr class="author">', '<td class="left"><label>' + this.txtAuthor + "</label></td>", '<td class="right"><span class="userLink" id="id-info-author">-</span></td>', "</tr>", '<tr class="placement">', '<td class="left"><label>' + this.txtPlacement + "</label></td>", '<td class="right"><label id="id-info-placement">-</label></td>', "</tr>", '<tr class="date">', '<td class="left"><label>' + this.txtDate + "</label></td>", '<td class="right"><label id="id-info-date">-</label></td>', "</tr>", '<tr class="divider date"></tr>', "</table>"].join(""));
this.menu = options.menu;
},
render: function () {
@ -604,11 +603,6 @@
this.lblPlacement = $("#id-info-placement");
this.lblDate = $("#id-info-date");
this.lblAuthor = $("#id-info-author");
this.cntRights = $("#id-info-rights");
this.btnEditRights = new Common.UI.Button({
el: "#id-info-btn-edit"
});
this.btnEditRights.on("click", _.bind(this.changeAccessRights, this));
this.rendered = true;
this.updateInfo(this.doc);
if (_.isUndefined(this.scroller)) {
@ -645,13 +639,6 @@
this.lblPlacement.text(doc.info.folder);
}
this._ShowHideInfoItem("placement", doc.info.folder !== undefined && doc.info.folder !== null);
if (doc.info.sharingSettings) {
this.cntRights.html(this.templateRights({
users: doc.info.sharingSettings
}));
}
this._ShowHideInfoItem("rights", doc.info.sharingSettings !== undefined && doc.info.sharingSettings !== null && this._readonlyRights !== true);
this._ShowHideInfoItem("edit-rights", !!this.sharingSettingsUrl && this.sharingSettingsUrl.length && this._readonlyRights !== true);
} else {
this._ShowHideDocInfo(false);
}
@ -663,6 +650,71 @@
this._ShowHideInfoItem("date", visible);
this._ShowHideInfoItem("placement", visible);
this._ShowHideInfoItem("author", visible);
},
setMode: function (mode) {
return this;
},
txtTitle: "Document Title",
txtAuthor: "Author",
txtPlacement: "Placement",
txtDate: "Creation Date"
},
SSE.Views.FileMenuPanels.DocumentInfo || {}));
SSE.Views.FileMenuPanels.DocumentRights = Common.UI.BaseView.extend(_.extend({
el: "#panel-rights",
menu: undefined,
initialize: function (options) {
Common.UI.BaseView.prototype.initialize.call(this, arguments);
this.rendered = false;
this.template = _.template(['<table class="main">', '<tr class="rights">', '<td class="left" style="vertical-align: top;"><label>' + this.txtRights + "</label></td>", '<td class="right"><div id="id-info-rights"></div></td>', "</tr>", '<tr class="edit-rights">', '<td class="left"></td><td class="right"><button id="id-info-btn-edit" class="btn normal dlg-btn primary" style="margin-right: 10px;width: auto;">' + this.txtBtnAccessRights + "</button></td>", "</tr>", "</table>"].join(""));
this.templateRights = _.template(["<table>", "<% _.each(users, function(item) { %>", "<tr>", '<td><span class="userLink"><%= Common.Utils.String.htmlEncode(item.user) %></span></td>', "<td><%= Common.Utils.String.htmlEncode(item.permissions) %></td>", "</tr>", "<% }); %>", "</table>"].join(""));
this.menu = options.menu;
},
render: function () {
$(this.el).html(this.template());
this.cntRights = $("#id-info-rights");
this.btnEditRights = new Common.UI.Button({
el: "#id-info-btn-edit"
});
this.btnEditRights.on("click", _.bind(this.changeAccessRights, this));
this.rendered = true;
this.updateInfo(this.doc);
if (_.isUndefined(this.scroller)) {
this.scroller = new Common.UI.Scroller({
el: $(this.el),
suppressScrollX: true
});
}
return this;
},
show: function () {
Common.UI.BaseView.prototype.show.call(this, arguments);
},
hide: function () {
Common.UI.BaseView.prototype.hide.call(this, arguments);
},
updateInfo: function (doc) {
this.doc = doc;
if (!this.rendered) {
return;
}
doc = doc || {};
if (doc.info) {
if (doc.info.sharingSettings) {
this.cntRights.html(this.templateRights({
users: doc.info.sharingSettings
}));
}
this._ShowHideInfoItem("rights", doc.info.sharingSettings !== undefined && doc.info.sharingSettings !== null && doc.info.sharingSettings.length > 0);
this._ShowHideInfoItem("edit-rights", !!this.sharingSettingsUrl && this.sharingSettingsUrl.length && this._readonlyRights !== true);
} else {
this._ShowHideDocInfo(false);
}
},
_ShowHideInfoItem: function (cls, visible) {
$("tr." + cls, this.el)[visible ? "show" : "hide"]();
},
_ShowHideDocInfo: function (visible) {
this._ShowHideInfoItem("rights", visible);
this._ShowHideInfoItem("edit-rights", visible);
},
@ -671,34 +723,35 @@
return this;
},
changeAccessRights: function (btn, event, opts) {
if (this._docAccessDlg) {
return;
}
var me = this;
var win = new Common.Views.DocumentAccessDialog({
me._docAccessDlg = new Common.Views.DocumentAccessDialog({
settingsurl: this.sharingSettingsUrl
});
win.on("accessrights", function (obj, rights) {
me._docAccessDlg.on("accessrights", function (obj, rights) {
me.doc.info.sharingSettings = rights;
me._ShowHideInfoItem("rights", me.doc.info.sharingSettings !== undefined && me.doc.info.sharingSettings !== null && me.doc.info.sharingSettings.length > 0);
me.cntRights.html(me.templateRights({
users: me.doc.info.sharingSettings
}));
}).on("close", function (obj) {
me._docAccessDlg = undefined;
});
win.show();
me._docAccessDlg.show();
},
onLostEditRights: function () {
this._readonlyRights = true;
if (!this.rendered) {
return;
}
this._ShowHideInfoItem("rights", false);
this._ShowHideInfoItem("edit-rights", false);
},
txtTitle: "Document Title",
txtAuthor: "Author",
txtPlacement: "Placement",
txtDate: "Creation Date",
txtRights: "Persons who have rights",
txtBtnAccessRights: "Change access rights"
},
SSE.Views.FileMenuPanels.DocumentInfo || {}));
SSE.Views.FileMenuPanels.DocumentRights || {}));
SSE.Views.FileMenuPanels.Help = Common.UI.BaseView.extend({
el: "#panel-help",
menu: undefined,

View file

@ -147,8 +147,11 @@
},
onCoauthOptions: function (e) {
if (this.mode.canCoAuthoring) {
if (this.mode.canComments) {
this.panelComments[this.btnComments.pressed ? "show" : "hide"]();
this.fireEvent((this.btnComments.pressed) ? "comments:show": "comments:hide", this);
}
if (this.mode.canChat) {
if (this.btnChat.pressed) {
if (this.btnChat.$el.hasClass("notify")) {
this.btnChat.$el.removeClass("notify");
@ -159,6 +162,7 @@
this.panelChat["hide"]();
}
}
}
},
setOptionsPanel: function (name, panel) {
if (name == "chat") {
@ -179,14 +183,18 @@
this.btnAbout.toggle(false);
this.$el.width(SCALE_MIN);
if (this.mode.canCoAuthoring) {
if (this.mode.canComments) {
this.panelComments["hide"]();
this.panelChat["hide"]();
if (this.btnComments.pressed) {
this.fireEvent("comments:hide", this);
}
this.btnComments.toggle(false, true);
}
if (this.mode.canChat) {
this.panelChat["hide"]();
this.btnChat.toggle(false, true);
}
}
},
isOpened: function () {
var isopened = this.btnFile.pressed || this.btnSearch.pressed; ! isopened && (isopened = this.btnComments.pressed || this.btnChat.pressed);

View file

@ -909,7 +909,7 @@
iconCls: "mnu-icon-item mnu-border-width",
template: _.template('<a id="<%= id %>" tabindex="-1" type="menuitem"><span class="menu-item-icon" style="background-image: none; width: 11px; height: 11px; margin: 2px 7px 0 -9px; border-style: solid; border-width: 1px; border-color: #000;"></span><%= caption %></a>'),
menu: (function () {
var itemTemplate = _.template('<a id="<%= id %>" tabindex="-1" type="menuitem"><div style="width: 80px; height: 20px; margin-top: -3px; margin-bottom: -2px; background:url(\'resources/img/toolbar/BorderSize.png\') repeat-x scroll 0 -<%= options.offsety %>px;"></div></a>');
var itemTemplate = _.template('<a id="<%= id %>" tabindex="-1" type="menuitem"><div class="border-size-item" style="background-position: 0 -<%= options.offsety %>px;"></div></a>');
me.mnuBorderWidth = new Common.UI.Menu({
style: "min-width: 100px;",
menuAlign: "tl-tr",
@ -1884,13 +1884,12 @@
checkable: true,
checked: me.isCompactView,
value: "compact"
}), {
}), me.mnuitemHideTitleBar = new Common.UI.MenuItem({
caption: me.textHideTBar,
checkable: true,
checked: !!options.title,
value: "title"
},
{
}), {
caption: me.textHideFBar,
checkable: true,
checked: !!options.formula,
@ -2206,6 +2205,10 @@
nativeBtnGroup.hide();
}
}
if (mode.isDesktopApp) {
$(".toolbar-group-native").hide();
this.mnuitemHideTitleBar.hide();
}
}
},
onApiSendThemeColorSchemes: function (schemas) {

View file

@ -412,6 +412,7 @@
"SSE.Views.FileMenu.btnPrintCaption": "Drucken",
"SSE.Views.FileMenu.btnRecentFilesCaption": "Zuletzt benutzte öffnen...",
"SSE.Views.FileMenu.btnReturnCaption": "Zurück zur Tabelle",
"SSE.Views.FileMenu.btnRightsCaption": "Access Rights...",
"SSE.Views.FileMenu.btnSaveCaption": "Speichern",
"SSE.Views.FileMenu.btnSettingsCaption": "Erweiterte Einstellungen...",
"SSE.Views.FileMenu.btnToEditCaption": "Tabelle bearbeiten",
@ -420,10 +421,10 @@
"SSE.Views.FileMenuPanels.CreateNew.newDescriptionText": "Erstellen Sie eine neue Kalkulationstabelle, die Sie nach ihrer Erstellung bei der Bearbeitung formatieren können. Oder wählen Sie eine der Vorlagen, um eine Kalkulationstabelle eines bestimmten Typs (für einen bestimmten Zweck) zu erstellen, wo einige Stile bereits angewandt sind.",
"SSE.Views.FileMenuPanels.CreateNew.newDocumentText": "Neue Kalkulationstabelle",
"SSE.Views.FileMenuPanels.DocumentInfo.txtAuthor": "Autor",
"SSE.Views.FileMenuPanels.DocumentInfo.txtBtnAccessRights": "Zugriffsrechte ändern",
"SSE.Views.FileMenuPanels.DocumentRights.txtBtnAccessRights": "Zugriffsrechte ändern",
"SSE.Views.FileMenuPanels.DocumentInfo.txtDate": "Erstellungsdatum",
"SSE.Views.FileMenuPanels.DocumentInfo.txtPlacement": "Speicherort",
"SSE.Views.FileMenuPanels.DocumentInfo.txtRights": "Personen mit Berechtigungen",
"SSE.Views.FileMenuPanels.DocumentRights.txtRights": "Personen mit Berechtigungen",
"SSE.Views.FileMenuPanels.DocumentInfo.txtTitle": "Titel der Kalkulationstabelle",
"SSE.Views.FileMenuPanels.MainSettingsGeneral.okButtonText": "Übernehmen",
"SSE.Views.FileMenuPanels.MainSettingsGeneral.strAutosave": "AutoSpeichern einschalten",

View file

@ -409,6 +409,7 @@
"SSE.Views.FileMenu.btnDownloadCaption": "Download as...",
"SSE.Views.FileMenu.btnHelpCaption": "Help...",
"SSE.Views.FileMenu.btnInfoCaption": "Spreadsheet Info...",
"SSE.Views.FileMenu.btnRightsCaption": "Access Rights...",
"SSE.Views.FileMenu.btnPrintCaption": "Print",
"SSE.Views.FileMenu.btnRecentFilesCaption": "Open Recent...",
"SSE.Views.FileMenu.btnReturnCaption": "Back to Spreadsheet",
@ -420,10 +421,10 @@
"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.",
"SSE.Views.FileMenuPanels.CreateNew.newDocumentText": "New Spreadsheet",
"SSE.Views.FileMenuPanels.DocumentInfo.txtAuthor": "Author",
"SSE.Views.FileMenuPanels.DocumentInfo.txtBtnAccessRights": "Change access rights",
"SSE.Views.FileMenuPanels.DocumentRights.txtBtnAccessRights": "Change access rights",
"SSE.Views.FileMenuPanels.DocumentInfo.txtDate": "Creation Date",
"SSE.Views.FileMenuPanels.DocumentInfo.txtPlacement": "Location",
"SSE.Views.FileMenuPanels.DocumentInfo.txtRights": "Persons who have rights",
"SSE.Views.FileMenuPanels.DocumentRights.txtRights": "Persons who have rights",
"SSE.Views.FileMenuPanels.DocumentInfo.txtTitle": "Spreadsheet Title",
"SSE.Views.FileMenuPanels.MainSettingsGeneral.okButtonText": "Apply",
"SSE.Views.FileMenuPanels.MainSettingsGeneral.strAutosave": "Turn on autosave",

View file

@ -412,6 +412,7 @@
"SSE.Views.FileMenu.btnPrintCaption": "Imprimir",
"SSE.Views.FileMenu.btnRecentFilesCaption": "Abrir reciente...",
"SSE.Views.FileMenu.btnReturnCaption": "Volver a hoja de cálculo",
"SSE.Views.FileMenu.btnRightsCaption": "Derechos de acceso...",
"SSE.Views.FileMenu.btnSaveCaption": "Guardar",
"SSE.Views.FileMenu.btnSettingsCaption": "Ajustes avanzados...",
"SSE.Views.FileMenu.btnToEditCaption": "Editar hoja de cálculo",
@ -420,10 +421,10 @@
"SSE.Views.FileMenuPanels.CreateNew.newDescriptionText": "Cree nueva hoja de cálculo en blanco para poder ajustar sus estilos y el formato. O seleccione una de las plantillas para iniciar hoja de cálculo de cierto tipo o motivo donde algunos estilos se han aplicado antes.",
"SSE.Views.FileMenuPanels.CreateNew.newDocumentText": "Nueva hoja de cálculo",
"SSE.Views.FileMenuPanels.DocumentInfo.txtAuthor": "Autor",
"SSE.Views.FileMenuPanels.DocumentInfo.txtBtnAccessRights": "Cambiar derechos de acceso",
"SSE.Views.FileMenuPanels.DocumentRights.txtBtnAccessRights": "Cambiar derechos de acceso",
"SSE.Views.FileMenuPanels.DocumentInfo.txtDate": "Fecha de creación",
"SSE.Views.FileMenuPanels.DocumentInfo.txtPlacement": "Ubicación",
"SSE.Views.FileMenuPanels.DocumentInfo.txtRights": "Personas que tienen derechos",
"SSE.Views.FileMenuPanels.DocumentRights.txtRights": "Personas que tienen derechos",
"SSE.Views.FileMenuPanels.DocumentInfo.txtTitle": "Título de hoja de cálculo",
"SSE.Views.FileMenuPanels.MainSettingsGeneral.okButtonText": "Aplicar",
"SSE.Views.FileMenuPanels.MainSettingsGeneral.strAutosave": "Activar autoguardado",

View file

@ -420,10 +420,10 @@
"SSE.Views.FileMenuPanels.CreateNew.newDescriptionText": "Créez un classeur que vous serez en mesure de styliser et de mettre en forme une fois qu'il est créé. Ou choisissez l'un des modèles pour commencer un classeur d'un certain type où certains styles sont déjà pré-appliqués.",
"SSE.Views.FileMenuPanels.CreateNew.newDocumentText": "Nouveau classeur",
"SSE.Views.FileMenuPanels.DocumentInfo.txtAuthor": "Auteur",
"SSE.Views.FileMenuPanels.DocumentInfo.txtBtnAccessRights": "Changer les droits d'accès",
"SSE.Views.FileMenuPanels.DocumentRights.txtBtnAccessRights": "Changer les droits d'accès",
"SSE.Views.FileMenuPanels.DocumentInfo.txtDate": "Date de création",
"SSE.Views.FileMenuPanels.DocumentInfo.txtPlacement": "Emplacement",
"SSE.Views.FileMenuPanels.DocumentInfo.txtRights": "Personnes qui ont des droits",
"SSE.Views.FileMenuPanels.DocumentRights.txtRights": "Personnes qui ont des droits",
"SSE.Views.FileMenuPanels.DocumentInfo.txtTitle": "Titre du classeur",
"SSE.Views.FileMenuPanels.MainSettingsGeneral.okButtonText": "Appliquer",
"SSE.Views.FileMenuPanels.MainSettingsGeneral.strAutosave": "Activer l'enregistrement automatique",

View file

@ -420,10 +420,10 @@
"SSE.Views.FileMenuPanels.CreateNew.newDescriptionText": "Crea un nuovo foglio elettronico vuoto che potrai formattare durante la modifica. O scegli uno dei modelli per creare un foglio elettronico di un certo tipo a quale sono già applicati certi stili.",
"SSE.Views.FileMenuPanels.CreateNew.newDocumentText": "Nuovo foglio elettronico",
"SSE.Views.FileMenuPanels.DocumentInfo.txtAuthor": "Autore",
"SSE.Views.FileMenuPanels.DocumentInfo.txtBtnAccessRights": "Cambia diritti di accesso",
"SSE.Views.FileMenuPanels.DocumentRights.txtBtnAccessRights": "Cambia diritti di accesso",
"SSE.Views.FileMenuPanels.DocumentInfo.txtDate": "Data di creazione",
"SSE.Views.FileMenuPanels.DocumentInfo.txtPlacement": "Percorso",
"SSE.Views.FileMenuPanels.DocumentInfo.txtRights": "Persone con diritti",
"SSE.Views.FileMenuPanels.DocumentRights.txtRights": "Persone con diritti",
"SSE.Views.FileMenuPanels.DocumentInfo.txtTitle": "Titolo foglio elettronico",
"SSE.Views.FileMenuPanels.MainSettingsGeneral.okButtonText": "Applica",
"SSE.Views.FileMenuPanels.MainSettingsGeneral.strAutosave": "Attiva salvataggio automatico",

View file

@ -418,10 +418,10 @@
"SSE.Views.FileMenuPanels.CreateNew.newDescriptionText": "Izveidot jaunu tukšu izklājlapu, kurā jūs varēsiet piemērot stilu un formātu pēc izveides rediģēšanas laikā. Vai izvēlēties kādu no veidnēm, lai sāktu dokumentu konkrēta veida vai stilā, kur daži stili jau iepriekš piemēroti.",
"SSE.Views.FileMenuPanels.CreateNew.newDocumentText": "Jauna Izklājlapa",
"SSE.Views.FileMenuPanels.DocumentInfo.txtAuthor": "Autors",
"SSE.Views.FileMenuPanels.DocumentInfo.txtBtnAccessRights": "Change access rights",
"SSE.Views.FileMenuPanels.DocumentRights.txtBtnAccessRights": "Change access rights",
"SSE.Views.FileMenuPanels.DocumentInfo.txtDate": "Izveides datums",
"SSE.Views.FileMenuPanels.DocumentInfo.txtPlacement": "Vieta",
"SSE.Views.FileMenuPanels.DocumentInfo.txtRights": "Personas kuriem ir tiesības",
"SSE.Views.FileMenuPanels.DocumentRights.txtRights": "Personas kuriem ir tiesības",
"SSE.Views.FileMenuPanels.DocumentInfo.txtTitle": "Izklājlapas Nosaukums",
"SSE.Views.FileMenuPanels.MainSettingsGeneral.okButtonText": "Piemērot",
"SSE.Views.FileMenuPanels.MainSettingsGeneral.strAutosave": "Turn on autosave",

View file

@ -420,10 +420,10 @@
"SSE.Views.FileMenuPanels.CreateNew.newDescriptionText": "Crie uma nova planilha em branco que você será capaz de nomear e formatar após ela ser criada durante a edição. Ou escolha um dos modelos para começar uma planilha de um tipo ou propósito determinado onde alguns estilos já foram pré-aplicados.",
"SSE.Views.FileMenuPanels.CreateNew.newDocumentText": "Nova planilha",
"SSE.Views.FileMenuPanels.DocumentInfo.txtAuthor": "Autor",
"SSE.Views.FileMenuPanels.DocumentInfo.txtBtnAccessRights": "Alterar direitos de acesso",
"SSE.Views.FileMenuPanels.DocumentRights.txtBtnAccessRights": "Alterar direitos de acesso",
"SSE.Views.FileMenuPanels.DocumentInfo.txtDate": "Data de criação",
"SSE.Views.FileMenuPanels.DocumentInfo.txtPlacement": "Localização",
"SSE.Views.FileMenuPanels.DocumentInfo.txtRights": "Pessoas que têm direitos",
"SSE.Views.FileMenuPanels.DocumentRights.txtRights": "Pessoas que têm direitos",
"SSE.Views.FileMenuPanels.DocumentInfo.txtTitle": "Título da planilha",
"SSE.Views.FileMenuPanels.MainSettingsGeneral.okButtonText": "Aplicar",
"SSE.Views.FileMenuPanels.MainSettingsGeneral.strAutosave": "Ativar salvamento automático",

View file

@ -412,6 +412,7 @@
"SSE.Views.FileMenu.btnPrintCaption": "Печать",
"SSE.Views.FileMenu.btnRecentFilesCaption": "Открыть последние...",
"SSE.Views.FileMenu.btnReturnCaption": "Вернуться к таблице",
"SSE.Views.FileMenu.btnRightsCaption": "Права доступа...",
"SSE.Views.FileMenu.btnSaveCaption": "Сохранить",
"SSE.Views.FileMenu.btnSettingsCaption": "Дополнительные параметры...",
"SSE.Views.FileMenu.btnToEditCaption": "Редактировать таблицу",
@ -420,10 +421,10 @@
"SSE.Views.FileMenuPanels.CreateNew.newDescriptionText": "Создайте новую пустую электронную таблицу, к которой Вы сможете применить стили и отформатировать при редактировании после того, как она создана. Или выберите один из шаблонов, чтобы создать электронную таблицу определенного типа или предназначения, где уже предварительно применены некоторые стили.",
"SSE.Views.FileMenuPanels.CreateNew.newDocumentText": "Новая электронная таблица",
"SSE.Views.FileMenuPanels.DocumentInfo.txtAuthor": "Автор",
"SSE.Views.FileMenuPanels.DocumentInfo.txtBtnAccessRights": "Изменить права доступа",
"SSE.Views.FileMenuPanels.DocumentRights.txtBtnAccessRights": "Изменить права доступа",
"SSE.Views.FileMenuPanels.DocumentInfo.txtDate": "Дата создания",
"SSE.Views.FileMenuPanels.DocumentInfo.txtPlacement": "Размещение",
"SSE.Views.FileMenuPanels.DocumentInfo.txtRights": "Люди, имеющие права",
"SSE.Views.FileMenuPanels.DocumentRights.txtRights": "Люди, имеющие права",
"SSE.Views.FileMenuPanels.DocumentInfo.txtTitle": "Название электронной таблицы",
"SSE.Views.FileMenuPanels.MainSettingsGeneral.okButtonText": "Применить",
"SSE.Views.FileMenuPanels.MainSettingsGeneral.strAutosave": "Включить автосохранение",

Some files were not shown because too many files have changed in this diff Show more