{"id":1387,"date":"2014-12-04T13:37:15","date_gmt":"2014-12-04T05:37:15","guid":{"rendered":"http:\/\/blog.qdac.cc\/?p=1387"},"modified":"2014-12-05T21:11:28","modified_gmt":"2014-12-05T13:11:28","slug":"delphi%e4%b8%8b%e7%9a%84htmllayout%e5%b0%81%e8%a3%85","status":"publish","type":"post","link":"https:\/\/blog.qdac.cc\/?p=1387","title":{"rendered":"Delphi\u4e0b\u7684HTMLLayout\u5c01\u88c5"},"content":{"rendered":"<h1>HTMLayout: \u5feb\u901f\u3001\u8f7b\u91cf\u7684\u5d4c\u5165\u5f0fHTML\/CSS\u6e32\u67d3\u548c\u5e03\u5c40\u7ba1\u7406\u7ec4\u4ef6<\/h1>\n<p>\u5f53\u524d HTMLayout \u5df2\u901a\u8fc7\u591a\u4e2a\u8f6f\u4ef6\u516c\u53f8\u7684\u8f6f\u4ef6\u4ea7\u54c1\u5b89\u88c5\u5e76\u5de5\u4f5c\u5728\u8d85\u8fc7\u00a0<strong><span style=\"color: #ff3333;\">6,700,000<\/span><\/strong>\u00a0\u53f0\u7535\u8111\u4e0a\u3002<\/p>\n<p>\u8fd9\u610f\u5473\u7740\u5c06\u5c3d4\u4e073000\u7528\u6237\u6bcf\u5929\u4e0b\u8f7d\u5e76\u5b89\u88c5\u57fa\u4e8e\u00a0HTMLayout \u7684\u4ea7\u54c1\u3002<\/p>\n<p>HTMLLayout\u4e3a\u4f60\u7684\u7a0b\u5e8f\u63d0\u4f9b\u5b83\u81ea\u5df1\u7684\u8f7b\u91cf\u7ea7HTML\u6e32\u67d3\u5f15\u64ce\uff1a<\/p>\n<ol>\n<li><strong>\u53ea\u9700\u8981\u5f88\u77ed\u51c6\u5907\u65f6\u95f4\u7684\u5feb\u901f<\/strong>\u00a0HTML \u6e32\u67d3\u3002<\/li>\n<li><strong>\u4e3a\u5c4f\u5e55\u5e03\u5c40\u4efb\u52a1\u589e\u52a0\u7684 HTML \u548c CSS <\/strong>\u3002 <strong>%% units<\/strong>\u00a0\u548c\u00a0<strong>expandable backgrounds<\/strong>\u00a0\u5141\u8bb8\u4f7f\u7528\u66f4\u7075\u6d3b\u5e76\u4e14\u201c\u9762\u5411\u5c4f\u5e55\u201d\u7684\u5e03\u5c40\u6a21\u5f0f\u3002<\/li>\n<li>\u5b9a\u5236\u7684<strong>\u884c\u4e3a\u00a0<\/strong>API \u5141\u8bb8\u4f60\u5b9a\u4e49 HTML \u5143\u7d20\u5982\u4f55\u88ab\u7ed8\u5236\u4ee5\u53ca\u4e0e\u952e\u76d8\u548c\u9f20\u6807\u4e8b\u4ef6\u4ea4\u4e92\u3002<\/li>\n<li>\u4e0e\u5bbf\u4e3b\u5e94\u7528\u7a0b\u5e8f\u7684\u4f4e\u5c42\u6b21\u4ea4\u4e92\u3002\u4ec5\u4ec5\u662f\u7eaf API \u8c03\u7528\uff0c\u5c31\u8c61\u5176\u5b83\u4efb\u4f55\u7684\u539f\u751fWindows\u516c\u5171\u63a7\u4ef6\u3002HtmLayout \u4f7f\u7528 WM_NOTIFY \u6d88\u606f\u6765\u4e0e\u5bbf\u4e3b\u7a97\u53e3\u4ea4\u4e92\u3002<\/li>\n<li><strong>\u5f88\u5c0f\u7684\u53d1\u5e03\u5927\u5c0f<\/strong>: \u672a\u538b\u7f29\u7684 HtmLayout.dll \u53ea\u6709\u5927\u7ea6 600KB \u5927\u5c0f\u3002<\/li>\n<li><strong>\u4e0d\u4f9d\u8d56\u4e8e\u5ba2\u6237\u7aef\u8ba1\u7b97\u673a\u4e0a\u5df2\u5b89\u88c5\u7684\u6d4f\u89c8\u5668\u3002<\/strong><\/li>\n<\/ol>\n<p>HtmLayout \u53ef\u4ee5\u5e2e\u52a9\u4f60:<\/p>\n<ul>\n<li><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.terrainformatica.com\/htmlayout\/res\/ss-rssit.gif\" alt=\"\" width=\"210\" height=\"191\" align=\"right\" border=\"0\" hspace=\"10\" \/>\u521b\u5efa \u201cWeb\u98ce\u683c\u201d\u7528\u6237\u754c\u9762 \u7684\u5e94\u7528\u7a0b\u5e8f\u3002<\/li>\n<li>\u5c06\u4f60\u7684\u5e94\u7528\u4e2d\u7684\u7528\u6237\u4ea4\u4e92\u903b\u8f91\u4e0e\u5448\u73b0\u5206\u79bb\u3002<\/li>\n<li>\u7ba1\u7406\u590d\u6742\u7684\u8f93\u5165\u8868\u5355\u3002<\/li>\n<li>\u521b\u5efa\u201c\u76ae\u80a4\u5316\u201d\u7684\u7528\u6237\u754c\u9762\u3002\u4f60\u73b0\u5728\u53ef\u4ee5\u7528HTML\u6587\u4ef6\u4f5c\u4e3a\u4f60\u5e94\u7528\u7a0b\u5e8f\u7684\u201c\u76ae\u80a4\u201d\u3002<\/li>\n<li>\u6784\u5efa\u5e2e\u52a9\u7cfb\u7edf\uff0c HTML \u4e66\u7c4d\u9605\u8bfb\u5668\uff0c\u8f7b\u91cf\u7684\u6d4f\u89c8\u5668\u7b49\u7b49\u3002<\/li>\n<li>\u5f00\u53d1\u652f\u6301\u591a\u79cd\u754c\u9762\u8bed\u8a00\u7684\u5e94\u7528\u7a0b\u5e8f\u3002\u5728\u6bcf\u4e2a\u8bed\u8a00\uff08\u6216\u533a\u57df\uff09\u4e2d\uff0c\u9488\u5bf9\u540c\u4e00\u4e2a\u77ed\u8bed\uff08\u4f8b\u5982\uff1a\u8f93\u5165\u5b57\u6bb5\u6807\u9898\uff09\u6709\u4e0d\u540c\u7684\u957f\u5ea6\u548c\u5c4f\u5e55\u5e03\u5c40\u3002\u53ea\u9700\u8981\u4e3a\u4e0d\u540c\u7684\u8bed\u8a00\u521b\u5efa\u4e0d\u540c\u7684 HTML \u8d44\u6e90\uff0c HTMLayout \u5c06\u6e32\u67d3\u5168\u90e8\u6807\u9898 (\u5982\u679c\u5b83\u4eec\u53ea\u662f HTML \u6587\u672c) \u00a0\u5e76\u81ea\u52a8\u8c03\u7528\u8f93\u5165\u5b57\u6bb5\uff08\u63a7\u4ef6\u7a97\u53e3\uff09\u7684\u4f4d\u7f6e\u3002<\/li>\n<li>\u521b\u5efa\u53ef\u8c03\u6574\u5927\u5c0f\u7684\u5c4f\u5e55\u5e03\u5c40\u3002<\/li>\n<li>\u6253\u5370\u548c\u6253\u5370\u9884\u89c8\u4f60\u7684HTML\u6587\u6863\u3002\u6269\u5c55\u7684\u6253\u5370 API \u5141\u8bb8\u4f60\u5728\u4e0d\u540c\u7684\u65b9\u5411\u4e0a\u8c03\u6574\u4f60\u7684 HTML \u6253\u5370\u8f93\u51fa\u3002<\/li>\n<li>HtmLayout \u662f\u4e00\u79cd\u5929\u7136\u7684\u62a5\u8868\u89e3\u51b3\u65b9\u6848\u3002<\/li>\n<\/ul>\n<p>HtmLayout \u662f\u4e00\u4e2a\u201c\u539f\u751f\u201d\u7684\u7a97\u53e3\u7c7b\u5b9e\u73b0\u5e76\u4e14\u4f5c\u4e3a\u539f\u751f\u7684Windows DLL(\u52a8\u6001\u94fe\u63a5\u5e93\uff09\u4e8c\u8fdb\u5236\u65b9\u5f0f\u53d1\u5e03\u3002<\/p>\n<p>HTMLayout \u4e0d\u4f7f\u7528\u4efb\u4f55\u91cd\u91cf\u7ea7\u7ec4\u4ef6\u6280\u672f\uff0c\u8fd9\u5c31\u662f\u4e3a\u4ec0\u4e48\u5b83\u542f\u52a8\u65f6\u95f4\u51e0\u4e4e\u4e3a0\u7684\u539f\u56e0\u3002 \u5173\u4e8e\u5b83\u7684\u8f7b\u91cf\u7ea7\u5bf9\u6bd4\u5982\u4e0b:<\/p>\n<table border=\"1\" width=\"100%\" cellspacing=\"1\" cellpadding=\"1\">\n<tbody>\n<tr>\n<td><\/td>\n<td align=\"center\" valign=\"middle\">IE 6.0<\/td>\n<td align=\"center\" valign=\"middle\">FireFox 1.0<\/td>\n<td align=\"center\" valign=\"middle\">Opera 7.5<\/td>\n<td align=\"center\" valign=\"middle\">HTMLayout<br \/>\n(browse.exe)<\/td>\n<\/tr>\n<tr>\n<td>\u5185\u5b58\u4f7f\u7528 (\u6d3b\u52a8\u7a97\u53e3)<\/td>\n<td align=\"right\" valign=\"top\" nowrap=\"nowrap\">8,300 kb<\/td>\n<td align=\"right\" valign=\"top\" nowrap=\"nowrap\">11,000 kb<\/td>\n<td align=\"right\" valign=\"top\" nowrap=\"nowrap\">6,200 kb<\/td>\n<td align=\"right\" valign=\"top\" nowrap=\"nowrap\">5,100 kb<\/td>\n<\/tr>\n<tr>\n<td>\u5185\u5728\u4f7f\u7528 (\u975e\u6d3b\u52a8\u7a97\u53e3\uff0c\u6700\u5c0f\u5316)<\/td>\n<td align=\"right\" valign=\"top\" nowrap=\"nowrap\">1,900 kb<\/td>\n<td align=\"right\" valign=\"top\" nowrap=\"nowrap\">1,500 kb<\/td>\n<td align=\"right\" valign=\"top\" nowrap=\"nowrap\">2,700 kb<\/td>\n<td align=\"right\" valign=\"top\" nowrap=\"nowrap\">550 kb<\/td>\n<\/tr>\n<tr>\n<td>\u5185\u5b58\u4f7f\u7528\u5cf0\u503c<\/td>\n<td align=\"right\" valign=\"top\" nowrap=\"nowrap\">19,000 kb<\/td>\n<td align=\"right\" valign=\"top\" nowrap=\"nowrap\">23,000 kb<\/td>\n<td align=\"right\" valign=\"top\" nowrap=\"nowrap\">15,548 kb<\/td>\n<td align=\"right\" valign=\"top\" nowrap=\"nowrap\">9,100 kb<\/td>\n<\/tr>\n<tr>\n<td>\u53e5\u67c4\u6570<\/td>\n<td align=\"right\" valign=\"top\" nowrap=\"nowrap\">344<\/td>\n<td align=\"right\" valign=\"top\" nowrap=\"nowrap\">194<\/td>\n<td align=\"right\" valign=\"top\" nowrap=\"nowrap\">117<\/td>\n<td align=\"right\" valign=\"top\" nowrap=\"nowrap\">128<\/td>\n<\/tr>\n<tr>\n<td>GDI \u5bf9\u8c61\u6570<\/td>\n<td align=\"right\" valign=\"top\" nowrap=\"nowrap\">228<\/td>\n<td align=\"right\" valign=\"top\" nowrap=\"nowrap\">160<\/td>\n<td align=\"right\" valign=\"top\" nowrap=\"nowrap\">351<\/td>\n<td align=\"right\" valign=\"top\" nowrap=\"nowrap\">54<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><img decoding=\"async\" src=\"http:\/\/www.terrainformatica.com\/htmlayout\/res\/complexspiral.png\" alt=\"\" align=\"left\" hspace=\"8\" \/>\u8fd9\u4e9b\u6570\u636e\u662f\u5728\u5fae\u8f6fInternet Explore\uff0cMozilla Firefox\u548cHTMLLayout(browser.exe) \u6d4f\u89c8 \u00a0<a href=\"http:\/\/www.meyerweb.com\/eric\/css\/edge\/complexspiral\/glassy.html\">the Complexspiral Redux<\/a>\u00a0\u9875\uff08\u57fa\u672c\u7684 HTML \u548c CSS \u7ea7\u522b 1\uff09 \u65f6\u5f97\u5230\u7684\u6570\u636e\u3002<\/p>\n<p>\u6570\u5b57\u5e76\u4e0d\u7cbe\u786e-\u5b83\u53ea\u662f\u7528\u6765\u8ba9\u4f60\u4e0e\u4f60\u7684\u671f\u671b\u8fdb\u884c\u7c97\u7565\u5bf9\u6bd4\u3002<\/p>\n<p><span class=\"\">\u5b9e\u9645\u4e0a\u8fd9\u79cd\u6bd4\u8f83\u5e76\u4e0d\u516c\u5e73\u3002HTMLLayout<\/span>\u8bbe\u8ba1\u7528\u6765\u4f5c\u4e3a\u5d4c\u5165\u5f0f\u7ec4\u4ef6\u3002\u6240\u4ee5\u5728\u6211\u4eec\u7684\u5f15\u64ce<span class=\"\">\u8bbe\u8ba1\u6b62\uff0c<\/span>\u4f18\u5316\u76ee\u6807\u548c<span class=\"\">\u4f18\u5148\u7ea7\u4e0d\u4e00\u6837<\/span><span class=\"\">\u3002<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>\u4e0b\u9762\u662f\u5b83\u7684\u4e00\u4e9b\u8d44\u6599\uff1a<\/p>\n<p>\u5b98\u7f51\uff1ahttp:\/\/www.terrainformatica.com\/htmlayout\/<\/p>\n<p>Delphi\u5c01\u88c5\uff1ahttps:\/\/github.com\/dstd\/HtmlayoutDelphi<\/p>\n<p>\u767e\u5ea6\u7f51\u76d8\uff1a<a href=\"http:\/\/pan.baidu.com\/s\/1gdEdNZP\" target=\"_blank\">\u4e0d\u5305\u542bDLL\u7248<\/a>\u00a0<a href=\"http:\/\/pan.baidu.com\/s\/1bnF7TbL\" target=\"_blank\">\u5305\u542bDLL\u7248<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>HTMLayout: \u5feb\u901f\u3001\u8f7b\u91cf\u7684\u5d4c\u5165\u5f0f [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[8],"tags":[205],"class_list":["post-1387","post","type-post","status-publish","format-standard","hentry","category-delphi","tag-htmllayout"],"views":9786,"_links":{"self":[{"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/posts\/1387","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1387"}],"version-history":[{"count":3,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/posts\/1387\/revisions"}],"predecessor-version":[{"id":1394,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/posts\/1387\/revisions\/1394"}],"wp:attachment":[{"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1387"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1387"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1387"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}