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

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@50640 954022d7-b5bf-4e40-9824-e11837661b57
parent 0060381f
...@@ -41,7 +41,7 @@ function CPdfPrinter(sUrlPath) ...@@ -41,7 +41,7 @@ function CPdfPrinter(sUrlPath)
this.DocumentRenderer = new CDocumentRenderer(); this.DocumentRenderer = new CDocumentRenderer();
this.DocumentRenderer.VectorMemoryForPrint = new CMemory(); this.DocumentRenderer.VectorMemoryForPrint = new CMemory();
this.font = new window["Asc"].FontProperties("Arial", 11); this.font = new window["Asc"].FontProperties("Arial", -1);
this.asc_round = window["Asc"].round; this.asc_round = window["Asc"].round;
this.Transform = new CMatrix(); this.Transform = new CMatrix();
this.InvertTransform = new CMatrix(); this.InvertTransform = new CMatrix();
......
...@@ -1967,7 +1967,7 @@ CGraphics.prototype = ...@@ -1967,7 +1967,7 @@ CGraphics.prototype =
DrawEmptyTableLine : function(x1,y1,x2,y2) DrawEmptyTableLine : function(x1,y1,x2,y2)
{ {
if (!editor.isShowTableEmptyLine) if (!editor.isShowTableEmptyLine || editor.isViewMode)
return; return;
var _x1 = this.m_oFullTransform.TransformPointX(x1,y1); var _x1 = this.m_oFullTransform.TransformPointX(x1,y1);
......
...@@ -6496,7 +6496,7 @@ asc_docs_api.prototype.SetViewMode = function( isViewMode ) ...@@ -6496,7 +6496,7 @@ asc_docs_api.prototype.SetViewMode = function( isViewMode )
{ {
this.isViewMode = true; this.isViewMode = true;
this.ShowParaMarks = false; this.ShowParaMarks = false;
this.isShowTableEmptyLine = false; //this.isShowTableEmptyLine = false;
//this.WordControl.m_bIsRuler = true; //this.WordControl.m_bIsRuler = true;
this.WordControl.m_oDrawingDocument.ClearCachePages(); this.WordControl.m_oDrawingDocument.ClearCachePages();
this.WordControl.HideRulers(); this.WordControl.HideRulers();
......
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