{"_id":"vscode-office","_rev":"1-d5d908c9d28307b8a5f48e1b7c484c26","name":"vscode-office","dist-tags":{"latest":"2.0.2"},"versions":{"2.0.2":{"name":"vscode-office","displayName":"Office Viewer","description":"View word,excel files in vscode.","version":"2.0.2","publisher":"cweijan","icon":"images/icon.png","engines":{"vscode":"^1.40.0"},"keywords":["pdf","word","markdown","xlsx","excel"],"categories":["Visualization","Other"],"bugs":{"url":"https://github.com/cweijan/vscode-office/issues","email":"cweijan@163.com"},"homepage":"https://github.com/cweijan/vscode-office/blob/master/README.md","repository":{"type":"git","url":"https://github.com/cweijan/vscode-office.git"},"activationEvents":["*"],"main":"./out/extension.js","contributes":{"themes":[{"label":"One Dark Modern","uiTheme":"vs-dark","path":"./theme/OneDark-Modern.json"}],"markdown.previewStyles":["./theme/github-markdown.css"],"iconThemes":[{"id":"material-icon-theme","label":"Material Icon Theme","path":"./dist/material-icons.json","_watch":true}],"languages":[{"id":"reg","aliases":["REG","reg"],"extensions":[".reg",".REG"],"configuration":"./language/reg-language-configuration.json"},{"id":"http","aliases":["HTTP","Http","http"],"extensions":[".http",".rest"],"firstLine":"^(GET|POST|PUT|DELETE|PATCH|HEAD|OPTIONS|CONNECT|TRACE)\\s+(.*?)HTTP/[0-9\\.]+$","configuration":"./language/http-language-configuration.json"}],"grammars":[{"language":"reg","scopeName":"source.reg","path":"./syntaxes/reg.tmLanguage"},{"language":"http","scopeName":"source.http","path":"./syntaxes/http.tmLanguage.json"}],"snippets":[{"language":"http","path":"./snippets/http.json"}],"commands":[{"command":"rest-client.request","title":"Send Request","category":"Rest Client"},{"command":"rest-client.rerun-last-request","title":"Rerun Last Request","category":"Rest Client"},{"command":"rest-client.cancel-request","title":"Cancel Request","category":"Rest Client"},{"command":"rest-client.switch-environment","title":"Switch Environment","category":"Rest Client"},{"command":"rest-client.history","title":"View Request History","category":"Rest Client"},{"command":"rest-client.clear-history","title":"Clear Request History","category":"Rest Client"},{"command":"rest-client.save-response","title":"Save Full Response","icon":{"light":"./images/save.svg","dark":"./images/save-inverse.svg"},"category":"Rest Client"},{"command":"rest-client.save-response-body","title":"Save Response Body","icon":{"light":"./images/save-body.svg","dark":"./images/save-body-inverse.svg"},"category":"Rest Client"},{"command":"rest-client.copy-response-body","title":"Copy Response Body","icon":{"light":"./images/copy.svg","dark":"./images/copy-inverse.svg"},"category":"Rest Client"},{"command":"rest-client.generate-codesnippet","title":"Generate Code Snippet","category":"Rest Client"},{"command":"rest-client.copy-codesnippet","title":"Copy Code Snippet","icon":{"light":"./images/copy.svg","dark":"./images/copy-inverse.svg"},"category":"Rest Client"},{"command":"rest-client.copy-request-as-curl","title":"Copy Request As cURL","category":"Rest Client"},{"command":"rest-client.clear-aad-token-cache","title":"Clear Azure AD Token Cache","category":"Rest Client"},{"command":"rest-client.fold-response","title":"Fold Response","category":"Rest Client"},{"command":"rest-client.unfold-response","title":"Unfold Response","category":"Rest Client"},{"command":"office.reg.jumpToKey","title":"REG: Jump to registry key"},{"command":"office.markdown.paste","title":"Enhance pater in markdown"},{"command":"office.html.preview","title":"Preview HTML"}],"keybindings":[{"command":"office.markdown.paste","key":"ctrl+v","when":"!terminalFocus && !filesExplorerFocus"},{"command":"office.html.preview","key":"ctrl+shift+v","when":"editorTextFocus && editorLangId == html"}],"menus":{"commandPalette":[{"command":"rest-client.fold-response","when":"httpResponsePreviewFocus"},{"command":"rest-client.unfold-response","when":"httpResponsePreviewFocus"},{"command":"rest-client.save-response","when":"httpResponsePreviewFocus"},{"command":"rest-client.save-response-body","when":"httpResponsePreviewFocus"},{"command":"rest-client.copy-response-body","when":"httpResponsePreviewFocus"},{"command":"rest-client.copy-codesnippet","when":"codeSnippetPreviewFocus"}],"editor/title":[{"when":"httpResponsePreviewFocus","command":"rest-client.save-response","group":"navigation@1"},{"when":"httpResponsePreviewFocus","command":"rest-client.save-response-body","group":"navigation@2"},{"when":"httpResponsePreviewFocus","command":"rest-client.copy-response-body","group":"navigation@3"},{"when":"httpResponsePreviewFocus","command":"rest-client.fold-response","group":"1_rest-client@1"},{"when":"httpResponsePreviewFocus","command":"rest-client.unfold-response","group":"1_rest-client@2"},{"when":"codeSnippetPreviewFocus","command":"rest-client.copy-codesnippet","group":"navigation"}],"editor/context":[{"command":"office.html.preview","group":"navigation@1","when":"editorTextFocus && editorLangId == html"},{"command":"rest-client.request","when":"editorTextFocus && editorLangId == http","group":"rest-client@1"},{"command":"rest-client.generate-codesnippet","when":"editorTextFocus && editorLangId == http","group":"rest-client@2"},{"command":"rest-client.copy-request-as-curl","when":"editorTextFocus && editorLangId == http","group":"rest-client@3"}]},"customEditors":[{"viewType":"cweijan.officeViewer","displayName":"Office Viewer","selector":[{"filenamePattern":"*.xlsx"},{"filenamePattern":"*.csv"},{"filenamePattern":"*.xls"},{"filenamePattern":"*.docx"},{"filenamePattern":"*.psd"},{"filenamePattern":"*.svg"},{"filenamePattern":"*.epub"},{"filenamePattern":"*.xmind"},{"filenamePattern":"*.pdf"},{"filenamePattern":"*.ttf"},{"filenamePattern":"*.woff"},{"filenamePattern":"*.otf"},{"filenamePattern":"*.jpg"},{"filenamePattern":"*.png"},{"filenamePattern":"*.gif"},{"filenamePattern":"*.apng"},{"filenamePattern":"*.apng"},{"filenamePattern":"*.bmp"},{"filenamePattern":"*.ico"},{"filenamePattern":"*.cur"},{"filenamePattern":"*.jpeg"},{"filenamePattern":"*.pjpeg"},{"filenamePattern":"*.pjp"},{"filenamePattern":"*.tif"},{"filenamePattern":"*.tiff"},{"filenamePattern":"*.webp"},{"filenamePattern":"*.swf"}]},{"viewType":"cweijan.markdownViewer","displayName":"Markdown Viewer","selector":[{"filenamePattern":"*.md"},{"filenamePattern":"*.puml"},{"filenamePattern":"*.plantuml"},{"filenamePattern":"*.pu"}]},{"viewType":"cweijan.htmlViewer","displayName":"Html Viewer","priority":"option","selector":[{"filenamePattern":"*.html"},{"filenamePattern":"*.htm"}]},{"viewType":"cweijan.classViewer","displayName":"Java Decompiler","priority":"option","selector":[{"filenamePattern":"*.class"}]}],"configuration":{"type":"object","title":"Office","properties":{"vscode-office.markdownType":{"type":"string","enum":["hyperMD","vditor","auto"],"default":"auto","description":"Set markdown viewer type."},"vscode-office.viewAbsoluteLocal":{"type":"boolean","default":false,"description":"Support view absolute path image from markdown viewer."},"vscode-office.autoTheme":{"type":"boolean","default":false,"description":"Viewer follow vscode theme."}}}},"scripts":{"vscode:prepublish":"npm run build","publish":"vsce publish --yarn","compile":"tsc -p ./","watch":"tsc -watch -p ./","install":"npm i --ignore-scripts","dev":"webpack --progress","build":"webpack -p --progress"},"devDependencies":{"@types/node":"^13.11.0","@types/node-fetch":"^2.5.7","@types/vscode":"^1.40.0","clean-webpack-plugin":"^3.0.0","copy-webpack-plugin":"^6.2.1","css-loader":"^3.5.3","file-loader":"^6.0.0","style-loader":"^1.2.1","ts-loader":"^7.0.5","typescript":"^3.8.3","url-loader":"^4.1.0","webpack":"^4.43.0","webpack-cli":"^3.3.11"},"dependencies":{"cheerio":"^1.0.0-rc.3","chrome-finder":"^1.0.7","mammoth":"^1.4.13","highlight.js":"^10.1.2","markdown-it":"^11.0.0","markdown-it-anchor":"^6.0.0","markdown-it-checkbox":"^1.1.0","markdown-it-katex":"^2.0.3","markdown-it-named-headers":"0.0.4","markdown-it-plantuml":"^1.0.0","markdown-it-toc-done-right":"^4.1.0","mustache":"^4.0.1","node-fetch":"^2.6.1","pdf-lib":"^1.11.2","puppeteer":"^5.2.1"},"licenseText":"MIT License\n\nCopyright (c) 2020 Weijan Chen\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","license":"MIT","_id":"vscode-office@2.0.2","dist":{"shasum":"62bc530272300e5a456c36afa96dc49b21c63384","integrity":"sha512-Rg0B96Zx8m5Vg/dpVLlT1+Jbc9E0/NLRNv67VaaPWfeZdbwYOF083JXnT5ilVzkGHSR44tUwWSJGtGYhWbtEIQ==","tarball":"https://registry.npmjs.org/vscode-office/-/vscode-office-2.0.2.tgz","fileCount":1134,"unpackedSize":19710917,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgUv4tCRA9TVsSAnZWagAAlYMP/0dFfHC4wYdUFxXvrLBD\n+9yu7Wl7UvGk/6Ts0QrlPGPh9EyYQ14ux3dLJs/+3ewv6Rmx7BFJUV6WsIWZ\nyjnrr5kojTfY1zLVwjcQjo9D75khOUcX1uLc8d0TG6vg8lfisq9yUrtSS/vo\nhNGyWhmxvXpA8Q0F8NTh1A4juTgWuJ1T/1Qva4nZ6kGD61Eu5+Li1vTOng+g\n7oeXFtiehJn98AzRHHSXVZ1URysDyR8JAPp12dVElQNGqrvOLmHzghmielCa\nQ4qjY/+SOwgUdKJXq6PyIQIcxgCxWh3pCcQRPsG2+gsIhYq8KeWkqR7Nj4Gk\ni8at2TikV/kpE0GwDVmjz6l9vdeDmnvSz5AXAcQWlPtxMCPtLMK5YX68H0tv\nYmtsL83li2UA3O18hI9w0TJP3Djgtk14W51D54SlrO72OLF+FQPvNQmF33Jw\nxebzc+I9jelz81dn+Uy8WBo7/YuSILKV+ZSLuJYHQr6DWnF28jnFGjb4UgfN\neltBrFr3rxRkP7gZVogknXynxUsqJjfMzR1w1cXHYVvTINBegqZzWQs+A7mB\nETB5ssKDiESSJPK7lGwYi/YiL5lsGKeddVxT94B51H2sn3P8fp5iyW9AQ2Z1\n8XjZrgmn0arDE9h9NKh8JLCntCMAcLkE8ptgTK105qj+Qo5BRt7vJ/v1GvlO\n20Li\r\n=j5/p\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCjCzbi5fjjB6TbVEYAyGCiZj8s1H6ZKa0UznP7PubBgQIgAwlZJV1pjGPfz5omUF3UZSL1kvDgkun0Zs0DdeqKzA0="}]},"_npmUser":{"name":"zhictory","email":"zhictory@qq.com"},"directories":{},"maintainers":[{"name":"zhictory","email":"zhictory@qq.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vscode-office_2.0.2_1616051756347_0.5211763995100862"},"_hasShrinkwrap":false}},"time":{"created":"2021-03-18T07:15:56.346Z","2.0.2":"2021-03-18T07:15:56.754Z","modified":"2022-05-23T11:04:57.863Z"},"maintainers":[{"name":"zhictory","email":"zhictory@qq.com"}],"description":"View word,excel files in vscode.","homepage":"https://github.com/cweijan/vscode-office/blob/master/README.md","keywords":["pdf","word","markdown","xlsx","excel"],"repository":{"type":"git","url":"https://github.com/cweijan/vscode-office.git"},"bugs":{"url":"https://github.com/cweijan/vscode-office/issues","email":"cweijan@163.com"},"license":"MIT","readme":"# vscode-office\n\nThis extension is to support the function of previewing common office file formats.\n\nIt support below files now:\n\n- Excel: .xls, .xlsx, .csv\n- Word: .docx\n- PhotoShop: .psd\n- Svg: .svg\n- Pdf: .pdf\n- Epub: .epub\n- Xmind: .xmind\n- Font: .ttf, .otf, .woff\n- Markdown: .md\n- HttpRequest: .http\n- PlantUml: .puml, .plantuml\n- Windows Reg: .reg\n\n# Markdown\n\nThis extension change default editor for markdown:\n\n1. It change markdown editor as vditor, it's WYSIWYG editor for markdown.\n2. Support export markdown to pdf, right click editor found it.\n\nif you want using vscode editor, insert below json to vscode config.\n\n```json\n\"workbench.editorAssociations\": [{\n\t\"viewType\": \"default\",\n\t\"filenamePattern\": \"*.md\"\n}]\n```\n\n# HTML\n\nIn html editor, Press ctrl+shift+v open live edit for html.\n\n# Credit\n\n- Excel\n  - [sheetjs](https://github.com/SheetJS/sheetjs)\n  - [x-spreadsheet](https://github.com/myliang/x-spreadsheet)\n- PhotoShop\n  - [psd.js](https://github.com/meltingice/psd.js)\n  - [psd-viewer](https://github.com/zenoamaro/psd-viewer)\n- Word: [mammoth](https://github.com/mwilliamson/mammoth.js)\n- xmind: [xmind-viewer](https://github.com/xmindltd/xmind-viewer)\n- Image: [lightGallery](https://github.com/sachinchoolur/lightGallery)\n- Flash: [swf2js](https://github.com/swf2js/swf2js)\n- PDF:\n  - [pdf.js](https://github.com/mozilla/pdf.js)\n  - [pdf-lib](https://github.com/Hopding/pdf-lib)\n  - [puppeteer](https://github.com/puppeteer/puppeteer)\n- Font:\n  - [CharacterMap](https://github.com/mathew-kurian/CharacterMap)\n  - [opentype](https://github.com/opentypejs/opentype.js)\n- HTTP: [vscode-restclient](https://github.com/Huachao/vscode-restclient)\n- Markdown:\n  - [vditor](https://github.com/Vanessa219/vditor)\n  - [HyperMD](https://github.com/laobubu/HyperMD)\n  - [CodeMirror](https://github.com/codemirror/CodeMirror)\n- PlantUml:\n  - [plantuml-editor](https://github.com/kkeisuke/plantuml-editor)\n  - [plantuml-server](https://plantuml.com/)\n- Epub:\n  - [epub.js](https://github.com/futurepress/epub.js/)\n  - [ePubViewer](https://github.com/pgaskin/ePubViewer)\n- Reg: [reg-vscode](https://github.com/ionutvmi/reg-vscode)\n","readmeFilename":"README.md"}