PPTXPicture.cs 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. using System.Xml.Serialization;
  5. namespace TEAMModelOS.SDK.Module.PowerPointX.Model
  6. {
  7. public class PPTXPicture : PPTXPosition
  8. {
  9. //类型
  10. public string Type { get; set; } = "Picture";
  11. //base64编码信息
  12. public string Data { get; set; }
  13. //填充颜色
  14. public string FillColor { get; set; }
  15. //轮廓颜色
  16. public string LineColor { get; set; }
  17. //效果颜色
  18. public string EffectColor { get; set; }
  19. /*
  20. * [DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Drawing.NoFill))]
  21. [DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Drawing.SolidFill))]
  22. [DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Drawing.GradientFill))]
  23. [DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Drawing.BlipFill))]
  24. [DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Drawing.PatternFill))]
  25. [DocumentFormat.OpenXml.ChildElementInfo(typeof(DocumentFormat.OpenXml.Drawing.GroupFill))]
  26. * blipFill (图片填充) §20.1.8.14
  27. gradFill (渐变填充) §20.1.8.33
  28. grpFill (组填充) §20.1.8.35
  29. noFill (无填充) §20.1.8.44
  30. pattFill (图案填充) §20.1.8.47
  31. solidFill (纯色填充)
  32. 45*240
  33. 42*175
  34. 60*55
  35. 65*90
  36. */
  37. }
  38. }