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

Убрала лишние файлы для Math

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@55548 954022d7-b5bf-4e40-9824-e11837661b57
parent 5b447580
......@@ -601,9 +601,9 @@ function CDegreeSubSup()
this.gapBase = 0;
this.type = DEGREE_SubSup;
this.alnScr = false; // не выровнены, итераторы идут в соответствии с наклоном буквы/мат. объекта
CSubMathBase.call(this);
CMathBase.call(this);
}
extend(CDegreeSubSup, CSubMathBase);
extend(CDegreeSubSup, CMathBase);
CDegreeSubSup.prototype.init = function(props)
{
if(props.alnScr === true || props.alnScr === 1)
......
......@@ -823,8 +823,6 @@ CMPrp.prototype =
//сделать, чтобы курсор выставлялся только, где это действительно необходимо
//в качетве позиции для контента передавать положение baseLine для него
//TODO
//пересмотреть/убрать CSubMathBase
......
......@@ -160,4 +160,16 @@ var BREAK_REPEAT = 2;
var BREAK_MIN_MIN = 0;
var BREAK_PLUS_MIN = 1;
var BREAK_MIN_PLUS = 2;
\ No newline at end of file
var BREAK_MIN_PLUS = 2;
var extend = function(Child, Parent)
{
var F = function() { };
F.prototype = Parent.prototype;
Child.prototype = new F();
Child.prototype.constructor = Child;
Child.superclass = Parent.prototype;
}
\ No newline at end of file
......@@ -20,10 +20,9 @@ function CNary()
this.grow = false;
this.supHide = false;
this.subHide = false;
//this.limLoc = NARY_UndOvr;
CSubMathBase.call(this);
CMathBase.call(this);
}
extend(CNary, CSubMathBase);
extend(CNary, CMathBase);
CNary.prototype.init = function(props)
{
if(props.supHide === true || props.supHide === 1)
......
......@@ -3182,9 +3182,9 @@ function CDelimiter()
this.column = 0;
////
CSubMathBase.call(this);
CMathBase.call(this);
}
extend(CDelimiter, CSubMathBase);
extend(CDelimiter, CMathBase);
CDelimiter.prototype.init = function(props)
{
if(props.grow == true || props.grow == 1)
......@@ -3846,9 +3846,9 @@ CDelimiter.prototype.getPropsForWrite = function()
function CCharacter()
{
this.operator = new COperator(OPER_GROUP_CHAR);
CSubMathBase.call(this);
CMathBase.call(this);
}
extend(CCharacter, CSubMathBase);
extend(CCharacter, CMathBase);
CCharacter.prototype.setCharacter = function(props, defaultProps)
{
this.operator.init(props, defaultProps);
......
......@@ -174,12 +174,12 @@
<script type="text/javascript" src="../Excel/graphics/DrawingContextWord.js"></script>
<script type="text/javascript" src="Math/mathTypes.js"></script>
<script type="text/javascript" src="Math/print.js"></script>
<!--<script type="text/javascript" src="Math/print.js"></script>-->
<script type="text/javascript" src="Math/mathText.js"></script>
<script type="text/javascript" src="Math/mathContent.js"></script>
<script type="text/javascript" src="Math/actions.js"></script>
<!--<script type="text/javascript" src="Math/actions.js"></script>-->
<script type="text/javascript" src="Math/base.js"></script>
<script type="text/javascript" src="Math/subBase.js"></script>
<!--<script type="text/javascript" src="Math/subBase.js"></script>-->
<script type="text/javascript" src="Math/fraction.js"></script>
<script type="text/javascript" src="Math/degree.js"></script>
<script type="text/javascript" src="Math/matrix.js"></script>
......@@ -188,9 +188,9 @@
<script type="text/javascript" src="Math/radical.js"></script>
<script type="text/javascript" src="Math/operators.js"></script>
<script type="text/javascript" src="Math/accent.js"></script>
<script type="text/javascript" src="Math/drawingUnion.js"></script>
<!--<script type="text/javascript" src="Math/drawingUnion.js"></script>-->
<script type="text/javascript" src="Math/borderBox.js"></script>
<script type="text/javascript" src="Math/test_composition.js"></script>
<!--script type="text/javascript" src="Math/test_composition.js"></script>-->
</head>
<body id="id_body" class="block_elem" style="-moz-user-select:none;-khtml-user-select:none;user-select:none;width:100%;height:100%;background-color:#B0B0B0;overflow:hidden;position:fixed;" UNSELECTABLE="on">
......
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