Commit d9e1d9b2 authored by Alexey Golubev's avatar Alexey Golubev Committed by GitHub

Merge pull request #198 from ONLYOFFICE/feature/ios-serialize

up
parents 73eb2191 1f58dd17
...@@ -422,7 +422,7 @@ function asc_menu_WriteAscFill_grad(_type, _fill, _stream){ ...@@ -422,7 +422,7 @@ function asc_menu_WriteAscFill_grad(_type, _fill, _stream){
if (_fill.Positions[i] !== undefined && _fill.Positions[i] !== null) if (_fill.Positions[i] !== undefined && _fill.Positions[i] !== null)
{ {
_stream["WriteByte"](1); _stream["WriteByte"](1);
_stream["WriteDouble2"](_fill.Positions[i]); _stream["WriteLong"](_fill.Positions[i]);
} }
_stream["WriteByte"](255); _stream["WriteByte"](255);
...@@ -577,17 +577,17 @@ function asc_menu_WriteAscFill(_type, _fill, _stream){ ...@@ -577,17 +577,17 @@ function asc_menu_WriteAscFill(_type, _fill, _stream){
} }
case Asc.c_oAscFill.FILL_TYPE_PATT: case Asc.c_oAscFill.FILL_TYPE_PATT:
{ {
_fill.fill = asc_menu_ReadAscFill_patt(1, _fill.fill, _stream); _fill.fill = asc_menu_WriteAscFill_patt(1, _fill.fill, _stream);
break; break;
} }
case Asc.c_oAscFill.FILL_TYPE_GRAD: case Asc.c_oAscFill.FILL_TYPE_GRAD:
{ {
_fill.fill = asc_menu_ReadAscFill_grad(1, _fill.fill, _stream); _fill.fill = asc_menu_WriteAscFill_grad(1, _fill.fill, _stream);
break; break;
} }
case Asc.c_oAscFill.FILL_TYPE_BLIP: case Asc.c_oAscFill.FILL_TYPE_BLIP:
{ {
_fill.fill = asc_menu_ReadAscFill_blip(1, _fill.fill, _stream); _fill.fill = asc_menu_WriteAscFill_blip(1, _fill.fill, _stream);
break; break;
} }
default: default:
......
...@@ -3828,7 +3828,7 @@ function asc_menu_WriteAscFill_grad(_type, _fill, _stream) ...@@ -3828,7 +3828,7 @@ function asc_menu_WriteAscFill_grad(_type, _fill, _stream)
if (_fill.Positions[i] !== undefined && _fill.Positions[i] !== null) if (_fill.Positions[i] !== undefined && _fill.Positions[i] !== null)
{ {
_stream["WriteByte"](1); _stream["WriteByte"](1);
_stream["WriteDouble2"](_fill.Positions[i]); _stream["WriteLong"](_fill.Positions[i]);
} }
_stream["WriteByte"](255); _stream["WriteByte"](255);
...@@ -3988,17 +3988,17 @@ function asc_menu_WriteAscFill(_type, _fill, _stream) ...@@ -3988,17 +3988,17 @@ function asc_menu_WriteAscFill(_type, _fill, _stream)
} }
case Asc.c_oAscFill.FILL_TYPE_PATT: case Asc.c_oAscFill.FILL_TYPE_PATT:
{ {
_fill.fill = asc_menu_ReadAscFill_patt(1, _fill.fill, _stream); _fill.fill = asc_menu_WriteAscFill_patt(1, _fill.fill, _stream);
break; break;
} }
case Asc.c_oAscFill.FILL_TYPE_GRAD: case Asc.c_oAscFill.FILL_TYPE_GRAD:
{ {
_fill.fill = asc_menu_ReadAscFill_grad(1, _fill.fill, _stream); _fill.fill = asc_menu_WriteAscFill_grad(1, _fill.fill, _stream);
break; break;
} }
case Asc.c_oAscFill.FILL_TYPE_BLIP: case Asc.c_oAscFill.FILL_TYPE_BLIP:
{ {
_fill.fill = asc_menu_ReadAscFill_blip(1, _fill.fill, _stream); _fill.fill = asc_menu_WriteAscFill_blip(1, _fill.fill, _stream);
break; break;
} }
default: default:
......
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