Commit d7cdc5e7 authored by Sergey.Luzyanin's avatar Sergey.Luzyanin Committed by Alexander.Trofimov

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@52136 954022d7-b5bf-4e40-9824-e11837661b57
parent 7acc4274
......@@ -5501,7 +5501,7 @@ function readFromBinaryParagraph(p, r)
function writeToBinaryParagraphContent(Element, w)
{
var ElementType = Element.Type;
// w.WriteLong(ElementType);
// w.WriteLong(ElementType);
switch ( ElementType )
{
case para_TextPr :
......@@ -5511,6 +5511,14 @@ function writeToBinaryParagraphContent(Element, w)
Element.Value.Write_ToBinary(w);
break;
}
case para_HyperlinkStart:
{
w.WriteLong( Element.Type );
w.WriteString2( Element.Id );
w.WriteString2( Element.Value );
w.WriteString2( Element.ToolTip );
break;
}
case para_Text :
case para_Space :
case para_End :
......@@ -5549,6 +5557,14 @@ function readFromBinaryParagraphContent(r)
Element.Value.Read_FromBinary(r);
return Element;
}
case para_HyperlinkStart:
{
Element = new ParaHyperlinkStart();
Element.Id = r.GetString2();
Element.Value = r.GetString2();
Element.ToolTip = r.GetString2();
return Element;
}
case para_Text : Element = new ParaText(); break;
case para_Space : Element = new ParaSpace(); break;
case para_End : Element = new ParaEnd(); break;
......@@ -5573,6 +5589,7 @@ function readFromBinaryParagraphContent(r)
return Element;
}
function CreateParagraphContent(s)
{
if(s != " ")
......
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