mirror of
https://github.com/ONLYOFFICE/sdkjs.git
synced 2026-04-07 14:09:12 +08:00
Fix bug #73339
Copy border color and shd color when duplicating content control
This commit is contained in:
@ -1504,6 +1504,12 @@ CBlockLevelSdt.prototype.SetPr = function(oPr)
|
||||
|
||||
if (undefined !== oPr.DataBinding)
|
||||
this.setDataBinding(oPr.DataBinding);
|
||||
|
||||
if (oPr.BorderColor)
|
||||
this.setBorderColor(oPr.BorderColor.Copy());
|
||||
|
||||
if (oPr.ShdColor)
|
||||
this.setShdColor(oPr.ShdColor.Copy());
|
||||
};
|
||||
/**
|
||||
* Выставляем настройки текста по умолчанию для данного контрола
|
||||
|
||||
@ -281,6 +281,12 @@ CInlineLevelSdt.prototype.private_CopyPrTo = function(oContentControl, oPr)
|
||||
|
||||
if (this.Pr.ComplexFormPr)
|
||||
oContentControl.SetComplexFormPr(this.Pr.ComplexFormPr);
|
||||
|
||||
if (this.Pr.BorderColor)
|
||||
oContentControl.setBorderColor(this.Pr.BorderColor.Copy());
|
||||
|
||||
if (this.Pr.ShdColor)
|
||||
oContentControl.setShdColor(this.Pr.ShdColor.Copy());
|
||||
};
|
||||
CInlineLevelSdt.prototype.GetSelectedContent = function(selectedContent)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user