Commit bd648ab7 authored by Ilya Kirillov's avatar Ilya Kirillov

Added a check IsEmptyBorders for borders of a page.

parent a4499fb9
......@@ -2078,6 +2078,13 @@ CSectionBorders.prototype =
this.ZOrder = Reader.GetByte();
}
};
CSectionBorders.prototype.IsEmptyBorders = function()
{
if (this.Top.IsNone() && this.Bottom.IsNone() && this.Left.IsNone() && this.Right.IsNone())
return true;
return false;
};
function CSectionPageNumType()
{
......
......@@ -5717,6 +5717,10 @@ CDocumentBorder.prototype =
}
}
};
CDocumentBorder.prototype.IsNone = function()
{
return this.Value === border_None ? true : false;
};
function CTableMeasurement(Type, W)
{
......
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