PHP通过模板对WORD进行生成

上传者: 38327551 | 上传时间: 2021-08-10 16:14:43 | 文件大小: 223KB | 文件类型: ZIP
在MS OFFICE WORD 2007里编写模板文件,然后用PHP批量生成的一个插件,有需要或者想研究的朋友可以下一下。目前之能进行简单的{}匹配和替换来进行文件的实现,没有判断、循环等,这会在以后的版本中实现。

文件下载

资源详情

[{"title":"( 83 个子文件 223KB ) PHP通过模板对WORD进行生成","children":[{"title":"phpword支持word文件的处理","children":[{"title":"1.jpg <span style='color:#111;'> 36.77KB </span>","children":null,"spread":false},{"title":"phpword","children":[{"title":"Examples","children":[{"title":"BasicTable.php <span style='color:#111;'> 523B </span>","children":null,"spread":false},{"title":"Object.php <span style='color:#111;'> 448B </span>","children":null,"spread":false},{"title":"_sheet.xls <span style='color:#111;'> 13.50KB </span>","children":null,"spread":false},{"title":"Template.php <span style='color:#111;'> 650B </span>","children":null,"spread":false},{"title":"_earth.JPG <span style='color:#111;'> 36.77KB </span>","children":null,"spread":false},{"title":"TitleTOC.php <span style='color:#111;'> 1.30KB </span>","children":null,"spread":false},{"title":"_mars.jpg <span style='color:#111;'> 23.95KB </span>","children":null,"spread":false},{"title":"AdvancedTable.php <span style='color:#111;'> 1.56KB </span>","children":null,"spread":false},{"title":"Link.php <span style='color:#111;'> 679B </span>","children":null,"spread":false},{"title":"Text.php <span style='color:#111;'> 792B </span>","children":null,"spread":false},{"title":"HeaderFooter.php <span style='color:#111;'> 738B </span>","children":null,"spread":false},{"title":"Section.php <span style='color:#111;'> 843B </span>","children":null,"spread":false},{"title":"ListItem.php <span style='color:#111;'> 1.82KB </span>","children":null,"spread":false},{"title":"Text.docx <span style='color:#111;'> 8.17KB </span>","children":null,"spread":false},{"title":"Watermark.php <span style='color:#111;'> 531B </span>","children":null,"spread":false},{"title":"Template.docx <span style='color:#111;'> 14.53KB </span>","children":null,"spread":false},{"title":"Textrun.php <span style='color:#111;'> 1.11KB </span>","children":null,"spread":false},{"title":"Image.php <span style='color:#111;'> 554B </span>","children":null,"spread":false}],"spread":false},{"title":"PHPWord","children":[{"title":"Template.php <span style='color:#111;'> 3.11KB </span>","children":null,"spread":false},{"title":"TOC.php <span style='color:#111;'> 3.07KB </span>","children":null,"spread":false},{"title":"_staticDocParts","children":[{"title":"theme1.xml <span style='color:#111;'> 6.83KB </span>","children":null,"spread":false},{"title":"webSettings.xml <span style='color:#111;'> 259B </span>","children":null,"spread":false},{"title":"_xls.png <span style='color:#111;'> 1.88KB </span>","children":null,"spread":false},{"title":"settings.xml <span style='color:#111;'> 2.05KB </span>","children":null,"spread":false},{"title":"_doc.png <span style='color:#111;'> 1.13KB </span>","children":null,"spread":false},{"title":"fontTable.xml <span style='color:#111;'> 2.04KB </span>","children":null,"spread":false},{"title":"_ppt.png <span style='color:#111;'> 1.84KB </span>","children":null,"spread":false},{"title":"numbering.xml <span style='color:#111;'> 26.72KB </span>","children":null,"spread":false}],"spread":true},{"title":"Media.php <span style='color:#111;'> 8.07KB </span>","children":null,"spread":false},{"title":"Style","children":[{"title":"Font.php <span style='color:#111;'> 6.09KB </span>","children":null,"spread":false},{"title":"Table.php <span style='color:#111;'> 2.19KB </span>","children":null,"spread":false},{"title":"TOC.php <span style='color:#111;'> 2.59KB </span>","children":null,"spread":false},{"title":"TableFull.php <span style='color:#111;'> 9.08KB </span>","children":null,"spread":false},{"title":"Cell.php <span style='color:#111;'> 5.70KB </span>","children":null,"spread":false},{"title":"ListItem.php <span style='color:#111;'> 1.92KB </span>","children":null,"spread":false},{"title":"Paragraph.php <span style='color:#111;'> 3.30KB </span>","children":null,"spread":false},{"title":"Image.php <span style='color:#111;'> 2.51KB </span>","children":null,"spread":false}],"spread":true},{"title":"IOFactory.php <span style='color:#111;'> 3.05KB </span>","children":null,"spread":false},{"title":"Style.php <span style='color:#111;'> 3.78KB </span>","children":null,"spread":false},{"title":"Writer","children":[{"title":"Word2007","children":[{"title":"ContentTypes.php <span style='color:#111;'> 6.00KB </span>","children":null,"spread":false},{"title":"DocProps.php <span style='color:#111;'> 5.91KB </span>","children":null,"spread":false},{"title":"Styles.php <span style='color:#111;'> 11.53KB </span>","children":null,"spread":false},{"title":"Footer.php <span style='color:#111;'> 3.27KB </span>","children":null,"spread":false},{"title":"Header.php <span style='color:#111;'> 3.36KB </span>","children":null,"spread":false},{"title":"Document.php <span style='color:#111;'> 15.63KB </span>","children":null,"spread":false},{"title":"Rels.php <span style='color:#111;'> 3.47KB </span>","children":null,"spread":false},{"title":"DocumentRels.php <span style='color:#111;'> 5.23KB </span>","children":null,"spread":false},{"title":"WriterPart.php <span style='color:#111;'> 1.37KB </span>","children":null,"spread":false},{"title":"Base.php <span style='color:#111;'> 22.08KB </span>","children":null,"spread":false}],"spread":true},{"title":"Word2007.php <span style='color:#111;'> 8.98KB </span>","children":null,"spread":false},{"title":"IWriter.php <span style='color:#111;'> 1.17KB </span>","children":null,"spread":false}],"spread":true},{"title":"DocumentProperties.php <span style='color:#111;'> 5.34KB </span>","children":null,"spread":false},{"title":"Section.php <span style='color:#111;'> 8.45KB </span>","children":null,"spread":false},{"title":"Shared","children":[{"title":"Font.php <span style='color:#111;'> 2.17KB </span>","children":null,"spread":false},{"title":"Drawing.php <span style='color:#111;'> 2.35KB </span>","children":null,"spread":false},{"title":"ZipStreamWrapper.php <span style='color:#111;'> 3.68KB </span>","children":null,"spread":false},{"title":"String.php <span style='color:#111;'> 7.20KB </span>","children":null,"spread":false},{"title":"File.php <span style='color:#111;'> 2.54KB </span>","children":null,"spread":false},{"title":"XMLWriter.php <span style='color:#111;'> 3.51KB </span>","children":null,"spread":false}],"spread":false},{"title":"Section","children":[{"title":"Object.php <span style='color:#111;'> 3.09KB </span>","children":null,"spread":false},{"title":"Table.php <span style='color:#111;'> 2.90KB </span>","children":null,"spread":false},{"title":"Table","children":[{"title":"Cell.php <span style='color:#111;'> 7.68KB </span>","children":null,"spread":false}],"spread":false},{"title":"TextRun.php <span style='color:#111;'> 2.95KB </span>","children":null,"spread":false},{"title":"TextBreak.php <span style='color:#111;'> 1.25KB </span>","children":null,"spread":false},{"title":"Footer","children":[{"title":"PreserveText.php <span style='color:#111;'> 2.80KB </span>","children":null,"spread":false}],"spread":false},{"title":"Footer.php <span style='color:#111;'> 4.56KB </span>","children":null,"spread":false},{"title":"Header.php <span style='color:#111;'> 5.09KB </span>","children":null,"spread":false},{"title":"Link.php <span style='color:#111;'> 3.26KB </span>","children":null,"spread":false},{"title":"Text.php <span style='color:#111;'> 2.66KB </span>","children":null,"spread":false},{"title":"PageBreak.php <span style='color:#111;'> 1.25KB </span>","children":null,"spread":false},{"title":"ListItem.php <span style='color:#111;'> 2.29KB </span>","children":null,"spread":false},{"title":"MemoryImage.php <span style='color:#111;'> 4.24KB </span>","children":null,"spread":false},{"title":"Title.php <span style='color:#111;'> 2.47KB </span>","children":null,"spread":false},{"title":"Settings.php <span style='color:#111;'> 8.80KB </span>","children":null,"spread":false},{"title":"Image.php <span style='color:#111;'> 3.23KB </span>","children":null,"spread":false}],"spread":false},{"title":"Autoloader.php <span style='color:#111;'> 1.52KB </span>","children":null,"spread":false}],"spread":false},{"title":"PHPWord.php <span style='color:#111;'> 5.06KB </span>","children":null,"spread":false}],"spread":true},{"title":"php中文网免费下载站 - 副本.txt <span style='color:#111;'> 219B </span>","children":null,"spread":false},{"title":"demo.php <span style='color:#111;'> 3.75KB </span>","children":null,"spread":false},{"title":"PHP中文网:一切建站资源免费下载.lnk <span style='color:#111;'> 1.73KB </span>","children":null,"spread":false},{"title":"~$mplate.docx <span style='color:#111;'> 162B </span>","children":null,"spread":false}],"spread":true},{"title":"test.txt <span style='color:#111;'> 65B </span>","children":null,"spread":false}],"spread":true}]

评论信息

  • feixuewisdomlee :
    好东西,继续支持。
    2019-03-15

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明