writewordrev1.zip

上传者: sunxh092 | 上传时间: 2021-03-15 13:05:48 | 文件大小: 6.37MB | 文件类型: ZIP
QAxObject操作word生成模板的详细例程: 可用于生成各种表单、出库入库单、测试单等等。 包括内容有: 1、设置页眉页脚、页眉页脚距顶端及底端的距离、页面设置、页边距设置。 2、插入表格、添加行、表格单元格的详尽处理:包括添加图片(图片距单元格边线的距离设置)、表格行高模式的设置(最小高度、固定高度)、单元格的宽度、单元格的上、下、左、右边框类型、上、下、左、右边框线宽。 拆分单元格、合并单元格。 单元格对齐方式设置(水平和竖直方向) 3、字体设置、字号设置,字体加粗设置、字体带下划画设置。 4、段落设置。插入回车。对齐方式。 5、插入文本框,设置文本框位置、设置文本框边框的线型、线宽。 6、其他操作都可以由这些衍生出来,或可参考给定的资料和代码得到。 附加的资料有: 1、Qt运行通过的源代码。 2、VBAWD10.CHM帮助文档(自己感觉不如自己调试生成的html文档帮助大) 3、用到的相当的html文档,包括Border、Borders、Cell、Font、Documents、Columns、Headers、InlineShapes、Item、Line、PageSetup、Range、Rows、Sections、Selection、Shapes、Table、TextFrame、TextRange、Word等。 代码中保留了生成这些html的部分,需要其他的可自己依此生成。 4、生成的word模板保存在E:\demo\QWordDemo\TestReport。目录下面。自己可以进行修改。

文件下载

资源详情

[{"title":"( 50 个子文件 6.37MB ) writewordrev1.zip","children":[{"title":"writewordrev1","children":[{"title":"wordhandle.h <span style='color:#111;'> 9.68KB </span>","children":null,"spread":false},{"title":"QAxObject操作word的详细例程及帮助文档.txt <span style='color:#111;'> 1.03KB </span>","children":null,"spread":false},{"title":"mainwindow.ui <span style='color:#111;'> 1.22KB </span>","children":null,"spread":false},{"title":"picture.png <span style='color:#111;'> 26.75KB </span>","children":null,"spread":false},{"title":"mainwindow.cpp <span style='color:#111;'> 48.02KB </span>","children":null,"spread":false},{"title":"wordhandle.cpp <span style='color:#111;'> 51.38KB </span>","children":null,"spread":false},{"title":"html","children":[{"title":"test_Borders.html <span style='color:#111;'> 178.22KB </span>","children":null,"spread":false},{"title":"test_Columns.html <span style='color:#111;'> 158.98KB </span>","children":null,"spread":false},{"title":"test_TextFrame.html <span style='color:#111;'> 169.76KB </span>","children":null,"spread":false},{"title":"test_Range.html <span style='color:#111;'> 250.01KB </span>","children":null,"spread":false},{"title":"test_AddTextbox.html <span style='color:#111;'> 204.72KB </span>","children":null,"spread":false},{"title":"VBAWD10.CHM <span style='color:#111;'> 2.97MB </span>","children":null,"spread":false},{"title":"test_Item(WdHeaderFooterIndex).html <span style='color:#111;'> 152.96KB </span>","children":null,"spread":false},{"title":"test_First.html <span style='color:#111;'> 153.64KB </span>","children":null,"spread":false},{"title":"test_Sections.html <span style='color:#111;'> 152.68KB </span>","children":null,"spread":false},{"title":"test_selection.html <span style='color:#111;'> 243.40KB </span>","children":null,"spread":false},{"title":"test_InlineShapes.html <span style='color:#111;'> 159.89KB </span>","children":null,"spread":false},{"title":"test_Documents.html <span style='color:#111;'> 162.49KB </span>","children":null,"spread":false},{"title":"test_Cell.html <span style='color:#111;'> 168.71KB </span>","children":null,"spread":false},{"title":"test_Line.html <span style='color:#111;'> 166.46KB </span>","children":null,"spread":false},{"title":"test_table.html <span style='color:#111;'> 180.48KB </span>","children":null,"spread":false},{"title":"test_word.html <span style='color:#111;'> 302.06KB </span>","children":null,"spread":false},{"title":"test_TextRange.html <span style='color:#111;'> 250.01KB </span>","children":null,"spread":false},{"title":"test_Headers.html <span style='color:#111;'> 151.75KB </span>","children":null,"spread":false},{"title":"test_font.html <span style='color:#111;'> 193.95KB </span>","children":null,"spread":false},{"title":"test_Item.html <span style='color:#111;'> 180.48KB </span>","children":null,"spread":false},{"title":"test_Rows.html <span style='color:#111;'> 163.12KB </span>","children":null,"spread":false},{"title":"test_Border.html <span style='color:#111;'> 158.80KB </span>","children":null,"spread":false},{"title":"test_Shapes.html <span style='color:#111;'> 170.46KB </span>","children":null,"spread":false},{"title":"test_PageSetup.html <span style='color:#111;'> 182.71KB </span>","children":null,"spread":false},{"title":"test_ActiveDocument.html <span style='color:#111;'> 399.91KB </span>","children":null,"spread":false}],"spread":false},{"title":"release","children":null,"spread":false},{"title":"debug","children":[{"title":"moc_mainwindow.cpp <span style='color:#111;'> 3.46KB </span>","children":null,"spread":false},{"title":"main.o <span style='color:#111;'> 489.48KB </span>","children":null,"spread":false},{"title":"wordhandle.o <span style='color:#111;'> 731.37KB </span>","children":null,"spread":false},{"title":"mainwindow.o <span style='color:#111;'> 668.25KB </span>","children":null,"spread":false},{"title":"writeword.exe <span style='color:#111;'> 6.69MB </span>","children":null,"spread":false},{"title":"moc_predefs.h <span style='color:#111;'> 9.66KB </span>","children":null,"spread":false},{"title":"moc_mainwindow.o <span style='color:#111;'> 411.96KB </span>","children":null,"spread":false},{"title":"moc_wordhandle.o <span style='color:#111;'> 485.92KB </span>","children":null,"spread":false},{"title":"moc_wordhandle.cpp <span style='color:#111;'> 2.66KB </span>","children":null,"spread":false}],"spread":true},{"title":"main.cpp <span style='color:#111;'> 183B </span>","children":null,"spread":false},{"title":".qmake.stash <span style='color:#111;'> 1005B </span>","children":null,"spread":false},{"title":"Makefile <span style='color:#111;'> 27.87KB </span>","children":null,"spread":false},{"title":"mainwindow.h <span style='color:#111;'> 1.09KB </span>","children":null,"spread":false},{"title":"writeword.pro <span style='color:#111;'> 1.10KB </span>","children":null,"spread":false},{"title":"ui_mainwindow.h <span style='color:#111;'> 2.84KB </span>","children":null,"spread":false},{"title":"Makefile.Debug <span style='color:#111;'> 54.89KB </span>","children":null,"spread":false},{"title":"Makefile.Release <span style='color:#111;'> 54.99KB </span>","children":null,"spread":false},{"title":"writeword.pro.user <span style='color:#111;'> 23.29KB </span>","children":null,"spread":false},{"title":"res.qrc <span style='color:#111;'> 44B </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

  • linyu_tongji :
    用户下载后在一定时间内未进行评价,系统默认好评。
    2021-09-24

免责申明

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