Commit 426fe3d1 authored by Sergey Luzyanin's avatar Sergey Luzyanin

Вставляем картинку с залоченым авпектом по умолчанию.

Поправил падение в билдере.
parent b6c461a6
...@@ -88,6 +88,7 @@ var DISTANCE_TO_TEXT_LEFTRIGHT = 3.2; ...@@ -88,6 +88,7 @@ var DISTANCE_TO_TEXT_LEFTRIGHT = 3.2;
blip_fill.setStretch(true); blip_fill.setStretch(true);
image.setBlipFill(blip_fill); image.setBlipFill(blip_fill);
image.setNvPicPr(new AscFormat.UniNvPr()); image.setNvPicPr(new AscFormat.UniNvPr());
image.setNoChangeAspect(true);
image.setBDeleted(false); image.setBDeleted(false);
} }
......
...@@ -909,7 +909,7 @@ ...@@ -909,7 +909,7 @@
{ {
return new ApiStroke(AscFormat.CreateNoFillLine()); return new ApiStroke(AscFormat.CreateNoFillLine());
} }
var oLn = new CLn(); var oLn = new AscFormat.CLn();
oLn.w = nWidth; oLn.w = nWidth;
oLn.Fill = oFill.UniFill; oLn.Fill = oFill.UniFill;
return new ApiStroke(oLn); return new ApiStroke(oLn);
......
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