PPTXContainer.cs 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683
  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 PPTXContainer : PPTXPosition
  8. {
  9. public PPTXContainer() {
  10. Paragraphs = new List<PPTXParagraph>();
  11. Paths = new List<PPTXPath>();
  12. ShapeGuides = new List<PPTXShapeGuide>();
  13. }
  14. /// <summary>
  15. /// p:sp
  16. /// </summary>
  17. public string Type { get; set; }
  18. //文字排版 横版horz 垂直vert
  19. public string TextLayout { get; set; } = "horz";
  20. //图形是否闭合
  21. public bool Close { get; set; } = false;
  22. public List<PPTXParagraph> Paragraphs{ get; set; }
  23. public List<PPTXPath> Paths { get; set; }
  24. //容器填充颜色
  25. public string FillColor { get; set; }
  26. //是否有填充色
  27. public bool Fill { get; set; } = true;
  28. //轮廓填充
  29. public string LineColor { get; set; }
  30. //效果填充
  31. public string EffectColor { get; set; }
  32. /// <summary>
  33. /// 换行
  34. /// </summary>
  35. public string Wrap { get; set; } = "none"; //默认不换行
  36. //Top Center Bottom
  37. public string Align { get; set; } = "Center";
  38. public List<PPTXShapeGuide> ShapeGuides { get; set; }
  39. }
  40. public class PPTXShapeGuide
  41. {
  42. public string Name { get; set; }
  43. public string Fmla { get; set; }
  44. }
  45. public class PPTXParagraph
  46. {
  47. public PPTXParagraph() {
  48. Texts = new List<PPTXText>();
  49. }
  50. public List<PPTXText> Texts { get; set; }
  51. }
  52. public abstract class PPTXPath
  53. {
  54. public string Type { get; set; }
  55. }
  56. //public abstract class PPTXClosePath :PPTXPath
  57. //{
  58. // public bool Close { get; set; } = false;
  59. //}
  60. /// <summary>
  61. /// 起点 <a:moveTo>
  62. /// </summary>
  63. public class PPTXMoveToPath : PPTXPath
  64. {
  65. public PPTXMoveToPath()
  66. {
  67. Pts = new List<Point> { };
  68. }
  69. public List<Point> Pts { get; set; }
  70. }
  71. /// <summary>
  72. /// 弧形 <a:arcTo>
  73. /// </summary>
  74. public class PPTXArcToPath : PPTXPath
  75. {
  76. public string WidthRadius { get; set; }
  77. public string HeightRadius { get; set; }
  78. public string StartAngle { get; set; }
  79. public string SwingAngle { get; set; }
  80. }
  81. /// <summary>
  82. /// 画线 <a:lnTo>
  83. /// </summary>
  84. public class PPTXLineToPath : PPTXPath
  85. {
  86. public PPTXLineToPath()
  87. {
  88. Pts = new List<Point> { };
  89. }
  90. public List<Point> Pts { get; set; }
  91. }
  92. /// <summary>
  93. /// 三次贝塞尔曲线<a:cubicBezTo>
  94. /// </summary>
  95. public class PPTXCubicBezPath : PPTXPath
  96. {
  97. public PPTXCubicBezPath()
  98. {
  99. Pts = new List<Point> { };
  100. }
  101. public List<Point> Pts { get; set; }
  102. }/// <summary>
  103. /// 二次贝塞尔曲线 <a:quadBezTo>
  104. /// </summary>
  105. public class PPTXQuadBezPath : PPTXPath
  106. {
  107. public PPTXQuadBezPath()
  108. {
  109. Pts = new List<Point> { };
  110. }
  111. public List<Point> Pts { get; set; }
  112. }
  113. public class Point{
  114. public double X { get; set; }
  115. public double Y { get; set; }
  116. }
  117. }
  118. /**
  119. *
  120. *
  121. accentBorderCallout1线形标注 1(带边框和强调线)
  122. accentBorderCallout2线形标注 2(带边框和强调线)
  123. accentBorderCallout3线形标注 3(带边框和强调线)
  124. accentCallout1线形标注 1(带强调线)
  125. accentCallout2线形标注 2(带强调线)
  126. accentCallout3线形标注 3(带强调线)
  127. actionButtonBackPrevious
  128. actionButtonBeginning
  129. actionButtonBlank
  130. actionButtonDocument
  131. actionButtonEnd
  132. actionButtonForwardNext
  133. actionButtonHelp
  134. actionButtonHome
  135. actionButtonInformation
  136. actionButtonMovie
  137. actionButtonReturn
  138. actionButtonSound
  139. arc 弧形 圆弧 弧线
  140. <p:spPr>
  141. <a:xfrm>
  142. <a:off x="3501081" y="2183027"/>
  143. <a:ext cx="914400" cy="922638"/>
  144. </a:xfrm>
  145. <a:prstGeom prst="arc">
  146. <a:avLst>
  147. <a:gd name="adj1" fmla="val 16200000"/>起点 270°
  148. <a:gd name="adj2" fmla="val 5400000"/> 终点 90°
  149. </a:avLst>
  150. </a:prstGeom>
  151. </p:spPr>
  152. bentArrow圆角右箭头
  153. bentConnector2
  154. bentConnector3肘形连接符
  155. bentConnector4
  156. bentConnector5
  157. bentUpArrow直角上箭头
  158. bevel //棱台 TODO
  159. <p:spPr>
  160. <a:xfrm>
  161. <a:off x="7946899" y="367284"/>
  162. <a:ext cx="1042416" cy="1042416"/>
  163. </a:xfrm>
  164. <a:prstGeom prst="bevel">
  165. <a:avLst>
  166. <a:gd name="adj" fmla="val 27120"/>
  167. </a:avLst>
  168. </a:prstGeom>
  169. </p:spPr>
  170. blockArc 空心弧 TODO
  171. <p:spPr>
  172. <a:xfrm>
  173. <a:off x="9140764" y="176212"/>
  174. <a:ext cx="914400" cy="914400"/>
  175. </a:xfrm>
  176. <a:prstGeom prst="blockArc">
  177. <a:avLst>
  178. <a:gd name="adj1" fmla="val 10800000"/> 起点180°
  179. <a:gd name="adj2" fmla="val 5073580"/> 终点正的84.55966666666667°
  180. <a:gd name="adj3" fmla="val 28026"/> 最小半径 外圆- 内圆 半径
  181. </a:avLst>
  182. </a:prstGeom>
  183. </p:spPr>
  184. borderCallout1线形标注 1
  185. borderCallout2线形标注 2
  186. borderCallout3线形标注 3
  187. bracePair
  188. bracketPair
  189. callout1线形标注 1(无边框)
  190. callout2线形标注 2(无边框)
  191. callout3线形标注 3(无边框)
  192. can //圆柱型 TODO暂不解析
  193. <p:spPr>
  194. <a:xfrm>
  195. <a:off x="5674519" y="3104293"/>
  196. <a:ext cx="914400" cy="1216152"/>
  197. </a:xfrm>
  198. <a:prstGeom prst="can">
  199. <a:avLst>
  200. <a:gd name="adj" fmla="val 57292"/>
  201. </a:avLst>
  202. </a:prstGeom>
  203. </p:spPr>
  204. chartPlus
  205. chartStar
  206. chartX
  207. chevron燕尾形 长:3:1 左边缺一个单位的三角形 右边多一个单位三角形
  208. chord 弦形
  209. <p:nvSpPr>
  210. <p:cNvPr id="2" name="弦形 1"/>
  211. <p:cNvSpPr/>
  212. <p:nvPr/>
  213. </p:nvSpPr>
  214. <p:spPr>
  215. <a:xfrm>
  216. <a:off x="3220995" y="2413686"/>
  217. <a:ext cx="914400" cy="914400"/>
  218. </a:xfrm>
  219. <a:prstGeom prst="chord">
  220. <a:avLst> 默认16200000 ---> 0
  221. <a:gd name="adj1" fmla="val 21566571"/> start 弧度:x=adj1/21600000*360
  222. <a:gd name="adj2" fmla="val 16200000"/> end 弧度:x=adj2/21600000*360
  223. </a:avLst>
  224. </a:prstGeom>
  225. </p:spPr>
  226. circularArrow环形箭头
  227. cloud 云形 宽高比例拉伸
  228. cloudCallout云形标注
  229. corner
  230. L 形
  231. <p:spPr>
  232. <a:xfrm>
  233. <a:off x="7554097" y="4349578"/>
  234. <a:ext cx="914400" cy="914400"/>
  235. </a:xfrm>
  236. <a:prstGeom prst="corner">
  237. <a:avLst>
  238. <a:gd name="adj1" fmla="val 35586"/>
  239. <a:gd name="adj2" fmla="val 100000"/> 百分比 默认 50000 50000
  240. </a:avLst>
  241. </a:prstGeom>
  242. </p:spPr>
  243. cornerTabs
  244. cube //立方体 TODO
  245. <p:spPr>
  246. <a:xfrm>
  247. <a:off x="4369594" y="4838700"/>
  248. <a:ext cx="1304925" cy="1530477"/>
  249. </a:xfrm>
  250. <a:prstGeom prst="cube">
  251. <a:avLst>
  252. <a:gd name="adj" fmla="val 50995"/> 初步对角线比例
  253. </a:avLst>
  254. </a:prstGeom>
  255. </p:spPr>
  256. curvedConnector2
  257. curvedConnector3曲线连接符
  258. curvedConnector4
  259. curvedConnector5
  260. curvedDownArrow上弧形箭头 弧形向上 箭头右下
  261. curvedLeftArrow右弧形箭头 弧形向右 箭头向左下
  262. curvedRightArrow左弧形箭头 弧形向左 箭头向右下
  263. curvedUpArrow下弧形箭头 弧形向下 箭头右上
  264. decagon //十边形
  265. diagStripe//斜纹 斜梯形
  266. <p:spPr>
  267. <a:xfrm>
  268. <a:off x="3340227" y="4895850"/>
  269. <a:ext cx="914400" cy="914400"/>
  270. </a:xfrm>
  271. <a:prstGeom prst="diagStripe">
  272. <a:avLst>
  273. <a:gd name="adj" fmla="val 19792"/> 最小宽度的比例
  274. </a:avLst>
  275. </a:prstGeom>
  276. </p:spPr>
  277. diamond //菱形
  278. dodecagon//十二边形
  279. donut //同心圆 TODO
  280. <p:spPr>
  281. <a:xfrm>
  282. <a:off x="5692346" y="4011827"/>
  283. <a:ext cx="914400" cy="914400"/>
  284. </a:xfrm>
  285. <a:prstGeom prst="donut">
  286. <a:avLst>
  287. <a:gd name="adj" fmla="val 49874"/> 半径比例 最小半径-val 得到内圆 外圆-内圆
  288. </a:avLst>
  289. </a:prstGeom>
  290. </p:spPr>
  291. doubleWave双波形
  292. downArrow 下箭头
  293. downArrowCallout下箭头标注
  294. ellipse //椭圆或者圆形
  295. ellipseRibbon前凸弯带形
  296. ellipseRibbon2上凸弯带形 8
  297. flowChartAlternateProcess 可选过程 圆角矩形
  298. flowChartCollate对照 长宽2:1 两个等腰三角形 上下尖对尖
  299. flowChartConnector接点 原型
  300. flowChartDecision 决策 菱形
  301. flowChartDelay 延期正方形右侧多个半圆
  302. flowChartDisplay显示 正方形 左侧1/4高度等腰三角形 1/4右侧弧形
  303. flowChartDocument 文档 矩形 下面部分波浪
  304. flowChartExtract摘录 正方形里面的等腰三角形 向上
  305. flowChartInputOutput 数据 平行四边形
  306. flowChartInternalStorage 内部贮存 左上角横竖各一条线
  307. flowChartMagneticDisk 磁盘 圆柱体 向上 宽高 2:1 压扁
  308. flowChartMagneticDrum直接访问存储器 圆柱体 平躺 宽高 2:1 拉长
  309. flowChartMagneticTape顺序访问存储器 圆形 小猪佩奇 下面多个矩形
  310. flowChartManualInput 手动输入 矩形 上面部分向左倾斜一点 倾斜高度四分之一
  311. flowChartManualOperation 手动操作 倒等腰梯形
  312. flowChartMerge 合并 正方形里面的等腰三角形 向下
  313. flowChartMultidocument 多文档 3个矩形 下面部分波浪 叠加
  314. flowChartOfflineStorage
  315. flowChartOffpageConnector 离页连接符 正方形 左下角右下角各缺角一边高度为四分之一,一边长为一半的的三角形
  316. flowChartOnlineStorage存储数据 矩形 左侧多个半圆 右侧缺半圆
  317. flowChartOr或者 圆形经过圆形 两条横竖交叉的直线
  318. flowChartPredefinedProcess 预定义过程 矩形 左右部分各有一条竖线
  319. flowChartPreparation 准备 六边形 上下被压缩变长2倍边
  320. flowChartProcess 流程图 矩形
  321. flowChartPunchedCard 卡片 矩形右上角剪角最小宽度的1/4的三角形
  322. flowChartPunchedTape 资料带 波浪形
  323. flowChartSort 排序 两个等腰三角形 背对背 长宽2:1
  324. flowChartSummingJunction汇总连接 圆形经过圆形 两条斜交叉的直线
  325. flowChartTerminator 终止 最小边半径圆角矩形
  326. folderCorner
  327. frame
  328. 图文框框
  329. <p:spPr>
  330. <a:xfrm>
  331. <a:off x="5585255" y="733167"/>
  332. <a:ext cx="914400" cy="914400"/>
  333. </a:xfrm>
  334. <a:prstGeom prst="frame">
  335. <a:avLst>
  336. <a:gd name="adj1" fmla="val 14302"/>
  337. </a:avLst>
  338. </a:prstGeom>
  339. </p:spPr>
  340. funnel
  341. gear6
  342. gear9
  343. halfFrame 半闭框
  344. <p:spPr>
  345. <a:xfrm>
  346. <a:off x="3023286" y="3797643"/>
  347. <a:ext cx="914400" cy="914400"/>
  348. </a:xfrm>
  349. <a:prstGeom prst="halfFrame">
  350. <a:avLst>
  351. <a:gd name="adj1" fmla="val 0"/>
  352. <a:gd name="adj2" fmla="val 100000"/> 百分比 默认30000 30000
  353. </a:avLst>
  354. </a:prstGeom>
  355. </p:spPr>
  356. heart 心形 宽高拉伸
  357. heptagon //七边形
  358. hexagon //六边形1060704 *96/914400=111.36
  359. <p:spPr>
  360. <a:xfrm>
  361. <a:off x="3381375" y="1905000"/>
  362. <a:ext cx="1060704" cy="914400"/>
  363. </a:xfrm>
  364. <a:prstGeom prst="hexagon">
  365. <a:avLst>58000*2*0.96/1000
  366. <a:gd name="adj" fmla="val 58000"/>
  367. <a:gd name="vf" fmla="val 115470"/>
  368. </a:avLst>
  369. </a:prstGeom>
  370. </p:spPr>
  371. homePlate五边形 长高 2:1 矩形加右侧1一个宽的三角形
  372. horizontalScroll横卷形
  373. irregularSeal2爆炸形2
  374. leftArrow //左箭头
  375. leftArrowCallout
  376. leftBrace
  377. leftBracket
  378. leftCircularArrow
  379. leftRightArrow //左右箭头
  380. leftRightArrowCallout左右箭头标注
  381. leftRightCircularArrow
  382. leftRightRibbon
  383. irregularSeal1爆炸形1
  384. leftRightUpArrow丁字箭头
  385. leftUpArrow直角双向箭头 向左 向上
  386. lightningBolt 闪电 宽高拉伸
  387. line直接连接符 线
  388. lineInv
  389. mathDivide除号
  390. mathEqual等号
  391. mathMinus减号
  392. mathMultiply乘号
  393. mathNotEqual不等号
  394. mathPlus加号
  395. moon 新月形 TODO
  396. <p:spPr>
  397. <a:xfrm>
  398. <a:off x="2693773" y="1713470"/>
  399. <a:ext cx="457200" cy="914400"/>
  400. </a:xfrm>
  401. <a:prstGeom prst="moon">
  402. <a:avLst>
  403. <a:gd name="adj" fmla="val 87500"/>0-87500
  404. </a:avLst>
  405. </a:prstGeom>
  406. </p:spPr>
  407. nonIsoscelesTrapezoid
  408. noSmoking 默认就行 TODO
  409. <p:spPr>
  410. <a:xfrm>
  411. <a:off x="5941220" y="5314950"/>
  412. <a:ext cx="914400" cy="914400"/>
  413. </a:xfrm>
  414. <a:prstGeom prst="noSmoking">
  415. <a:avLst>
  416. <a:gd name="adj" fmla="val 11444"/>
  417. </a:avLst>
  418. </a:prstGeom>
  419. </p:spPr>
  420. notchedRightArrow燕尾形箭头
  421. octagon 八边形
  422. <p:spPr>
  423. <a:xfrm>
  424. <a:off x="5219700" y="1671638"/>
  425. <a:ext cx="914400" cy="914400"/>
  426. </a:xfrm>
  427. <a:prstGeom prst="octagon">
  428. <a:avLst>
  429. <a:gd name="adj" fmla="val 39705"/> //TODO
  430. </a:avLst>
  431. </a:prstGeom>
  432. </p:spPr>
  433. parallelogram //平行四边形
  434. <a:avLst>
  435. <a:gd name="adj" fmla="val 128833"/> val*0.96/1000 得到像素
  436. </a:avLst>
  437. pentagon //正五边形 宽高决定形变
  438. pie //饼图 21600000 16200000 默认16200000 ---> 0
  439. <p:spPr>
  440. <a:xfrm>
  441. <a:off x="3381373" y="952499"/>
  442. <a:ext cx="1726085" cy="1726085"/>
  443. </a:xfrm>
  444. <a:prstGeom prst="pie">
  445. <a:avLst> 16200000/21600000 =3/4
  446. <a:gd name="adj1" fmla="val 21600000"/> start 弧度:x=adj1/21600000*360
  447. <a:gd name="adj2" fmla="val 10800000"/> end 弧度:x=adj2/21600000*360
  448. </a:avLst>
  449. </a:prstGeom>
  450. </p:spPr>
  451. pieWedge
  452. plaque 缺角圆角矩形
  453. <p:spPr>
  454. <a:xfrm>
  455. <a:off x="6597013" y="1778125"/>
  456. <a:ext cx="914400" cy="914400"/>
  457. </a:xfrm>
  458. <a:prstGeom prst="plaque">
  459. <a:avLst>
  460. <a:gd name="adj" fmla="val 37500"/> 最小边0-50 比例 作为缺角半径
  461. </a:avLst>
  462. </a:prstGeom>
  463. </p:spPr>
  464. plaqueTabs
  465. plus 十字加形
  466. <p:spPr>
  467. <a:xfrm>
  468. <a:off x="6520053" y="419100"/>
  469. <a:ext cx="1085850" cy="914400"/>
  470. </a:xfrm>
  471. <a:prstGeom prst="plus">
  472. <a:avLst>
  473. <a:gd name="adj" fmla="val 31250"/> 最小边比例 0-50
  474. </a:avLst>
  475. </a:prstGeom>
  476. </p:spPr>
  477. quadArrow
  478. 十字箭头 TODO
  479. <p:spPr>
  480. <a:xfrm>
  481. <a:off x="1658493" y="132778"/>
  482. <a:ext cx="1216152" cy="1216152"/>
  483. </a:xfrm>
  484. <a:prstGeom prst="quadArrow">
  485. <a:avLst>
  486. <a:gd name="adj1" fmla="val 13101"/>
  487. <a:gd name="adj2" fmla="val 14668"/>
  488. <a:gd name="adj3" fmla="val 22500"/>
  489. </a:avLst>
  490. </a:prstGeom>
  491. </p:spPr>
  492. quadArrowCallout十字箭头标注
  493. rect 矩形
  494. ribbon前凸带形
  495. ribbon2上凸带形 6"
  496. rightArrow
  497. 右箭头
  498. <p:spPr>
  499. <a:xfrm>
  500. <a:off x="1466335" y="2702011"/>
  501. <a:ext cx="978408" cy="484632"/>
  502. </a:xfrm>
  503. <a:prstGeom prst="rightArrow">
  504. <a:avLst>
  505. <a:gd name="adj1" fmla="val 100000"/> 控制粗细 粗细的百分比=val/100000 *cy
  506. <a:gd name="adj2" fmla="val 201887"/> 控制箭头长短 粗细的百分比=val/100000 *cy
  507. </a:avLst>
  508. </a:prstGeom>
  509. </p:spPr>
  510. rightArrowCallout右箭头标注
  511. rightBrace
  512. rightBracket
  513. round1Rect单圆角矩形
  514. <p:spPr>
  515. <a:xfrm>
  516. <a:off x="742949" y="3971926"/>
  517. <a:ext cx="1247775" cy="914400"/>
  518. </a:xfrm>
  519. <a:prstGeom prst="round1Rect">
  520. <a:avLst>
  521. <a:gd name="adj" fmla="val 50000"/> 右上角圆角缺角 0-50000 = 50% 最小宽度的 百分比作为缺角
  522. </a:avLst>
  523. </a:prstGeom>
  524. </p:spPr>
  525. round2DiagRect 对角圆角矩形
  526. <p:spPr>
  527. <a:xfrm>
  528. <a:off x="4481513" y="3971926"/>
  529. <a:ext cx="914400" cy="914400"/>
  530. </a:xfrm>
  531. <a:prstGeom prst="round2DiagRect">
  532. <a:avLst>
  533. <a:gd name="adj1" fmla="val 50000"/> 左上角 右下角 圆角缺角0-50000 = 50% 最小宽度的 百分比作为缺角
  534. <a:gd name="adj2" fmla="val 20833"/> 右上角 左下角 圆角缺角0-50000 = 50% 最小宽度的 百分比作为缺角
  535. </a:avLst>
  536. </a:prstGeom>
  537. </p:spPr>
  538. round2SameRect 同侧圆角矩形
  539. <p:spPr>
  540. <a:xfrm>
  541. <a:off x="2724150" y="3971926"/>
  542. <a:ext cx="1371600" cy="914400"/>
  543. </a:xfrm>
  544. <a:prstGeom prst="round2SameRect">
  545. <a:avLst>
  546. <a:gd name="adj1" fmla="val 31250"/> 上侧圆角缺角0-50000 = 50% 最小宽度的 百分比作为缺角
  547. <a:gd name="adj2" fmla="val 50000"/> 下侧圆角缺角0-50000 = 50% 最小宽度的 百分比作为缺角
  548. </a:avLst>
  549. </a:prstGeom>
  550. </p:spPr>
  551. roundRect 圆角矩形
  552. <p:spPr>
  553. <a:xfrm>
  554. <a:off x="2647950" y="1085848"/>
  555. <a:ext cx="1685925" cy="828675"/>
  556. </a:xfrm>
  557. <a:prstGeom prst="roundRect">
  558. <a:avLst>
  559. <a:gd name="adj" fmla="val 50000"/> 0-50000 = 50% 最小宽度的 百分比 作为半径
  560. </a:avLst>
  561. </a:prstGeom>
  562. </p:spPr>
  563. rtTriangle //直角三角形 宽高决定形变
  564. smileyFace 笑脸 TODO
  565. <p:spPr>
  566. <a:xfrm>
  567. <a:off x="10238424" y="257175"/>
  568. <a:ext cx="914400" cy="914400"/>
  569. </a:xfrm>
  570. <a:prstGeom prst="smileyFace">
  571. <a:avLst>
  572. <a:gd name="adj" fmla="val -4653"/> 负数哭脸 正数笑脸
  573. </a:avLst>
  574. </a:prstGeom>
  575. </p:spPr>
  576. snip1Rect 剪去单角的矩形 右上角 0-50000 = 50% 最小宽度的 百分比作为缺角
  577. snip2DiagRect剪去对角的矩形
  578. <p:spPr>
  579. <a:xfrm>
  580. <a:off x="2857500" y="2571750"/>
  581. <a:ext cx="914400" cy="914400"/>
  582. </a:xfrm>
  583. <a:prstGeom prst="snip2DiagRect">
  584. <a:avLst>
  585. <a:gd name="adj1" fmla="val 32292"/> 左上角和右下角 0-50000 = 50% 最小宽度的 百分比作为缺角
  586. <a:gd name="adj2" fmla="val 25000"/> 右上角和左下角 0-50000 = 50% 最小宽度的 百分比作为缺角
  587. </a:avLst>
  588. </a:prstGeom>
  589. </p:spPr>
  590. snip2SameRect剪去同侧角的矩形
  591. <p:spPr>
  592. <a:xfrm>
  593. <a:off x="742949" y="2571750"/>
  594. <a:ext cx="1381125" cy="914400"/>
  595. </a:xfrm>
  596. <a:prstGeom prst="snip2SameRect">
  597. <a:avLst>
  598. <a:gd name="adj1" fmla="val 32292"/> 上侧 0-50000 = 50% 最小宽度的 百分比作为缺角
  599. <a:gd name="adj2" fmla="val 50000"/> 下侧 0-50000 = 50% 最小宽度的 百分比作为缺角
  600. </a:avLst>
  601. </a:prstGeom>
  602. </p:spPr>
  603. snipRoundRect 单圆角矩形
  604. <p:spPr>
  605. <a:xfrm>
  606. <a:off x="4572000" y="2571750"/>
  607. <a:ext cx="914400" cy="838200"/>
  608. </a:xfrm>
  609. <a:prstGeom prst="snipRoundRect">
  610. <a:avLst>
  611. <a:gd name="adj1" fmla="val 50000"/> 左上角圆角缺角0-50000 = 50% 最小宽度的 百分比作为缺角
  612. <a:gd name="adj2" fmla="val 50000"/> 右上角剪角缺角0-50000 = 50% 最小宽度的 百分比作为缺角
  613. </a:avLst>
  614. </a:prstGeom>
  615. </p:spPr>
  616. squareTabs
  617. star10 十角星
  618. star12 十二角星
  619. star16 十六角星
  620. star24 二十四角星
  621. star32 三十二角星
  622. star4 四角星
  623. star5 五角星
  624. star6 六角星
  625. star7 七角星
  626. star8 八角星
  627. straightConnector1直接箭头连接符
  628. stripedRightArrow 虚尾箭头
  629. sun 太阳 TODO
  630. <p:spPr>
  631. <a:xfrm>
  632. <a:off x="7269289" y="4165855"/>
  633. <a:ext cx="2397635" cy="914400"/>
  634. </a:xfrm>
  635. <a:prstGeom prst="sun">
  636. <a:avLst>
  637. <a:gd name="adj" fmla="val 34375"/>12500 至 46875
  638. </a:avLst>
  639. </a:prstGeom>
  640. </p:spPr>
  641. swooshArrow
  642. teardrop //泪滴型 暂不不解析 //TODO
  643. trapezoid //等腰梯形
  644. <p:spPr>
  645. <a:xfrm>
  646. <a:off x="8953500" y="2819400"/>
  647. <a:ext cx="914400" cy="1216152"/>
  648. </a:xfrm>
  649. <a:prstGeom prst="trapezoid">
  650. <a:avLst>
  651. <a:gd name="adj" fmla="val 50000"/> //移动百分比 0-50 默认25 val/100000
  652. </a:avLst>
  653. </a:prstGeom>
  654. </p:spPr>
  655. triangle 三角形
  656. <a:prstGeom prst="triangle">
  657. <a:avLst>
  658. <a:gd name="adj" fmla="val 100000"/> //移动百分比 默认50 0-50-100% val/100000
  659. </a:avLst>
  660. </a:prstGeom>
  661. upArrow //上箭头
  662. upArrowCallout
  663. upDownArrow 上下箭头
  664. upDownArrowCallout
  665. uturnArrow手杖形箭头 向右调头
  666. verticalScroll竖卷形
  667. wave 波浪形
  668. wedgeEllipseCallout 椭圆形标注
  669. wedgeRectCallout 矩形标注
  670. wedgeRoundRectCallout 圆角矩形标注
  671. */