internal ExcelDrawingFill(IPictureRelationDocument pictureRelationDocument, XmlNamespaceManager nameSpaceManager, XmlNode topNode, string fillPath, string[] schemaNodeOrder) : base(pictureRelationDocument.Package, nameSpaceManager, topNode, fillPath, schemaNodeOrder, false) { _pictureRelationDocument = pictureRelationDocument; if (_fillNode != null) { LoadFill(); } }
internal ExcelTextFont(IPictureRelationDocument pictureRelationDocument, XmlNamespaceManager namespaceManager, XmlNode rootNode, string path, string[] schemaNodeOrder, Action initXml = null) : base(namespaceManager, rootNode) { AddSchemaNodeOrder(schemaNodeOrder, new string[] { "bodyPr", "lstStyle", "p", "pPr", "defRPr", "solidFill", "highlight", "uFill", "latin", "ea", "cs", "sym", "hlinkClick", "hlinkMouseOver", "rtl", "r", "rPr", "t" }); _rootNode = rootNode; _pictureRelationDocument = pictureRelationDocument; _initXml = initXml; if (path != "") { XmlNode node = rootNode.SelectSingleNode(path, namespaceManager); if (node != null) { TopNode = node; } } _path = path; }
internal ExcelChartStyleEntry(XmlNamespaceManager nsm, XmlNode topNode, string path, IPictureRelationDocument pictureRelationDocument) : base(nsm, topNode) { SchemaNodeOrder = new string[] { "lnRef", "fillRef", "effectRef", "fontRef", "spPr", "noFill", "solidFill", "blipFill", "gradFill", "noFill", "pattFill", "ln", "defRPr" }; _fillReferencePath = string.Format(_fillReferencePath, path); _borderReferencePath = string.Format(_borderReferencePath, path); _effectReferencePath = string.Format(_effectReferencePath, path); _fontReferencePath = string.Format(_fontReferencePath, path); _fillPath = string.Format(_fillPath, path); _borderPath = string.Format(_borderPath, path); _effectPath = string.Format(_effectPath, path); _scene3DPath = string.Format(_scene3DPath, path); _sp3DPath = string.Format(_sp3DPath, path); _defaultTextRunPath = string.Format(_defaultTextRunPath, path); _defaultTextBodyPath = string.Format(_defaultTextBodyPath, path); _pictureRelationDocument = pictureRelationDocument; }
internal ExcelDrawingBorder(IPictureRelationDocument pictureRelationDocument, XmlNamespaceManager nameSpaceManager, XmlNode topNode, string linePath, string[] schemaNodeOrder) : base(nameSpaceManager, topNode) { AddSchemaNodeOrder(schemaNodeOrder, new string[] { "noFill", "solidFill", "gradFill", "pattFill", "prstDash", "custDash", "round", "bevel", "miter", "headEnd", "tailEnd" }); _linePath = linePath; _lineStylePath = string.Format(_lineStylePath, linePath); _lineCapPath = string.Format(_lineCapPath, linePath); _lineWidth = string.Format(_lineWidth, linePath); _bevelPath = string.Format(_bevelPath, linePath); _roundPath = string.Format(_roundPath, linePath); _miterPath = string.Format(_miterPath, linePath); _miterJoinLimitPath = string.Format(_miterJoinLimitPath, linePath); _headEndPath = string.Format(_headEndPath, linePath); _tailEndPath = string.Format(_tailEndPath, linePath); _compoundLineTypePath = string.Format(_compoundLineTypePath, linePath); _alignmentPath = string.Format(_alignmentPath, linePath); _pictureRelationDocument = pictureRelationDocument; }
internal ExcelDrawingEffectStyle(IPictureRelationDocument pictureRelationDocument, XmlNamespaceManager nameSpaceManager, XmlNode topNode, string path, string[] schemaNodeOrder) : base(nameSpaceManager, topNode) { _path = path; if (path.Length > 0 && !path.EndsWith("/")) { path += "/"; } _softEdgeRadiusPath = string.Format(_softEdgeRadiusPath, path); _blurPath = string.Format(_blurPath, path); _fillOverlayPath = string.Format(_fillOverlayPath, path); _glowPath = string.Format(_glowPath, path); _innerShadowPath = string.Format(_innerShadowPath, path); _outerShadowPath = string.Format(_outerShadowPath, path); _presetShadowPath = string.Format(_presetShadowPath, path); _reflectionPath = string.Format(_reflectionPath, path); _pictureRelationDocument = pictureRelationDocument; AddSchemaNodeOrder(schemaNodeOrder, ExcelShapeBase._shapeNodeOrder); }
internal ExcelDrawingFillOverlayEffect(IPictureRelationDocument pictureRelationDocument, XmlNamespaceManager nameSpaceManager, XmlNode topNode, string[] schemaNodeOrder, string path) : base(nameSpaceManager, topNode, schemaNodeOrder, path) { _pictureRelationDocument = pictureRelationDocument; }
internal ExcelDrawingBlipFill(IPictureRelationDocument pictureRelationDocument, XmlNamespaceManager nsm, XmlNode topNode, string fillPath, string[] schemaNodeOrder) : base(nsm, topNode, fillPath) { _schemaNodeOrder = schemaNodeOrder; _pictureRelationDocument = pictureRelationDocument; GetXml(); }
internal ExcelParagraph(IPictureRelationDocument pictureRelationDocument, XmlNamespaceManager ns, XmlNode rootNode, string path, string[] schemaNodeOrder) : base(pictureRelationDocument, ns, rootNode, path + "a:rPr", schemaNodeOrder) { }