楼主: baoaibaobao
1984 4

[问答] 求助,哪位给解释一下这段代码! [推广有奖]

  • 0关注
  • 25粉丝

已卖:106份资源

副教授

39%

还不是VIP/贵宾

-

威望
0
论坛币
9621 个
通用积分
13.9002
学术水平
80 点
热心指数
128 点
信用等级
38 点
经验
12060 点
帖子
548
精华
0
在线时间
1015 小时
注册时间
2009-5-21
最后登录
2025-12-31

楼主
baoaibaobao 发表于 2011-3-30 11:25:06 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
file word ;

  put '[FileNew .Template = "normal.dot", .NewTemplate = 0]' ;

  put '[toggleportrait]' ;

  put '[ViewZoom .TwoPages]' ;

  put '[ViewFooter]' ;

  put '[FormatFont .Points=10, .Font="Arial", .Bold=1]' ;

  put '[FormatParagraph .Alignment=1]' ;

  put '[Insert "页脚"]' ;

  put '[ViewFooter]' ;

  put '[ViewHeader]' ;

  put '[Insert "页眉"]' ;

  put '[ViewHeader]' ;

  put '[InsertPicture .name="C:\test.png"]' ;

  put '[WordLeft]' ;

  put '[SelectCurWord]' ;

  put '[FormatPicture .scalex=150, .scaley=150]' ;

  put '[WordRight]' ;

  put '[insertpagebreak]' ;

  put '[InsertFile .name="C:\sample1.rtf"]' ;

  put '[InsertFile .name="C:\sample2.rtf"]' ;

  put '[FileSaveAs .name="c:\test.doc"]' ;

  put '[FileClose]' ;
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

关键词:Alignment paragraph Template portrait Picture 求助 解释 代码

沙发
tlw1987 发表于 2011-3-30 11:39:42
不懂
努力,努力,再努力

藤椅
chuangao1987 发表于 2011-3-30 11:43:06
用normal.doc为模板,创建一word文档,设置各种格式(字体,页眉,页脚等), 最后存为“test.doc”文件。
put ['****'],这种格式还第一次看到,感觉像windows或word的日志记录。

板凳
baoaibaobao 发表于 2011-3-30 11:56:26
chuangao1987 发表于 2011-3-30 11:43
用normal.doc为模板,创建一word文档,设置各种格式(字体,页眉,页脚等), 最后存为“test.doc”文件。
put ['****'],这种格式还第一次看到,感觉像windows或word的日志记录。
这是SAS中操作rtf文档的代码,用的应该是wordbasic语言,没有接触过,能推荐一些教材吗?最好中文的!

报纸
谢正干 发表于 2011-3-30 15:18:57
我是飘过的,呵呵
知识就是衣服,把我们包裹起来

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注cda
拉您进交流群
GMT+8, 2026-1-18 13:59