Commit 3a7c0e91 authored by SergeyLuzyanin's avatar SergeyLuzyanin

runPr parsing

parent 1afe82f7
...@@ -6159,8 +6159,15 @@ PasteProcessor.prototype = ...@@ -6159,8 +6159,15 @@ PasteProcessor.prototype =
var color = computedStyle.getPropertyValue( "color" ); var color = computedStyle.getPropertyValue( "color" );
if(color && (color = this._ParseColor(color))) if(color && (color = this._ParseColor(color)))
{ {
if(PasteElementsId.g_bIsDocumentCopyPaste){
rPr.Color = color; rPr.Color = color;
} }
else{
if(color){
rPr.Unifill = AscFormat.CreateUnfilFromRGB(color.r, color.g, color.b);
}
}
}
var spacing = computedStyle.getPropertyValue( "letter-spacing" ); var spacing = computedStyle.getPropertyValue( "letter-spacing" );
if(spacing && null != (spacing = this._ValueToMm(spacing))) if(spacing && null != (spacing = this._ValueToMm(spacing)))
......
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