officetest1.html 4.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>Title</title>
  6. <script>
  7. function of(){
  8. var o = new ActiveXObject("Word.Application");
  9. o.visible = true;
  10. o.Documents.open("E:\\公司项目\\ntko\\文档控件文档\\NTKO_OFFICE文档控件开发接口参考V5025.doc");
  11. }
  12. </script>
  13. </head>
  14. <body>
  15. <button onclick="of()">test</button>
  16. <!--<OBJECT id=TANGER_OCX style="HEIGHT: 600px; WIDTH: 100%" codeBase="/x_desktop/res/framework/officecontrol/OfficeControl.cab#version=5,0,2,9" classid="clsid:000209FF-0000-0000-C000-000000000046">-->
  17. <!--<PARAM NAME="BorderColor" VALUE="14402205">-->
  18. <!--<PARAM NAME="BackColor" VALUE="-2147483643">-->
  19. <!--<PARAM NAME="ForeColor" VALUE="-2147483640">-->
  20. <!--<PARAM NAME="TitlebarColor" VALUE="14402205">-->
  21. <!--<PARAM NAME="TitlebarTextColor" VALUE="0">-->
  22. <!--<PARAM NAME="BorderStyle" VALUE="1">-->
  23. <!--<PARAM NAME="Titlebar" VALUE="1">-->
  24. <!--<PARAM NAME="Toolbars" VALUE="1">-->
  25. <!--<PARAM NAME="Caption" VALUE="欢迎!">-->
  26. <!--<PARAM NAME="ProductCaption" value="O2">-->
  27. <!--<PARAM NAME="ProductKey" value="EDCC626CB85C9A1D3E0D7BDDDC2637753C596725">-->
  28. <!--<PARAM NAME="MakerCaption" VALUE="浙江兰德纵横网络技术股份有限公司">-->
  29. <!--<PARAM NAME="MakerKey" VALUE="E138DABB4AC26C2D8E09FAE59AB3BDE87AFB9D7B">-->
  30. <!--&lt;!&ndash;<PARAM NAME="IsShowToolMenu" VALUE="0">&ndash;&gt;-->
  31. <!--&lt;!&ndash;<PARAM NAME="IsNoCopy" VALUE="0">&ndash;&gt;-->
  32. <!--&lt;!&ndash;<PARAM NAME="IsHiddenOpenURL" VALUE="0">&ndash;&gt;-->
  33. <!--&lt;!&ndash;<PARAM NAME="MaxUploadSize" VALUE="0">&ndash;&gt;-->
  34. <!--&lt;!&ndash;<PARAM NAME="NetworkBufferSize" VALUE="0">&ndash;&gt;-->
  35. <!--&lt;!&ndash;<PARAM NAME="Menubar" VALUE="1">&ndash;&gt;-->
  36. <!--&lt;!&ndash;<PARAM NAME="Statusbar" VALUE="1">&ndash;&gt;-->
  37. <!--&lt;!&ndash;<PARAM NAME="FileNew" VALUE="1">&ndash;&gt;-->
  38. <!--&lt;!&ndash;<PARAM NAME="FileOpen" VALUE="1">&ndash;&gt;-->
  39. <!--&lt;!&ndash;<PARAM NAME="FileClose" VALUE="0">&ndash;&gt;-->
  40. <!--&lt;!&ndash;<PARAM NAME="FileSave" VALUE="0">&ndash;&gt;-->
  41. <!--&lt;!&ndash;<PARAM NAME="FileSaveAs" VALUE="-1">&ndash;&gt;-->
  42. <!--&lt;!&ndash;<PARAM NAME="FilePrint" VALUE="-1">&ndash;&gt;-->
  43. <!--&lt;!&ndash;<PARAM NAME="FilePrintPreview" VALUE="-1">&ndash;&gt;-->
  44. <!--&lt;!&ndash;<PARAM NAME="FilePageSetup" VALUE="-1">&ndash;&gt;-->
  45. <!--&lt;!&ndash;<PARAM NAME="FileProperties" VALUE="-1">&ndash;&gt;-->
  46. <!--&lt;!&ndash;<PARAM NAME="IsStrictNoCopy" VALUE="0">&ndash;&gt;-->
  47. <!--&lt;!&ndash;<PARAM NAME="IsUseUTF8URL" VALUE="1">&ndash;&gt;-->
  48. <!--&lt;!&ndash;<PARAM NAME="MenubarColor" VALUE="15790320">&ndash;&gt;-->
  49. <!--&lt;!&ndash;<PARAM NAME="IsUseControlAgent" VALUE="0">&ndash;&gt;-->
  50. <!--&lt;!&ndash;<PARAM NAME="IsUseUTF8Data" VALUE="1">&ndash;&gt;-->
  51. <!--&lt;!&ndash;<PARAM NAME="IsSaveDocExtention" VALUE="0">&ndash;&gt;-->
  52. <!--&lt;!&ndash;<PARAM NAME="IsDirectConnect" VALUE="1">&ndash;&gt;-->
  53. <!--&lt;!&ndash;<PARAM NAME="SignCursorType" VALUE="0">&ndash;&gt;-->
  54. <!--&lt;!&ndash;<PARAM NAME="IsResetToolbarsOnOpen" VALUE="0">&ndash;&gt;-->
  55. <!--&lt;!&ndash;<PARAM NAME="IsSaveDataIfHasVDS" VALUE="0">&ndash;&gt;-->
  56. <!--&lt;!&ndash;<PARAM NAME="MenuButtonStyle" VALUE="0">&ndash;&gt;-->
  57. <!--&lt;!&ndash;<PARAM NAME="MenuButtonColor" VALUE="16180947">&ndash;&gt;-->
  58. <!--&lt;!&ndash;<PARAM NAME="MenuButtonFrameColor" VALUE="14924434">&ndash;&gt;-->
  59. <!--&lt;!&ndash;<PARAM NAME="MenuBarStyle" VALUE="0">&ndash;&gt;-->
  60. <!--&lt;!&ndash;<PARAM NAME="IsGetPicOnlyOnHandSign" VALUE="0">&ndash;&gt;-->
  61. <!--&lt;!&ndash;<PARAM NAME="IsSecurityOptionsOpen" VALUE="0">&ndash;&gt;-->
  62. <!--&lt;!&ndash;<PARAM NAME="IsShowHelpMenu" VALUE="1">&ndash;&gt;-->
  63. <!--&lt;!&ndash;<PARAM NAME="IsShowInsertMenu" VALUE="1">&ndash;&gt;-->
  64. <!--&lt;!&ndash;<PARAM NAME="IsAutoDetectWebCharSet" VALUE="0">&ndash;&gt;-->
  65. <!--&lt;!&ndash;<PARAM NAME="WebCodePage" VALUE="936">&ndash;&gt;-->
  66. <!--&lt;!&ndash;<PARAM NAME="IsShowEditMenu" VALUE="1">&ndash;&gt;-->
  67. <!--&lt;!&ndash;<PARAM NAME="IsShowFileErrorMsg" VALUE="1">&ndash;&gt;-->
  68. <!--&lt;!&ndash;<PARAM NAME="IsShowNetErrorMsg" VALUE="1">&ndash;&gt;-->
  69. <!--&lt;!&ndash;<PARAM NAME="ReceiveDataTimeOut" VALUE="180">&ndash;&gt;-->
  70. <!--&lt;!&ndash;<PARAM NAME="ConnectServerTimeOut" VALUE="180">&ndash;&gt;-->
  71. <!--&lt;!&ndash;<PARAM NAME="IsRemoveMacrosOnSave" VALUE="1">&ndash;&gt;-->
  72. <!--&lt;!&ndash;<PARAM NAME="IsForceCheckSecSignCertCRLOnline" VALUE="0">&ndash;&gt;-->
  73. <!--&lt;!&ndash;<PARAM NAME="IsAutoLockOnSecSign" VALUE="0">&ndash;&gt;-->
  74. <!--&lt;!&ndash;<PARAM NAME="IsAllowAddSignOnLockedDoc" VALUE="0">&ndash;&gt;-->
  75. <!--</OBJECT>-->
  76. </body>
  77. </html>