Commit b0ec4a0b authored by SergeyLuzyanin's avatar SergeyLuzyanin

remove hidden objects

parent 4ed32747
...@@ -6627,7 +6627,9 @@ ...@@ -6627,7 +6627,9 @@
// res = c_oSerConstants.ReadUnknown; // res = c_oSerConstants.ReadUnknown;
var oGraphicObject = pptx_content_loader.ReadGraphicObject(this.stream, this.curWorksheet); var oGraphicObject = pptx_content_loader.ReadGraphicObject(this.stream, this.curWorksheet);
if(null != oGraphicObject && !((oGraphicObject.getObjectType() === AscDFH.historyitem_type_Shape || oGraphicObject.getObjectType() === AscDFH.historyitem_type_ImageShape) && !oGraphicObject.spPr)) if(null != oGraphicObject
&& !((oGraphicObject.getObjectType() === AscDFH.historyitem_type_Shape || oGraphicObject.getObjectType() === AscDFH.historyitem_type_ImageShape) && !oGraphicObject.spPr)
&& !AscCommon.IsHiddenObj(oGraphicObject))
{ {
oDrawing.graphicObject = oGraphicObject; oDrawing.graphicObject = oGraphicObject;
//TODO при copy/paste в word из excel пропадает метод setDrawingBase //TODO при copy/paste в word из excel пропадает метод setDrawingBase
......
...@@ -9900,5 +9900,6 @@ function CPres() ...@@ -9900,5 +9900,6 @@ function CPres()
window['AscCommon'].c_dScalePPTXSizes = c_dScalePPTXSizes; window['AscCommon'].c_dScalePPTXSizes = c_dScalePPTXSizes;
window['AscCommon'].CBuilderImages = CBuilderImages; window['AscCommon'].CBuilderImages = CBuilderImages;
window['AscCommon'].BinaryPPTYLoader = BinaryPPTYLoader; window['AscCommon'].BinaryPPTYLoader = BinaryPPTYLoader;
window['AscCommon'].IsHiddenObj = IsHiddenObj;
window['AscCommon'].pptx_content_loader = new CPPTXContentLoader(); window['AscCommon'].pptx_content_loader = new CPPTXContentLoader();
})(window); })(window);
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