免费 WebOffice使用

合集下载

Internet试题

Internet试题

电子政务应用基本操作技能(Internet笔试)一、填空1、收发电子邮件有两种方式:一种是基于Web的电子邮箱,用户可以通过网络申请_免费或收费邮箱来收发邮件;另外一种是使用Outlook或Foxmail等软件。

2、一般计算机安装Windows系统后,会默认安装IE软件,双击桌面上的___图标即可以打开IE浏览器窗口。

3、访问 web站点,只需要在IE浏览器窗口的地址栏输入网站名称,如已连好网则可显示网页,如未连接则显示无法显示网页。

4、若经常访问某一网站,希望打开IE浏览器时自动打开网页,可以通过设置主页完成。

5、若在浏览网页的过程中,遇到感兴趣的网站,可以通过“收藏”菜单中的“添加到收藏夹”命令,以备日后打开收藏的网页进行访问。

6、若遇到认为有用的网页希望保存下来,可以通过“文件”菜单中的“另存为”命令,保存到计算机中,方便以后阅读。

7、打印网页同Office系列软件一样,可以首先进行页面设置,然后进行打印预览,查看打印效果,接着单击工具栏中的“打印”按钮直接打印。

8、打印网页时,若需要只打印网页中的部分文字,可首先选择需要打印的范围,然后通过“文件”菜单中的打印命令,在弹出的对话框中选择页面范围为“选定范围”,这样防止打印不需要的内容,提高打印速度。

在此以163网易为例免费邮箱的申请与使用9、打开IE浏览器,在地址栏内输入: http ://www.163. com ,进而找到“免费邮箱”。

10、成功申请邮箱后,进入在线邮箱。

单击左侧的“写信”按钮,打开“写信”的界面,在收件人地址中填写电子邮件地址,在这里如给自己发信,keermln@。

11、输入邮件主题和内容,单击“_发送_”按钮。

若想发送附件,只需要单击“添加附件”,找到需要发送的附件添加即可。

12、收取电子邮件,进入邮箱界面后,单击“收件箱”,显示界面,单击“邮件主题”,就可以打开邮件,阅读邮件内容了。

搜索方法以百度为例13、Internet是一个浩瀚的信息海洋,如何快速地查找到需要的信息,通常我们使用专门的搜索网站来帮助我们。

个不为人所知却很有用的google产品

个不为人所知却很有用的google产品

59个不为人所知却很有用的 Google 产品 必备 01.谷歌阅读器Google Reader:网页版RSS阅读器,方便订阅,组织和分享新闻.有手机版. 02.个性化主页iGoogle:显示Gmail,日历,天气,新闻等等,多模板. 03.谷歌相册服务Google Picasa:提供照片的下载和编辑软件,用这个软件Email,上传,张贴照片到博客,也可以直接使用网络相册. 04.谷歌文件Google Docs:您不再需要桌面版的Office了,这个是谷歌的在线Office,你可以创建,发布,共享和协作在线文档和幻灯. 05.谷歌记事本Google Notebook:剪贴文本,图片和链接页面,可以保存,检索或共享. 06.谷歌桌面Google Desktop:桌面搜索,可以搜索你电脑里的电子邮件,计算机文件,音乐,照片,聊天和Web历史记录,和iGoogle类似,也安装小工具.

地图和旅游 07.谷歌搭车Google Ride Finder:交通搭乘查询服务,通过这个搜索工具,利用GPS数据钩,通过Google地图,在14个美国城市连接出租车,轿车和公共汽车的搭车搜索. 08.谷歌公交Google Transit: 使用Google地图,告诉谷歌你在哪,要到哪,谷歌帮助你安排公共交通线路方案. 09.谷歌火星Google Mars:和谷歌地球类似,只是这个是火星而已. 10.谷歌天空Google Sky:在不夜城也可以看星星,你可以通过虚拟的太空望远镜,看行星,恒星,星系,卫星等等. 11.谷歌地球Google Earth: 下载一个吧,你就什么都知道了. 网站浏览和开发 12.谷歌3D建模Google SketchUp:简单而有效的3D工具,Mac和PC都可以使用,建筑师,土木工程师,设计师,甚至是游戏开发商的方便工具.允许用户上传他们的模型到谷歌地球. 13.谷歌支付Google Checkout: 谷歌的支付宝,目前中国没有开通. 14.谷歌网络加速器Google Web Accelerator:类似于CDN的加速服务,利用谷歌在全球的服务器,缓存网站,让你访问速度倍增. :转烧你的Feed,便于订阅,不怕当机. 16.搜索历史Google Web History:记录你的网页浏览记录,以供你搜索. 17.谷歌Base:可以存储文字,图片文件和网页的数据库,搜索结果显示在网页搜索,谷歌地图和产品搜索. 18.自定义搜索引擎Google Co-Op: 完善和分类搜索查询,创建定制的搜索引擎,搜寻专门信息. 19.谷歌应用引擎Google App Engine: 谷歌的云计算服务,相当于一种虚拟服务器,目前仅仅支持Python. 20.谷歌网站优化器Google Website Optimizer:检查您的网站,测试网站内容,帮助您创建最有效和最有利可图的广告,创造友好的界面,增加转换率. 21.谷歌浏览器同步Google Browser Sync: 通过互联网,同步FireFox的密码,书签,历史,标签,窗口到另外的电脑. 22.谷歌点击电话Google Click-to-Call: 这个是一个搜索结果页的广告系统,你可以免费打电话个做广告的公司,至少是谷歌付钱.你输入i的电话号码,你就可以和广告商通话. 23.谷歌页面生成器Google Page Creator: 简单的个人网页,提供简单的网页编辑器,100M空间,多种模板,有点象傻瓜建站.

北京航空航天大学办公自动化系统(WebOffice)培训材料【模板】

北京航空航天大学办公自动化系统(WebOffice)培训材料【模板】

**大学办公自动化系统(WebOffice)培训材料二零壹零年七月目录目录 (2)一用户端基本设置 (4)二用户登录 (7)三平台使用 (15)3.1 平台页面 (15)3.2 本人选项设置 (17)3.2.1 界面风格 (17)3.2.2 下侧信息 (17)3.2.3 右侧信息 (17)3.2.4 声音提示 (17)3.2.5 办理选项 (18)3.2.6 典型批注 (18)3.2.7 代办人员 (18)3.2.8 快速链接 (18)3.2.9 口令维护 (18)3.2.10 签名图片 (18)3.3 离开工作设置 (18)3.4 日程安排 (19)四文件处理(流程相关) (19)4.1 启动新工作 (19)4.1.1 发文拟稿 (20)4.2 处理待办工作 (22)4.2.1 发文核批 (22)4.3 催办 (26)4.3.1 催办他人的工作 (26)4.3.2 办理被催办的工作 (27)4.4 跟踪经办 (28)4.5 历史工作 (28)一用户端基本设置打开IE浏览器后,在地址栏内输入《**大学办公自动化系统》的地址:***,输入完成后按回车键则系统链接到用户<登录>窗口,如图1。

图1 用户登录界面同时会弹出如图2所示警告信息:图2 警告信息单击“取消”。

在图1登录界面下方有“如果您是第一次运行本系统,请单击此链接设置可信站点: 单击此处设置可信站点”的提示,如果用户是第一次使用该系统,则按照提示点击的链接,弹出如图3所示界面:图3 运行安装weboffice.reg文件窗口在弹出的“文件下载-安全警告”对话框中单击“运行”。

弹出如图4所示窗口:图4 加入注册表窗口在弹出的对话框中单击“是”。

出现图5窗口:图5 注册信息成功输入注册表警告窗口在窗口中单击“确定”。

出现如图6所示窗口:图6 系统提示窗口单击“确定”后,关闭图1所示的办公系统登录窗口浏览器(注意:如果有其他打开的浏览器窗口,请全部关闭)。

vue项目集成金格WebOffice2015

vue项目集成金格WebOffice2015

vue项⽬集成⾦格WebOffice2015下载解压后的⽂件js⽂件中有两个重要的js⽂件iWebOffice2015.js和WebOffice.jsWebOffice.js是WebOffice2015对象的⼀些⽅法。

iWebOffice2015.js是根据不同的浏览器环境来渲染<object>实现将iWebOffice2015.js和WebOffice.js放⼊static⽬录下index.html中引⼊WebOffice.js修改iWebOffice2015.js官⽹iWebOffice2015.js源⽂件在下⾯截图处少了⼀个闭合标签,如下图添加由于异步加载不允许使⽤document.write⽅法,这⾥注释掉document.write(str)【可选操作】,注释浏览器判断,这⾥由于未写⼊⽂档流,所以获取⼀些属性是出错的,如document.getElementById("WebOffice").type,注释掉就可以/*注释以下代码*//*if ((window.ActiveXObject != undefined) || (window.ActiveXObject != null) || "ActiveXObject" in window) {} else {if (browser == "firefox") {if(version < "52"){var fireFoxType = navigator.mimeTypes["application/kg-activex"];if (fireFoxType == undefined) {document.getElementById("WebOffice").width = "1px";var str='<div width="100%" height="100%" style="text-align:center; color: red;font-size:30px;" >该插件不受⽀持</br>点击跳转解决⽅案</div>';var t = document.getElementById("OfficeDiv");t.innerHTML = t.innerText + str;}}else{document.getElementById("WebOffice").width = "1px";var str='<div width="100%" height="100%" style="text-align:center;color: red;font-size:30px;" >该插件不受⽀持</br>请更换52版本以下的FireFox浏览器</div>';var t = document.getElementById("OfficeDiv");t.innerHTML = t.innerText + str;}}else if(browser == "chrome"){var kgchromeType = navigator.mimeTypes["application/kg-plugin"]; //⾼级版var chromeType = navigator.mimeTypes["application/kg-activex"]; //标准版var oldChromeType = navigator.mimeTypes["application/iWebPlugin"]; //早期淘汰版本if(document.getElementById("WebOffice").type == "application/kg-plugin"){if (kgchromeType == undefined) {document.getElementById("WebOffice").width = "1px";var str='<div width="100%" height="100%" style="text-align:center; color: red;font-size:30px;" >该插件不受⽀持</br>引⽤的是⾼级版控件</br></div>';var t = document.getElementById("OfficeDiv");t.innerHTML = t.innerText + str;//window.open("Faq002.html");}}else{if(version > "45"){if (chromeType == undefined || oldChromeType == undefined) {document.getElementById("WebOffice").width = "1px";var str='<div width="100%" height="100%" style="text-align:center;color: red;font-size:30px;" >该插件不受⽀持</br>引⽤的是标准版控件</br></div>';var t = document.getElementById("OfficeDiv");t.innerHTML = t.innerText + str;}}else{document.getElementById("WebOffice").width = "1px";var str='<div width="100%" height="100%" style="text-align:center;color: red;font-size:30px;" >标准版插件不受⽀持</br>请更换45版本以下的Chrome浏览器</br>如果需要使⽤⾼版本Chrome浏览器,需集成⾼级版插件</div>'; var t = document.getElementById("OfficeDiv");t.innerHTML = t.innerText + str;}}}}*/在iWebOffice2015.js末尾将拼接好的字符串暴露出来代码⽰例vue⽂件中import引⼊iWebOffice2015.jsinitWebOffice通过创建vue实例⼿动挂载来渲染<object>,将刚才暴露出来的<object>加载到officeinitWebOfficeObject中的关键点是this.webOfficeObj.CreateFile() ,创建⼀个空⽩的⽂档<template><div style="width:100%;height:100%;"><div id="office"></div></div></template><script>import Vue from 'vue';import webOfficeTpl from '../../../../../static/webOffice/iWebOffice2015.js';export default {data() {return {webOffice: null,webOfficeObj: null}},beforeCreate(){},mounted(){console.log(webOfficeTpl);this.$nextTick(() => {this.initWebOffice();this.initWebOfficeObject();})},beforeDestroy() {},methods: {initWebOffice() {this.webOffice = new Vue({template: webOfficeTpl}).$mount('#office');},initWebOfficeObject() {this.webOfficeObj = new WebOffice2015();this.webOfficeObj.setObj(document.getElementById('WebOffice'));try{//this.webOfficeObj.ServerUrl = ":8080/iWebOffice2015/OfficeServer";//this.webOfficeObj.RecordID = "1551950618511"; //RecordID:本⽂档记录编号erName = "XXX";this.webOfficeObj.FileName = "Mytemplate.doc";this.webOfficeObj.FileType = ".doc"; //FileType:⽂档类型 .doc .xlsthis.webOfficeObj.ShowWindow = false; //显⽰/隐藏进度条this.webOfficeObj.EditType = "1"; //设置加载⽂档类型 0 锁定⽂档,1⽆痕迹模式,2带痕迹模式this.webOfficeObj.ShowMenu = 1;this.webOfficeObj.ShowToolBar = 0;this.webOfficeObj.SetCaption(erName + "正在编辑⽂档"); // 设置控件标题栏标题⽂本信息//参数顺序依次为:控件标题栏颜⾊、⾃定义菜单开始颜⾊、⾃定义⼯具栏按钮开始颜⾊、⾃定义⼯具栏按钮结束颜⾊、//⾃定义⼯具栏按钮边框颜⾊、⾃定义⼯具栏开始颜⾊、控件标题栏⽂本颜⾊(默认值为:0x000000)if (!this.webOfficeObj.WebSetSkin(0xdbdbdb, 0xeaeaea, 0xeaeaea, 0xdbdbdb, 0xdbdbdb, 0xdbdbdb, 0x000000)) {alert(this.webOfficeObj.Status);} //设置控件⽪肤if(this.webOfficeObj.WebOpen()) {// StatusMsg(WebOfficeObj.Status);}this.webOfficeObj.AppendMenu("1","打开本地⽂件(&L)");this.webOfficeObj.AppendMenu("2","保存本地⽂件(&S)");this.webOfficeObj.AppendMenu("3","-");this.webOfficeObj.AppendMenu("4","打印预览(&C)");this.webOfficeObj.AppendMenu("5","退出打印预览(&E)");this.webOfficeObj.AddCustomMenu();this.webOfficeObj.HookEnabled();this.webOfficeObj.CreateFile() // 根据FileType设置的扩展名来创建对应的空⽩⽂档}catch(e){console.log("catch");console.log(e.description);}}}}</script><style lang="less"></style>通过控制台可查看<object>![在这⾥插⼊图⽚描述]( =300x400)效果参考⽂章:,集成的过程中借鉴了该篇博客中的实现思路,遇到问题的童鞋可参考这篇博客注:遇到错误可参考如浏览器打开提⽰不⽀持插件,先核实是否安装了iWebOfiice2015.msi,如已安装,打开这⾥的企业应⽤浏览器进⾏测试启动KGPMSYS服务。

FedEx Web Service for Office和Print证明指南(2020年9月)说明书

FedEx Web Service for Office和Print证明指南(2020年9月)说明书

FedEx Web Service for Office and PrintCertification GuideSeptember 2020Confidential and ProprietaryThe information contained in the FedEx Web Services Certification Guide is confidential and proprietary to FedEx Corporate Services, Inc. and its affiliates (collectively “FedEx”). No part of this Certification Guide may be distributed or disclosed in any form to any third party without written permission of FedEx. This guide is provided to you under and its use is subject to the terms and conditions of the FedEx End User and/or Consultant License Agreement. The information in this document may be changed at any time without notice. Any conflict between either of these guides, the FedEx End User and/or Consultant License Agreement, and the FedEx Service Guide shall be governed by the FedEx End User and/or Consultant License Agreement and the FedEx Service Guide, in that order.©2020 FedEx. FedEx and the FedEx logo are register service marks. All rights reserved. Unpublished.ContentsForeword (4)Audience (4)Scope (4)Prerequisites (4)Related Documents (4)Support (5)FedEx Office Web Services (5)Certification (6)Starting the Certification Process (6)Corporate Developer Certification (7)Certifying Applications Using FedEx Office Web Services Integration (7)Consultant Developer Certification (9)Certifying Applications Using FedEx Office Web Services Integration (9)Updating Production C redentials (11)Examples (11)ForewordThis document describes how to certify a FedEx Office Web Service enabled application.AudienceThis document is intended for developers who have created and tested FedEx Office Web Service enabled applications, and who need FedEx certification before moving applicationsto production.Note: The certification procedures described in this document do not apply to commercial developers (software providers or parties that resell and/or distribute a FedEx integrated solution). Commercial developers must be accepted to FedEx® Compatible and comply with its terms. See /us/compatible for more information.ScopeThis document describes the step-by-step process required to certify FedEx Office Web Service enabled applications and how to move them to production.PrerequisitesYou must be familiar with FedEx Office Web Service and be able to successfully developand test applications in the FedEx Web Services testing environment.Related DocumentsThe following documents contain information related to this certification guide: •FedEx Service Guide at /us/services/pdf/•FedEx Office Web Service Developer Guide at https:///en-us/developer/web-services/office/process.html#documentation•Web Services Online Help at f /us/developer/get-support.htmlSupportFedEx Office Web ServiceUnited StatesIntegration ConsultantsPre-Production Assistance: ***************************If you are in the pre-production stages of implementing a FedEx Office Web Integrated Solution and would like to speak with a FedEx Office team member who can assist you in understanding FedEx Web Services for Document Print, contact your FedEx Office account executive or email ***************************. A FedEx Office team member will contact you within 3 business days.Production Support for Print Orders to FedEx Office: *****************************Your request will be sent to our internal team of FedEx Office Web Service specialists for document print services. They will address your questions as quickly as possible.CertificationFedEx Office Web Service enabled applications must be certified before being moved into production. Certification is the process of determining if your implementation meets a number of requirements to achieve the safe, secure, and effective operation of your solution in the FedEx production environment.The basic application development process includes design, development, testing, certification, and production. This document provides detailed procedures for the certification process. Note: The certification procedures described in this document do not apply to commercial developers (software providers or parties that resell and/or distribute a FedExintegration solution). Commercial developers must be accepted to FedEx Compatibleand comply with its terms. See /us/compatible for more information.See the FedEx Developer Resource Center at /developer for more information about developing and testing FedEx Web Services enabled applications.Starting the Certification ProcessFor certification purposes there are two types of developers:•Corporate Developer: You are developing FedEx Web Services enabled applications directly for your employer or for the business entity that you own. This document usescorporate developer and developer interchangeably. Corporate developers must becreating applications for a company with a FedEx account and a signed End-UserLicense Agreement (EULA).•Consultant Developer: You are a third-party consultant developing FedEx Web Services enabled applications on behalf of a FedEx customer. This document usesconsultant developer and consultant interchangeably. Consultant developers (including independent consultants and other third parties) and their clients must execute aFedEx End-User License Agreement (EULA).Corporate Developer Certification Certifying Applications Using FedEx Office Web Service Integration FedEx Office Web Service enabled applications include the following:•Office Order ServiceNote: See the FedEx Office Web Service Developer Guide for detailed information on FedEx Office Web Service.Log in to the FedEx Developer Resource Center at /developer and go to the FedEx Office Web Service page /us/developer/web-services/office/ for an up-to-date list of services available through FedEx Office Web Service.Corporate developers in the U.S. working on behalf of a FedEx customer must ensure that the client provides their contact information and a signed End User License Agreement to FedEx prior to initiating the following steps to certify FedEx Web Office Service enabled applications. Important Note: By definition, Corporate Developer is an employee of the company for which you are developing this application. If you are a Consultant working on behalf of acustomer, please refer to the Consultant Developer section of this guide.Step 1. Develop and Test FedEx Office Web Service Enabled ApplicationDevelop and test your FedEx Office Web Service enabled application. Complete testing using the test authentication credentials (developer test key, test password, test product ID and test product version). Documentation and sample code are available for reference in Java, C#,, and PHP.Important Note: By default, Developer Test Key is disabled for FedEx Web Service for Office and Print. You need to complete the ‘Developer Test Key Enablement Request’ form and submit it to ***************************to enable your key to use the Office webservice.Step 2. Submit FedEx Office Web Service Certification Application RequestStart the certification process by submitting the FedEx Office Web Service ‘Certification Application Request’ form. Include detailed information about your business type, regarding who will use the application, how it will be used and for what purpose, past experience working with FedEx Office products, transaction volume for current implementation, and request for special considerations, if any. Application screen shots and/or access to the solution itself may be required by FedEx in order to certify your solution.Upon receiving your completed FedEx Office Web Service Certification Application Request, you will be assigned a FedEx certification contact. FedEx will review the implementation material that you have provided and then contact you regarding the FedEx Integrator ID, Client Product ID, and Client Product Version values to use during certification testing.Step 3. Obtain Production CredentialsTo move forward with certification testing, use the Integrator ID from the above step to request for FedEx Office Web Service production credentials. Obtain your production credentials (production authentication key and production password) online during the move to productionregistration process. By default, Production Test Key is disabled for FedEx Web Service forOffice and Print. You need to complete the ‘Production Test Key Enablement Request’ formand submit it to ***************************to enable your key to use the Office webservices.Important Note: Due to the sensitivity of this information, the production authentication key is only displayed on the FedEx Developer Resource Center and not provided in theconfirmation email (Step 4). Please retain this information for your records.Step 4. Receive Registration EmailYou will receive confirmation of your production registration by email.If you do not receive the registration email within a few minutes, please check your SPAM/Junk folder.Step 5. Application EvaluationFedEx will perform a thorough review of the implementation material that Integrator has providedfor Brand/Legal standards and Operations compliance. You will be notified of any certification requirements discovered during the evaluation process. Update your solution to address thepoints of failure and advise your FedEx certification contact when your solution is ready to be re- evaluated. FedEx will inform you when your solution has successfully completed certification.Note: Anything that features the FedEx identity, including the FedEx logo, imagery, or service names, whether authored by FedEx or an outside party, must be submitted for brandapproval. To learn more about FedEx Brand standards compliance, please go to.Step 6. Prepare for Production DeploymentUpon successful certification, FedEx Office team will send you an email confirming yourproduction status.Note: Your approval is on a per key basis, meaning if you generate additional FedEx Office Web Service production keys, you’ll need to inform FedEx Office team in order toresolve any authentication errors.Step 7. Replace URL and CredentialsReplace the test URL and test credentials with the production URL and production credentials.For detailed instructions please see Updating Production Credentials in this document.This completes the certification process and moves your application to production.Note: It is recommended that you immediately test the production version of the application using sample data.For instructions on using FedEx Office Web Service, refer Onboarding Checklist for Integrator. Find answers to common questions and concerns, refer FAQs.Find the right contact for questions and additional information, see Support.Consultant Developer Certification Certifying Applications Using FedEx Office Web Service Integration FedEx Office Web Service enabled applications include the following:•Office Order ServiceNote: See the FedEx Office Web Service Developer Guide for detailed information on FedEx Office Web Services.Log in to the FedEx Developer Resource Center at /developer and go to the FedEx Office Web Services page /us/developer/web-services/office/ for an up-to- date list of services available through FedEx Office Web Services.While the certification requirements associated with commercial software implementations are more rigorous than those associated with non-commercial solutions, the exact certification process will depend to some degree on the nature of the implementation.Step 1. Develop and Test FedEx Office Web Service Enabled Application Develop and test your FedEx Office Web Service enabled application. Complete testing using the test authentication credentials (developer test key, test password, test product ID and test product version). Documentation and sample code are available for reference in Java, C#, , and PHP.Important Note: By default, Developer Test Key is disabled for FedEx Web Service for Office and Print. You need to complete the ‘Developer Test Key Enablement Request’ form and submit it to ***************************to enable your key to use the Office web services.Step 2. Submit FedEx Office Web Service Certification Application Request Start the certification process by submitting the FedEx Office Web Service ‘Certification Application Request’ form. Include detailed information about your business type, regarding who will use the application, how it will be used and for what purpose, past experience working with FedEx Office products, transaction volume for current implementation, and request for special considerations, if any. Application screen shots and/or access to the solution itself may be required by FedEx in order to certify your solution.Upon receiving your completed FedEx Office Web Service Certification Application Request, you will be assigned a FedEx certification contact. FedEx will review the implementation material that you have provided and then contact you regarding the FedEx Integrator ID, Client Product ID, and Client Product Version values to use during certification testing.Step 3. Obtain Production CredentialsTo move forward with certification testing, use the Integrator ID from the above step to request for FedEx Office Web Service production credentials. Obtain your production credentials (production authentication key and production password) online during the move to production registration process. By default, Production Test Key is disabled for FedEx Web Service for Office and Print. You need to complete the ‘Production Test Key Enablement Request’ form and submit it to ***************************to enable your key to use the FedEx Office Web Service.Important Note: Due to the sensitivity of this information, the production authentication key is only displayed on the FedEx Developer Resource Center and not provided in theconfirmation email (Step 4). Please retain this information for your records.Step 4. Receive Registration EmailYou will receive confirmation of your production registration by email.If you do not receive the registration email within a few minutes, please check yourSPAM/Junk folder.Step 5. Application EvaluationFedEx will perform a thorough review of the implementation material that Integrator hasprovided for Brand/Legal standards and Operations compliance. You will be notified of any certification requirements discovered during the evaluation process. Update your solution to address the points of failure and advise your FedEx certification contact when your solution isready to be re-evaluated. FedEx will inform you when your solution has successfullycompleted certification.Note: Anything that features the FedEx identity, including the FedEx logo, imagery, or service names, whether authored by FedEx or an outside party, must be submitted forbrand approval. To learn more about FedEx Brand standards compliance, please visit.Step 6. Prepare for Production DeploymentUpon successful certification, FedEx Office team will send you an email confirming yourproduction status.Note: Your approval is on a per key basis, meaning if you generate additional FedEx Office Web Services production keys, you’ll need to inform FedEx Office team in order toresolve any authentication errors.Step 7. Replace URL and CredentialsReplace the test URL and test credentials with the production URL and productioncredentials. For detailed instructions please see Updating Production Credentials in this document.This completes the certification process and moves your application to production.Note: It is recommended that you immediately test the production version of theapplication using sample data.For instructions on using FedEx Office Web Service, refer Onboarding Checklist for Integrator. Find answers to common questions and concerns, refer FAQs.Find the right contact for questions and additional information, see Support.Updating Production CredentialsThis section describes how to change the WSDL endpoint to point to the FedEx production environment from the FedEx test e nvironment:1. Open the <service name> WSDL and scroll down to the end of the WSDL.2. Remove the word “beta” from the attribute value of the “address location” element.3. Replace your test credentials with your production credentials.a. For Shipping, replace the Developer Test Key, Password, Account, and MeterNumber.b. For Office, replace the Developer Test Key, Password, Integrator ID, ClientProduct ID, and Client Product Version.4. Sign up for Web Services Alerts and Outage Notifications (). ExamplesTEST LEVEL<service name="TrackService"><port name="TrackServicePort" binding="ns:TrackServiceSoapBinding"><s1:address location="https://:443/web-services/track"/> </port></service>PRODUCTION LEVEL<service name="TrackService"><port name="TrackServicePort" binding="ns:TrackServiceSoapBinding"><s1:address location="https://:443/web-services/track"/></port></service>11。

OfficeWebComponents是什么?

OfficeWebComponents是什么?

What Are the Office Web Components?The Office Web Components are a set of Component Object Model (COM) controls designed to bring interactive spreadsheet modeling, database reporting, and data visualization to a number of control containers. The OWC library contains four principal components: Spreadsheet, Chart, PivotTable, and Data Source. We'll discuss each of these controls briefly in this section and in much more detail in the following chapters.NOTECOM is also known as ActiveX. I was on the Visual Basic team when Microsoft invented the term "ActiveX" to describe the COM technologies, throwing most of our customers for a loop since they had just gotten used to saying COM after we stopped using the term "OLE." Since I'm not a marketing person, I'll just use the term COM in this book to describe the Component Object Model technologies.The word "Office" in the name "Office Web Components" indicates that the controls were developed by some of the same programmers who created Microsoft Excel and Microsoft Access and that the controls were made to look, feel, and behave like small versions of their Microsoft Office siblings. These controls definitely don't have all the features found in Excel and Access—in other words, you wouldn't want to dynamically download all of Excel and Access to view a report in your browser! However, the controls do contain many of the commonly used features, especially those needed when interacting with content that's already been created. Plus, they can read and write the HTML file format of Excel 2000, allowing the user to click a button and load the current data into Excel for more powerful analysis. In this book, I'll detail the noteworthy Excel or Access features that are and aren't supported by each component. I'll also show you how to add some of these missing features with your own code.The "Web" part of OWC's name is often misleading. The controls are standard COM controls and can be used in many control containers such as Microsoft Internet Explorer, Microsoft Visual Basic, Microsoft Visual C++, Microsoft Visual FoxPro, or Microsoft Office UserForms. However, the controls have a few behaviors that make them especially suited to the unique environment of Internet Explorer. For example,web browsers automatically support scrolling along a document, and it's often annoying for a control in the page to have its own set of scroll bars. The Spreadsheet and PivotTable controls can be set to automatically adjust themselves to fit their current content without requiring internal scroll bars. Also, all the controls support the color names available in Internet Explorer in addition to supporting numeric RGB values. That means you can set the background color of an element to "CornSilk" or "PapayaWhip" (my personal favorite), and the control will convert the color to the appropriate RGB value just as Internet Explorer would.The "Components" part of OWC's name is a touch confusing, although it's more accurate than using the word "Controls" (though I will often refer to OWC as "controls" for convenience throughout this book). The Office Web Components are unusual in that they can be used in control containers like web pages, Visual Basic forms, and so on, as well as in memory as invisible objects. Most COM controls can be used only as visible controls in control containers, and most invisible objects, such as those accessed via the Microsoft ActiveX Data Objects (ADO) interface, can be used only in memory and cannot be put on a form or web page. The OWC library was built so that its components could be used either way, which enables you to use the controls with the user interfaces they expose or for their base services, such as spreadsheet recalculation. The ability to use the components as invisible objects also enables you to use the library on a server to easily generate static content that users can view in any web browser (more on that later in the chapter).All the controls support a rich set of programming interfaces that you can call from Microsoft VBScript (Visual Basic Scripting Edition), Microsoft JScript, Microsoft VBA (Visual Basic for Applications), Java, C++, and any other language capable of calling a dual or dispatch COM interface. That means you can weave the components into a custom solution and make them look and act the way you want. I will discuss most of the important properties, methods, and events in the subsequent chapters and will cover many more of these in the chapters describing the various solutions found on the companion CD.SEE ALSOIf you are looking for a definitive reference on COM, I'd recommend picking up a copy of David Chappell's Understanding ActiveX and OLE (Microsoft Press, 1996).Let's take a brief look at each of the components and discuss what kinds of solutions you can build with them. As already mentioned, the next four chapters will cover each component in more depth.The Spreadsheet ComponentThe Spreadsheet component (shown in Figure 1-1) is like a small version of an Excel spreadsheet, complete with a spreadsheet user interface and a recalculation engine that supports nearly all the calculation functions in Excel 2000. With this control, you can change or recalculate values; sort, filter, and scroll data; protect cells; and even reload the data into Excel 2000 for further manipulation. The Spreadsheet control can load its data from an embedded parameter or from any URL that points to an Excel spreadsheet saved in HTML file format.Figure 1-1.The Spreadsheet component.The Spreadsheet control is useful anytime you want to make a spreadsheet model available on your intranet so that others can change the input and instantly view the recalculated results. Examples include a mortgage calculator and payment schedule model, a product break-even model, and a sales forecasting model.This control is also useful for any kind of cross-tabulated or grid-based data entry, especially when you need to use formulas with automatic recalculation. Examples include expense reports, timesheets, and budgets.The Spreadsheet control has the ability to bind cells to properties of other objects on the page and then automatically update the cell and its dependents when the source indicates that the property value has changed. This makes it possible to feed real-time data into the spreadsheet for scenarios such as a stock portfolio.The Spreadsheet control is specifically designed to keep listening for new values and recalculating even when you are editing other formulas or formatting other cells in the spreadsheet you're working on.The Chart ComponentThe Chart component (shown in Figure 1-2) is comparable to a small version of Excel charting, supporting most of the two-dimensional chart types in Excel 2000 as well as a Polar chart type. Another big feature is that the Chart control can display many plots at once, allowing you to create a small-multiple design—in other words, a collection of plots that vary by one property and can be compared at a glance. A chart can be data-bound to the Spreadsheet control, the PivotTable control, or an ADO Recordset object, or it can be filled with literal data values. When bound to a data source, a Chart control will update whenever the source data changes.SEE ALSOFor more information on the power of small-multiple designs, see Edward Tufte's book Envisioning Information (Graphics Press, 1990).Figure 1-2.The Chart component.The Chart control is primarily useful any time you need to chart live data or monitor a specific metric critical to your business. Because it supports a rich programming model, you can also add many effects to a chart with this control, such as zooming and panning on large axes, dynamically changing other content in the application based on the mouse's location, or letting users double-click to link to a new page displaying more information about the selected data point.The PivotTable ComponentDesigned to deliver interactive data reporting and analysis, the PivotTable component (shown in Figure 1-3) provides all the functionality found in Excel PivotTables and external data ranges. It can retrieve data from tabular, relational databases through OLE DB, as well as from OLAP server cubes and cube files through OLE DB for OLAP. Using this control, you can view data grouped, sliced, and sorted in a variety of ways, creating polished reports and interactive analysis on live data.You can use this control for many tasks, although it's best suited for database reporting and data analysis solutions. When bound to an OLAP cube, the PivotTable control can provide the user with a flexible, high-performing analysis surface. IT groups can concentrate on collecting and cleaning data and loading it into cubes thatreflect the way their company thinks about the data, while users working with this control can create slices of the data to fit their own needs.Figure 1-3.The PivotTable component.The PivotTable control can also perform the same operations directly on a relational database, so you can use it even if you don't have an investment in an OLAP system. However, the performance when using an OLAP data source is always much faster because of the nature of the technology. OLAP has other logical benefits that we'll discuss further when we explore the Sales Analysis and Reporting solution in Chapter 7.The Data Source ComponentThe Data Source component (DSC) is the backbone for controls that require data from external sources. Although this control is invisible, it is widely used to retrieve data, manipulate data into hierarchies or temporary OLAP cubes (more on this in Chapter 4), and establish data bindings between the various controls. Since the DSC supports the same standard interfaces as other data source controls found in Internet Explorer and Visual Basic, it will interoperate in those environments. The DSC is used heavily in Access 2000's data access pages feature and encapsulates much of the functionality found in the Access reporting engine.The DSC is involved almost any time the other components retrieve data from an external database. However, it also supports a programming model of its own, and you can use it to build or manipulate hierarchical Recordset objects. In general, you don't need to think much about the DSC since the other components and the Access 2000 Data Access Page Designer will set it up and implement it for you.Office Web Components是什么?Office Web Components是一组的COM控件,设计的目的是为众多的控件容器提供交互的电子表格建模,数据报表和数据可视化功能。

Office Web Components在教育评估MIS系统中的设计与应用

d t ol ci g a d p o e s g. o sd rn l p ii n n e ti t fe au t n d t . h O l e E i f n t n b s d aa c l tn n r c s i e n C n i ei g Mut l t a d u c r n yo v l a i aa t e“ n i d t”u ci a e i cy a o n o o or me f e W e o o e tr s le h r b e o o o d s rb , ol c n n lz h o l ae v l ain n Ds f a r0f c b C mp n n e ov st e p o l m f w t e c ie c l t d a ay e te c mp i t d e au t i h e a c o d t i s a f d tb s ,a d gv s a p l ai n p o r mmi g i tra e fr i tg a in o h v l ain MI n t e aa n t d o a a a e n ie n a p i t r g a e c o n ne fc o n e r t f te e au t S a d oh r o o c l g S w t o l e MI i XML me s g a se t n a d. 1i p p rd s u s s t ed s n a d i lme to o rme On ie E i e h s a e t n f r a d r 11s a e i s e h e i n mp e n f r s c g Ds fa r“ l d t n ”f n t n i / d lE u ain l v l ai n MI u c i B S mo e d c t a au t S. o n o E o

windows进程(超全)

windows进程(超全)services.exe进程文件 : services or services.exe进程名称 : windows service controller描述 : 管理 windows 服务。

是否为系统进程 : 是smss.exe进程文件 : smss or smss.exe进程名称 : session manager subsystem描述 : 该进程为会话管理子系统用以初始化系统变量,ms-dos 驱动名称类似 lpt1以及 com,调用 win32 壳子系统和运行在windows 登陆过程。

是否为系统进程 : 是snmp.exe进程文件 : snmp or snmp.exe进程名称 : microsoft snmp agent描述 : windows 简单的网络协议代理(snmp)用于监听和发送请求到适当的网络部分。

是否为系统进程 : 是spool32.exe进程文件 : spool32 or spool32.exe进程名称 : printer spooler描述 : windows 打印任务控制程序,用以打印机就绪。

是否为系统进程 : 是spoolsv.exe进程文件 : spoolsv or spoolsv.exe进程名称 : printer spooler service描述 : windows 打印任务控制程序,用以打印机就绪。

是否为系统进程 : 是stisvc.exe进程文件 : stisvc or stisvc.exe进程名称 : still image service描述 : still image service 用于控制扫描仪和数码相机连接在 windows。

是否为系统进程 : 是svchost.exe进程文件 : svchost or svchost.exe进程名称 : service host process描述 : service host process是一个标准的动态连接库主机处理服务。

OA自动化-基于WEB的办公自动化系统的研究与实现 精品

20XX 届设计(论文)基于WEB的办公自动化系统的研究与实现系、部:计算机信息与科学系学生姓名:邓燕清指导教师:陈敏职称:讲师专业:计算机应用班级:0702学号:30107020720X X年5月摘要计算机技术发展所带来的办公自动化系统在很大程度上提高了个人和企事业单位的工作效率。

对于企业而言,公司之间的竞争在某种程度上就意味着工作效率之间的竞争。

随着企业规模的扩大,如果员工之间、各部门之间的信息传递仍停留在原来有纸化传递的基础上,这种联系方式势必导致低效落后,影响各部门间的信息流通效率,因此有必要建立安全高效的办公自动化系统。

它已经成为企业、事业、机关等单位的必备办公手段。

随着网络技术、工作流技术、数据库技术的发展和广泛应用,Internet 深入社会的各个角落,使以计算机网络为基础、协同工作为目标的办公自动化有了新的发展契机,引发了现代办公自动化系统的全新革命。

本文首先对办公自动化系统的开发背景、国内外研究现状和意义,阐述了我国企业进行信息化建设,构建适用的办公自动化系统的必要性。

接着研究和探讨了建立办公自动化系统采用的JavaScript、ASP、SQL Server 20XX 、B/S等关键技术,本系统包括以下五个功能模块:个人办公、工作流、邮件中心、在线交流、系统管理。

通过对办公系统的研究,把握其发展方向和趋势,为构建高效的办公环境奠定基础。

关键字:办公自动化系统,MVC,JSP,JavaScript,SQL Server 20XXABSTRACTDevelopment of puter technology brought about by office automation systems to a large extent of individuals and enterprises to improve the work efficiency. For enterprises, the petition between panies to some extent means the petition between efficiency. With the scale of the expansion, if the transmission of information between the employee and various departments still remain in the original paper-based delivery basis, such contact will inevitably lead to inefficient and backward, affecting the flow of information efficiency between various departments, Therefore, we should build the safe and efficient office automation system. It has bee the essential office tool for business, Enterprise, institutions and other units. With the development and wide application of the network technology, workflow technology, database technology, Internet-depth out of every corner of society, so that a puter network based on and collaboration-oriented office automation has a new opportunity for development, triggering a modern office automation new revolutionary system.Firstly this paper explains the background of the development of office automation systems, status and significance, Secondly it expounds on the necessity of the construction of information, building applicable automation office systems in our country. Then it studies and explores the key technologies for establishment of office automation systems used by JavaScript, ASP, SQL Server 20XX, B / S and so on, the system includes the following five modules: personal office, workflow, message centers, online munication, system management. Through the study of Office System, grasp the trend and the direction of development, for build a efficient office environment lay a foundation.Keywords :Office Automation System,MVC,JSP,JavaScript,SQL Server 20XX目录第1章绪论 (1)1.1 研究背景 (1)1.2 国内外研究现状 (1)1.3研究意义 (1)1.4 可行性研究 (2)1.4.1 社会可行性 (2)1.4.2 技术可行性 (2)1.4.3 经济可行性 (2)1.5 相关开发工具简介 (3)1.5.1 MyEclipse 5.5.1 GA 简介 (3)1.5.2 SQL Server 20XX 简介 (3)1.5.3 Tomcat 5.5 简介 (4)1.6 论文组织结构 (5)第2章需求分析 (5)2.1 需求分析概述 (5)2.1.1 功能需求 (6)2.1.2 性能需求 (6)2.2运行环境 (7)2.2.1 软件环境 (7)2.2.2 硬件环境 (7)2.3开发环境 (8)2.3.1 服务器软件环境 (8)2.3.2 服务器硬件环境 (8)2.3.3 开发机器软件环境 (9)2.3.4 开发机器硬件环境 (9)2.4 数据流图 (9)第3章系统概要设计 (11)3.1 系统功能模块设计 (11)3.2 各模块具体功能描述 (11)3.2.1 总体概述 (11)3.2.2 个人办公 (12)3.2.3 工作流模块 (13)3.2.4 邮件中心模块 (16)3.2.5在线交流模块 (17)3.2.6系统管理模块 (18)3.3 数据库设计 (19)3.3.1设计工具 (19)3.3.2数据库概念结构设计 (19)3.3.2.1 总体E-R图 (19)3.3.2.2 工作流关系图 (20)3.3.2.3 用户关系图 (21)3.3.3表设计 (22)3.3.3.1 表声明 (22)3.3.3.2 表详细描述 (23)第4章系统详细设计 (27)4.1模块命名规则及编码规范 (27)4.2 登录页面 (30)4.3 主页面 (31)4.4 工作流页面的实现 (31)4.4.1新建工作页面设计 (31)4.4.2 请假申请流程设计 (32)4.5 请假申请流程实现 (37)4.5.1 MVC模式 (37)4.5.2 存储过程 (37)4.5.3 请假申请流程步骤 (38)4.6.2 审批请假申请 (39)4.6.3 工作查询 (40)第5章软件测试 (41)5.1用户登录测试 (41)........................................................ 错误!未定义书签。

WebOffice技术白皮书


“查询系统”三个工具,达到信息共享、管理、利用的目的。
(3) 网络办公 以 CaseOAR5c 的流程核心为基础、以 B/S 为结构、基于 Internet
架构的网络办公系统。用户可以自定义文档的结构和文档的流
程,最大限度的满足用户的需要。
三、 功能简介
1.系统结构图
系统设置
订阅系统
评价系统
查询系统
在系统一级构成 C/S 模式。所有的客户都属于信息网络的使用者和建设者,客户 可以从信息网络上得到所需的信息资料,同时把自己的资料发布到网上,不断丰 富完善信息网络。
信息网络( Information Network)遵循一种以知识库为中心的网状结构。处 于信息网络中的模块都能相互共享信息:都向知识库提供信息,同时共享知识库 的信息。整个系统在宏观逻辑上是一种网状结构,在微观具体实现上采用“主题 相关”技术,即通过一条信息即可转移到其他相关信息。
在 WebOffice 中,订阅系统是个人与系统的各个模块联系的桥梁。用户只 需登记要订阅信息的主题词、类别或关键字,就可自动接收到其它模块中的最 新信息。订阅系统免去了用户频繁的在不同模块中切换的痛苦,只需打开个人 主页即可浏览所有最新消息。
在线订阅:用户在浏览某一个文档时,可以按下订阅按钮,订阅同一类别 的文档。
公共事务 网络办公
提供工作流的管理,充分体现群集办公平台的优势。自定义文件模版、自定 义文件流程能满足用户对工作流管理的所有需要,一切尽在掌握中。 会议管理 为用户提供会议室管理,并且在会议召开前进行会议计划和会议文件、会议 议题等方面的准备,还包括会议室的申请,会议通知的发送。会议召开后可以 做会议记录、纪要和会议查询。 资源管理 对内部各种资源 (如办公设备、办公用品、器材、车辆等)进行统一管理、 调度。 公共信息 企业简介 企业的介绍、机构概况、部门、员工等信息。客户和新员工能快速的了解企 业。 规章制度 企业内部的规章制度、员工能及时了解企业的各种章程。 企业通讯录 齐全的企业级通讯录,达到信息共享。 大事记 真实记录企业成长的每一个脚印。 时刻表 体贴周到的列车航班时刻表。 政策法规 查询浏览各种政策法规。 帮助 简单容易的取得帮助信息。 四、 展望未来 1. 考虑与公司的其他产品如:KMCenter、CaseOA、CRM 的关系。 2. 考虑加入对 Lotus 的其他产品的支持,至少能调用其产品。 3. 今后所有的模块都应能让用户自己定义主界面。 4. 提供 HTML 文件生成器,将 Notes 文档发布到 Internet 上。 5. 提供二维主题词库,实现智能信息搜索。
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

免费WebOffice使用目前WebOffice使用比较多主要有两个公司的产品,分别是江西金格和北京点聚。

但是点聚的是免费的,虽然有欠缺之处,但是经过个人修改还是比较好用的,关键一点是,它免费啊!把一个最主要加载页面,如果读懂了这个页面的使用,其他的相当就好理解了。

(如果需要组件和源码的给我留言)<%@ Page Language="C#" AutoEventWireup="true" CodeFile="DocEdit.aspx.cs" Inherits="DocEdit" %><%@ Import Namespace="System.Data.OleDb"%><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN""/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="/1999/xhtml" ><head runat="server"><title>编辑正文</title><!-- 编辑控件主要集中在此页面--></head><body><form name="myform" action="#" method="post"><% //获取服务器的地址string URL = this.Session["URL"].ToString();string ID;string DocType;string DocTitle = "";//起草文件,则ID为NULL,否则为记录的主键ID = Request.QueryString["ID"];if (ID == null || ID == ""){//获取新建文件的类型DocType = Request.Form["DocType"];}else{//获取DocTitleDocTitle = Request.QueryString["DocTitle"];//获取文件的类型DocType = Request.QueryString["DocType"];}//默认为word文档,如果异常进入则按word处理,组织部基本处理的都是wordif (DocType == null || DocType == ""){DocType = "doc";}%><TABLE cellSpacing=0 cellPadding=0 width="100%" border=0><TR><TD bgColor=#3366cc><IMG height=1 alt="" width=1></TD></TR></TABLE><table style="width: 100%" border = "0" cellpadding="0" cellspacing="0"> <tr><td valign="top" bgColor="#e5ecf9" style="height: 21px;"><palign="left"><b><strong>WebOffice演示</strong></b></p></td></tr></table><br /> <br /><table width="100%" border="0" cellpadding="0" cellspacing="1"bgcolor="#3366cc"><tr bgcolor="#FFFFFF"><td bgcolor="#ffffff" rowspan="2"><div align="center"><strong>标题</strong></div></td><td rowspan="2"><input name="DocTitle" value= "<%if(DocTitle=="" ) {Response.Write("text");} else {Response.Write(DocTitle);} %>" size="14" id="Text1"/></td><td rowspan="2" >&nbsp; &nbsp;<input name="DocFilePath" type="file" size="34" /> <input type="button" value="打开本地文件" onclick="return docOpen()" id="Button1" style="width: 115px" /></td><td rowspan="2" bgcolor="#FFFFFF" style="width: 344px"><div align="center"><input type="button" class="btn" value="显示最终文稿" onclick="return UnShowRevisions()" /><input type="button" value="从服务器下载" onclick="returnWebOffice1_NotifyCtrlReady()" style="width: 96px"/><input type="button" value="上传到服务器" onclick="return SaveDoc()"style="width: 98px"/><input type="button" style="display:none" value="返回" onclick="return return_onclick()"/></div></td></tr><tr bgcolor="#FFFFFF"></tr><tr bgcolor="#FFFFFF"><td valign="top" bgcolor="#FFFFFF" style="height: 560px"><!-- -------------------=== Start 嵌套Table ===------------------------------- --><table width="100%" border="0" cellpadding="0"><tr><td class="maintxt">用户名:<br /><input name="UserName" type="text" value="Test" style="width:74px;" maxlength="10" /><br /><input type="button" value="设置用户" onclick="return SetUserName()" class="btn" /></td></tr><tr><td class="maintxt"><hr size="1" />保护密码:<br /><input name="docPwd" type="text" value="Password" style="width:74px;" maxlength="10" /><br /><input type="button" class="btn" value="保护文档" onclick="return ProtectFull()" /></td></tr><tr><td><input type="button" class="btn" value="解除保护" onclick="return UnProtect()" /></td></tr><tr><td><hr size="1" /><input type="button" class="btn" value="修订文档" onclick="return ProtectRevision()" /></td></tr><tr><td><input type="button" class="btn" value="显示修订" onclick="return ShowRevisions()" /></td></tr><tr><td><input type="button" class="btn" value="隐藏修订" onclick="return UnShowRevisions()" /></td></tr><tr><td><input type="button" class="btn" value="接受修订" onclick="return AcceptAllRevisions()" /></td></tr><tr><td><hr size="1" /><input type="button" class="btn" value="设置书签" onclick="return addBookmark()" /></td></tr><tr><td rowspan="4"><input type="button" class="btn" value="套加红头" onclick="return addRedHead()" /></td></tr></table><!-- -------------------=== End 嵌套Table ===------------------------------- --> <select id="Select1" name="select" style="width: 83px"><option selected="selected" value="<%=URL %>/template/tmp1.doc">部模板1</option><option value="<%=URL %>/template/tmp2.doc">市模板1</option><option value="<%=URL %>/template/tmp3.doc">县模板1</option> </select></td><td colspan="3" valign="top" style="height: 560px"><!-- -----------------------------== 装载weboffice控件==-----------------------------------><script src="LoadWebOffice.js"></script><!-- --------------------------------== 结束装载控件==-------------------------------------></td></tr></table><br /> <br /><table style="width: 100%" border = "0" cellpadding="0" cellspacing="0"> <tr><td valign="top" bgColor="#e5ecf9" ><span style="color: red">服务器地址:<%=this.Session["URL"].ToString() %> </span></td></tr></table><TABLE cellSpacing=0 cellPadding=0 width="100%" border=0><TR><TD bgColor=#3366cc><IMG height=1 alt="" width=1></TD></TR></TABLE></form></body></html><script language="javascript" type="text/javascript">// ---------------------== 关闭页面时调用此函数,关闭文档--------------------- //function window_onunload() {document.all.WebOffice1.Close();}// ---------------------------== 解除文档保护==---------------------------------- // function UnProtect() {document.all.WebOffice1.ProtectDoc(0,1, myform.docPwd.value);}// ---------------------------== 设置文档保护==---------------------------------- // function ProtectFull() {document.all.WebOffice1.ProtectDoc(1,1, myform.docPwd.value);}// -----------------------------== 修订文档==------------------------------------ // function ProtectRevision() {document.all.WebOffice1.SetTrackRevisions(1)}// -----------------------------== 隐藏修订==------------------------------------ // function UnShowRevisions() {document.all.WebOffice1.ShowRevisions(0);}// --------------------------== 显示当前修订==---------------------------------- // function ShowRevisions() {document.all.WebOffice1.ShowRevisions(1);}// -------------------------== 接受当前所有修订------------------------------ //function AcceptAllRevisions() {document.all.WebOffice1.SetTrackRevisions(4);}// ---------------------------== 设置当前操作用户==------------------------------- // function SetUserName() {if(erName.value ==""){alert("用户名不能为空");erName.focus();return false;}document.all.WebOffice1.SetCurrUserName(erName.value);}// -------------------------=== 设置书签套加红头===------------------------------ // function addBookmark() {document.all.WebOffice1.SetFieldValue("mark_1", "安徽省委组织部红头文件::ADDMARK::");}// -------------------------=== 设置书签套加红头===------------------------------ // function addRedHead() {if(document.getElementById("Select1").value == "")//判断是否选择模板{alert("请选择模板!")return false;}document.all.WebOffice1.SetFieldValue("mark_1", "", "::ADDMARK::"); // 添加书签 document.all.WebOffice1.SetFieldValue("mark_1",document.getElementById("Select1").value, "::FILE::");}// -----------------------------== 返回首页==------------------------------------ // function return_onclick() {document.all.WebOffice1.Close();window.location.href = "Default.aspx"}// 打开本地文件function docOpen() {//alert(myform.DocFilePath.value)if(myform.DocFilePath.value == "") {alert("文件路径不可以为空");myform.DocFilePath.focus();return false;}var flag;//LoadOriginalFile接口装载文件flag =document.all.WebOffice1.LoadOriginalFile(myform.DocFilePath.value,"<%=DocType%>"); if( 0 == flag){alert("文件打开失败,请检查路径是否正确");myform.DocFilePath.focus();return false;}}// -----------------------------== 保存文档==------------------------------------ //function SaveDoc() {if(myform.DocTitle.value ==""){alert("标题不可为空")myform.DocTitle.focus();return false;}//恢复被屏蔽的菜单项和快捷键document.all.WebOffice1.SetToolBarButton2("Standard",1,3);document.all.WebOffice1.SetToolBarButton2("Standard",2,3);document.all.WebOffice1.SetToolBarButton2("Standard",3,3);document.all.WebOffice1.SetToolBarButton2("Standard",6,3);<%if (DocType == "doc") {%>//恢复文件菜单项document.all.WebOffice1.SetToolBarButton2("Menu Bar",1,4);//恢复保存快捷键(Ctrl+S)document.all.WebOffice1.SetKeyCtrl(595,0,0);//恢复打印快捷键(Ctrl+P)document.all.WebOffice1.SetKeyCtrl(592,0,0);<%}else if(DocType == "xls") {%>//恢复文件菜单项document.all.WebOffice1.SetToolBarButton2("Worksheet Menu Bar",1,4);<%} %>//初始化Http引擎document.all.WebOffice1.HttpInit();//添加相应的Post元素<%if(ID != ""){%>document.all.WebOffice1.SetTrackRevisions(0);document.all.WebOffice1.ShowRevisions(0);document.all.WebOffice1.HttpAddPostString("ID","<%=ID%>");<%}%>document.all.WebOffice1.HttpAddPostString("DocTitle", myform.DocTitle.value);document.all.WebOffice1.HttpAddPostString("DocType","<%=DocType%>");//把当前文档添加到Post元素列表中,文件的标识符䶿DocContentdocument.all.WebOffice1.HttpAddPostCurrFile("DocContent",""); // 涓婁紶鏂囦欢var vtRet;//HttpPost执行上传的动仿WebOffice支持Http的直接上传,在upload.aspx的页面中,解析Post 过去的数慿//拆分出Post元素和文件数据,可以有选择性的保存到数据库中,或保存在服务器的文件中䶿//HttpPost的返回值,根据upload.aspx中的设置,返回upload.aspx中Response.Write回来的数据vtRet = document.all.WebOffice1.HttpPost("<%=URL %>/upload.aspx");//alert(vtRet.Trim());if(vtRet.Trim() == "succeed"){alert("文件上传成功");}else{alert("文件上传失败");}//return_onclick();}//--></script><SCRIPT ID=clientEventHandlersJS LANGUAGE=javascript><!--//实现Trim,LTrim和RTrim的功能String.prototype.Trim = function(){return this.replace(/(^\s*)|(\s*$)/g, "");}String.prototype.LTrim = function(){return this.replace(/(^\s*)/g, "");}String.prototype.RTrim = function(){return this.replace(/(\s*$)/g, "");}function WebOffice1_NotifyCtrlReady() {//LoadOriginalFile接口装载文件,//如果是编辑已有文件,则文件路径传给LoadOriginalFile的第一个参数alert("终于执行这里了!");<%if (ID == null || ID==""){%>document.all.WebOffice1.LoadOriginalFile("","<%=DocType%>");<%}else{%>//document.all.WebOffice1.LoadOriginalFile("<%=URL %>/GetDoc.aspx?ID=<%=ID%>","< %=DocType%>");//alert("<%=URL %>/GetDoc.aspx?ID=yangweili1");document.all.WebOffice1.LoadOriginalFile("<%=URL %>/GetDoc.aspx?ID=yangweili 1","doc");alert("加载成功了!");document.all.WebOffice1.SetTrackRevisions(1);document.all.WebOffice1.ShowRevisions(1);<%}%>//屏蔽标准工具栏的前几个按钮document.all.WebOffice1.SetToolBarButton2("Standard",1,1);document.all.WebOffice1.SetToolBarButton2("Standard",2,1);document.all.WebOffice1.SetToolBarButton2("Standard",3,1);document.all.WebOffice1.SetToolBarButton2("Standard",6,1);<%if (DocType == "doc") {%>//屏蔽文件菜单项document.all.WebOffice1.SetToolBarButton2("Menu Bar",1,1);//屏蔽保存快捷键(Ctrl+S)document.all.WebOffice1.SetKeyCtrl(595,-1,0);//屏蔽打印快捷键(Ctrl+P)document.all.WebOffice1.SetKeyCtrl(592,-1,0);<%}else if(DocType == "xls") {%>//屏蔽文件菜单项document.all.WebOffice1.SetToolBarButton2("Worksheet Menu Bar",1,1);<%} %>}//--></SCRIPT><!-- --------------------=== Weboffice初始化完成事件--------------------- --><SCRIPT LANGUAGE=javascript FOR=WebOffice1 EVENT=NotifyCtrlReady><!--WebOffice1_NotifyCtrlReady() // 在装载完Weboffice(执行<object>...</object>)控件后自动执行WebOffice1_NotifyCtrlReady方法//--></SCRIPT>。

相关文档
最新文档