Commit fa81a2a5 authored by Anna.Pavlova's avatar Anna.Pavlova Committed by Alexander.Trofimov

remove_internal

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@51738 954022d7-b5bf-4e40-9824-e11837661b57
parent cb56cc3f
...@@ -842,6 +842,7 @@ CAccent.prototype.draw = function() ...@@ -842,6 +842,7 @@ CAccent.prototype.draw = function()
function CAccent() function CAccent()
{ {
this. type = null;
this.loc = LOCATION_TOP; this.loc = LOCATION_TOP;
CCharacter.call(this); CCharacter.call(this);
} }
...@@ -869,38 +870,54 @@ CAccent.prototype.init = function(props) ...@@ -869,38 +870,54 @@ CAccent.prototype.init = function(props)
if(code === 0x302 || type === ACCENT_CIRCUMFLEX) if(code === 0x302 || type === ACCENT_CIRCUMFLEX)
{ {
this.type = ACCENT_CIRCUMFLEX;
accent = new CCircumflex(); accent = new CCircumflex();
accent.setTurn(TURN_0); accent.setTurn(TURN_0);
} }
else if(code === 0x30C || type === ACCENT_COMB_CARON) else if(code === 0x30C || type === ACCENT_COMB_CARON)
{ {
this.type = ACCENT_COMB_CARON;
accent = new CCircumflex(); accent = new CCircumflex();
accent.setTurn(TURN_MIRROR_0); accent.setTurn(TURN_MIRROR_0);
} }
else if(code === 0x332 || type === ACCENT_LINE) else if(code === 0x332 || type === ACCENT_LINE)
{ {
this.type = ACCENT_LINE;
accent = new CLine(); accent = new CLine();
} }
else if(code === 0x333 || type === ACCENT_DOUBLE_LINE) else if(code === 0x333 || type === ACCENT_DOUBLE_LINE)
{ {
this.type = ACCENT_DOUBLE_LINE;
accent = new CDoubleLine(); accent = new CDoubleLine();
} }
else if(code === 0x303 || type === ACCENT_TILDE) else if(code === 0x303 || type === ACCENT_TILDE)
{ {
this.type = ACCENT_TILDE;
accent = new CTilde(); accent = new CTilde();
} }
else if(code === 0x306 || type === ACCENT_BREVE) else if(code === 0x306 || type === ACCENT_BREVE)
{ {
this.type = ACCENT_BREVE;
accent = new CBreve(); accent = new CBreve();
accent.setTurn(TURN_MIRROR_0); accent.setTurn(TURN_MIRROR_0);
} }
else if(code == 0x311 || type == ACCENT_INVERT_BREVE) else if(code == 0x311 || type == ACCENT_INVERT_BREVE)
{ {
this.type = ACCENT_INVERT_BREVE;
accent = new CBreve(); accent = new CBreve();
accent.setTurn(TURN_0); accent.setTurn(TURN_0);
} }
else if(code === 0x20D6 || type === ACCENT_ARROW_LEFT) else if(code === 0x20D6 || type === ACCENT_ARROW_LEFT)
{ {
this.type = ACCENT_ARROW_LEFT;
glyph = new CCombiningArrow(); glyph = new CCombiningArrow();
props = props =
{ {
...@@ -912,6 +929,8 @@ CAccent.prototype.init = function(props) ...@@ -912,6 +929,8 @@ CAccent.prototype.init = function(props)
} }
else if(code === 0x20D7 || type === ACCENT_ARROW_RIGHT) else if(code === 0x20D7 || type === ACCENT_ARROW_RIGHT)
{ {
this.type = ACCENT_ARROW_RIGHT;
glyph = new CCombiningArrow(); glyph = new CCombiningArrow();
props = props =
{ {
...@@ -923,6 +942,8 @@ CAccent.prototype.init = function(props) ...@@ -923,6 +942,8 @@ CAccent.prototype.init = function(props)
} }
else if(code === 0x20E1 || type === ACCENT_ARROW_LR) else if(code === 0x20E1 || type === ACCENT_ARROW_LR)
{ {
this.type = ACCENT_ARROW_LR;
glyph = new CCombining_LR_Arrow(); glyph = new CCombining_LR_Arrow();
props = props =
{ {
...@@ -934,6 +955,8 @@ CAccent.prototype.init = function(props) ...@@ -934,6 +955,8 @@ CAccent.prototype.init = function(props)
} }
else if(code === 0x20D0 || type === ACCENT_HALF_ARROW_LEFT) else if(code === 0x20D0 || type === ACCENT_HALF_ARROW_LEFT)
{ {
this.type = ACCENT_HALF_ARROW_LEFT;
glyph = new CCombiningHalfArrow(); glyph = new CCombiningHalfArrow();
props = props =
{ {
...@@ -945,6 +968,8 @@ CAccent.prototype.init = function(props) ...@@ -945,6 +968,8 @@ CAccent.prototype.init = function(props)
} }
else if(code === 0x20D1 || type === ACCENT_HALF_ARROW_RIGHT) else if(code === 0x20D1 || type === ACCENT_HALF_ARROW_RIGHT)
{ {
this.type = ACCENT_HALF_ARROW_RIGHT;
glyph = new CCombiningHalfArrow(); glyph = new CCombiningHalfArrow();
props = props =
{ {
...@@ -957,6 +982,8 @@ CAccent.prototype.init = function(props) ...@@ -957,6 +982,8 @@ CAccent.prototype.init = function(props)
///// group characters ///// ///// group characters /////
else if(code === 0x2190 || type === ARROW_LEFT) else if(code === 0x2190 || type === ARROW_LEFT)
{ {
this.type = ARROW_LEFT;
glyph = new CSingleArrow(); glyph = new CSingleArrow();
props = props =
...@@ -968,6 +995,8 @@ CAccent.prototype.init = function(props) ...@@ -968,6 +995,8 @@ CAccent.prototype.init = function(props)
} }
else if(code === 0x2192 || type === ARROW_RIGHT) else if(code === 0x2192 || type === ARROW_RIGHT)
{ {
this.type = ARROW_RIGHT;
glyph = new CSingleArrow(); glyph = new CSingleArrow();
props = props =
{ {
...@@ -978,6 +1007,8 @@ CAccent.prototype.init = function(props) ...@@ -978,6 +1007,8 @@ CAccent.prototype.init = function(props)
} }
else if(code === 0x2194 || type === ARROW_LR) else if(code === 0x2194 || type === ARROW_LR)
{ {
this.type = ARROW_LR;
glyph = new CLeftRightArrow(); glyph = new CLeftRightArrow();
props = props =
{ {
...@@ -988,6 +1019,8 @@ CAccent.prototype.init = function(props) ...@@ -988,6 +1019,8 @@ CAccent.prototype.init = function(props)
} }
else if(code === 0x21D0 || type === DOUBLE_LEFT_ARROW) else if(code === 0x21D0 || type === DOUBLE_LEFT_ARROW)
{ {
this.type = DOUBLE_LEFT_ARROW;
glyph = new CDoubleArrow(); glyph = new CDoubleArrow();
props = props =
{ {
...@@ -998,6 +1031,8 @@ CAccent.prototype.init = function(props) ...@@ -998,6 +1031,8 @@ CAccent.prototype.init = function(props)
} }
else if(code === 0x21D2 || type === DOUBLE_RIGHT_ARROW) else if(code === 0x21D2 || type === DOUBLE_RIGHT_ARROW)
{ {
this.type = DOUBLE_RIGHT_ARROW;
glyph = new CDoubleArrow(); glyph = new CDoubleArrow();
props = props =
{ {
...@@ -1008,6 +1043,8 @@ CAccent.prototype.init = function(props) ...@@ -1008,6 +1043,8 @@ CAccent.prototype.init = function(props)
} }
else if(code === 0x21D4 || type === DOUBLE_ARROW_LR) else if(code === 0x21D4 || type === DOUBLE_ARROW_LR)
{ {
this.type = DOUBLE_ARROW_LR;
glyph = new CLR_DoubleArrow(); glyph = new CLR_DoubleArrow();
props = props =
{ {
...@@ -1019,6 +1056,7 @@ CAccent.prototype.init = function(props) ...@@ -1019,6 +1056,7 @@ CAccent.prototype.init = function(props)
///// /////
else else
{ {
this.type = ACCENT_SIGN;
accent = new CSign(); accent = new CSign();
var props = var props =
{ {
...@@ -1042,3 +1080,10 @@ CAccent.prototype.getCenter = function() ...@@ -1042,3 +1080,10 @@ CAccent.prototype.getCenter = function()
return center; return center;
} }
CAccent.prototype.getProps = function()
{
var prps = {};
}
This diff is collapsed.
...@@ -78,6 +78,7 @@ var DOUBLE_LEFT_ARROW = 21; ...@@ -78,6 +78,7 @@ var DOUBLE_LEFT_ARROW = 21;
var DOUBLE_RIGHT_ARROW = 22; var DOUBLE_RIGHT_ARROW = 22;
var DOUBLE_ARROW_LR = 23; var DOUBLE_ARROW_LR = 23;
var TURN_0 = 0; var TURN_0 = 0;
var TURN_180 = 1; var TURN_180 = 1;
var TURN_MIRROR_0 = 2; var TURN_MIRROR_0 = 2;
...@@ -108,7 +109,7 @@ var ACCENT_ARROW_RIGHT = 15; ...@@ -108,7 +109,7 @@ var ACCENT_ARROW_RIGHT = 15;
var ACCENT_ARROW_LR = 16; var ACCENT_ARROW_LR = 16;
var ACCENT_HALF_ARROW_LEFT = 17; var ACCENT_HALF_ARROW_LEFT = 17;
var ACCENT_HALF_ARROW_RIGHT = 18; var ACCENT_HALF_ARROW_RIGHT = 18;
var ACCENT_TEXT = 19; var ACCENT_SIGN = 19;
var BASEJC_CENTER = 0; var BASEJC_CENTER = 0;
var BASEJC_TOP = 1; var BASEJC_TOP = 1;
......
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