Commit e587a0ee authored by Oleg.Korshul's avatar Oleg.Korshul Committed by Alexander Trofimov

git-svn-id:...

git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@53383 954022d7-b5bf-4e40-9824-e11837661b57
parent c332f303
......@@ -147,24 +147,11 @@ namespace Joiner
oBuilder.Append("\n\n");
}
string strDestPath = strApplication + "\\ServerComponents\\DoctRenderer\\Resources\\doc_editor.js";
string strDestPath = strApplication + "\\OfficeWeb\\Word\\sdk-all.js";
StreamWriter oWriter = new StreamWriter(strDestPath, false, Encoding.UTF8);
oWriter.Write(oBuilder.ToString());
oWriter.Close();
StreamReader oReader2 = new StreamReader(strRoot + "Common/AllFonts.js");
string sALL = oReader2.ReadToEnd();
int n1 = sALL.IndexOf("window[\"g_standart_fonts_thumbnail\"]");
sALL = sALL.Substring(0, n1);
sALL = sALL.Replace("window[\"__fonts_files\"]", "var __fonts_files");
sALL = sALL.Replace("window[\"__fonts_infos\"]", "var __fonts_infos");
StreamWriter oWriter2 = new StreamWriter(strApplication + "\\ServerComponents\\DoctRenderer\\Resources\\allfonts.js", false, Encoding.UTF8);
oWriter2.Write(sALL);
oWriter2.Close();
}
}
}
......@@ -172,7 +172,7 @@ namespace Joiner
oBuilder.Append("\n\n");
}
string strDestPath = strApplication + "\\ServerComponents\\DoctRenderer\\Resources\\ppt_editor.js";
string strDestPath = strApplication + "\\OfficeWeb\\PowerPoint\\sdk-all.js";
StreamWriter oWriter = new StreamWriter(strDestPath, false, Encoding.UTF8);
oWriter.Write(oBuilder.ToString());
......
......@@ -172,7 +172,7 @@ namespace Joiner
oBuilder.Append("\n\n");
}
string strDestPath = strApplication + "\\ServerComponents\\DoctRenderer\\Resources\\xls_editor.js";
string strDestPath = strApplication + "\\OfficeWeb\\Excel\\sdk-all.js";
StreamWriter oWriter = new StreamWriter(strDestPath, false, Encoding.UTF8);
oWriter.Write(oBuilder.ToString());
......
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