|
发表于 2020-5-6 16:37:37
|
显示全部楼层
重庆市重庆市
变量名 | 类 型 | 静态 | 数组 | 备 注 | ppt | 对象 | | | slides | 对象 | | | slide | 对象 | | | shapes | 对象 | | | shape | 对象 | | | table | 对象 | | | cell | 对象 | | | borders | 对象 | | | border | 对象 | | | slideCount | 整数型 | | | shapeCount | 整数型 | | | borderCount | 整数型 | | | i | 整数型 | | | j | 整数型 | | | k | 整数型 | | | m_ | 整数型 | | | n_ | 整数型 | | | 行 | 整数型 | | | 列 | 整数型 | | |
ppt. 获取 (“Powerpoint.Application”)ppt = ppt. 读对象型属性 (“ActivePresentation”, )slides = ppt. 读对象型属性 (“Slides”, )slideCount = slides. 读数值属性 (“Count”, )计次循环首 (slideCount, i )slide = slides. 对象型方法 (“Item”, i )shapes = slide. 读对象型属性 (“Shapes”, )shapeCount = shapes. 读数值属性 (“Count”, )计次循环首 (shapeCount, j )shape = shapes. 对象型方法 (“Item”, j )如果真 (shape. 读逻辑属性 (“HasTable”, )) table = shape. 读对象型属性 (“Table”, )行 = table. 读对象型属性 (“Rows”, ). 读数值属性 (“Count”, )列 = table. 读对象型属性 (“Columns”, ). 读数值属性 (“Count”, )计次循环首 (行, m_ )计次循环首 (列, n_ )cell = table. 对象型方法 (“Cell”, m_, n_ )borders = cell. 读对象型属性 (“Borders”, )borderCount = borders. 读数值属性 (“Count”, )计次循环首 (borderCount, k )border = borders. 对象型方法 (“Item”, k )Border. 读对象型属性 (“ForeColor”, ). 写属性 (“RGB”, 取颜色值 (R, G, B )) 计次循环尾 ()计次循环尾 ()计次循环尾 ()计次循环尾 ()计次循环尾 () |
|