Commit 642d27a0 authored by Ilya.Kirillov's avatar Ilya.Kirillov Committed by Alexander.Trofimov

Шрифт по умолчанию в колонтитулах сделан 11 размера

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@49486 954022d7-b5bf-4e40-9824-e11837661b57
parent 3c8e6e75
...@@ -599,10 +599,12 @@ CStyle.prototype = ...@@ -599,10 +599,12 @@ CStyle.prototype =
Create_Header : function() Create_Header : function()
{ {
// TODO: Как только будут реализованы правый и центральный табы, добавить их тут
this.uiPriority = 99; this.uiPriority = 99;
this.unhideWhenUsed = true; this.unhideWhenUsed = true;
var RPos = Page_Width - X_Left_Margin - X_Right_Margin;
var CPos = RPos / 2;
var ParaPr = var ParaPr =
{ {
Spacing: Spacing:
...@@ -610,12 +612,27 @@ CStyle.prototype = ...@@ -610,12 +612,27 @@ CStyle.prototype =
After : 0, After : 0,
Line : 1, Line : 1,
LineRule : linerule_Auto LineRule : linerule_Auto
},
Tabs :
{
Tabs :
[
{
Value : tab_Center,
Pos : CPos
},
{
Value : tab_Right,
Pos : RPos
}
]
} }
}; };
var TextPr = var TextPr =
{ {
FontSize : 10, FontSize : 11,
FontFamily: { Name : "Arial", Index : -1 }, FontFamily: { Name : "Arial", Index : -1 },
Color : { r : 0x00, g : 0x00, b : 0x00 } Color : { r : 0x00, g : 0x00, b : 0x00 }
}; };
...@@ -626,10 +643,12 @@ CStyle.prototype = ...@@ -626,10 +643,12 @@ CStyle.prototype =
Create_Footer : function() Create_Footer : function()
{ {
// TODO: Как только будут реализованы правый и центральный табы, добавить их тут
this.uiPriority = 99; this.uiPriority = 99;
this.unhideWhenUsed = true; this.unhideWhenUsed = true;
var RPos = Page_Width - X_Left_Margin - X_Right_Margin;
var CPos = RPos / 2;
var ParaPr = var ParaPr =
{ {
Spacing: Spacing:
...@@ -637,12 +656,27 @@ CStyle.prototype = ...@@ -637,12 +656,27 @@ CStyle.prototype =
After : 0, After : 0,
Line : 1, Line : 1,
LineRule : linerule_Auto LineRule : linerule_Auto
},
Tabs :
{
Tabs :
[
{
Value : tab_Center,
Pos : CPos
},
{
Value : tab_Right,
Pos : RPos
}
]
} }
} };
var TextPr = var TextPr =
{ {
FontSize : 10, FontSize : 11,
FontFamily: { Name : "Arial", Index : -1 }, FontFamily: { Name : "Arial", Index : -1 },
Color : { r : 0x00, g : 0x00, b : 0x00 } Color : { r : 0x00, g : 0x00, b : 0x00 }
}; };
......
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