{"id":432,"date":"2005-06-15T00:37:00","date_gmt":"2005-06-14T15:37:00","guid":{"rendered":"https:\/\/www.picolix.jp\/blog\/2005\/06\/3-crena-html2jpg.html\/"},"modified":"2019-04-02T10:25:16","modified_gmt":"2019-04-02T01:25:16","slug":"3-crena-html2jpg","status":"publish","type":"post","link":"https:\/\/www.picolix.jp\/blog\/2005\/06\/3-crena-html2jpg.html","title":{"rendered":"[3] Crena Html2jpg : \u30b5\u30a4\u30c8\u306e\u30b5\u30e0\u30cd\u30a4\u30eb\u753b\u50cf\u306e\u81ea\u52d5\u53d6\u5f97"},"content":{"rendered":"<p>\u4eca\u56de\u4f5c\u6210\u3057\u305f\u3001\u30b5\u30a4\u30c8\u30ad\u30e3\u30d7\u30c1\u30e3\u30fc\u30c4\u30fc\u30eb\u3000Crena Html2jpg\u3067 \u30d5\u30ec\u30fc\u30e0\u4f7f\u7528\u306e\u30b5\u30a4\u30c8\u3092\u30ad\u30e3\u30d7\u30c1\u30e3\u30fc\u3057\u305f\u3068\u304d\u3001\u5168\u30d5\u30ec\u30fc\u30e0\u8aad\u307f\u8fbc\u307e\u305a\u306b\u3001\uff11\u30d5\u30ec\u30fc\u30e0\u3001\u3088\u304f\u3066\uff12\u30d5\u30ec\u30fc\u30e0\u3057\u304b\u8868\u793a\u3057\u306a\u3044\u3053\u3068\u304c\u5224\u660e<br \/>\uff1d\uff1e\u3053\u308c\u3058\u3083\u30fc\u3000\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089\u4f7f\u7528\u3057\u305f\u3001url2bmp\u3068\u540c\u3058\u3067\u3059\u3002<br \/>\u8aad\u307f\u8fbc\u307f\u5b8c\u4e86\u3092,DocumentComplete\u3067\u5224\u65ad\u3057\u3066\u3044\u305f\u306e\u3067\u3059\u304c\u3001\u30d5\u30ec\u30fc\u30e0\u3092\u5229\u7528\u3057\u305f\u30b5\u30a4\u30c8\u3060\u3068\u30d5\u30ec\u30fc\u30e0\u6570\u5206\u3053\u306e\u30a4\u30d9\u30f3\u30c8\u304c\u767a\u751f\u3057\u307e\u3059\u3002<br \/>\u30d5\u30ec\u30fc\u30e0\u6570\u5206\u306e\u6700\u5f8c\u3067\u3001\u7d42\u4e86\u5224\u65ad\u3057\u306a\u3044\u3068\u3044\u3051\u306a\u3044\u3088\u3046\u3067\u3059\u3002<br \/>\uff1d\uff1e\u53c2\u8003\uff35\uff32\uff2c\u3000http:\/\/support.microsoft.com\/kb\/180366\/EN-US\/\u3000\u306e\u9069\u7528\u3067\u3001\u3046\u307e\u304f\u52d5\u4f5c\u3057\u307e\u3057\u305f\u3002\uff08\u30c4\u30fc\u30eb\u306e\u516c\u958b\u306f\u3082\u3046\u5c11\u3057\u5148\u3067\u3059\u3002)<br \/>\u203b\u6700\u8fd1\u8cfc\u5165\u3057\u305f\u81ea\u5b85\u306eXP HOME Edtion\u306eIE6.0 SP2 \u74b0\u5883\u3060\u3068\u3001\u306a\u305c\u304b\u3001\u30d5\u30ec\u30fc\u30e0\u30b5\u30a4\u30c8\u304c\u30ad\u30e3\u30d7\u30c1\u30e3\u30fc\u3055\u308c\u306a\u3044\u3002<br \/>\u3000\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u554f\u984c\u304b\u3068\u3042\u308c\u3053\u308c\u60a9\u3093\u3067\u3044\u306e\u3067\u3059\u304c\u3001\u306a\u3093\u3068\u901a\u5e38\u306e\uff29\uff25\u30d6\u30e9\u30a6\u30b6\u30fc\u3067\u3001\u3000\u30d5\u30ec\u30fc\u30e0\u4f7f\u7528\u306e\u30b5\u30a4\u30c8\u3092\u307f\u305f\u3089\u771f\u3063\u767d\u3067\u8868\u793a\u3055\u308c\u307e\u305b\u3093\uff01\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u30aa\u30d7\u30b7\u30e7\u30f3\uff0d\u30c4\u30fc\u30eb\uff0d\u8a73\u7d30\u8a2d\u5b9a\u3067\uff2f\uff2b\u3068\u3057\u3066\u3001\u518d\u8868\u793a\u3057\u305f\u3089\u3001\u30d5\u30ec\u30fc\u30e0\u30b5\u30a4\u30c8\u3082\u6b63\u3057\u304f\u8868\u793a\u3055\u308c\u307e\u3059\u3002<br \/>\u4f46\u3057\u4e00\u65e6\u3000\uff29\uff25\u3092\u7d42\u4e86\u3055\u305b\u3066\u518d\u5ea6\u8d77\u52d5\u3059\u308b\u3068\u3084\u306f\u308a\u3001\u771f\u3063\u767d\u3067\u3059\u3002\u3069\u306a\u305f\u304b\u3053\u306e\u73fe\u8c61\u308f\u304b\u308b\u304b\u305f\u304a\u3089\u308c\u308b\u3067\u3057\u3087\u3046\u304b\uff1f<\/p>\n<p><a name='more'><\/a><br \/>&#8211;\u30e1\u30e2&#8211;<br \/>\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089perl\u30b9\u30af\u30ea\u30d7\u30c8\u3067\u547c\u3073\u51fa\u3057\u5b9f\u884c\u3057\u305f\u3082\u306e\u3002<br \/><img decoding=\"async\" loading=\"lazy\" alt=\"crenahtml3.jpg\" src=\"https:\/\/www.picolix.jp\/blog\/archives\/crenahtml3.jpg\" width=\"277\" height=\"446\" border=\"0\" \/><br \/>ON_EVENT(CHtmlView, ID_CRENA_1, DISPID_DOCUMENTCOMPLETE, DocumentComplete, VTS_DISPATCH VTS_PVARIANT)<br \/>ON_EVENT(CHtmlView, ID_CRENA_1, DISPID_NAVIGATECOMPLETE2, OnNavigateComplete2, VTS_DISPATCH VTS_PVARIANT)<br \/>LPDISPATCH glpDisp = NULL;<br \/>void CCreateCrenaHTMLImage::DocumentComplete(LPDISPATCH pDisp, VARIANT* URL)<br \/>{<br \/>UNUSED_ALWAYS(pDisp);<br \/>UNUSED_ALWAYS(URL);<br \/>\/\/\u30d5\u30ec\u30fc\u30e0\u4f7f\u7528\u30b5\u30a4\u30c8\u3067\u6700\u5f8c\u306e\u30d5\u30ec\u30fc\u30e0\u3067\u51e6\u7406\u3059\u308b\u3002<br \/>if (glpDisp &#038;&#038; glpDisp == pDisp){<br \/>\/\/ if the LPDISPATCH are same, that means<br \/>\/\/ it is the final DocumentComplete. Reset glpDisp<br \/>EndModalLoop(0);<br \/>glpDisp = NULL;<br \/>}<br \/>}<br \/>void CCreateCrenaHTMLImage::OnNavigateComplete2(LPDISPATCH pDisp, VARIANT* URL)<br \/>{<br \/>\/\/ Check if glpDisp is NULL. If NULL, that means it is<br \/>\/\/ the top level NavigateComplete2. Save the LPDISPATCH<br \/>if (!glpDisp){<br \/>glpDisp = pDisp;<br \/>}<br \/>}<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4eca\u56de\u4f5c\u6210\u3057\u305f\u3001\u30b5\u30a4\u30c8\u30ad\u30e3\u30d7\u30c1\u30e3\u30fc\u30c4\u30fc\u30eb\u3000Crena Html2jpg\u3067 \u30d5\u30ec\u30fc\u30e0\u4f7f\u7528\u306e\u30b5\u30a4\u30c8\u3092\u30ad\u30e3\u30d7\u30c1\u30e3\u30fc\u3057\u305f\u3068\u304d\u3001\u5168\u30d5\u30ec\u30fc\u30e0\u8aad\u307f\u8fbc\u307e\u305a\u306b\u3001\uff11\u30d5\u30ec\u30fc\u30e0\u3001\u3088\u304f\u3066\uff12\u30d5\u30ec\u30fc\u30e0\u3057\u304b\u8868\u793a\u3057\u306a\u3044\u3053\u3068\u304c\u5224\u660e\uff1d\uff1e\u3053\u308c\u3058\u3083\u30fc\u3000\u30b3\u30de\u30f3\u30c9\u30e9\u30a4 &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.picolix.jp\/blog\/2005\/06\/3-crena-html2jpg.html\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;[3] Crena Html2jpg : \u30b5\u30a4\u30c8\u306e\u30b5\u30e0\u30cd\u30a4\u30eb\u753b\u50cf\u306e\u81ea\u52d5\u53d6\u5f97&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[6],"_links":{"self":[{"href":"https:\/\/www.picolix.jp\/blog\/wp-json\/wp\/v2\/posts\/432"}],"collection":[{"href":"https:\/\/www.picolix.jp\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.picolix.jp\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.picolix.jp\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.picolix.jp\/blog\/wp-json\/wp\/v2\/comments?post=432"}],"version-history":[{"count":1,"href":"https:\/\/www.picolix.jp\/blog\/wp-json\/wp\/v2\/posts\/432\/revisions"}],"predecessor-version":[{"id":952,"href":"https:\/\/www.picolix.jp\/blog\/wp-json\/wp\/v2\/posts\/432\/revisions\/952"}],"wp:attachment":[{"href":"https:\/\/www.picolix.jp\/blog\/wp-json\/wp\/v2\/media?parent=432"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.picolix.jp\/blog\/wp-json\/wp\/v2\/categories?post=432"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.picolix.jp\/blog\/wp-json\/wp\/v2\/tags?post=432"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}