Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

67 lines
2.6KB

  1. <!DOCTYPE html
  2. PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html id="itemhtml">
  4. <head>
  5. <meta charset=utf-8" />
  6. <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
  7. <meta http-equiv="Pragma" content="no-cache" />
  8. <meta http-equiv="Expires" content="0" />
  9. <title>title</title>
  10. <style>
  11. button {
  12. background: #558FF2;
  13. }
  14. </style>
  15. <script type="text/javascript" src="./js/utils/json2.js"></script>
  16. <!-- <script type="text/javascript" src="./js/wps_sdk.js"></script> -->
  17. <script type="text/javascript" src="./js/wpsjsrpcsdk.js"></script>
  18. <script type="text/javascript" src="./js/wps.js"></script>
  19. <link rel="stylesheet" href="./css/demo.css" type="text/css" />
  20. <link rel="stylesheet" href="highlight/zenburn.css">
  21. <script type="text/javascript" src="highlight/highlight.pack.js"></script>
  22. </head>
  23. <body class="demoBody">
  24. <div>
  25. <div>
  26. <div style="position:inherit" class="btnContainer">
  27. <button class="btn" id="newDoc">新建文档</button>
  28. <button class="btn" id="openDoc">打开OA文档</button>
  29. <button class="btn" id="onlineEditDoc">在线编辑文档(文档不落地)</button>
  30. <button class="btn" id="openRevision">打开修订</button>
  31. <button class="btn" id="closeRevision">关闭修订</button>
  32. <button class="btn" id="protectOpen">保护模式打开</button>
  33. <button class="btn" id="openWithPassWd">打开加密文件</button>
  34. <button class="btn" id="insertRedHeader">套红头(文档不落地)</button>
  35. <button class="btn" id="fillTemplate">填充模板</button>
  36. <button class="btn" id="convertDoc">转换文档为pdf并上传</button>
  37. <button class="btn" id="taskPaneBookMark">用任务窗格演示书签</button>
  38. <button class="btn" id="getDocStatus">获取活动文档状态</button>
  39. <button class="btn" id="exitWPS">关闭WPS</button>
  40. <button class="btn" id="newOfficialDocument">新建空白公文(公文写作打开)</button>
  41. <button class="btn" id="openOfficialDocument">打开公文(公文写作打开)</button>
  42. <button class="btn" id="onlineEditOfficialDocument">在线打开公文(公文写作打开)</button>
  43. </div>
  44. </div>
  45. </div>
  46. <div class="divdemofunction" id="blockFunc" style="visibility: hidden;">
  47. <div class="divFunction">
  48. <div class="divDemo">
  49. <button id="demoBtn"></button>
  50. </div>
  51. <legend id="codeDesTitle">功能说明</legend>
  52. <pre><p id="codeDes"></p></pre>
  53. </div>
  54. <div class="divFunction">
  55. <fieldset>
  56. <legend id="codeview">功能代码</legend>
  57. <pre id="codepre"><code id="code"></code></pre>
  58. </fieldset>
  59. </div>
  60. </div>
  61. </body>
  62. </html>