{"id":224795,"date":"2014-06-02T06:24:04","date_gmt":"2014-06-02T02:24:04","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=224795"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=224795","title":{"rendered":"<span class=\"post_title\">\u0414\u0435\u043b\u0430\u0435\u043c \u0432\u0438\u0437\u0443\u0430\u043b\u044c\u043d\u044b\u0439 web-\u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u043e\u0432 \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 LibreOffice, jodconverter \u0438 TinyMCE<\/span>"},"content":{"rendered":"<div class=\"content html_format\"> \t\t\t<img decoding=\"async\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/252\/772\/080\/252772080716ba9b84a20484c2fd3473.jpg\" align=\"left\" alt=\"\u041a\u0430\u043a \u0436\u0435 \u044f \u043b\u044e\u0431\u043b\u044e \u0441\u043f\u0435\u0446\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044e \u043e\u0444\u0438\u0441\u0430!\"\/>\u0421 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0439 <a href=\"http:\/\/habrahabr.ru\/post\/183990\/\">\u0441\u0442\u0430\u0442\u044c\u0438<\/a> \u043f\u0440\u043e \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u044e Excel \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u043e\u0432 \u043f\u043e \u0448\u0430\u0431\u043b\u043e\u043d\u0443 \u043f\u0440\u043e\u0448\u043b\u043e \u043c\u043d\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0438 \u0437\u0430\u0434\u0430\u0447\u0430 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0438\u0437\u043c\u0435\u043d\u0438\u043b\u0430\u0441\u044c. \u041d\u043e\u0432\u0430\u044f \u0437\u0430\u0434\u0430\u0447\u0430 \u0431\u044b\u043b\u0430 \u043f\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c: \u0438\u0437 \u0433\u043e\u0442\u043e\u0432\u043e\u0433\u043e \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430 excel \u0438\u043b\u0438 word \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0448\u0430\u0431\u043b\u043e\u043d \u0447\u0435\u0440\u0435\u0437 \u0432\u0435\u0431-\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441. \u0412 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0435 \u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043f\u043e\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0442\u044c \u0432 \u0448\u0430\u0431\u043b\u043e\u043d \u043d\u0443\u0436\u043d\u044b\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f, \u0443\u0431\u0438\u0440\u0430\u0442\u044c \u0438\/\u0438\u043b\u0438 \u00ab\u043a\u043b\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u0442\u044c\u00bb \u043a\u0443\u0441\u043a\u0438 \u0448\u0430\u0431\u043b\u043e\u043d\u0430. \u041f\u043e\u0441\u043b\u0435 \u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442 \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e \u0434\u043b\u044f \u0432\u0438\u0437\u0443\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435. \u0413\u043e\u0442\u043e\u0432\u044b\u0439 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442 \u0434\u043e\u043b\u0436\u0435\u043d \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c\u0441\u044f \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0435, \u0431\u044b\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u043c \u0434\u043b\u044f \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u043d\u0438\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u043c \u043a\u0430\u043a \u0432 \u0441\u0432\u043e\u0451\u043c \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0438 (*.doc\/*.xls), \u0442\u0430\u043a \u0438 \u0432 pdf. \u041f\u0440\u0438 \u044d\u0442\u043e\u043c \u0432\u0435\u0440\u0441\u0442\u043a\u0430 \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u0435\u043c\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430 \u0434\u043e\u043b\u0436\u043d\u0430 \u0431\u044b\u0442\u044c \u0438\u0434\u0435\u043d\u0442\u0438\u0447\u043d\u0430 \u0448\u0430\u0431\u043b\u043e\u043d\u0443, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0431\u044b\u043b \u0437\u0430\u0433\u0440\u0443\u0436\u0435\u043d \u0432 \u0441\u0430\u043c\u043e\u043c \u043d\u0430\u0447\u0430\u043b\u0435 (\u0431\u0435\u0437 \u0432\u0441\u044f\u043a\u0438\u0445 \u0438\u0441\u043a\u0430\u0436\u0435\u043d\u0438\u0439 \u043f\u043e\u043b\u0435\u0439 \u0438 \u043e\u0431\u043b\u0430\u0441\u0442\u0435\u0439 \u043f\u0435\u0447\u0430\u0442\u0438).<br \/>  \u0427\u0442\u043e \u0436\u0435, \u0437\u0430\u0434\u0430\u0447\u0430 \u0435\u0441\u0442\u044c \u2014 \u0431\u0443\u0434\u0435\u043c \u0440\u0435\u0448\u0430\u0442\u044c!<br \/>  <a name=\"habracut\"><\/a><\/p>\n<p>  <b>1. \u0418\u0441\u043f\u0440\u043e\u0431\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u044b<\/b><br \/>  \u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u043d\u0443\u0436\u043d\u043e \u0440\u0435\u0448\u0438\u0442\u044c, \u0447\u0435\u043c \u043f\u0435\u0440\u0435\u0433\u043e\u043d\u044f\u0442\u044c \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043c\u044b\u0435 \u0444\u0430\u0439\u043b\u044b \u0438\u0437 doc, docx, xls, xlsx \u0432 html \u0438 \u043e\u0431\u0440\u0430\u0442\u043d\u043e, \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u043d\u0435 \u0438\u0441\u043f\u043e\u0440\u0442\u0438\u0432 \u0432\u0451\u0440\u0441\u0442\u043a\u0443. <\/p>\n<p>  <b>Apache POI:<\/b> \u041e\u0442\u043b\u0438\u0447\u043d\u044b\u0439 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043c\u044b \u0443\u0441\u043f\u0435\u0448\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b\u0438, \u043d\u043e \u043e\u043d \u043d\u0435 \u0443\u043c\u0435\u0435\u0442 \u0433\u0435\u043d\u0435\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c HTML \u0440\u0430\u0437\u043c\u0435\u0442\u043a\u0443 \u0438\u0437 \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u0433\u043e \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430.<br \/>  <b>DocX4J:<\/b> \u0421 \u044d\u0442\u043e\u0439 \u043b\u0438\u0431\u043e\u0439 \u0431\u044b\u043b\u0430 \u0434\u043e\u043b\u0433\u0430\u044f \u0438\u0441\u0442\u043e\u0440\u0438\u044f. \u041e\u043d\u0430 \u0443\u043c\u0435\u0435\u0442 \u043c\u043d\u043e\u0433\u043e \u0432\u0441\u044f\u043a\u0438\u0445 \u043f\u0440\u0438\u044f\u0442\u043d\u044b\u0445 \u0432\u0435\u0449\u0435\u0439, \u043e \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043d\u0435\u043e\u0434\u043d\u043e\u043a\u0440\u0430\u0442\u043d\u043e \u043f\u0438\u0441\u0430\u043b\u043e\u0441\u044c. \u0418 \u0438\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e \u043c\u044b \u0438\u043c\u0435\u043d\u043d\u043e \u044d\u0442\u043e\u0439 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u043e\u0439 \u0438 \u0445\u043e\u0442\u0435\u043b\u0438 \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f.<br \/>  \u041d\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043a\u0438 DocX4J: \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u043c\u043e\u0436\u043d\u043e \u0442\u043e\u043b\u044c\u043a\u043e \u0441 docx \u0438 xlsx. \u041d\u043e \u044d\u0442\u043e \u043d\u0435 \u0442\u0430\u043a \u0441\u0442\u0440\u0430\u0448\u043d\u043e. \u041f\u0440\u043e\u0431\u043b\u0435\u043c\u044b \u043d\u0430\u0447\u0438\u043d\u0430\u044e\u0442\u0441\u044f, \u043a\u043e\u0433\u0434\u0430 \u043f\u044b\u0442\u0430\u0435\u0448\u044c\u0441\u044f HTML \u043e\u0431\u0440\u0430\u0442\u043d\u043e \u0441\u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0432 docx \u0438\u043b\u0438 xlsx. \u0415\u0434\u0443\u0442 \u0432\u0441\u0435 \u0441\u0442\u0438\u043b\u0438 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430, \u0448\u0440\u0438\u0444\u0442\u044b \u043f\u0440\u043e\u043f\u0438\u0441\u044b\u0432\u0430\u044e\u0442\u0441\u044f \u0432\u043e\u043e\u0431\u0449\u0435 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u043b\u044c\u043d\u044b\u0435 \u0438 \u0442.\u0434. \u041e\u0431\u0440\u0430\u0442\u0438\u043b\u0438\u0441\u044c \u043a \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u0443. \u041e\u043d \u0441\u043a\u0430\u0437\u0430\u043b, \u0447\u0442\u043e \u0435\u0441\u0442\u044c \u0442\u0430\u043a\u0430\u044f \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0438 \u0440\u0435\u0448\u0435\u043d\u0430 \u043e\u043d\u0430 \u0447\u0430\u0441\u0442\u0438\u0447\u043d\u043e \u0432 \u043f\u043b\u0430\u0442\u043d\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 \u2014 docx4j-web-editor. \u041d\u043e \u0438 \u043f\u043b\u0430\u0442\u043d\u0430\u044f \u0432\u0435\u0440\u0441\u0438\u044f \u0442\u043e\u0436\u0435 \u0441\u043e \u0441\u0432\u043e\u0438\u043c\u0438 \u0431\u0430\u0433\u0430\u043c\u0438 \u043e\u043a\u0430\u0437\u0430\u043b\u0430\u0441\u044c. \u0412 \u043a\u043e\u043d\u0446\u0435 \u043a\u043e\u0446\u043e\u0432 \u043e\u0442 \u044d\u0442\u043e\u0439 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 \u0442\u043e\u0436\u0435 \u043f\u0440\u0438\u0448\u043b\u043e\u0441\u044c \u043e\u0442\u043a\u0430\u0437\u0430\u0442\u044c\u0441\u044f.<\/p>\n<p>  <b>\u0420\u0435\u0448\u0435\u043d\u0438\u0435 <\/b> \u2014 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c LibreOffice. \u041f\u0443\u0441\u0442\u044c \u043e\u043d \u0441\u0430\u043c \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0435 \u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0438\u0440\u0443\u0435\u0442 \u0444\u0430\u0439\u043b\u044b \u0432 HTML \u0438 \u043e\u0431\u0440\u0430\u0442\u043d\u043e. \u041e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u0432\u044f\u0437\u0430\u0442\u044c \u0435\u0433\u043e \u0441 \u043d\u0430\u0448\u0438\u043c web-\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435\u043c.<br \/>  \u0414\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b \u0441 LibreOffice \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u043c\u0430\u043b\u0435\u043d\u044c\u043a\u0430\u044f \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 \u2014 <a href=\"https:\/\/github.com\/mirkonasato\/jodconverter\">jodconverter<\/a> \u043a\u043e\u0442\u043e\u0440\u0430\u044f, \u043a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e, \u0434\u0430\u0432\u043d\u043e \u043d\u0435 \u043e\u0431\u043d\u043e\u0432\u043b\u044f\u0435\u0442\u0441\u044f, \u043d\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043f\u0440\u0438 \u044d\u0442\u043e\u043c \u043e\u0442\u043b\u0438\u0447\u043d\u043e. \u041e\u043d\u0430 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u0442\u0441\u044f \u043a LibreOffice \u0447\u0435\u0440\u0435\u0437 TCP \u0441\u043e\u043a\u0435\u0442 \u0438 \u043e\u0442\u0434\u0430\u0435\u0442 \u0435\u043c\u0443 \u0444\u0430\u0439\u043b \u043d\u0430 \u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435, \u0432 \u043e\u0442\u0432\u0435\u0442 \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442 \u043e\u0442\u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0444\u0430\u0439\u043b. \u0412\u0441\u0435 \u044d\u0442\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0433\u043e\u0440\u0430\u0437\u0434\u043e \u0431\u044b\u0441\u0442\u0440\u0435\u0435 \u0438 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u0435\u0435 \u0447\u0435\u043c \u0432\u0441\u0435 \u0432\u044b\u0448\u0435\u043f\u0435\u0440\u0435\u0447\u0438\u0441\u043b\u0435\u043d\u043d\u044b\u0435 Java \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u043a\u0435\u0438. \u041a\u0440\u043e\u043c\u0435 \u0442\u043e\u0433\u043e, LibreOffice \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0432 \u0441\u0432\u043e\u0435\u043c \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0435, \u043e\u0441\u0432\u043e\u0431\u043e\u0436\u0434\u0430\u044f Java \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0435 \u043e\u0442 \u0442\u0430\u043a\u043e\u0439 \u0433\u0440\u0430\u043c\u043e\u0437\u0434\u043a\u043e\u0439 \u0437\u0430\u0434\u0430\u0447\u0438, \u043a\u0430\u043a \u0440\u0430\u0437\u0431\u043e\u0440 \u0438 \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430 \u0432 \u043a\u0443\u0447\u0435 web-\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f.<\/p>\n<p>  <b>2. \u0417\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043c \u0444\u0430\u0439\u043b \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440 \u0438 \u0434\u0435\u043b\u0430\u0435\u043c \u0438\u0437 \u043d\u0435\u0433\u043e \u0448\u0430\u0431\u043b\u043e\u043d<\/b><\/p>\n<p>  \u041d\u043e jodconverter \u0443\u043c\u0435\u0435\u0442 \u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c \u0441 \u0444\u0430\u0439\u043b\u043e\u0432\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u043e\u0439 \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0435. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u043d\u0443\u0436\u043d\u043e \u043f\u0435\u0440\u0435\u0434\u0430\u0442\u044c \u0432 \u043d\u0435\u0433\u043e \u0438\u0437 \u0432\u0435\u0431-\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u043c\u044b\u0439 \u0444\u0430\u0439\u043b \u0438 \u0440\u0435\u0448\u0438\u0442\u044c \u043e\u0431\u0440\u0430\u0442\u043d\u0443\u044e \u0437\u0430\u0434\u0430\u0447\u0443 \u2014 \u0441\u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c HTML \u0432 \u043d\u0443\u0436\u043d\u043e\u0433\u043e \u0444\u043e\u0440\u043c\u0430\u0442\u0430 \u0444\u0430\u0439\u043b \u0438 \u043e\u0442\u0434\u0430\u0442\u044c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e. <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041f\u043e\u0434 \u043a\u0430\u0442\u043e\u043c \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u043a\u043b\u0430\u0441\u0441-\u043e\u0431\u0451\u0440\u0442\u043a\u0430 \u0434\u043b\u044f jodconverter \u0441 \u043a\u043e\u043c\u043c\u0435\u043d\u0442\u0430\u0440\u0438\u044f\u043c\u0438:<\/b><\/p>\n<div class=\"spoiler_text\"><a href=\"https:\/\/a.uchteno.com\/public\/dataObjects\/getObject?s=s7pQmx26Zx\">Libre.java<\/a>  <\/p>\n<pre><code class=\"java\">package ru.cpro.uchteno.util; import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.util.logging.Level; import java.util.logging.Logger; import org.artofsolving.jodconverter.OfficeDocumentConverter; import org.artofsolving.jodconverter.office.ExternalOfficeManagerConfiguration; import org.artofsolving.jodconverter.office.OfficeConnectionProtocol; import org.artofsolving.jodconverter.office.OfficeManager;  public class Libre {\/\/\u041a\u043b\u0430\u0441\u0441 \u0434\u043b\u044f \u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u043e\u0432  \tpublic static void doc2html(InputStream is, OutputStream os) {\/\/\u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0438\u0442 doc \u0432 html \t\ttry { \t\t\tFile inf = File.createTempFile(&quot;doc&quot;, &quot;.doc&quot;); \/\/\u0441\u043e\u0437\u0434\u0430\u0435\u043c \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0439 \u0444\u0430\u0439\u043b \t\t\tFileOutputStream infos = new FileOutputStream(inf); \/\/\u0434\u0435\u043b\u0430\u0435\u043c \u0438\u0437 \u043d\u0435\u0433\u043e \u043f\u043e\u0442\u043e\u043a \t\t\t\/\/\u043f\u0435\u0440\u0435\u043f\u0438\u0441\u044b\u0432\u0430\u0435\u043c \u0432\u0441\u0435 \u0438\u0437 \u0432\u0445\u043e\u0434\u043e\u0433\u043e \u043f\u043e\u0442\u043e\u043a\u0430 \u0432 \u044d\u0442\u043e\u0442 \u0444\u0430\u0439\u043b \t\t\tint n = 0; \t\t\tbyte buff[] = new byte[1024]; \t\t\twhile (n &gt;= 0) { \t\t\t\tn = is.read(buff); \t\t\t\tif (n &gt; 0) { \t\t\t\t\tinfos.write(buff, 0, n); \t\t\t\t} \t\t\t} \t\t\t\/\/\u0437\u0430\u043a\u0440\u044b\u0432\u0430\u0435\u043c \u0432\u0441\u0435 \t\t\tis.close(); \t\t\tinfos.close();  \t\t\t\/\/\u0421\u043e\u0437\u0434\u0430\u0435\u043c \u0432\u044b\u0445\u043e\u0434\u043d\u043e\u0439 \u0444\u0430\u0439\u043b \t\t\tFile onf = File.createTempFile(&quot;doc&quot;, &quot;.html&quot;);  \t\t\t\/\/\u0441\u043e\u0437\u0434\u0430\u0435\u043c \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044e jodconverter'\u0430 \t\t\tExternalOfficeManagerConfiguration officeConfiguration = new ExternalOfficeManagerConfiguration(); \t\t\t\/\/\u0447\u0435\u0440\u0435\u0437 tcp \u0441\u043e\u043a\u0435\u0442 \t\t\tofficeConfiguration \t\t\t\t\t.setConnectionProtocol(OfficeConnectionProtocol.SOCKET); \t\t\t\/\/\u043f\u043e\u0440\u0442 \t\t\tofficeConfiguration.setPortNumber(2002); \t\t\t\/\/\u0441\u0442\u0440\u0438\u043c \u043f\u043e \u043a\u043e\u043d\u0444\u0438\u0433\u0443 officeManager \t\t\tOfficeManager officeManager = officeConfiguration \t\t\t\t\t.buildOfficeManager(); \t\t\t\/\/\u0441\u0442\u0430\u0440\u0442\u0443\u0435\u043c \u044c\u0435\u043d\u0435\u0434\u0436\u0435\u0440\u0430 \u0441 \u0438\u043c\u0435\u044e\u0449\u0435\u0439\u0441\u044f \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0435\u0439 \t\t\tofficeManager.start();  \t\t\t\/\/\u0414\u0435\u043b\u0430\u0435\u043c \u043a\u043e\u043d\u0432\u0435\u0440\u0442\u043e\u0440 \t\t\tOfficeDocumentConverter converter = new OfficeDocumentConverter( \t\t\t\t\tofficeManager); \t\t\t\/\/\u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0438\u0440\u0443\u0435\u043c \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442 \u0447\u0435\u0440\u0435\u0437 \u043b\u0438\u0431\u0440\u0435\u043e\u0444\u0438\u0441 \t\t\tconverter.convert(inf, onf); \t\t\t\/\/\u043e\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440\u0430 \t\t\tofficeManager.stop();  \t\t\t\/\/\u0422\u0435\u043f\u0435\u0440\u044c \u043f\u0435\u0440\u0435\u0433\u043e\u043d\u044f\u0435\u043c \u0438\u0437 \u0441\u043e\u0437\u0434\u0430\u043d\u043d\u043e\u0433\u043e \u043e\u0444\u0438\u0441\u043e\u043c \u0444\u0430\u0439\u043b\u0430 \u0432 \u0432\u044b\u0445\u043e\u0434\u043d\u043e\u0439 \u043f\u043e\u0442\u043e\u043a \t\t\tFileInputStream outfis = new FileInputStream(onf); \t\t\tn = 0; \t\t\twhile (n &gt;= 0) { \t\t\t\tn = outfis.read(buff); \t\t\t\tif (n &gt; 0) { \t\t\t\t\tos.write(buff, 0, n); \t\t\t\t} \t\t\t} \t\t\t\/\/\u0437\u0430\u043a\u0440\u044b\u0432\u0430\u0435\u043c \u0432\u0441\u0435 \t\t\toutfis.close(); \t\t\tos.close();  \t\t\t\/\/\u0413\u043b\u0443\u0448\u0438\u043c \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u044b\u0435 \u0444\u0430\u0439\u043b\u044b \t\t\tinf.delete(); \t\t\tonf.delete();  \t\t} catch (IOException ex) { \t\t\tLogger.getLogger(Libre.class.getName()).log(Level.SEVERE, null, ex); \t\t} \t}  \tpublic static void doc2pdf(InputStream is, OutputStream os) { \t\ttry { \t\t\tFile inf = File.createTempFile(&quot;doc&quot;, &quot;.doc&quot;); \t\t\tFileOutputStream infos = new FileOutputStream(inf); \t\t\tint n = 0; \t\t\tbyte buff[] = new byte[1024]; \t\t\twhile (n &gt;= 0) { \t\t\t\tn = is.read(buff); \t\t\t\tif (n &gt; 0) { \t\t\t\t\tinfos.write(buff, 0, n); \t\t\t\t} \t\t\t} \t\t\tis.close(); \t\t\tinfos.close();  \t\t\tFile onf = File.createTempFile(&quot;doc&quot;, &quot;.pdf&quot;);  \t\t\tExternalOfficeManagerConfiguration officeConfiguration = new ExternalOfficeManagerConfiguration(); \t\t\tofficeConfiguration \t\t\t\t\t.setConnectionProtocol(OfficeConnectionProtocol.SOCKET); \t\t\tofficeConfiguration.setPortNumber(2002); \t\t\tOfficeManager officeManager = officeConfiguration \t\t\t\t\t.buildOfficeManager(); \t\t\tofficeManager.start();  \t\t\tOfficeDocumentConverter converter = new OfficeDocumentConverter( \t\t\t\t\tofficeManager); \t\t\tconverter.convert(inf, onf); \t\t\tofficeManager.stop();  \t\t\tFileInputStream outfis = new FileInputStream(onf); \t\t\tn = 0; \t\t\twhile (n &gt;= 0) { \t\t\t\tn = outfis.read(buff); \t\t\t\tif (n &gt; 0) { \t\t\t\t\tos.write(buff, 0, n); \t\t\t\t} \t\t\t} \t\t\toutfis.close(); \t\t\tos.close();  \t\t\tinf.delete(); \t\t\tonf.delete();  \t\t} catch (IOException ex) { \t\t\tLogger.getLogger(Libre.class.getName()).log(Level.SEVERE, null, ex); \t\t} \t}  \tpublic static void html2doc(InputStream is, OutputStream os) { \t\ttry { \t\t\tFile inf = File.createTempFile(&quot;doc&quot;, &quot;.html&quot;); \t\t\tFileOutputStream infos = new FileOutputStream(inf); \t\t\tint n = 0; \t\t\tbyte buff[] = new byte[1024]; \t\t\twhile (n &gt;= 0) { \t\t\t\tn = is.read(buff); \t\t\t\tif (n &gt; 0) { \t\t\t\t\tinfos.write(buff, 0, n); \t\t\t\t} \t\t\t} \t\t\tis.close(); \t\t\tinfos.close();  \t\t\tFile onf = File.createTempFile(&quot;doc&quot;, &quot;.doc&quot;);  \t\t\tExternalOfficeManagerConfiguration officeConfiguration = new ExternalOfficeManagerConfiguration(); \t\t\tofficeConfiguration \t\t\t\t\t.setConnectionProtocol(OfficeConnectionProtocol.SOCKET); \t\t\tofficeConfiguration.setPortNumber(2002); \t\t\tOfficeManager officeManager = officeConfiguration \t\t\t\t\t.buildOfficeManager(); \t\t\tofficeManager.start();  \t\t\tOfficeDocumentConverter converter = new OfficeDocumentConverter( \t\t\t\t\tofficeManager); \t\t\tconverter.convert(inf, onf); \t\t\tofficeManager.stop();  \t\t\tFileInputStream outfis = new FileInputStream(onf); \t\t\tn = 0; \t\t\twhile (n &gt;= 0) { \t\t\t\tn = outfis.read(buff); \t\t\t\tif (n &gt; 0) { \t\t\t\t\tos.write(buff, 0, n); \t\t\t\t} \t\t\t} \t\t\toutfis.close(); \t\t\tos.close();  \t\t\tinf.delete(); \t\t\tonf.delete();  \t\t} catch (IOException ex) { \t\t\tLogger.getLogger(Libre.class.getName()).log(Level.SEVERE, null, ex); \t\t} \t}  \tpublic static void html2docx(InputStream is, OutputStream os) { \t\ttry { \t\t\tFile inf = File.createTempFile(&quot;doc&quot;, &quot;.html&quot;); \t\t\tFileOutputStream infos = new FileOutputStream(inf); \t\t\tint n = 0; \t\t\tbyte buff[] = new byte[1024]; \t\t\twhile (n &gt;= 0) { \t\t\t\tn = is.read(buff); \t\t\t\tif (n &gt; 0) { \t\t\t\t\tinfos.write(buff, 0, n); \t\t\t\t} \t\t\t} \t\t\tis.close(); \t\t\tinfos.close();  \t\t\tFile onf = File.createTempFile(&quot;doc&quot;, &quot;.docx&quot;);  \t\t\tExternalOfficeManagerConfiguration officeConfiguration = new ExternalOfficeManagerConfiguration(); \t\t\tofficeConfiguration \t\t\t\t\t.setConnectionProtocol(OfficeConnectionProtocol.SOCKET); \t\t\tofficeConfiguration.setPortNumber(2002); \t\t\tOfficeManager officeManager = officeConfiguration \t\t\t\t\t.buildOfficeManager(); \t\t\tofficeManager.start();  \t\t\tOfficeDocumentConverter converter = new OfficeDocumentConverter( \t\t\t\t\tofficeManager); \t\t\tconverter.convert(inf, onf); \t\t\tofficeManager.stop();  \t\t\tFileInputStream outfis = new FileInputStream(onf); \t\t\tn = 0; \t\t\twhile (n &gt;= 0) { \t\t\t\tn = outfis.read(buff); \t\t\t\tif (n &gt; 0) { \t\t\t\t\tos.write(buff, 0, n); \t\t\t\t} \t\t\t} \t\t\toutfis.close(); \t\t\tos.close();  \t\t\tinf.delete(); \t\t\tonf.delete();  \t\t} catch (IOException ex) { \t\t\tLogger.getLogger(Libre.class.getName()).log(Level.SEVERE, null, ex); \t\t} \t}  \tpublic static void html2pdf(InputStream is, OutputStream os) { \t\ttry { \t\t\tFile inf = File.createTempFile(&quot;doc&quot;, &quot;.html&quot;); \t\t\tFileOutputStream infos = new FileOutputStream(inf); \t\t\tint n = 0; \t\t\tbyte buff[] = new byte[1024]; \t\t\twhile (n &gt;= 0) { \t\t\t\tn = is.read(buff); \t\t\t\tif (n &gt; 0) { \t\t\t\t\tinfos.write(buff, 0, n); \t\t\t\t} \t\t\t} \t\t\tis.close(); \t\t\tinfos.close();  \t\t\tFile onf = File.createTempFile(&quot;doc&quot;, &quot;.pdf&quot;);  \t\t\tExternalOfficeManagerConfiguration officeConfiguration = new ExternalOfficeManagerConfiguration(); \t\t\tofficeConfiguration \t\t\t\t\t.setConnectionProtocol(OfficeConnectionProtocol.SOCKET); \t\t\tofficeConfiguration.setPortNumber(2002); \t\t\tOfficeManager officeManager = officeConfiguration \t\t\t\t\t.buildOfficeManager(); \t\t\tofficeManager.start();  \t\t\tOfficeDocumentConverter converter = new OfficeDocumentConverter( \t\t\t\t\tofficeManager); \t\t\tconverter.convert(inf, onf); \t\t\tofficeManager.stop();  \t\t\tFileInputStream outfis = new FileInputStream(onf); \t\t\tn = 0; \t\t\twhile (n &gt;= 0) { \t\t\t\tn = outfis.read(buff); \t\t\t\tif (n &gt; 0) { \t\t\t\t\tos.write(buff, 0, n); \t\t\t\t} \t\t\t} \t\t\toutfis.close(); \t\t\tos.close();  \t\t\tinf.delete(); \t\t\tonf.delete();  \t\t} catch (IOException ex) { \t\t\tLogger.getLogger(Libre.class.getName()).log(Level.SEVERE, null, ex); \t\t} \t} }  <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  <b>3. \u0420\u0430\u0431\u043e\u0442\u0430\u0435\u043c \u0441 \u0448\u0430\u0431\u043b\u043e\u043d\u043e\u043c<\/b><\/p>\n<p>  \u041a\u043e\u0433\u0434\u0430 \u0443 \u043d\u0430\u0441 \u0435\u0441\u0442\u044c HTML, \u043d\u0443\u0436\u043d\u044b\u0435 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438 \u043d\u0430\u0434 \u043d\u0438\u043c \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u043b\u0435\u0433\u043a\u043e \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u044f\u0442\u0441\u044f \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e velocity. \u0412\u0441\u0451 \u043b\u0435\u0433\u043a\u043e \u0434\u0435\u043b\u0430\u0435\u0442\u0441\u044f <a href=\"http:\/\/velocity.apache.org\/engine\/devel\/user-guide.html\">\u043f\u043e \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u044e<\/a>.<\/p>\n<p>  <b>4. \u0412\u0438\u0437\u0443\u0430\u043b\u044c\u043d\u043e\u0435 \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430<\/b><\/p>\n<p>  \u0421 \u0432\u0438\u0437\u0443\u0430\u043b\u044c\u043d\u044b\u043c\u0438 \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440\u0430\u043c\u0438 \u0435\u0441\u0442\u044c \u0441\u0432\u043e\u044f \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0441\u0442\u044c \u2013 \u0432\u0438\u0437\u0443\u0430\u043b\u044c\u043d\u044b\u0435 \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440\u044b \u043f\u043e\u0440\u0442\u044f\u0442 HTML-\u043a\u043e\u0434 \u0438 \u043f\u0440\u0438 \u043e\u0431\u0440\u0430\u0442\u043d\u043e\u043c \u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0438 \u0432\u0441\u044f \u0432\u0451\u0440\u0441\u0442\u043a\u0430 \u043d\u0430\u0448\u0435\u0433\u043e \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430 \u0431\u0443\u0434\u0435\u0442 \u0438\u0441\u043a\u043e\u0432\u0435\u0440\u043a\u0430\u043d\u0430 \u0434\u043e \u043d\u0435\u0443\u0437\u043d\u0430\u0432\u0430\u0435\u043c\u043e\u0441\u0442\u0438. \u0412 \u0445\u043e\u0434\u0435 \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u043e\u0432 \u0441 \u0440\u0430\u0437\u043d\u044b\u043c\u0438 \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440\u0430\u043c\u0438 \u043f\u0440\u0438\u0448\u043b\u0438 \u043a \u0442\u043e\u043c\u0443, \u0447\u0442\u043e TinyMCE \u043c\u0435\u043d\u044c\u0448\u0435 \u0432\u0441\u0435\u0433\u043e <s>\u0443\u043c\u043d\u0438\u0447\u0430\u0435\u0442<\/s> \u043a\u043e\u0432\u0435\u0440\u043a\u0430\u0435\u0442 \u0440\u0430\u0437\u043c\u0435\u0442\u043a\u0443 \u0438 \u043d\u0430 \u043a\u043e\u043d\u0435\u0447\u043d\u043e\u043c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0435 \u043f\u0440\u0438 \u043e\u0431\u0440\u0430\u0442\u043d\u043e\u043c \u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0438 \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043d\u0435 \u0441\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442\u0441\u044f.<\/p>\n<p>  \u0412 \u0438\u0442\u043e\u0433\u0435 \u043c\u0435\u0442\u043e\u0434\u043e\u043c <s>\u0442\u044b\u043a\u0430<\/s> \u043f\u0440\u043e\u0431 \u0438 \u043e\u0448\u0438\u0431\u043e\u043a \u043f\u043e\u0434\u043e\u0431\u0440\u0430\u043b\u0438 \u043e\u043f\u0442\u0438\u043c\u0430\u043b\u044c\u043d\u0443\u044e \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044e \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440\u0430: <\/p>\n<pre><code class=\"javascript\">tinymce.init({ \t    selector: &quot;textarea&quot;, \t    theme: &quot;modern&quot;, \t    fullpage_default_doctype: &quot;&lt;!DOCTYPE xhtml&gt;&quot;, \t    plugins: [ \t        &quot;advlist autolink lists link image charmap print preview hr anchor pagebreak&quot;, \t        &quot;searchreplace wordcount visualblocks visualchars code fullscreen&quot;, \t        &quot;insertdatetime media nonbreaking save table contextmenu directionality&quot;, \t        &quot;emoticons template paste textcolor fullpage&quot; \t    ], \t    toolbar1: &quot;insertfile undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image&quot;, \t    toolbar2: &quot;print preview media | forecolor backcolor emoticons&quot;, \t    image_advtab: true \t}); <\/code><\/pre>\n<p>  \u041a\u0430\u0436\u0434\u044b\u0439 \u0440\u0430\u0437 \u0447\u0442\u043e\u0431\u044b \u0441\u0431\u0440\u043e\u0441\u0438\u0442\u044c \u0441\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440\u0430 \u0432 DOM \u043d\u0435 \u0437\u0430\u0431\u044b\u0432\u0430\u0435\u043c \u0434\u0435\u043b\u0430\u0442\u044c <code>tinyMCE.triggerSave();<\/code><\/p>\n<p>  <b>5. \u0421\u043a\u0430\u0447\u0438\u0432\u0430\u0435\u043c \u0433\u043e\u0442\u043e\u0432\u044b\u0439 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442<\/b><\/p>\n<p>  \u0414\u043b\u044f \u044d\u0442\u0438\u0445 \u0446\u0435\u043b\u0435\u0439 \u043e\u043f\u044f\u0442\u044c \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u0441\u044f \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u0447\u043a\u043e\u0439 <code>Libre.java<\/code>:<\/p>\n<p>  \u041a\u043e\u043d\u0435\u0440\u0442\u0438\u0442 hmtl \u0432 doc \u2014 <code>html2doc()<\/code><br \/>  \u041a\u043e\u043d\u0435\u0440\u0442\u0438\u0442 hmtl \u0432 docx \u2014 <code>html2docx()<\/code><br \/>  \u041a\u043e\u043d\u0435\u0440\u0442\u0438\u0442 hmtl \u0432 pdf \u2014 <code>html2pdf()<\/code><\/p>\n<p>  \u0412\u043e\u0442, \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e, \u0438 \u0432\u0441\u0451. \u0411\u0443\u0434\u0435\u043c \u0440\u0430\u0434\u044b, \u0435\u0441\u043b\u0438 \u044d\u0442\u0430 \u0441\u0442\u0430\u0442\u044c\u044f \u043a\u043e\u043c\u0443-\u0442\u043e \u043f\u043e\u043c\u043e\u0436\u0435\u0442 \u0438 \u0443\u043c\u0435\u043d\u044c\u0448\u0438\u0442 \u0432\u0440\u0435\u043c\u044f, \u043f\u043e\u0442\u0440\u0430\u0447\u0435\u043d\u043d\u043e\u0435 \u043d\u0430 \u043f\u043b\u044f\u0441\u043a\u0438 \u0441 \u0431\u0443\u0431\u043d\u043e\u043c!<\/p>\n<p>  \u041c\u0430\u0442\u0435\u0440\u0438\u0430\u043b \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u0438\u043b\u0438: <a href=\"http:\/\/habrahabr.ru\/users\/akaiser\/\" class=\"user_link\">akaiser<\/a>, <a href=\"http:\/\/habrahabr.ru\/users\/boiler5\/\" class=\"user_link\">boiler5<\/a>. \t\t\t<\/p>\n<div class=\"clear\"><\/div>\n<\/p><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/224795\/\"> http:\/\/habrahabr.ru\/post\/224795\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\"> \t\t\t<img decoding=\"async\" src=\"http:\/\/habrastorage.org\/getpro\/habr\/post_images\/252\/772\/080\/252772080716ba9b84a20484c2fd3473.jpg\" align=\"left\" alt=\"\u041a\u0430\u043a \u0436\u0435 \u044f \u043b\u044e\u0431\u043b\u044e \u0441\u043f\u0435\u0446\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u044e \u043e\u0444\u0438\u0441\u0430!\"\/>\u0421 \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u043f\u0440\u0435\u0434\u044b\u0434\u0443\u0449\u0435\u0439 <a href=\"http:\/\/habrahabr.ru\/post\/183990\/\">\u0441\u0442\u0430\u0442\u044c\u0438<\/a> \u043f\u0440\u043e \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u044e Excel \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u043e\u0432 \u043f\u043e \u0448\u0430\u0431\u043b\u043e\u043d\u0443 \u043f\u0440\u043e\u0448\u043b\u043e \u043c\u043d\u043e\u0433\u043e \u0432\u0440\u0435\u043c\u0435\u043d\u0438 \u0438 \u0437\u0430\u0434\u0430\u0447\u0430 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0438\u0437\u043c\u0435\u043d\u0438\u043b\u0430\u0441\u044c. \u041d\u043e\u0432\u0430\u044f \u0437\u0430\u0434\u0430\u0447\u0430 \u0431\u044b\u043b\u0430 \u043f\u043e\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0430 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c: \u0438\u0437 \u0433\u043e\u0442\u043e\u0432\u043e\u0433\u043e \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430 excel \u0438\u043b\u0438 word \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0448\u0430\u0431\u043b\u043e\u043d \u0447\u0435\u0440\u0435\u0437 \u0432\u0435\u0431-\u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441. \u0412 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0435 \u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043f\u043e\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0442\u044c \u0432 \u0448\u0430\u0431\u043b\u043e\u043d \u043d\u0443\u0436\u043d\u044b\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f, \u0443\u0431\u0438\u0440\u0430\u0442\u044c \u0438\/\u0438\u043b\u0438 \u00ab\u043a\u043b\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u0442\u044c\u00bb \u043a\u0443\u0441\u043a\u0438 \u0448\u0430\u0431\u043b\u043e\u043d\u0430. \u041f\u043e\u0441\u043b\u0435 \u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442 \u0434\u043e\u043b\u0436\u0435\u043d \u0431\u044b\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f\u0435\u043d \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044e \u0434\u043b\u044f \u0432\u0438\u0437\u0443\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0432 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0435. \u0413\u043e\u0442\u043e\u0432\u044b\u0439 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442 \u0434\u043e\u043b\u0436\u0435\u043d \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c\u0441\u044f \u043d\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0435, \u0431\u044b\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b\u043c \u0434\u043b\u044f \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u043d\u0438\u044f \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u043c \u043a\u0430\u043a \u0432 \u0441\u0432\u043e\u0451\u043c \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0438 (*.doc\/*.xls), \u0442\u0430\u043a \u0438 \u0432 pdf. \u041f\u0440\u0438 \u044d\u0442\u043e\u043c \u0432\u0435\u0440\u0441\u0442\u043a\u0430 \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u0435\u043c\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430 \u0434\u043e\u043b\u0436\u043d\u0430 \u0431\u044b\u0442\u044c \u0438\u0434\u0435\u043d\u0442\u0438\u0447\u043d\u0430 \u0448\u0430\u0431\u043b\u043e\u043d\u0443, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0431\u044b\u043b \u0437\u0430\u0433\u0440\u0443\u0436\u0435\u043d \u0432 \u0441\u0430\u043c\u043e\u043c \u043d\u0430\u0447\u0430\u043b\u0435 (\u0431\u0435\u0437 \u0432\u0441\u044f\u043a\u0438\u0445 \u0438\u0441\u043a\u0430\u0436\u0435\u043d\u0438\u0439 \u043f\u043e\u043b\u0435\u0439 \u0438 \u043e\u0431\u043b\u0430\u0441\u0442\u0435\u0439 \u043f\u0435\u0447\u0430\u0442\u0438).<br \/>  \u0427\u0442\u043e \u0436\u0435, \u0437\u0430\u0434\u0430\u0447\u0430 \u0435\u0441\u0442\u044c \u2014 \u0431\u0443\u0434\u0435\u043c \u0440\u0435\u0448\u0430\u0442\u044c!  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-224795","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/224795","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=224795"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/224795\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=224795"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=224795"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=224795"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}