Commit 58abadfd authored by Oleg Korshul's avatar Oleg Korshul

add export method asc_Recalculate

parent c230346e
...@@ -8010,6 +8010,14 @@ window["asc_docs_api"].prototype.asc_SetSilentMode = function(bEnabled) ...@@ -8010,6 +8010,14 @@ window["asc_docs_api"].prototype.asc_SetSilentMode = function(bEnabled)
this.WordControl.m_oLogicDocument.End_SilentMode(); this.WordControl.m_oLogicDocument.End_SilentMode();
}; };
window["asc_docs_api"].prototype.asc_Recalculate = function(bIsUpdateInterface)
{
if (!this.WordControl.m_oLogicDocument)
return;
return this.WordControl.m_oLogicDocument.Recalculate_FromStart(bIsUpdateInterface);
};
window["asc_docs_api"].prototype["asc_nativeApplyChanges2"] = function(data, isFull) window["asc_docs_api"].prototype["asc_nativeApplyChanges2"] = function(data, isFull)
{ {
// Чтобы заново созданные параграфы не отображались залоченными // Чтобы заново созданные параграфы не отображались залоченными
...@@ -8809,6 +8817,7 @@ asc_docs_api.prototype["asc_nativeInitBuilder"] = asc_docs_api.prototype.asc ...@@ -8809,6 +8817,7 @@ asc_docs_api.prototype["asc_nativeInitBuilder"] = asc_docs_api.prototype.asc
asc_docs_api.prototype["asc_SetSilentMode"] = asc_docs_api.prototype.asc_SetSilentMode; asc_docs_api.prototype["asc_SetSilentMode"] = asc_docs_api.prototype.asc_SetSilentMode;
asc_docs_api.prototype["asc_addOleObject"] = asc_docs_api.prototype.asc_addOleObject; asc_docs_api.prototype["asc_addOleObject"] = asc_docs_api.prototype.asc_addOleObject;
asc_docs_api.prototype["asc_editOleObject"] = asc_docs_api.prototype.asc_editOleObject; asc_docs_api.prototype["asc_editOleObject"] = asc_docs_api.prototype.asc_editOleObject;
asc_docs_api.prototype["asc_Recalculate"] = asc_docs_api.prototype.asc_Recalculate;
CParagraphPropEx.prototype['get_ContextualSpacing'] = CParagraphPropEx.prototype.get_ContextualSpacing; CParagraphPropEx.prototype['get_ContextualSpacing'] = CParagraphPropEx.prototype.get_ContextualSpacing;
CParagraphPropEx.prototype['get_Ind'] = CParagraphPropEx.prototype.get_Ind; CParagraphPropEx.prototype['get_Ind'] = CParagraphPropEx.prototype.get_Ind;
......
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