HTEX.Lib
当前元素
当前元素
单页PPT
所有的多媒体Base64
autoFit 大于 wrap设定
true 每个形状的文本都停留在该形状的范围内
flase 此元素指定文本主体内的文本不应自动适合于边框。
text
targetId
Click Effect "clickEffect". ClickEffect = 0,
With Effect "withEffect". WithEffect = 1,
After Effect "afterEffect". AfterEffect = 2,
Main Sequence "mainSeq". MainSequence = 3,
Interactive Sequence "interactiveSeq". InteractiveSequence = 4,
Click Paragraph "clickPar". ClickParagraph = 5,
With Group "withGroup". WithGroup = 6,
After Group "afterGroup". AfterGroup = 7,
Timing Root "tmRoot". TmingRoot = 8
Id
PresetClass 动画场景类型
PresetId 动画Id
PresetId 动画名
PresetSubtype 物件動畫 次樣式 形態 (對應
Acceleration 開始 加速
Deceleration 結束 減速
自動反轉 AutoReverse
重覆 播放 RepeatCount
RepeatDuration
Duration
播放速度
動畫播放完成後 之 狀態 Fill :Remove remove 0 Freeze freeze 1 Hold hold 2 TimeNode Fill Type Enum ( Hold ). Transition transition 3
(對應 restart Restart 列舉 Always=0 always,WhenNotActive=1 whenNotActive When Not Active ). ,Never=2 never
Display
GroupId grpId
None = 0,
OnBegin = 1,
OnEnd = 2,
Begin = 3,
End = 4,
OnClick = 5,
OnDoubleClick = 6,
OnMouseOver = 7,
OnMouseOut = 8,
OnNext = 9,
OnPrevious = 10,
OnStopAudio = 11,
OnMediaBookmark = 12
First = 0,
Last = 1,
All = 2
Grid Legend ).
gridLegend".
GridLegend = 0,
Series ).
series".
Series = 1,
Category ).
category".
Category = 2,
Point in Series ).
ptInSeries".
PointInSeries = 3,
Point in Cat ).
ptInCategory".
PointInCategory = 4
Shape 0 sp Background 1 bg
*
//变淡30 #4472C4 变换一次
//变换过程
//变化过程 原色->fillcolor 变换一次
//#4472C4
//218 52 52
//+0,12.549,25.098
//218,64.549,77.098
[
{
"AttributeName": "style.color",
"ColorSpace": "Hsl",
"Direction": "Clockwise",
"ByColor": "0,12.549,25.098", //218,64,62, #618EDC
"FromColor": null,
"ToColor": null,
"behavior": null,
"type": "animClr"
},
{
"AttributeName": "fillcolor",
"ColorSpace": "Hsl",
"Direction": "Clockwise",
"ByColor": "0,12.549,25.098", //218,76.098,87.196,#C5D7F7
"FromColor": null,
"ToColor": null,
"behavior": null,
"type": "animClr"
},
{
"AttributeName": "stroke.color",
"ColorSpace": "Hsl",
"Direction": "Clockwise",
"ByColor": "0,12.549,25.098",
"FromColor": null,
"ToColor": null,
"behavior": null,
"type": "animClr"
}]
//补色21 #4472C4 变换一次
//变化过程 原色->fillcolor 如果原色H超过240 则加的120 溢出360 部分按360-(x+120)计算 x+120>360?360-(x+120):x+120
//#4472C4
//218 52 52
//+120,0,0
//338 52,52
[
{
"AttributeName": "style.color",
"ColorSpace": "Hsl",
"Direction": "Clockwise",
"ByColor": "120,0,0",
"FromColor": null,
"ToColor": null,
"behavior": null,
"type": "animClr"
},
{
"AttributeName": "fillcolor",
"ColorSpace": "Hsl",
"Direction": "Clockwise",
"ByColor": "120,0,0",
"FromColor": null,
"ToColor": null,
"behavior": null,
"type": "animClr"
},
{
"AttributeName": "stroke.color",
"ColorSpace": "Hsl",
"Direction": "Clockwise",
"ByColor": "120,0,0",
"FromColor": null,
"ToColor": null,
"behavior": null,
"type": "animClr"
}
]
//补色2 22 #4472C4 t=0.5s 顺时针变换两次幅度240,t=1s 顺时针变换4次幅度240.....依次
//补色2 补色两次240幅度, a=240/t/0.25, n =t/0.25
//第一次
//y= x+a>360?360-(x+a):x+a
//第二次
//x=y;
//y= x+a>360?360-(x+a):x+a
//第n次
//变化过程 原色->style.color->fillcolor
//#4472C4
//218 52 52
//-120,0,0
//98 52 52
"timeNodes": [
{
"AttributeName": "style.color",
"ColorSpace": "Hsl",
"Direction": "Clockwise",
"ByColor": "-120,0,0",
"FromColor": null,
"ToColor": null,
"behavior": null,
"type": "animClr"
},
{
"AttributeName": "fillcolor",
"ColorSpace": "Hsl",
"Direction": "Clockwise",
"ByColor": "-120,0,0",
"FromColor": null,
"ToColor": null,
"behavior": null,
"type": "animClr"
},
{
"AttributeName": "stroke.color",
"ColorSpace": "Hsl",
"Direction": "Clockwise",
"ByColor": "-120,0,0",
"FromColor": null,
"ToColor": null,
"behavior": null,
"type": "animClr"
}
]
//不饱和25 #4472C4 //不饱和色只变换一次
//变化过程 原色->//不饱和色只变换一次-fillcolor
//#4472C4
//218 52 52
//0,-70.588,0 //如果溢出0或100 则以0或100计算
//218,0,52
[
{
"AttributeName": "style.color",
"ColorSpace": "Hsl",
"Direction": "Clockwise",
"ByColor": "0,-70.588,0",
"FromColor": null,
"ToColor": null,
"behavior": null,
"type": "animClr"
},
{
"AttributeName": "fillcolor",
"ColorSpace": "Hsl",
"Direction": "Clockwise",
"ByColor": "0,-70.588,0",
"FromColor": null,
"ToColor": null,
"behavior": null,
"type": "animClr"
},
{
"AttributeName": "stroke.color",
"ColorSpace": "Hsl",
"Direction": "Clockwise",
"ByColor": "0,-70.588,0",
"FromColor": null,
"ToColor": null,
"behavior": null,
"type": "animClr"
}
]
//不饱和色 #00B0F0
//变化过程 原色->//不饱和色只变换一次-fillcolor
//#00B0F0
//196,100,47
//0,-70.588,0
//196,29.412,47
[
{
"AttributeName": "style.color",
"ColorSpace": "Hsl",
"Direction": "Clockwise",
"ByColor": "0,-70.588,0",
"FromColor": null,
"ToColor": null,
"behavior": null,
"type": "animClr"
},
{
"AttributeName": "fillcolor",
"ColorSpace": "Hsl",
"Direction": "Clockwise",
"ByColor": "0,-70.588,0",
"FromColor": null,
"ToColor": null,
"behavior": null,
"type": "animClr"
},
{
"AttributeName": "stroke.color",
"ColorSpace": "Hsl",
"Direction": "Clockwise",
"ByColor": "0,-70.588,0",
"FromColor": null,
"ToColor": null,
"behavior": null,
"type": "animClr"
}
]
//对比色23 #4472C4 t= 0.5s变换3次180
//变化过程 原色->style.color->fillcolor n=(int)(t/0.16) a=240/n
//第一次
//y= x+a>360?360-(x+a):x+a
//第二次
//x=y;
//y= x+a>360?360-(x+a):x+a
//第n次
//#4472C4
//218 52 52
//+180.70588333333333,0,0
//398.705,0,0 溢出
[
{
"AttributeName": "style.color",
"ColorSpace": "Hsl",
"Direction": "Clockwise",
"ByColor": "180.70588333333333,0,0",
"FromColor": null,
"ToColor": null,
"behavior": null,
"type": "animClr"
},
{
"AttributeName": "fillcolor",
"ColorSpace": "Hsl",
"Direction": "Clockwise",
"ByColor": "180.70588333333333,0,0",
"FromColor": null,
"ToColor": null,
"behavior": null,
"type": "animClr"
},
{
"AttributeName": "stroke.color",
"ColorSpace": "Hsl",
"Direction": "Clockwise",
"ByColor": "180.70588333333333,0,0",
"FromColor": null,
"ToColor": null,
"behavior": null,
"type": "animClr"
}
]
//加深24 #4472C4
//变换过程
//变化过程 原色->fillcolor 变换一次
//#4472C4
//218 52 52
//0,-12.549,-25.098
//218,39.451,26.902
[
{
"AttributeName": "style.color",
"ColorSpace": "Hsl",
"Direction": "Clockwise",
"ByColor": "0,-12.549,-25.098",
"FromColor": null,
"ToColor": null,
"behavior": null,
"type": "animClr"
},
{
"AttributeName": "fillcolor",
"ColorSpace": "Hsl",
"Direction": "Clockwise",
"ByColor": "0,-12.549,-25.098",
"FromColor": null,
"ToColor": null,
"behavior": null,
"type": "animClr"
},
{
"AttributeName": "stroke.color",
"ColorSpace": "Hsl",
"Direction": "Clockwise",
"ByColor": "0,-12.549,-25.098",
"FromColor": null,
"ToColor": null,
"behavior": null,
"type": "animClr"
}
]
*
物件動畫 時間系列 (animtimetree)
物件動畫 時間節點 列表 (animnode list)
物件(有動畫) 之 對應資訊 列表
"Key": "00002", // *om* // 物件 自訂 uid
"Value": objdata // *om* // 物件(有動畫) 之 對應資訊 (objdata)
是否循序 或 同時
物件動畫 時間系列 表列 (animtimetree list)
物件動畫 時間系列 uid
物件(有動畫) 之 對應資訊 (objdata) :
動畫結束後 是否 可見
原始 是否可見
物件 自訂 uid
對 pptx 物件 之 自訂類別: 0=形狀, 1=文字, m=替換元素 (若是形狀裡有文字, 則會被切成 (0=形狀)+(1=文字) 2 個物件 以組合處理)
原始 不透明值 (0, .., 1)
原始 高
原始 寬
原始 x (左上角開始)
原始 y (左上角開始)
物件動畫 時間節點 (animnode)
開始 加速
物件動畫 變化狀態 表列 (animxchg list)
自動反轉
開始之 旋轉角度 (記憶 物件動畫過程後 的 累計旋轉量)
開始之 高 縮放比值
開始之 寬 縮放比值
結束 減速
延遲 播放
結束之 旋轉角度 (記憶 物件動畫過程後 的 累計旋轉量)
結束之 高 縮放比值
結束之 寬 縮放比值
path 移動路徑) 之 最後 x 位置(pptx 給 頁面寬之比值)(左上角開始) (只對 path 移動路徑 有效)
(path 移動路徑) 之 最後 y 位置(pptx 給 頁面高之比值)(左上角開始) (只對 path 移動路徑 有效)
動畫播放完成後 之 狀態
當 is_accrot > 0 時, 表示 end_rot 值有效 (壘加 旋轉動畫 角度 之用)
(預留)
物件 自訂 uid 表列
重覆 播放
重覆 播放
None = 0,
OnBegin = 1,
OnEnd = 2,
Begin = 3,
End = 4,
OnClick = 5,
OnDoubleClick = 6,
OnMouseOver = 7,
OnMouseOut = 8,
OnNext = 9,
OnPrevious = 10,
OnStopAudio = 11,
OnMediaBookmark = 12 扩展项
扩展项
扩展项
First = 0,
Last = 1,
All = 2 扩展项
None = 0,
OnBegin = 1,
OnEnd = 2,
Begin = 3,
End = 4,
OnClick = 5,
OnDoubleClick = 6,
OnMouseOver = 7,
OnMouseOut = 8,
OnNext = 9,
OnPrevious = 10,
OnStopAudio = 11,
OnMediaBookmark = 12 扩展项
扩展项
扩展项
First = 0,
Last = 1,
All = 2 扩展项
扩展项
默认禁用 同时进行
None 0 none , SkipTimed 1 skipTimed
None 0 none , Seek 1 seek 按顺序进行
CommonTimeNode qualified name is p:excl 出现这个节点 则表述 排他节点,暂停其他时间线的元素动画
CalculationMode
Discrete 0 discrete,Linear 1 lin, Formula 2 fmla
String 0 str,Number 1 num, Color 2 clr
2010,2013,2016 p14:bounceEnd
弹跳
???? 1111 与attrNames 相同 物件動畫 變化狀態名稱 表列 (pptx 於眾多不同地方 設眾多不同值)
(HiTeach 白板 除 pptx 給的原始值之外, 目前新增 "內定出現","內定消失", "內定強調", "color", "motion", "scale")
111 播放時間長度 (秒)
111動畫播放完成後 之 狀態
111 延遲 播放
111開始 加速
111結束 減速
111自動反轉
1111 bool 值 表列 boolVal
1111(string) color 值 表列 (以 string 表示)clrVal strVal
111 double 值 表列 fltVal
1111int 值 表列 intVal
111 string 值 表列 strVal
AnimateColorSpaceValues Rgb 0 rgb, Hsl 1 hsl
AnimateColorDirectionValues Clockwise cw 0 , CounterClockwise ccw 1
RgbColor == HslColor===>> #FF00FF
Color3Type ===>> #FF00FF
RgbColorModelPercentage
RgbColorModelHex
HslColor
SystemColor
SchemeColor
PresetColor
Color3Type ===>> #FF00FF
RgbColorModelPercentage
RgbColorModelHex
HslColor
SystemColor
SchemeColor
PresetColor
1111 In 0 in,Out 1 out,None 2 none
111(by) 資料類別+index
111(from) 資料類別 + index
111(to) 資料類別+index
graphicElDiagramId
Shape 0 sp Background 1 bg
DiagramBuildStep
GraphicElementChartSeriesIndex
ShapeTargetGraphicElementChartCategoryIndex
oleChartElLevel
Grid Legend ).
gridLegend".
GridLegend = 0,
Series ).
series".
Series = 1,
Category ).
category".
Category = 2,
Point in Series ).
ptInSeries".
PointInSeries = 3,
Point in Cat ).
ptInCategory".
PointInCategory = 4
oleChartElType
InkTargetShapeId
bookmarkTargetShapeId
None = 0,
OnBegin = 1,
OnEnd = 2,
Begin = 3,
End = 4,
OnClick = 5,
OnDoubleClick = 6,
OnMouseOver = 7,
OnMouseOut = 8,
OnNext = 9,
OnPrevious = 10,
OnStopAudio = 11,
OnMediaBookmark = 12 扩展项
扩展项
扩展项
First = 0,
Last = 1,
All = 2 扩展项
None = 0,
OnBegin = 1,
OnEnd = 2,
Begin = 3,
End = 4,
OnClick = 5,
OnDoubleClick = 6,
OnMouseOver = 7,
OnMouseOut = 8,
OnNext = 9,
OnPrevious = 10,
OnStopAudio = 11,
OnMediaBookmark = 12 扩展项
扩展项
扩展项
First = 0,
Last = 1,
All = 2 扩展项
重覆 播放
重覆 播放
(預留)
字串表列 依 tavlist 各細項出現的順序, 記錄 相對應的 資料型態
-(HiTeach 群組, 它的所有元素集合, 皆同等於 (type = "Group")
处理xml 中的非ASCII编码的特殊公式字符
处理xml 中的非ASCII编码的特殊公式字符
处理字体
坐标信息
blur,fillOverlay,glow,innerShdw,outerShdw,prstShdw,reflection,softEdge
柔化边缘
运动时间
指定鼠标单击是否推进幻灯片。如果未指定此属性,则假设值为true
advTm小于 动画总时长 以动画总时长为准
当前页动画时长 |___ _____ ______ __|
当前页advTm时长 |________________|
advTm大于 动画总时长,以advTm 时长为准,动画间隔被平均
当前页动画时长 |___ _____ ______ __|
当前页advTm时长 |_________________________|
切换过渡类型
TODO
TimeListTimeConditionalListType:
EndConditionList
NextConditionList
PreviousConditionList
StartConditionList
NextConditionList nextCondLst PreviousConditionList prevCondLst
默认禁用 同时进行
None 0 none , SkipTimed 1 skipTimed
None 0 none , Seek 1 seek 按顺序进行
CommonTimeNode qualified name is p:excl 出现这个节点 则表述 排他节点,暂停其他时间线的元素动画
TODO TimeAnimateValueList CommonBehavior p:cBhvr ///更多信息
CalculationMode
Discrete 0 discrete,Linear 1 lin, Formula 2 fmla
String 0 str,Number 1 num, Color 2 clr
2010,2013,2016 p14:bounceEnd
19.5.79
JavaScript Expression Evaluator zip 下载
https://github.com/silentmatt/expr-eval
https://github.com/mparlak/Flee
ColorType
style.opacity, style.rotation, style.visibility, style.color, style.fontSize, style.fontWeight,
style.fontStyle, style.fontFamily, style.textEffectEmboss, style.textShadow, style.textTransform,
style.textDecorationUnderline, style.textEffectOutline, style.textDecorationLineThrough, style.sRotation,
imageData.cropTop, imageData.cropBottom, imageData.cropLeft, imageData.cropRight, imageData.cropRight,
imageData.gain, imageData.blacklevel, imageData.gamma, imageData.grayscale, imageData.chromakey,
fill.on, fill.type, fill.color, fill.opacity, fill.color2, fill.method, fill.opacity2, fill.angle,
fill.focus, fill.focusposition.x, fill.focusposition.y, fill.focussize.x, fill.focussize.y,
stroke.on, stroke.color, stroke.weight, stroke.opacity, stroke.linestyle, stroke.dashstyle,
stroke.filltype, stroke.src, stroke.color2, stroke.imagesize.x, stroke.imagesize.y,
stroke.startArrow, stroke.endArrow, stroke.startArrowWidth, stroke.startArrowLength, stroke.endArrowWidth, stroke.endArrowLength,
shadow.on, shadow.type, shadow.color, shadow.color2, shadow.opacity, shadow.offset.x, shadow.offset.y,
shadow.offset2.x, shadow.offset2.y, shadow.origin.x, shadow.origin.y, shadow.matrix.xtox, shadow.matrix.ytox,
shadow.matrix.xtox, shadow.matrix.ytoy, shadow.matrix.perspectiveX, shadow.matrix.perspectiveY,
skew.on, skew.offset.x, skew.offset.y, skew.origin.x, skew.origin.y, skew.matrix.xtox, skew.matrix.ytox,
skew.matrix.xtox, skew.matrix.ytoy, skew.matrix.perspectiveX, skew.matrix.perspectiveY,
extrusion.on, extrusion.type, extrusion.render, extrusion.viewpointorigin.x, extrusion.viewpointorigin.y,
extrusion.viewpoint.x, extrusion.viewpoint.y, extrusion.viewpoint.z, extrusion.plane, extrusion.skewangle,
extrusion.skewamt, extrusion.backdepth, extrusion.foredepth, extrusion.orientation.x, extrusion.orientation.y,
extrusion.orientation.z, extrusion.orientationangle, extrusion.color, extrusion.rotationangle.x, extrusion.rotationangle.y,
extrusion.lockrotationcenter, extrusion.autorotationcenter, extrusion.rotationcenter.x,
extrusion.rotationcenter.y, extrusion.rotationcenter.z, and extrusion.colormode.
TODO CommonBehavior p:cBhvr ///更多信息
AnimateColorSpaceValues Rgb 0 rgb, Hsl 1 hsl
AnimateColorDirectionValues Clockwise cw 0 , CounterClockwise ccw 1
RgbColor == HslColor===>> #FF00FF
Color3Type ===>> #FF00FF
RgbColorModelPercentage
RgbColorModelHex
HslColor
SystemColor
SchemeColor
PresetColor
Color3Type ===>> #FF00FF
RgbColorModelPercentage
RgbColorModelHex
HslColor
SystemColor
SchemeColor
PresetColor
§20.1.10.3
弹跳
弹跳
判断集合是否为空
判断集合是否不为空
从html获取文本及img的url 去掉其他标签的干扰,空格。以获取更准确的sha1校验值
将字符串转换为int类型数组
如1,2,3,4,5
截取两个字符串中间的字符串
根据wmf文件本身的尺寸,获取缩放倍数
处理 LineReference 轮廓 a:lnRef
处理 FillReference 填充 a:fillRef
处理 EffectReference 效果 a:effectRef
处理 FontReference 字体 a:fontRef
渐变颜色
GradientStopList (渐变停止列表)(默认)
LinearGradientFill(线性渐变填充)
PathGradientFill (路径渐变)根据具体形状描边式
TileRectangle (平铺矩形) 右下角是一个举行
a:ln 图形的外边
自定义连线符
预设连线符
name: 百叶窗 code: Blinds id: 3
name: 擦除 code: Wipe id: 22
name: 出现 code: Appear id: 1
name: 飞入 code: FlyIn id: 2
name: 盒状 code: Box id: 4
name: 阶梯状 code: Strips id: 18
name: 菱形 code: Diamond id: 8
name: 轮子 code: Wheel id: 21
name: 劈裂 code: Split id: 16
name: 棋盘 code: Checkerboard id: 5
name: 切入 code: PeekIn id: 12
name: 十字形扩展 code: Plus id: 13
name: 随机线条 code: RandomBars id: 14
name: 向内溶解 code: Dissolve id: 9
name: 楔入 code: Wedge id: 20
name: 圆形扩展 code: Circle id: 6
name: 淡化 code: Fade id: 10
name: 缩放 code: FadedZoom id: 53
name: 旋转45 code: Gyrate id: 45
name: 展开 code: Expand id: 55
name: 翻转式由远及近 code: GrowTurn id: 31
name: 回旋 code: Spinner id: 49
name: 基本縮放 code: Zoom id: 23
name: 上浮 code: Ascend id: 42
name: 伸展 code: Stretch id: 17
name: 升起 code: RiseUp id: 37
name: 下浮 code: Descend id: 47
name: 压缩 code: Compress id: 50
name: 中心旋转 code: CenterRevolve id: 43
name: 弹跳 code: Bounce id: 26
name: 掉落38 code: FallDown id: 38
name: 飞旋 code: Boomerang id: 25
name: 浮动 code: Float id: 30
name: 挥鞭式41 code: Whip id: 41
name: 基本旋转 code: Swivel id: 19
name: 空翻56 code: Flip id: 56
name: 螺旋飞入 code: SpiralIn id: 15
name: 曲线向上 code: CurveUp id: 52
name: 玩具风车 code: Pinwheel id: 35
name: 字幕式 code: Credits id: 28
name: 放大/缩小 code: GrowShrink id: 6
name: 透明 code: Transparency id: 9
name: 填充颜色 1 code: FillColor id: 1
name: 陀螺旋 code: Spin id: 8
name: 线条颜色7 code: LineColor id: 7
name: 字体颜色 code: ChangeFontColor id: 3
name: 变淡30 code: Lighten id: 30
name: 补色21 code: CompColor id: 21
name: 补色2 22 code: CompColor2 id: 22
name: 不饱和25 code: Unsaturation id: 25
name: 对比色23 code: ContrastColor id: 23
name: 对象颜色 code: ColorBlend id: 19
name: 画笔颜色 code: BrushOnColor id: 16
name: 加深24 code: Deepen id: 24
name: 脉冲 code: FlashBulb id: 26
name: 下划线18 code: Underline id: 18
name: 加粗闪烁 10 code: BoldBlink id: 10
name: 彩色脉冲 code: Flicker id: 27
name: 跷跷板 code: Teeter id: 32
name: 闪现 code: Shimmer id: 36
name: 彩色延伸 code: GrowwithColor id: 28
name: 波浪形 code: Wave id: 34
name: 加粗展示15 code: BoldShow id: 15
name: 闪烁 code: Blink id: 35
name: 飞出 code: FlyOut id: 2
name: 切出 code: PeekOut id: 12
name: 收缩 code: Contract id: 55
name: 下沉 code: SinkDown id: 37
name: 螺旋飞出 code: SpiralOut id: 15
name: 向下曲线 code: CurveDown id: 52
Execute the command an append a segment to the specified path
@param path the path to append the result to
@param ctx the context to lookup variables
dd.mmssssss格式的角度转换为弧度
弧度转换为dd.mmssssss格式的角度
OOXML units are 60000ths of a degree
Execute the command an append a segment to the specified path
@param path the path to append the result to
@param ctx the context to lookup variables
类 名:ColorHelper
功 能:提供从RGB到HSV/HSL色彩空间的相互转换
RGB转换HSV
HSV转换RGB
RGB转换HSL
HSL转换RGB
处理图像饱和度
原色RGB
混合原色占百分比/100%
Shade 与黑色混合 Tint与白色混合
类 名:ColorHSL
功 能:H 色相 \ S 饱和度(纯度) \ L 亮度 颜色模型
色相
饱和度(纯度)
饱和度
类 名:ColorHSV
功 能:H 色相 \ S 饱和度(纯度) \ V 明度 颜色模型
构造方法
色相
饱和度(纯度)
明度
类 名:ColorRGB
功 能:R 红色 \ G 绿色 \ B 蓝色 颜色模型
所有颜色模型的基类,RGB是用于输出到屏幕的颜色模式,所以所有模型都将转换成RGB输出
构造方法
红色
绿色
蓝色
获取实际颜色
处理 LineReference 轮廓 a:lnRef
处理 FillReference 填充 a:fillRef
处理 EffectReference 效果 a:effectRef
处理 FontReference 字体 a:fontRef
单元格样式表
a:ln 图形的外边
自定义连线符
预设连线符
渐变颜色
GradientStopList (渐变停止列表)(默认)
LinearGradientFill(线性渐变填充)
PathGradientFill (路径渐变)根据具体形状描边式
TileRectangle (平铺矩形) 右下角是一个举行
预设完整的
https://docs.microsoft.com/zh-cn/dotnet/api/documentformat.openxml.drawing.shapetypevalues?view=openxml-2.8.1
具体算法https://meshesha.js.org/presetShapeDefinitions/
右中括号
L形
斜纹
连接符:肘形 没有显示
十字形
缺角矩形
太阳形
闪电形
立方体
矩形:棱台
折角矩形
云形
思想气泡:云
笑脸
卷形:垂直
卷形:水平
对话气泡:椭圆形
对话气泡:矩形
对话气泡:圆角矩形
标注:线形
标注:线形(带强调线)
带形:前凸
带形:上凸
双波形
波形
带形:前凸弯
带形:上凸弯
直线 Line
直线箭头
curvedConnector3 连接符:曲线 变成直线 没有弯曲
箭头:右
箭头:左
箭头:下
流程图:离页连接符
箭头:上
箭头:左右
箭头:十字
箭头:直角双向
箭头:圆角右
箭头:手杖形
箭头:虚尾
箭头:燕尾形
箭头:五边形
箭头:V形
标注:右箭头
标注:下箭头
标注:左箭头
标注:上箭头
标注:左右箭头
标注:十字箭头
箭头:上弧形
箭头:左弧形
箭头:下弧形
等号
减号
乘号
不等号
加号
圆柱体
流程图:磁盘
流程图:直接访问存储器
箭头:环形
左中括号
双大括号
空心弧
半闭框
图文框
弦形
不完整圆
十二边形
十边形
八边形
七边形
六边形
平行四边形
流程图:手动操作
菱形
等腰三角形
直角三角形
矩形:一个圆顶角 减去另一个顶角 不标准
矩形:圆角 有偏差
椭圆
流程图:顺序访问存储器
流程图:显示
流程图: 存储数据
流程图:资料袋
爆炸形:8 pt
动作按钮:声音
动作按钮:上一张
动作按钮:视频
动作按钮:获取信息
动作按钮:转到主页
动作按钮:帮助
动作按钮:前进或下一项
动作按钮:转到结尾
动作按钮:文档
动作按钮:转到开头
动作按钮:后退或前一项
流程图:多文档
流程图:文档
矩形
*2766 TODO
alpha (Alpha) §20.1.2.3.1
alphaMod (Alpha Modulation) §20.1.2.3.2
alphaOff (Alpha Offset) §20.1.2.3.3
blue (Blue) §20.1.2.3.4
blueMod (Blue Modification) §20.1.2.3.5
blueOff (Blue Offset) §20.1.2.3.6
comp (Complement) §20.1.2.3.7
gamma (Gamma) §20.1.2.3.8
gray (Gray) §20.1.2.3.9
green (Green) §20.1.2.3.10
greenMod (Green Modification) §20.1.2.3.11
greenOff (Green Offset) §20.1.2.3.12
hue (Hue) §20.1.2.3.14
hueMod (Hue Modulate) §20.1.2.3.15
hueOff (Hue Offset) §20.1.2.3.16
inv (Inverse) §20.1.2.3.17
invGamma (Inverse Gamma) §20.1.2.3.18
lum (Luminance) §20.1.2.3.19
lumMod (Luminance Modulation) §20.1.2.3.20
lumOff (Luminance Offset) §20.1.2.3.21
red (Red) §20.1.2.3.23
redMod (Red Modulation) §20.1.2.3.24
redOff (Red Offset) §20.1.2.3.25
sat (Saturation) §20.1.2.3.26
satMod (Saturation Modulation) §20.1.2.3.27
satOff (Saturation Offset) §20.1.2.3.28
shade (Shade) §20.1.2.3.31
tint (Tint) §20.1.2.3.34
*
20.1.2.3 Colors
调色补充 Shade Tint LumMod LumOff 等
题型 Single单选,Multiple多选,Judge判断,Complete填空,Subjective问答,Compose综合
上级shaCode
標簽
题号
补救资源
难度
是否综合题的小题
文件名字
文件类型
对元素的边框,填充支撑如何
描边
切角 bevel 棱台 round 圆角 斜角 miter
Center = 0, ctr
Insert = 1 in
20.1.10.39
20.1.10.15
Single = 0, sng
Double = 1, dbl
ThickThin = 2, thickThin
ThinThick = 3, thinThick
Triple = 4 tri
20.1.10.31
Round = 0, rnd
Square = 1, sq
Flat = 2 flat
画笔元素
通用筆, 螢光筆, 雷射筆 ,.. 軟筆, 竹筆
#FFFF0000
"10.1 10.1 10.3 13 13", // *om* // 畫筆 點 寬度 集合 0.10000629913149856, // *om* // 畫筆 寬
20.000012598262999, // *om* // 畫筆 高
"471.99,216 471.84,213.06 471.6,209.47 471.52,205.75 471.9,202.42" // *om* // 畫筆 點 (x,y) 集合
"{0,1,1,-1,0,0}", // *om* // 畫筆 筆尖 矩陣
bar col line pie area scatter radar plotAreaRegion stock surface
surface3DChart
三维曲面图 wireframe=0
三维线框曲面图 wireframe=1
surfaceChart
曲面图 wireframe=0
曲面图-俯视框架图 wireframe=1
stockChart
股价图
盘高-盘低-收盘
开盘-盘高-盘低-收盘
成交量-盘高-盘低-收盘
成交量-开盘-盘高-盘低-收盘
plotAreaRegion
旭日图 sunburst
树状图 treemap
直方图 排列图 clusteredColumn
箱型图 boxWhisker
瀑布图 waterfall
type area
areaChart
面积图 standard
堆积面积图 stacked
百分比堆积面积图 percentStacked
area3DChart
三维面积图 standard
三维堆积面积图 stacked
三维百分比堆积面积图 percentStacked
连接线 p:cxnSp
对元素的边框,填充支撑如何
https://www.cnblogs.com/coco1s/p/8080211.html 图案的前景色 背景色
[a:noFill, solidFill, gradFill, blipFill, pattFill, grpFill]
-1 则说明需要继承ShapeStyle 的LineColor , 0,无填充 1.纯色填充 2.渐变填充 3.图片或纹理填充 4.图案填充
3.图片或纹理填充
3.图片或纹理填充
base64,link
前景色
背景色
line 线性 ,path 路径
颜色色带终结
tileRect TileRectangle (平铺矩形) 右下角是一个矩形
circle
rect
shape
偏移向量
font-family、font-style、font-weight、font-variant、font-stretch、font-size、font-size-adjust、
kerning、letter-spacing、word-spacing和text-decoration
none , Heavy, Double, Single Dotted HeavyDotted
缩进?
是否加粗
是否斜体
不可见的
spTree
DocumentFormat.OpenXml.Presentation.Shape
DocumentFormat.OpenXml.Presentation.GroupShape
DocumentFormat.OpenXml.Presentation.GraphicFrame
DocumentFormat.OpenXml.Presentation.ConnectionShape
DocumentFormat.OpenXml.Presentation.Picture
DocumentFormat.OpenXml.Presentation.ContentPart Office2010
互联网地址或Base64地址
Sp CxnSp Media Group Table Chart Diagram , Question,HtexGroup,HtexText,Brush,Attach
元素类型
层级
形状svg路径
唯一id
当前页的ID
(物件 之 是否被鎖定)
形状名称
题目描述,可以为多个物件设置该属性,表示多个物件描述题干或者选项。
null则没有标记题干或选项, Q 代表是题干,1-n 表示1-n的题目选项序列 1,2,3,4
是否有动画
附件链接
缩略图
Top,Center,Bottom
缩进
垂直方向
水平方向
//ctr, l, r, just, dist, thai, justLow thaiDist
摘要:
Vertical Text Type Enum ( Horizontal ).
When the item is serialized out as xml, its value is "horz".
Horizontal = 0,
摘要:
Vertical Text Type Enum ( Vertical ).
When the item is serialized out as xml, its value is "vert".
Vertical = 1,
摘要:
Vertical Text Type Enum ( Vertical 270 ).
When the item is serialized out as xml, its value is "vert270".
Vertical270 = 2,
摘要:
Vertical Text Type Enum ( WordArt Vertical ).
When the item is serialized out as xml, its value is "wordArtVert".
WordArtVertical = 3,
摘要:
Vertical Text Type Enum ( East Asian Vertical ).
When the item is serialized out as xml, its value is "eaVert".
EastAsianVetical = 4,
摘要:
Vertical Text Type Enum ( Mongolian Vertical ).
When the item is serialized out as xml, its value is "mongolianVert".
MongolianVertical = 5,
摘要:
Vertical WordArt Right to Left.
When the item is serialized out as xml, its value is "wordArtVertRtl".
WordArtLeftToRight = 6
public string writing { get; set; }
public Position position { get; set; } = new Position();
行间距离 计算text最大值的高度距离
段前距离 计算text最大值的高度距离
段后距离 计算text最大值的高度距离
旋转角度
水平翻转
垂直翻转
x轴
y轴
宽度
高度
头部宽度 lg Large ,med Medium ,sm Small
结束宽度
头部长度 lg Large ,med Medium ,sm Small
结束长度
单页PPTX或者题目的uid
//小题的pid,指向综合题的题干部分,如果为空则不是小题
题目或者单页pptx的校验码
页面切换过渡效果
动画
物件列表集合
填充样式
exercise如果不为null 则说明当前页面包含 题目,则题目信息可以与 item 一起渲染在当前页面。
#00FFFFFF
1 以htex 方式渲染 2 HTML来源,以html方式渲染
组合图形的集合列表
单元格边框样式
单元格填充样式
单元格字体样式
可以被叠加
Left 左边框 Right 右边框 Bottom 下边框 上边框 Top InHor 内部横线框 InVer 内部竖线框 Tl2br 从左上到右下斜线 Tr2bl 从右上到左下斜线
垂直布局 Top 0,Center 1 , Bootom 2
水平布局 水平居中anchorCt
square 不溢出, none 溢出
"horz". 横向水平排版 默认
"vert". 顺时针旋转90 ,多一行则向左前进
"vert270". 顺时针旋转270,多一行则向右前进
|------
|---1
|---2
|---3
》》》》》
|
|123
||||
||||
-------
"wordArtVert". 堆积从左到右
"wordArtVertRtl".堆积从右到左
"eaVert". 垂直90度书写
"mongolianVert". 垂直书写,从左到右
旋转角度
autoFit 大于 wrap设定
true 每个形状的文本都停留在该形状的范围内
flase 此元素指定文本主体内的文本不应自动适合于边框。
处理 【答案】【解析】【结束】以及题型标签中包含的空格字符
处理单选,多选,判断
{1问答题}文字{答案}4*4=16,3+3+3=9{解析}正方形面积为边长的平方,三角形的边长*3为周长{配分}10{知识点}三角形,正方形,面积{应用}{2问答题}圆的面积公式是什么。{解析}正方形面积为边长的平方,三角形的边长*3为周长{答案}4*4=16,3+3+3=9{配分}10{知识点}三角形,正方形,面积{应用}{3问答题}平行四边形的面积公式是什么。{配分}10{应用}
处理单选,多选,判断
解析题型
处理标签中以及题型标签中包含的空格字符
全角
半角
处理标签中以及题型标签中包含的空格字符
pptx官方的js操作相关接口。 https://docs.microsoft.com/zh-cn/javascript/api/powerpoint?view=powerpoint-js-preview
DIB-Colors enum.
Brush enum.
HS Brush enum
Charset Enum
Clip Precis Enum
Font Family Enum.
Font Weight Enum.
Out Preciss Enum
Pitch Enum.
Quality Enum.
Graphics Device Interface Enum
Utils functions.
Convert byte array to string using specified charset.
Get specified charset.
Get language using specified charset.
Get the first byte area specified charset.
Graphics Device Interface - Represents graphics elements
Create header document.
Initialize Header document.
Element is put inside a shape element and defines how an attribute of an element changes over the animation.
The attribute will change from the initial value to the end value in the duration specified.
Draws an elliptical arc.
Execute a bit-block transfer of the color data corresponding to a rectangle of pixels from the specified source device context into a destination device context.
Draws a chord (a region bounded by the intersection of an ellipse and a line segment, called a secant).
The chord is outlined by using the current pen and filled by using the current brush.
Creates a logical brush that has the specified style, color, and pattern.
Creates a logical font that has the specified characteristics.
The font can subsequently be selected as the current font for any device context.
Creates a logical palette.
Creates a logical brush with the specified bitmap pattern.
The bitmap can be a DIB section bitmap, which is created by the CreateDIBSection function, or it can be a device-dependent bitmap.
Creates a logical cosmetic pen that has the style, width, and color specified in a structure.
Creates a rectangular region.
Deletes a logical pen, brush, font, bitmap, region, or palette, freeing all system resources associated with the object.
After the object is deleted, the specified handle is no longer valid.
Function performs a bit-block transfer of the color data corresponding to a rectangle of pixels from the specified source device context into a destination device context.
Create Dib Pattern Brush object instance.
Copies a bitmap from a source rectangle into a destination rectangle, stretching or compressing the bitmap to fit the dimensions of the destination rectangle, if necessary.
The system stretches or compresses the bitmap according to the stretching mode currently set in the destination device context.
Draws an ellipse.
The center of the ellipse is the center of the specified bounding rectangle.
The ellipse is outlined by using the current pen and is filled by using the current brush.
Enables an application to access the system-defined device capabilities that are not available through GDI.
Escape calls made by an application are translated and sent to the driver.
Creates a new clipping region that consists of the existing clipping region minus the specified rectangle.
Fills an area of the display surface with the current brush.
Draws text using the currently selected font, background color, and text color.
You can optionally provide dimensions to be used for clipping, opaquing, or both.
Fills a region by using the specified brush.
Fills an area of the display surface with the current brush.
The area is assumed to be bounded as specified by the crFill parameter.
Draws a border around the specified region by using the specified brush.
Creates a new clipping region from the intersection of the current clipping region and the specified rectangle.
Inverts the colors in the specified region.
Draws a line from the current position up to, but not including, the specified point.
Updates the current position to the specified point and optionally returns the previous position.
Moves the clipping region of a device context by the specified offsets.
Modifies the viewport origin for a device context using the specified horizontal and vertical offsets.
Modifies the window origin for a device context using the specified horizontal and vertical offsets.
Paints the specified region by using the brush currently selected into the device context.
Paints the specified rectangle using the brush that is currently selected into the specified device context.
The brush color and the surface color or colors are combined by using the specified raster operation.
Draws a pie-shaped wedge bounded by the intersection of an ellipse and two radials.
The pie is outlined by using the current pen and filled by using the current brush.
Draws a polygon consisting of two or more vertices connected by straight lines.
The polygon is outlined by using the current pen and filled by using the current brush and polygon fill mode.
Element is an SVG basic shape that creates straight lines connecting several points.
Typically a polyline is used to create open shapes as the last point doesn't have to be connected to the first point.
Draws a series of closed polygons.
Each polygon is outlined by using the current pen and filled by using the current brush and polygon fill mode.
The polygons drawn by this function can overlap.
Maps palette entries from the current logical palette to the system palette.
Restores a device context (DC) to the specified state.
The DC is restored by popping state information off a stack created by earlier calls to the SaveDC function.
Draws a rectangle.
The rectangle is outlined by using the current pen and filled by using the current brush.
Increases or decreases the size of a logical palette based on the specified value.
Draws a rectangle with rounded corners.
The rectangle is outlined by using the current pen and filled by using the current brush.
Save device context (DC).
Modifies the viewport for a device context using the ratios formed by the specified multiplicands and divisors.
Modifies the window for a device context using the ratios formed by the specified multiplicands and divisors.
Selects a region as the current clipping region for the specified device context.
Selects an object into the specified device context (DC). The new object replaces the previous object of the same type.
Selects the specified logical palette into a device context.
Sets the current background color to the specified color value, or to the nearest physical color if the device cannot represent the specified color value.
Sets the background mix mode of the specified device context.
The background mix mode is used with text, hatched brushes, and pen styles that are not solid lines.
Sets the pixels in the specified rectangle on the device that is associated with the destination device context using color data from a DIB, JPEG, or PNG image.
Changes the layout of a device context (DC).
Sets the mapping mode of the specified device context.
The mapping mode defines the unit of measure used to transform page-space units into device-space units, and also defines the orientation of the device's x and y axes.
Alters the algorithm the font mapper uses when it maps logical fonts to physical fonts.
Sets RGB (red, green, blue) color values and flags in a range of entries in a logical palette.
Sets the pixel at the specified coordinates to the specified color.
Sets the polygon fill mode for functions that fill polygons.
Sets the current foreground mix mode.
GDI uses the foreground mix mode to combine pens and interiors of filled objects with the colors already on the screen.
The foreground mix mode defines how colors from the brush or pen and the colors in the existing image are to be combined.
Sets the bitmap stretching mode in the specified device context.
Sets the text-alignment flags for the specified device context.
Sets the intercharacter spacing.
Intercharacter spacing is added to each character, including break characters, when the system writes a line of text.
Sets the text color for the specified device context to the specified color.
Specifies the amount of space the system should add to the break characters in a string of text.
The space is added when an application calls the TextOut or ExtTextOut functions.
Sets the horizontal and vertical extents of the viewport for a device context by using the specified values.
Specifies which device point maps to the window origin (0,0).
Sets the horizontal and vertical extents of the window for a device context by using the specified values.
Specifies which window point maps to the viewport origin (0,0).
Copies a bitmap from a source rectangle into a destination rectangle, stretching or compressing the bitmap to fit the dimensions of the destination rectangle, if necessary.
The system stretches or compresses the bitmap according to the stretching mode currently set in the destination device context.
Copies the color data for a rectangle of pixels in a DIB, JPEG, or PNG image to the specified destination rectangle.
If the destination rectangle is larger than the source rectangle, this function stretches the rows and columns of color data to fit the destination rectangle. If the destination rectangle is smaller than the source rectangle, this function compresses the rows and columns by using the specified raster operation.
Writes a character string at the specified location, using the currently selected font, background color, and text color.
Graphics Device Interface - Represents a Brush object.
Object Style.
Object Color.
Object Hatch.
Graphics Device Interface - Represents a Font object.
Object Height.
Object Width.
Object Escapement.
Object Orientation.
Object Weight.
Italic font.
Underlined font.
Striked font.
Object Charset.
Object out precision.
Object clip precision.
Object Quality.
Font face name.
Graphic Device Interface - Object base.
Graphics Device Interface - Represents a Palette object.
Object Version.
Object Entries.
Graphics Device Interface - Represents a Pattern Brush object.
Object Patterns.
Graphics Device Interface - Represents a Pen object.
Object Style.
Object Width.
Object Color.
Graphics Device Interface - Represents a Region Object.
Enumeração de Pen
Represents a point (x,y).
Point X
Point Y
Default constructor.
Serves as the default hash function.
Determines whether the specified object is equal to the current object.
Returns a string that represents the current object.
Region Enum
Represents a size object.
Width of the object.
Height of the object.
Default constructor.
Serves as the default hash function.
Determines whether the specified object is equal to the current object.
Returns a string that represents the current object.
Read input stream of wmf file.
Represents the count of bytes read
Default constructor.
Create a DataInput instance using native order.
Default contructor.
Create a DataInput instance receving the order.
Reads the next one byte of this input stream as a signed 8-bit integer.
Reads the next two bytes of this input stream as a signed 16-bit integer.
Reads the next four bytes of this input stream as a signed 32-bit integer.
Reads the next two bytes of this input stream as a unsigned 16-bit integer.
Reads the next four bytes of this input stream as a unsigned 32-bit integer.
Reads the next n bytes.
Close the input stream.
Scalable Vector Graphics - Represents a Brush SVG object.
Object style.
Object color.
Object hatch.
Default constructor.
Create element FillPatern.
Serves as the default hash function.
Determines whether the specified object is equal to the current object.
Create element inner text.
Returns a string that represents the current object.
Scalable Vector Graphics - Represents SVG document.
Background color.
Background mode.
Text color.
Text align.
Brush instance.
Font instance.
Pen instance.
Current X Point.
Current Y Point.
Represents window width.
Represents window height.
Default Constructor.
Specifies which window point maps to the viewport origin (0,0).
Sets the horizontal and vertical extents of the window for a device context by using the specified values.
Modifies the window origin for a device context using the specified horizontal and vertical offsets.
Modifies the window for a device context using the ratios formed by the specified multiplicands and divisors.
Specifies which device point maps to the window origin (0,0).
Sets the horizontal and vertical extents of the viewport for a device context by using the specified values.
Modifies the viewport origin for a device context using the specified horizontal and vertical offsets.
Modifies the viewport for a device context using the ratios formed by the specified multiplicands and divisors.
Moves the clipping region of a device context by the specified offsets.
Sets the mapping mode of the specified device context.
The mapping mode defines the unit of measure used to transform page-space units into device-space units, and also defines the orientation of the device's x and y axes.
Updates the current position to the specified point and optionally returns the previous position.
Return the absolute X position from x point.
Return the absolute Y position from y point.
Return the relative X position from x point.
Return the relative Y position from y point.
Define Dpi value
Clone this object.
Returns a string that represents the current object.
Scalable Vector Graphics - Represents a SVG Font object.
Object height.
Object width.
Object escapement.
Object orientation
Object weight.
Italic font.
Underlined font.
Striked font.
Object charset.
Object precision.
Object ClipPrecision.
Font quality.
Defines pitch and family.
Specifies the font name.
Font language.
Font size.
Default Constructor.
Serves as the default hash function.
Determines whether the specified object is equal to the current object.
Create inner text element.
Returns a string that represents the current object.
Represents a SVG object of GDI object.
SVG Document - XML
Style node element.
IE9-compatible style output
Default constructor.
Default contructor
IE9-compatible style output
Write SVG XML document.
Get property value using key value.
Define header document.
Initialize header document.
Replaces entries in the specified logical palette.
Draws an elliptical arc.
Execute a bit-block transfer of the color data corresponding to a rectangle of pixels from the specified source device context into a destination device context.
Draws a chord (a region bounded by the intersection of an ellipse and a line segment, called a secant).
The chord is outlined by using the current pen and filled by using the current brush.
Creates a logical brush that has the specified style, color, and pattern.
Creates a logical font that has the specified characteristics.
The font can subsequently be selected as the current font for any device context.
Creates a logical palette.
Creates a logical brush with the specified bitmap pattern.
The bitmap can be a DIB section bitmap, which is created by the CreateDIBSection function, or it can be a device-dependent bitmap.
Creates a logical cosmetic pen that has the style, width, and color specified in a structure.
Creates a rectangular region.
Deletes a logical pen, brush, font, bitmap, region, or palette, freeing all system resources associated with the object.
After the object is deleted, the specified handle is no longer valid.
Function performs a bit-block transfer of the color data corresponding to a rectangle of pixels from the specified source device context into a destination device context.
Create Dib Pattern Brush object instance.
Copies a bitmap from a source rectangle into a destination rectangle, stretching or compressing the bitmap to fit the dimensions of the destination rectangle, if necessary.
The system stretches or compresses the bitmap according to the stretching mode currently set in the destination device context.
Draws an ellipse.
The center of the ellipse is the center of the specified bounding rectangle.
The ellipse is outlined by using the current pen and is filled by using the current brush.
TODO
Creates a new clipping region that consists of the existing clipping region minus the specified rectangle.
TODO
Draws text using the currently selected font, background color, and text color.
You can optionally provide dimensions to be used for clipping, opaquing, or both.
Fills a region by using the specified brush.
TODO
TODO
TODO
Inverts the colors in the specified region.
Draws a line from the current position up to, but not including, the specified point.
Updates the current position to the specified point and optionally returns the previous position.
Moves the clipping region of a device context by the specified offsets.
Modifies the viewport origin for a device context using the specified horizontal and vertical offsets.
Modifies the window origin for a device context using the specified horizontal and vertical offsets.
Paints the specified region by using the brush currently selected into the device context.
TODO
Draws a pie-shaped wedge bounded by the intersection of an ellipse and two radials.
The pie is outlined by using the current pen and filled by using the current brush.
Draws a polygon consisting of two or more vertices connected by straight lines.
The polygon is outlined by using the current pen and filled by using the current brush and polygon fill mode.
Element is an SVG basic shape that creates straight lines connecting several points.
Typically a polyline is used to create open shapes as the last point doesn't have to be connected to the first point.
Draws a series of closed polygons.
Each polygon is outlined by using the current pen and filled by using the current brush and polygon fill mode.
The polygons drawn by this function can overlap.
TODO
Restores a device context (DC) to the specified state.
The DC is restored by popping state information off a stack created by earlier calls to the SaveDC function.
Draws a rectangle.
The rectangle is outlined by using the current pen and filled by using the current brush.
TODO
Draws a rectangle with rounded corners.
The rectangle is outlined by using the current pen and filled by using the current brush.
Save device context (DC).
Modifies the viewport for a device context using the ratios formed by the specified multiplicands and divisors.
Modifies the window for a device context using the ratios formed by the specified multiplicands and divisors.
Selects a region as the current clipping region for the specified device context.
Selects an object into the specified device context (DC). The new object replaces the previous object of the same type.
TODO
Sets the current background color to the specified color value, or to the nearest physical color if the device cannot represent the specified color value.
Sets the background mix mode of the specified device context.
The background mix mode is used with text, hatched brushes, and pen styles that are not solid lines.
Sets the pixels in the specified rectangle on the device that is associated with the destination device context using color data from a DIB, JPEG, or PNG image.
Changes the layout of a device context (DC).
Sets the mapping mode of the specified device context.
The mapping mode defines the unit of measure used to transform page-space units into device-space units, and also defines the orientation of the device's x and y axes.
Alters the algorithm the font mapper uses when it maps logical fonts to physical fonts.
TODO
Sets the pixel at the specified coordinates to the specified color.
Sets the polygon fill mode for functions that fill polygons.
Sets the current foreground mix mode.
GDI uses the foreground mix mode to combine pens and interiors of filled objects with the colors already on the screen.
The foreground mix mode defines how colors from the brush or pen and the colors in the existing image are to be combined.
Sets the bitmap stretching mode in the specified device context.
Sets the text-alignment flags for the specified device context.
Sets the intercharacter spacing.
Intercharacter spacing is added to each character, including break characters, when the system writes a line of text.
Sets the text color for the specified device context to the specified color.
Specifies the amount of space the system should add to the break characters in a string of text.
The space is added when an application calls the TextOut or ExtTextOut functions.
Sets the horizontal and vertical extents of the viewport for a device context by using the specified values.
Specifies which device point maps to the window origin (0,0).
Sets the horizontal and vertical extents of the window for a device context by using the specified values.
Specifies which window point maps to the viewport origin (0,0).
Copies a bitmap from a source rectangle into a destination rectangle, stretching or compressing the bitmap to fit the dimensions of the destination rectangle, if necessary.
The system stretches or compresses the bitmap according to the stretching mode currently set in the destination device context.
Copies the color data for a rectangle of pixels in a DIB, JPEG, or PNG image to the specified destination rectangle.
If the destination rectangle is larger than the source rectangle, this function stretches the rows and columns of color data to fit the destination rectangle. If the destination rectangle is smaller than the source rectangle, this function compresses the rows and columns by using the specified raster operation.
Writes a character string at the specified location, using the currently selected font, background color, and text color.
Get class name.
Get class name.
Append specified string to specified element.
Convert BMP to SVG.
Convert Dib to BMP.
Init Document.
Scalable Vector Graphics - SVG base object.
Gdi object instance.
Default constructor.
Convert to real size.
Convert int color to rgb color.
Scalable Vector Graphics - Represents a SVG Palette object.
Object version.
Object entries.
Default constructor.
Scalable Vector Graphics - Represents a SVG Pattern Brush object.
Object patterns
Default constructor.
Scalable Vector Graphics - Represents a Pen object.
Object style.
Object width.
Object color.
Construdor padrão.
Serves as the default hash function.
Determines whether the specified object is equal to the current object.
Create inner text element.
Returns a string that represents the current object.
Scalable Vector Graphics - Represents SVG Rect Region object.
Left value.
Top value.
Right value.
Bottom value.
Default constructor.
Create rect element.
Serves as the default hash function.
Determines whether the specified object is equal to the current object.
Default Constructor.
Create element - abstract method.
Base 64 encode
Encode byte array.
Windows Metafile - Represents WMF Brush object.
Object Style.
Object Color.
Object Hatch.
Default Constructor
Constants Enum.
Windows Metafile - Represents WMF Font object.
Object Height.
Object Width.
Object Escapement.
Object Orientation.
Object Weight.
Defines whether the font is italic.
Defines whether the font is underlined.
Defines whether the font is striked.
Defines the font charset.
Defines the font out precision.
Defines the clip precision.
Object quality.
Defines pitch and famility font.
Defines face name rules.
Default Constructor.
Windows Metafile - Represents WMF of GDI object.
Default constructor.
Writes the document in the stream.
Defines header document.
Defines header document.
Replaces entries in the specified logical palette.
Draws an elliptical arc.
Execute a bit-block transfer of the color data corresponding to a rectangle of pixels from the specified source device context into a destination device context.
Draws a chord (a region bounded by the intersection of an ellipse and a line segment, called a secant).
The chord is outlined by using the current pen and filled by using the current brush.
Creates a logical brush that has the specified style, color, and pattern.
Creates a logical font that has the specified characteristics.
The font can subsequently be selected as the current font for any device context.
Creates a logical palette.
Creates a logical brush with the specified bitmap pattern.
The bitmap can be a DIB section bitmap, which is created by the CreateDIBSection function, or it can be a device-dependent bitmap.
Creates a logical cosmetic pen that has the style, width, and color specified in a structure.
Creates a rectangular region.
Deletes a logical pen, brush, font, bitmap, region, or palette, freeing all system resources associated with the object.
After the object is deleted, the specified handle is no longer valid.
Function performs a bit-block transfer of the color data corresponding to a rectangle of pixels from the specified source device context into a destination device context.
Create Dib Pattern Brush object instance.
Copies a bitmap from a source rectangle into a destination rectangle, stretching or compressing the bitmap to fit the dimensions of the destination rectangle, if necessary.
The system stretches or compresses the bitmap according to the stretching mode currently set in the destination device context.
Draws an ellipse.
The center of the ellipse is the center of the specified bounding rectangle.
The ellipse is outlined by using the current pen and is filled by using the current brush.
Enables an application to access the system-defined device capabilities that are not available through GDI.
Escape calls made by an application are translated and sent to the driver.
Creates a new clipping region that consists of the existing clipping region minus the specified rectangle.
Fills an area of the display surface with the current brush.
Draws text using the currently selected font, background color, and text color.
You can optionally provide dimensions to be used for clipping, opaquing, or both.
Fills a region by using the specified brush.
Fills an area of the display surface with the current brush.
The area is assumed to be bounded as specified by the crFill parameter.
Draws a border around the specified region by using the specified brush.
Creates a new clipping region from the intersection of the current clipping region and the specified rectangle.
Inverts the colors in the specified region.
Draws a line from the current position up to, but not including, the specified point.
Updates the current position to the specified point and optionally returns the previous position.
Moves the clipping region of a device context by the specified offsets.
Modifies the viewport origin for a device context using the specified horizontal and vertical offsets.
Modifies the window origin for a device context using the specified horizontal and vertical offsets.
Paints the specified region by using the brush currently selected into the device context.
Paints the specified rectangle using the brush that is currently selected into the specified device context.
The brush color and the surface color or colors are combined by using the specified raster operation.
Draws a pie-shaped wedge bounded by the intersection of an ellipse and two radials.
The pie is outlined by using the current pen and filled by using the current brush.
Draws a polygon consisting of two or more vertices connected by straight lines.
The polygon is outlined by using the current pen and filled by using the current brush and polygon fill mode.
Element is an SVG basic shape that creates straight lines connecting several points.
Typically a polyline is used to create open shapes as the last point doesn't have to be connected to the first point.
Draws a series of closed polygons.
Each polygon is outlined by using the current pen and filled by using the current brush and polygon fill mode.
The polygons drawn by this function can overlap.
Maps palette entries from the current logical palette to the system palette.
Restores a device context (DC) to the specified state.
The DC is restored by popping state information off a stack created by earlier calls to the SaveDC function.
Draws a rectangle.
The rectangle is outlined by using the current pen and filled by using the current brush.
Increases or decreases the size of a logical palette based on the specified value.
Draws a rectangle with rounded corners.
The rectangle is outlined by using the current pen and filled by using the current brush.
Save device context (DC).
Modifies the viewport for a device context using the ratios formed by the specified multiplicands and divisors.
Modifies the window for a device context using the ratios formed by the specified multiplicands and divisors.
Selects a region as the current clipping region for the specified device context.
Selects an object into the specified device context (DC). The new object replaces the previous object of the same type.
Selects the specified logical palette into a device context.
Sets the current background color to the specified color value, or to the nearest physical color if the device cannot represent the specified color value.
Sets the background mix mode of the specified device context.
The background mix mode is used with text, hatched brushes, and pen styles that are not solid lines.
Sets the pixels in the specified rectangle on the device that is associated with the destination device context using color data from a DIB, JPEG, or PNG image.
Changes the layout of a device context (DC).
Sets the mapping mode of the specified device context.
The mapping mode defines the unit of measure used to transform page-space units into device-space units, and also defines the orientation of the device's x and y axes.
Alters the algorithm the font mapper uses when it maps logical fonts to physical fonts.
Sets RGB (red, green, blue) color values and flags in a range of entries in a logical palette.
Sets the pixel at the specified coordinates to the specified color.
Sets the polygon fill mode for functions that fill polygons.
Sets the current foreground mix mode.
GDI uses the foreground mix mode to combine pens and interiors of filled objects with the colors already on the screen.
The foreground mix mode defines how colors from the brush or pen and the colors in the existing image are to be combined.
Sets the bitmap stretching mode in the specified device context.
Sets the text-alignment flags for the specified device context.
Sets the intercharacter spacing.
Intercharacter spacing is added to each character, including break characters, when the system writes a line of text.
Sets the text color for the specified device context to the specified color.
Specifies the amount of space the system should add to the break characters in a string of text.
The space is added when an application calls the TextOut or ExtTextOut functions.
Sets the horizontal and vertical extents of the viewport for a device context by using the specified values.
Specifies which device point maps to the window origin (0,0).
Sets the horizontal and vertical extents of the window for a device context by using the specified values.
Specifies which window point maps to the viewport origin (0,0).
Copies a bitmap from a source rectangle into a destination rectangle, stretching or compressing the bitmap to fit the dimensions of the destination rectangle, if necessary.
The system stretches or compresses the bitmap according to the stretching mode currently set in the destination device context.
Copies the color data for a rectangle of pixels in a DIB, JPEG, or PNG image to the specified destination rectangle.
If the destination rectangle is larger than the source rectangle, this function stretches the rows and columns of color data to fit the destination rectangle. If the destination rectangle is smaller than the source rectangle, this function compresses the rows and columns by using the specified raster operation.
Writes a character string at the specified location, using the currently selected font, background color, and text color.
Sets two bytes as a signed 16-bit integer.
Sets four bytes as a signed 32-bit integer.
Sets two bytes as a unsigned 16-bit integer.
Sets four bytes as a unsigned 32-bit integer.
Windows Metafile - Represents WMF Object base
Object Id.
Default constructor.
Windows Metafile - Represents WMF Palette object.
Object version.
Object entries.
Default constructor.
Windows Metafile - Parse WMF to SVG
Default constructor.
Parse WMF file to SVG file.
Windows Metafile - Represents WMF Pattern Brush object.
Object pattern.
Default constructor.
Windows Metafile - Represents WMF Pen object.
Object style.
Object width.
Object color.
Default constructor.
Windows Metafile - Representes WMF RecRegion object.
Get left value.
Get top value.
Get right value.
Get Bottom value.
Default constructor.
Windows Metafile - Represents WMF Region.
Default constructor.
Here is the crux of the fix to the algorithm. After assembling the entire list of ComparisonUnitAtoms, we do the following:
- First, figure out the maximum hierarchy depth, considering only paragraphs, txbx, txbxContent, tables, rows, cells, and content controls.
- For documents that do not contain tables, nor text boxes, this maximum hierarchy depth will always be 1.
- For atoms within a table, the depth will be 4. The first level is the table, the second level is row, third is cell, fourth is paragraph.
- For atoms within a nested table, the depth will be 7: Table / Row / Cell / Table / Row / Cell / Paragraph
- For atoms within a text box, the depth will be 3: Paragraph / txbxContent / Paragraph
- For atoms within a table in a text box, the depth will be 5: Paragraph / txbxContent / Table / Row / Cell / Paragraph
In any case, we figure out the maximum depth.
Then we iterate through the list of content atoms backwards. We do this n times, where n is the maximum depth.
At each level, we find a paragraph mark, and working backwards, we set the guids in the hierarchy so that the content will be assembled together correctly.
For each iteration, we only set unids at the level that we are working at.
So first we will set all unids at level 1. When we find a paragraph mark, we get the unid for that level, and then working backwards, until we find another
paragraph mark, we set all unids at level 1 to the same unid as level 1 of the paragraph mark.
Then we set all unids at level 2. When we find a paragraph mark, we get the unid for that level, and then working backwards, until we find another paragraph
mark, we set all unids at level 2 to the same unid as level 2 of the paragraph mark. At some point, we will find a paragraph mark with no level 2. This is
not a problem. We stop setting anything until we find another paragraph mark that has a level 2, at which point we resume setting values at level 2.
Same process for level 3, and so on, until we have processed to the maximum depth of the hierarchy.
At the end of this process, we will be able to do the coalsce recurse algorithm, and the content atom list will be put back together into a beautiful tree,
where every element is correctly positioned in the hierarchy.
This should also properly assemble the test where just the paragraph marks have been deleted for a range of paragraphs.
There is an interesting thought - it is possible that I have set two runs of text that were initially in the same paragraph, but then after
processing, they match up to text in different paragraphs. Therefore this will not work. We need to actually keep a list of reconstructed ancestor
Unids, because the same paragraph would get set to two different IDs - two ComparisonUnitAtoms need to be in separate paragraphs in the reconstructed
document, but their ancestors actually point to the same paragraph.
Fix this in the algorithm, and also keep the appropriate list in ComparisonUnitAtom class.
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
New method to support new functionality
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
If callback == null Then returns count of matches in the content
If callback != null Then Match calls Found for each match
This overload enables not coalescing content, which is necessary for DocumentAssembler.
Provides an elegant way of wrapping a set of invocations of the PowerTools in a using
statement that demarcates those invokations as one "block" before and after which the
strongly typed classes provided by the Open XML SDK can be used safely.
This class lends itself to scenarios where the PowerTools and Linq-to-XML are used as
a secondary API for working with Open XML elements, next to the strongly typed classes
provided by the Open XML SDK. In these scenarios, the class would be
used as follows:
[Your code using the strongly typed classes]
using (new PowerToolsBlock(wordprocessingDocument))
{
[Your code using the PowerTools]
}
[Your code using the strongly typed classes]
Upon creation, instances of this class will invoke the
method on the package
to begin the transaction. Upon disposal, instances of this class will call the
method on the package
to end the transaction.
Begins a PowerTools Block by (1) removing annotations and, unless the package was
opened in read-only mode, (2) saving the package.
Removes and instances
added by ,
,
,
, and
.
methods.
A , ,
or .
Ends a PowerTools Block by reloading the root elements of all package parts
that were changed by the PowerTools. A part is deemed changed by the PowerTools
if it has an annotation of type .
A , ,
or .
Gets the given 's root .
The .
The root .
Saves the cached to the the given .
The .
Saves the cached to the the given ,
indending the XML markup and creating new lines for attributes.
The .
Writes the cached root to the given .
The .
Writes the given root to the given .
The .
The root .
Creates a complete list of all parts contained in the .
A , , or
.
list of s contained in the .
Gets or creates the given container's first child element having the given
.
The container .
The child element's .
The container's first child .
Gets the given element's parent element or throws an
in case the element does not have a parent.
The element.
The element's parent.
Moves the given element to a new parent.
The element.
The new parent.
Accept deleted paragraphs.
Group together all paragraphs that contain w:p/w:pPr/w:rPr/w:del elements. Make a
second group for the content element immediately following a paragraph that contains
a w:del element. The code uses the approach of dealing with paragraph content at
'levels', ignoring paragraph content at other levels. Form a new paragraph that
contains the content of the grouped paragraphs with deleted paragraph marks, and the
content of the paragraph immediately following a paragraph that contains a deleted
paragraph mark. Include in the new paragraph the paragraph properties from the
paragraph following. When assembling the new paragraph, use a transform that collapses
the paragraph nodes when adding content, thereby preserving custom XML and content
controls.
Manages SpreadsheetDocument content
Creates a spreadsheet document from a value table
Path to store the document
Contents of first row (header)
Contents of data
Row to start copying data from
Gets the internal name of a worksheet from a document
Gets the range reference for category
worksheet to take data from
name of column used as category
column names from data
Data values
Gets a list of range references for each of the series headers
worksheet to take data from
name of column used as category
column names from data
Data values
Columns used as data series
Gets a list of range references for each of the series values
worksheet to take data from
name of column used as category
column names from data
Data values
Columns used as data series
Gets a formatted representation of a cell range from a worksheet
Gets a formatted representation of a cell range from a worksheet
Creates an empty (base) workbook document
Provides an elegant way of wrapping a set of invocations of the strongly typed
classes provided by the Open XML SDK) in a using statement that demarcates those
invokations as one "block" before and after which the PowerTools can be used safely.
This class lends itself to scenarios where the PowerTools and Linq-to-XML are used as
the primary API for working with Open XML elements, next to the strongly typed classes
provided by the Open XML SDK. In these scenarios, the class would be used as follows:
[Your code using the PowerTools]
using (new NonPowerToolsBlock(wordprocessingDocument))
{
[Your code using the strongly typed classes]
}
[Your code using the PowerTools]
Upon creation, instances of this class will invoke the
method on the package
to begin the block. Upon disposal, instances of this class will call the
method on the package
to end the block.
Stringify an Open XML run, turning (a) w:t, w:br, w:cr, w:noBreakHyphen,
w:softHyphen, w:sym, and w:tab into their corresponding Unicode strings
and (b) everything else into U+0001.
An Open XML run or run child element.
The corresponding Unicode value or U+0001.
Translate a symbol into a Unicode character, using the specified w:font attribute
value and unicode value (represented by the w:sym element's w:char attribute),
using a substitute value for the actual Unicode value if the same Unicode value
is already used in conjunction with a different w:font attribute value.
Add U+F000 to the Unicode value if the specified value is less than U+1000, which
shifts the value into the Unicode private use area (which is also done by MS Word).
For w:sym elements, the w:char attribute value is typically greater than "F000",
because U+F000 is added to the actual Unicode value to shift the value into
the Unicode private use area.
The w:font attribute value, e.g., "Wingdings".
The unicode value.
The Unicode character used to represent the symbol.
Translate a symbol into a Unicode character, using the specified w:font attribute
value and unicode value (represented by the w:sym element's w:char attribute),
using a substitute value for the actual Unicode value if the same Unicode value
is already used in conjunction with a different w:font attribute value.
Add U+F000 to the Unicode value if the specified value is less than U+1000, which
shifts the value into the Unicode private use area (which is also done by MS Word).
For w:sym elements, the w:char attribute value is typically greater than "F000",
because U+F000 is added to the actual Unicode value to shift the value into
the Unicode private use area.
The w:font attribute value, e.g., "Wingdings".
The unicode value.
The Unicode character used to represent the symbol.
Translate a symbol into a Unicode character, using the specified w:font and
w:char attribute values, using a substitute value for the actual Unicode
value if the same Unicode value is already used in conjunction with a different
w:font attribute value.
Do not alter the w:char attribute value.
For w:sym elements, the w:char attribute value is typically greater than "F000",
because U+F000 is added to the actual Unicode value to shift the value into
the Unicode private use area.
The w:font attribute value, e.g., "Wingdings".
The w:char attribute value, e.g., "F028".
The Unicode character used to represent the symbol.
Represent a w:sym element as a Unicode value, mapping the Unicode value
specified in the w:char attribute to a substitute value to be able to
use a Unicode value in conjunction with different fonts.
The w:sym element to be stringified.
A single-character Unicode string representing the w:sym element.
Turn the specified text value into a list of runs with coalesced text elements.
Each run will have the specified run properties.
The text value to transform.
The run properties to apply.
A list of runs representing the text value.
Turn the specified text value into a list consisting of a single run having one
text element with that text value. The run will have the specified run properties.
The text value to transform.
The run properties to apply.
A list with a single run.
Turn the specified text value into a list of runs, each having the specified
run properties.
The text value to transform.
The run properties to apply.
A list of runs representing the text value.
Create a w:r element from the specified character, which will be turned
into a corresponding Open XML element (e.g., w:t, w:br, w:tab).
The character.
The w:rPr element to be added to the w:r element.
The w:r element.
Create an Open XML element (e.g., w:t, w:br, w:tab) from the specified
character.
The character.
The Open XML element or null, if the character equals (U+0001).
Here is the crux of the fix to the algorithm. After assembling the entire list of ComparisonUnitAtoms, we do the following:
- First, figure out the maximum hierarchy depth, considering only paragraphs, txbx, txbxContent, tables, rows, cells, and content controls.
- For documents that do not contain tables, nor text boxes, this maximum hierarchy depth will always be 1.
- For atoms within a table, the depth will be 4. The first level is the table, the second level is row, third is cell, fourth is paragraph.
- For atoms within a nested table, the depth will be 7: Table / Row / Cell / Table / Row / Cell / Paragraph
- For atoms within a text box, the depth will be 3: Paragraph / txbxContent / Paragraph
- For atoms within a table in a text box, the depth will be 5: Paragraph / txbxContent / Table / Row / Cell / Paragraph
In any case, we figure out the maximum depth.
Then we iterate through the list of content atoms backwards. We do this n times, where n is the maximum depth.
At each level, we find a paragraph mark, and working backwards, we set the guids in the hierarchy so that the content will be assembled together correctly.
For each iteration, we only set unids at the level that we are working at.
So first we will set all unids at level 1. When we find a paragraph mark, we get the unid for that level, and then working backwards, until we find another
paragraph mark, we set all unids at level 1 to the same unid as level 1 of the paragraph mark.
Then we set all unids at level 2. When we find a paragraph mark, we get the unid for that level, and then working backwards, until we find another paragraph
mark, we set all unids at level 2 to the same unid as level 2 of the paragraph mark. At some point, we will find a paragraph mark with no level 2. This is
not a problem. We stop setting anything until we find another paragraph mark that has a level 2, at which point we resume setting values at level 2.
Same process for level 3, and so on, until we have processed to the maximum depth of the hierarchy.
At the end of this process, we will be able to do the coalsce recurse algorithm, and the content atom list will be put back together into a beautiful tree,
where every element is correctly positioned in the hierarchy.
This should also properly assemble the test where just the paragraph marks have been deleted for a range of paragraphs.
There is an interesting thought - it is possible that I have set two runs of text that were initially in the same paragraph, but then after
processing, they match up to text in different paragraphs. Therefore this will not work. We need to actually keep a list of reconstructed ancestor
Unids, because the same paragraph would get set to two different IDs - two ComparisonUnitAtoms need to be in separate paragraphs in the reconstructed
document, but their ancestors actually point to the same paragraph.
Fix this in the algorithm, and also keep the appropriate list in ComparisonUnitAtom class.
Creates a worksheet document and inserts data into it
List of values that will act as the header
Values for worksheet content
Header row
Creates element structure needed to describe an empty worksheet
Document with contents for an empty worksheet
Adds a value to a cell inside a worksheet document
document to add values
Row
Column
Value to add
Adds a given worksheet to the document
Worksheet document to add
Worksheet part just added
分位数法 来初始化质心,将数据按照一定的百分位数划分来确定初始质心的位置。确保质心在整个数据范围内的分布更加均匀
出席状态 1出席,6公假,5事假,4病假,2缺席,0未签到
学生的学号
学生所在下标
学生座位号
小组编号
生成学生student-analysis.json
处理base.json的数据
单独处理挑人的逻辑
是否从小组里面挑人。
不需要去重页面,直接获取挑人大类 PickupResult
小类处理:PickupRight , PickupOption , PickupNthGrp ,PickupEachGrp ,PickupDiff , PickupResult 挑人算不算互动?? 读取PickupMemberId "[\r\n 35\r\n]"
读取互动信息
Event 过滤类型 'PopQuesLoad', 'ReAtmpAnsStrt', 'BuzrAns','BuzrLoad'
在IRS.json处理 'PopQuesLoad'互动问答 , 'ReAtmpAnsStrt' 二次作答 , 'BuzrAns' 抢权(新), 'BuzrLoad'抢权(旧)
TimeLine.json 中找到对应类型,根据Pgid 去 IRS.json 中找到对应数据,从clientAnswers 的下标对应 base.json 中的 student 找到对应学生信息 clientAnswers.length > 1 则表示有二次作答
读取IRS.json
C# 代码 如何判断两句话是否一个意思,非机器学习的算法。使用Levenshtein距离来评估两个字符串的相似度,但是不能判断它们是否表达了同一个意思,后续借助AI实现
获取课中评测数据
协作参与率 态度计算
处理学生回推数据,并将回推纳入学习态度计算。
评分参与率 态度计算
读取互评信息
评分相关 在SmartRating.json 处理 GrandRating 星光大评分, 投票Voting 和 PeerAssessment(All每人多件评分,Two随机分配互评, Self自评)
Event 过滤类型 'RatingStart'
smartRateSummary.mutualSummary.mutualType 互评【All(每人多件评分) Two(随机分配互评) Self(自评)】 smartRateSummary.meteor_VoteSummary 投票
读取SmartRating.json
最小-最大归一化(Min-Max Normalization)算法。这种算法通常用于将数据的特征值缩放到一个指定的范围内,通常是0到1之间,或者任何其他指定的范围。
处理学生课中数据
使用标准差定义异常值。如果一个数字与平均值的偏差超过某个标准差倍数(例如2倍或3倍),则可以认为它是异常的。
导出Excel
当前数超越集合的百分比
当前数超越集合的百分比
学生导出Excel的Entity
学生id
互动发起次数
互动参与次数
互动正确次数
普通挑人
智慧挑人
个人计分
互动成效指数
互动参与指数
评测得分率
评测作答率
任务发起次数
任务参与次数
任务作品数
任务指数
评价发起次数
投票发起次数
投票得票数
投票次数
星光发起次数
星光得分数
星光评分次数
互评发起次数
互评得分数
互评评分次数
评价能力指数
协作发起次数
协作参与次数
协作成果分数
协作能力指数
协作参与指数
小组挑人
小组计分
小组协作成果分
组任务上传数
合作能力指数
学习成效指数
学习态度指数
任务模型
irs模型
互动模型
个人计分模型
小组计分模型
互动计分模型
学生个人协作模型
学生小组协作模型
互动次数及格线
互动次数良好线
互动次数差线
互动次数中线
互动次数高线
历史课例的关键数据模型
个人计分
小组计分
互动计分
作品上传数
学生协作成果数
小组协作成果数
挑人集合
每月的课例模型数据
时间戳
yyyyMM
评测数量
任务数量
IRS次数
互动次数
协作次数
智能评分次数
评测数量
任务数量
IRS次数
互动次数
协作次数
智能评分次数
作品上传数
学生协作成果数
小组协作成果数