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

cool header footer 2

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@56040 954022d7-b5bf-4e40-9824-e11837661b57
parent 8782a6c1
......@@ -1827,6 +1827,8 @@ CGraphics.prototype =
if (-1 != sectionNum)
_header_text += (" -Section " + (sectionNum + 1) + "-");
if (type)
{
if (type.bFirst)
_header_text = "First Page " + _header_text;
else if (EvenAndOddHeaders)
......@@ -1836,6 +1838,7 @@ CGraphics.prototype =
else
_header_text = "Odd Page " + _header_text;
}
}
this.DrawStringASCII("Courier New", 9, false, false, _header_text, 2, yPos, true);
......@@ -1909,6 +1912,8 @@ CGraphics.prototype =
if (-1 != sectionNum)
_header_text += (" -Section " + (sectionNum + 1) + "-");
if (type)
{
if (type.bFirst)
_header_text = "First Page " + _header_text;
else if (EvenAndOddHeaders)
......@@ -1918,6 +1923,7 @@ CGraphics.prototype =
else
_header_text = "Odd Page " + _header_text;
}
}
this.DrawStringASCII("Courier New", 9, false, false, _header_text, 2, yPos, false);
......
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