Commit c7d6f23a authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

delete OpenNewDocument, LoadDocumentFromDisk, OpenTestDocumentViewer

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@64745 954022d7-b5bf-4e40-9824-e11837661b57
parent 4137ffc4
......@@ -1017,43 +1017,6 @@ asc_docs_api.prototype.InitViewer = function()
this.WordControl.m_oDrawingDocument.m_oDocumentRenderer = new CDocMeta();
};
asc_docs_api.prototype.OpenNewDocument = function()
{
if (undefined != window['qtDocBridge'])
{
// push data to native QT code
window['qtDocBridge']['openedNewDocument'] ();
}
else
{
this.OpenEmptyDocument();
}
};
asc_docs_api.prototype.LoadDocumentFromDisk = function()
{
if (undefined != window['qtDocBridge'])
{
// push data to native QT code
window['qtDocBridge']['loadedDocumentFromDisk'] ();
}
else
{
// may be it's useful for online version too
}
};
asc_docs_api.prototype.OpenTestDocumentViewer = function()
{
this.LoadedObject = null;
this.DocumentType = 1;
this.InitViewer();
this.WordControl.m_oDrawingDocument.m_oDocumentRenderer.Load("./Document/", window["document_base64"]);
delete window["document_base64"];
this.FontLoader.LoadDocumentFonts(this.WordControl.m_oDrawingDocument.m_oDocumentRenderer.Fonts, true);
};
asc_docs_api.prototype.OpenDocument = function(url, gObject)
{
this.isOnlyReaderMode = false;
......
......@@ -144,9 +144,6 @@ asc_docs_api.prototype['ContentToHTML'] = asc_docs_api.prototype.ContentToHTML;
asc_docs_api.prototype['InitEditor'] = asc_docs_api.prototype.InitEditor;
asc_docs_api.prototype['SetInterfaceDrawImagePlaceShape'] = asc_docs_api.prototype.SetInterfaceDrawImagePlaceShape;
asc_docs_api.prototype['InitViewer'] = asc_docs_api.prototype.InitViewer;
asc_docs_api.prototype['OpenNewDocument'] = asc_docs_api.prototype.OpenNewDocument;
asc_docs_api.prototype['LoadDocumentFromDisk'] = asc_docs_api.prototype.LoadDocumentFromDisk;
asc_docs_api.prototype['OpenTestDocumentViewer'] = asc_docs_api.prototype.OpenTestDocumentViewer;
asc_docs_api.prototype['OpenDocument'] = asc_docs_api.prototype.OpenDocument;
asc_docs_api.prototype['OpenDocument2'] = asc_docs_api.prototype.OpenDocument2;
asc_docs_api.prototype['get_DocumentName'] = asc_docs_api.prototype.get_DocumentName;
......
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