openxml的style语法定义,备份
来源:互联网 发布:淘宝虚拟物品类目选择 编辑:程序博客网 时间:2024/06/17 17:44
<xsd:complexType name="CT_Style">
3071 <xsd:sequence>
3072 <xsd:element name="name" type="CT_String" minOccurs="0" maxOccurs="1"/>
3073 <xsd:element name="aliases" type="CT_String" minOccurs="0"/>
3074 <xsd:element name="basedOn" type="CT_String" minOccurs="0"/>
3075 <xsd:element name="next" type="CT_String" minOccurs="0"/>
3076 <xsd:element name="link" type="CT_String" minOccurs="0"/>
3077 <xsd:element name="autoRedefine" type="CT_OnOff" minOccurs="0"/>
3078 <xsd:element name="hidden" type="CT_OnOff" minOccurs="0"/>
3079 <xsd:element name="uiPriority" type="CT_DecimalNumber" minOccurs="0"/>
3080 <xsd:element name="semiHidden" type="CT_OnOff" minOccurs="0"/>
3081 <xsd:element name="unhideWhenUsed" type="CT_OnOff" minOccurs="0"/>
3082 <xsd:element name="qFormat" type="CT_OnOff" minOccurs="0"/>
3083 <xsd:element name="locked" type="CT_OnOff" minOccurs="0"/>
3084 <xsd:element name="personal" type="CT_OnOff" minOccurs="0"/>
3085 <xsd:element name="personalCompose" type="CT_OnOff" minOccurs="0"/>
3086 <xsd:element name="personalReply" type="CT_OnOff" minOccurs="0"/>
3087 <xsd:element name="rsid" type="CT_LongHexNumber" minOccurs="0"/>
3088 <xsd:element name="pPr" type="CT_PPrGeneral" minOccurs="0" maxOccurs="1"/>
3089 <xsd:element name="rPr" type="CT_RPr" minOccurs="0" maxOccurs="1"/>
3090 <xsd:element name="tblPr" type="CT_TblPrBase" minOccurs="0" maxOccurs="1"/>
3091 <xsd:element name="trPr" type="CT_TrPr" minOccurs="0" maxOccurs="1"/>
3092 <xsd:element name="tcPr" type="CT_TcPr" minOccurs="0" maxOccurs="1"/>
3093 <xsd:element name="tblStylePr" type="CT_TblStylePr" minOccurs="0" maxOccurs="unbounded"/>
3094 </xsd:sequence>
3095 <xsd:attribute name="type" type="ST_StyleType" use="optional"/>
3096 <xsd:attribute name="styleId" type="s:ST_String" use="optional"/>
3097 <xsd:attribute name="default" type="s:ST_OnOff" use="optional"/>
3098 <xsd:attribute name="customStyle" type="s:ST_OnOff" use="optional"/>
3099 </xsd:complexType>
style的层级覆盖优先关系:
This process can be described as follows:
First, the document defaults are applied to all runs and paragraphs in the document.
run:是字符一级,paragraph:是段落
对run和paragraph,最优先的是default
而table和listitem根本没有default
Next, the table style properties are applied to each table in the document, following the conditional
formatting inclusions and exclusions specified per table.
然后,table属性会应用到table,run和paragraph,但是不对listitem生效
Next, numbered item and paragraph properties are applied to each paragraph formatted with a
numbering style.
然后是编号项目和段落,也许编号项目本身的style不会定义段落格式,所以会使用两个style来描述编号项目
Next, paragraph and run properties are applied to each paragraph as defined by the paragraph style.
Next, run properties are applied to each run with a specific character style applied.
对于段落和run,显示paragraph然后是character被用到文字上
Finally, we apply direct formatting (paragraph or run properties not from styles). If this direct formatting
includes numbering, that numbering + the associated paragraph properties are applied.
最后是直接写在段落和run上属性
If the value of the rFonts element (§17.3.2.26) references a font which is not available, applications determine a
suitable alternative font via a process called font substitution, which is defined in §17.8.2.
最后一段,还有个font substitution
If the parent style is a paragraph style, then this element’s val attribute must refer to a character style,
or this element shall be ignored.
If the parent style is a character style, then this element’s val attribute must refer to a paragraph style,
or this element shall be ignored.
If the parent style is a numbering style, then this element shall be ignored.
- openxml的style语法定义,备份
- Style样式的定义
- Style样式的定义
- Android Style Resource --- style样式的定义
- OPENXML的用法
- OPENXML
- Openxml
- OPENXML
- OPENXML
- OPENXML
- Android Style样式的定义和应用
- 样式化,Style样式的定义
- 还原完整备份的语法
- 常用的JS-备份语法
- SQL Server2000的OpenXML特性
- OpenXML读写EXCEL的例子
- **定义属性的语法结构**
- JavaScript的定义及语法
- 启动虚拟机时忘记密码
- 苹果IOS系统SVN命令 同样适用于linux系统
- mybatis错误: Invalid bound statement (not found) ——原因之一
- JAVA中使用FTPClient上传下载
- Android Input Framework(一)
- openxml的style语法定义,备份
- 使用多线程编程模拟车票销售
- Android中visibility属性VISIBLE、INVISIBLE、GONE的区别
- 一步一步写算法
- /sapmnt/ 空间满,巧用软链接ln解决问题
- 黑马程序员——OC的初步认识,类和对象
- ParaviewWeb学习记录1
- 数据结构:题目(3)测试一个数组序列是否是二叉树的前序遍历或者后序遍历结果
- java获取字符串格式日期向前或向后n天的日期