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

table/para styles full

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@58009 954022d7-b5bf-4e40-9824-e11837661b57
parent 4b9ea1c7
......@@ -1438,8 +1438,7 @@ CDrawingDocument.prototype =
_stream["ClearNoAttack"]();
_stream["WriteByte"](0);
_stream["WriteLong"](0);
_stream["WriteByte"](2);
_stream["WriteString2"]("" + i);
this.Native["DD_EndNativeDraw"](_stream);
......@@ -1449,7 +1448,7 @@ CDrawingDocument.prototype =
History.TurnOn();
_stream["ClearNoAttack"]();
_stream["WriteByte"](1);
_stream["WriteByte"](3);
this.Native["DD_EndNativeDraw"](_stream);
},
......
......@@ -4492,6 +4492,7 @@ function CStylesPainter()
_stream["ClearNoAttack"]();
_stream["WriteByte"](0);
_stream["WriteString2"](style.Name);
_api.WordControl.m_oDrawingDocument.Native["DD_EndNativeDraw"](_stream);
graphics.ClearParams();
......
......@@ -1224,6 +1224,8 @@ CGraphics.prototype =
_lastFont.Name = _rfonts.Ascii.Name;
_lastFont.Index = _rfonts.Ascii.Index;
console.log(_lastFont.Name);
if (_lastFont.Index == -1 || _lastFont.Index === undefined)
{
_lastFont.Index = window.g_map_font_index[_lastFont.Name];
......
......@@ -7768,6 +7768,11 @@ window["asc_docs_api"].prototype["asc_nativeOpenFile"] = function(base64File)
sizeMM = DocumentPageSize.getSize(Page_Height, Page_Width);
this.sync_DocSizeCallback(sizeMM.w_mm, sizeMM.h_mm);
this.sync_PageOrientCallback(editor.get_DocumentOrientation());
if (this.GenerateNativeStyles !== undefined)
{
this.GenerateNativeStyles();
}
};
window["asc_docs_api"].prototype["asc_nativeCalculateFile"] = function()
......
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