WordprocessingML 高级开发.pdf

  1. 1、本文档共40页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
WordprocessingML 高级开发

WordprocessingML?高级开发 张义先 开发工程师 中达金桥技术服务有限公司 议题 Styles Stories Subdocuments Document?Sections Headers/Footers 议题 Styles Stories Subdocuments Document?Sections Headers/Footers Styles Style是为应用于精确格式化属性而定义的一系列单独 的合乎逻辑的单元。 例如在Word?2007中默认的格式化属性值如下: 字体=?Calibri?(body) 字体大小 =?11?point Font?Language?=?Word?default?(as?configured?by?user) 对齐方式=?Left Line?Spacing?=?Single Widow/Orphan?control Styles?Storage 在 WordprocessingML?数据包内部,?styles?存储在一个 单独的部件中 styles?部件有特定的relationship?定位到文档部件,?使用 下面的relationship?类型: /wordprocessingml/2006/styles styles?部件的内容类型如下: vnd‐openxmlformats.officedocument.wordprocessingml‐styles+xml DEMO Styles?存储 styles?部件使用style元素包含对style?的定义: w:styles xmlns:w=/wordprocessingml/2006/main + w:docDefaults + w:latentStyles w:defLockedState=0 w:defUIPriority=99 w:defSemiHidden=1 w:defUnhideWhenUsed=1 w:defQFormat=0 w:count=267 + w:style w:type=paragraph w:default=1 w:styleId=Normal + w:style w:type=character w:default=1 w:styleId=DefaultParagraphFont + w:style w:type=table w:default=1 w:styleId=TableNormal + w:style w:type=numbering w:default=1 w:styleId=NoList /w:styles Style?定义 使用style 元素来定义style样式 style?的定义包含三部分内容: 1. Common?style?properties. 这些属性可以应用于所有类型的样式. 2. The?style?type. 可以定义六种类型的样式:?paragraph,?character,? linked?(paragraph+character),?table,?list?(numbering),?and?default. 3. Type‐specific?properties. Example:?cell?spacing?in?a?table?style. Common?Style?Properties 所有的样式类型共享 一系列 基本属性 : 样式名称 Parent?style?on?which this?style?is?based Many?other?properties w:style w:type=“paragraph” w:styleId=“Heading1” w:name w:val=“Heading 1”/ w:basedOn w:val=“Normal”/ … other property settings … /w:

文档评论(0)

jingpin + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档