Commit f0724328 authored by Alexander.Trofimov's avatar Alexander.Trofimov

fix openXml

parent 265399e5
......@@ -41,6 +41,8 @@ var editor;
var asc = window["Asc"];
var prot;
var openXml = AscCommon.openXml;
var c_oAscAdvancedOptionsAction = AscCommon.c_oAscAdvancedOptionsAction;
var DownloadType = AscCommon.DownloadType;
var c_oAscLockTypes = AscCommon.c_oAscLockTypes;
......
......@@ -34,6 +34,8 @@
(function(window, undefined) {
// Import
var openXml = AscCommon.openXml;
var g_memory = AscFonts.g_memory;
var DecodeBase64Char = AscFonts.DecodeBase64Char;
var b64_decode = AscFonts.b64_decode;
......
......@@ -1200,7 +1200,7 @@ Fill.prototype =
else if("patternFill" === elem) {
if(st_patterntypeNONE !== prevContext.patternType)
{
if(openXml.SaxParserDataTransfer.priorityBg)
if(AscCommon.openXml.SaxParserDataTransfer.priorityBg)
{
if(prevContext.bgColor)
this.bg = prevContext.bgColor;
......
......@@ -32,7 +32,7 @@
"use strict";
(function(root) {
(function(window) {
var openXml = {};
function SaxParserBase() {
......@@ -691,6 +691,9 @@
xmlSignature: "http://schemas.openxmlformats.org/package/2006/relationships/digital-signature/signature",
};
root.openXml = openXml;
window.openXml = openXml;
//----------------------------------------------------------export----------------------------------------------------
window['AscCommon'] = window['AscCommon'] || {};
window['AscCommon'].openXml = openXml;
}(this));
}(window));
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment