Commit be8ad3f6 authored by Sergey Luzyanin's avatar Sergey Luzyanin

correct transparent at opening file

parent 5e2b0512
...@@ -7690,8 +7690,12 @@ function Binary_rPrReader(doc, oReadResult, stream) ...@@ -7690,8 +7690,12 @@ function Binary_rPrReader(doc, oReadResult, stream)
case c_oSerProp_rPrType.TextFill: case c_oSerProp_rPrType.TextFill:
if(length > 0){ if(length > 0){
var TextFill = pptx_content_loader.ReadShapeProperty(this.stream, 1); var TextFill = pptx_content_loader.ReadShapeProperty(this.stream, 1);
if(null != TextFill) if(null != TextFill){
rPr.TextFill = TextFill; rPr.TextFill = TextFill;
if(null != TextFill.transparent){
TextFill.transparent = 255 - TextFill.transparent;
}
}
} }
else else
res = c_oSerConstants.ReadUnknown; res = c_oSerConstants.ReadUnknown;
......
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