webarchive是什么文件?怎么打开webarchive文件
展开全部 方法一:右击该文件,在弹出的菜单中会有“用xx程序打开”,继续选择,会有复式菜单,如果其中有IE,则选择即可,如果没有,你点“浏览”,在弹出的对话框中找到IE并确认即可。
方法二:先保存,文件夹选项里让所有文件显示后缀名;然后将后缀名修改为html就可以打开了,截图成jpg就可以了。
...
webarchive 是Safari的,我想转换成htm文件 怎么弄
展开全部 Mac OS X系统带有文件转换功能,可以把webarchive文件变成html文件。
方法是:1。
建立一个文件夹,把你的webarchive文件放入文件夹内。
2。
用组合键Apple、shift和u键,或Finder导引到应用程序(Applications)文件夹下的实用程序(Utilities),找到终端(Terminal),并双击打开。
3。
在终端下输入:textutil -convert html空格4。
打开装有webarchive文件的文件夹,用鼠标把该文件拉到终端上。
然后回车。
textutil便会将该webarchive文件转成html文件,并储存到装有webarchive文件的文件夹内。
原网页中的图片也将调出并储存到该文件夹内。
所生成的html文件里的图片链接以硬盘当作根目录,因此需要用textedit或其他文本编辑软件把”file:///”用空格来替代。
...
怎么用WIN7打开webarchive格式的文件
我也是搜的,不知道可不可以帮助你,web文件是苹果系统里面的。
Mac OS X系统带有文件转换功能,可以把webarchive文件变成html文件。
方法是: Step 1: 建立一个文件夹,把你的webarchive文件放入文件夹内。
Step 2 在终端(Terminal)下输入:textutil -convert html空格Step 3 打开装有webarchive文件的文件夹,用鼠标把该文件拉到终端上,然后回车。
textutil便会将该webarchive文件转成html文件,并储存到装有webarchive文件的文件夹内。
原网页中的图片也将调出并储存到该文件夹内。
所生成的html文件里的图片链接以硬盘当作根目录,因此需要用textedit或其他文本编辑软件把”file:///”用空格来替代。
有什么办法可以在XP系统打开webarchive文件?
webarchive是苹果系统文件,webarchive一般用IE打开。
方法一:右击该文件,在弹出的菜单中会有“用xx程序打开”,继续选择,会有复式菜单,如果其中有IE,则选择即可,如果没有,你点“浏览”,在弹出的对话框中找到IE并确认即可。
方法二:先保存,文件夹选项里让所有文件显示后缀名;然后将后缀名修改为html就可以打开了,截图成jpg就可以了。
如何在web上下载word文档
可以做动态的Word模版 有时候客户要求我们能够按照系统规制生产模板,我们给出的解决方案是利用OFFICE组件在服务器段生成客户的需求,通过加密处理分发给各个用户。
这个在B/S模式中是非常有必要的。
这段时间正在研究WEB下OFFICE在线编辑功能 部分代码如下 生成报告 动态添加表格到WORD中#region 生成报告 动态添加表格到WORD中 /**//// /// 动态添加表格到WORD中 /// /// 生成的数据分两个表格体现 /// /// /// public void DymicalReport(ref DataSet _ds,string _Ratifier,string _Corrector, string _Checker) { //Open The Word object filename= m_SourcePath; object newTemplate=System.Reflection.Missing.Value; //Not creating a template. object documentType=System.Reflection.Missing.Value; //Plain old text document. object visible=true; //Show the doc while we work.; // Microsoft.Office.Interop.Word.Application wordApp=new ApplicationClass(); Microsoft.Office.Interop.Word.Document wordDoc=wordApp.Documents.Add(ref filename,ref newTemplate,ref documentType,ref visible); //Sleep System.Threading.Thread.Sleep(10); //Deal With The BookMark object tmp=""; System.DateTime dtime=DateTime.Now; int m1=0; for(int i=0;i { for(int j=0;j { try { m1=i+1; tmp=_ds.Tables[0].Columns[j].ColumnName.ToString()+m1.ToString(); if(_ds.Tables[0].Rows[i][j].ToString()==null||_ds.Tables[0].Rows[i][j].ToString().Trim()==""||_ds.Tables[0].Rows[i][j].ToString()=="0") t_Item(ref tmp).Range.Text="/"; else t_Item(ref tmp).Range.Text=_ds.Tables[0].Rows[i][j].ToString(); } catch{} } } //自动生成报告 //从结果集中取得返回的表的有关数据,为word建table做准备 int row,col; col=_ds.Tables[1].Columns.Count; row=_ds.Tables[1].Rows.Count; Microsoft.Office.Interop.Word.Table tbl = wordDoc.Tables[2]; for(int k=0;k { object row1 = tbl.Rows[1] as object; tbl.Rows.Add(ref row1); tbl.Rows[1].Range.Bold=0; } tbl.Range.Font.Bold=0;//设置字体颜色深度 tbl.Rows[1].Range.Bold=3; tbl.Cell(1,1).Range.Text="序号"; tbl.Cell(1,2).Range.Text="检测项目"; tbl.Cell(1,3).Range.Text="计量单位"; tbl.Cell(1,4).Range.Text="技术要求"; tbl.Cell(1,5).Range.Text="检测结果"; tbl.Cell(1,6).Range.Text="单项评定"; Cell cell1; for(int i=0;i for(int j=0;j { cell1=tbl.Cell(i+2,j+1);//留出第一行是标题,第一列是行号的位置 if(j==0)//输出列号 cell1.Range.Text=(i+1).ToString(); else cell1.Range.Text=_ds.Tables[1].Rows[i][j-1].ToString(); // cell1.Range.Text="zk"; } object start=tbl.Cell(row+2,2).Range.Start; object end=tbl.Cell(row+2,6).Range.End; Range rng=wordDoc.Range(ref start,ref end); rng.Start=(int)start; rng.End=(int)end; rng.Cells.Merge(); cell1=tbl.Cell(row+2,1); cell1.Range.Text="结论"; start=tbl.Cell(row+3,2).Range.Start; end=tbl.Cell(row+3,6).Range.End; rng=wordDoc.Range(ref start,ref end); rng.Start=(int)start; rng.End=(int)end; rng.Cells.Merge(); cell1=tbl.Cell(row+3,1); cell1.Range.Text="报告说明"; cell1=tbl.Cell(row+3,2); cell1.Range.Font.Size=8.0f; cell1.Range.Text="1.若对本报告有异议,请于收到报告之日起十五日内,以书面形式向本中心提出,逾期视为对报告无异议。
"+ "2.报告未加盖本中心检测报告专用章或公章,以及未加贴本中心防伪标记均为无效。
"+ "3.经本中心同意复印的检验报告,应重新加盖本中心检测报告专用章或公章后方为有效。
"; //插入报告编号 if(ReportSN!="") { tmp="ReportSN"; // if(this.FindBookmark(wordDoc,tmp)) // { try { t_Item(ref tmp).Range.Text=_ds.Tables[0].Rows[0]["OrderSN"].ToString(); } catch{} // } } //插入报告生成日期 string now; now =DateTime.Now.Year+"年"+DateTime.Now.Month+"月"+DateTime.Now.Day+"日"; tmp="ReportDate"; // if(this.FindBookmark(wordDoc,tmp)) // { try { t_Item(ref tmp).Range.Text=now.ToString(); } catch{} //sleep 300 System.Threading.Thread.Sleep(1); //插入数字签名 if(_Ratifier!="") { this.InsertWordPic(wordApp,wordDoc,_Ratifier,"Ratifier",100,40); } if(_Corrector!="") { this.InsertWordPic(wordApp,wordDoc,_Corrector,"Corrector",100,40); } if(_Checker!="") { this.InsertWordPic(wordApp,wordDoc,_Checker,"Checker",100,40); } //Close And Quit The Word object optional=System.Reflection.Missing.Value; object tmpPath=m_SavePath; object pwd="findword_fish"; wordDoc.Application.ActiveDocument.Protect(Microsoft.Office.Interop.Word.WdProtectionType.wdAllowOnlyReading,ref optional,ref pwd,ref optional,ref optional); wordDoc.SaveAs2000(ref tmpPath, ref optional, ref optional, ref optional, ref optional, ref optional, ref optional, ref optional, ref optional, ref optional, ref optional); //关闭操作 object saveChanges = Microsoft.Office.Interop.Word.WdSaveOptions.wdDoNotSaveChanges; wordDoc.Close(ref ...
怎么把网页上的内容转换到WORD文档里
展开全部第一步、打开网页后单击浏览器菜单栏的“文件”-->另存为,然后选择“网页,全部htm,html”格式;(如下图) 第二步、我们打开Word,然后选择Word菜单栏的“文件”-->打开,找到刚才保存文件的地方,选择打开(如:这里打开“《Excel2003如何合并单元格》”这个页面); 现在打开的效果(如下图),看上去确实很乱,但经过修复两下绝对非常完美; 步骤三、打开以后删除一些不需要的地方,比如:顶部和底部的,都没什么用,主要就是要内容。
然后打开菜单栏的“表格”-->转换-->表格转换为文本,将一些文档中的表格一一去掉。
最后步、修改了一下效果跟先前那个比起来是不是要好得多呀?将修改好的文档“另存为”或者“保存”普通的(.doc)格式就可以了。
转载请注明出处51数据库 » web archive to word