{"id":7216,"date":"2017-06-07T08:34:08","date_gmt":"2017-06-06T23:34:08","guid":{"rendered":"http:\/\/blog.antenna.co.jp\/ILSoft2\/?p=7216"},"modified":"2017-06-07T08:34:08","modified_gmt":"2017-06-06T23:34:08","slug":"ah-formatter%ef%bc%9a-precedence-%e3%81%ae%e5%8a%b9%e6%9e%9c%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6","status":"publish","type":"post","link":"https:\/\/blog.antenna.co.jp\/ILSoft2\/archives\/7216\/","title":{"rendered":"AH Formatter\uff1a&#8221;.precedence&#8221; \u306e\u52b9\u679c\u306b\u3064\u3044\u3066"},"content":{"rendered":"<p>\u3053\u3093\u306b\u3061\u306f\u3002<br \/>\nAH Formatter\u30b5\u30dd\u30fc\u30c8\u62c5\u5f53\u3067\u3059\u3002<br \/>\n\u4eca\u9031\u306fAH Formatter\u306e\u30b5\u30dd\u30fc\u30c8\u3067\u6bd4\u8f03\u7684\u3088\u304f\u3042\u308b\u3054\u8cea\u554f\u3092\u7d39\u4ecb\u3044\u305f\u3057\u307e\u3059\u3002<\/p>\n<p>\u4eca\u56de\u306f\u3001.precedence \u306b\u3064\u3044\u3066\u3001\u3067\u3059\u3002<br \/>\nXSL-FO\u306e\u4ed5\u69d8\u306e\u4e2d\u3067\u3001space-before \u3084 space-after \u306a\u3069\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u3067 Value \u306b &lt;space&gt; \u304c\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u308b\u3082\u306e\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p><a href=\"https:\/\/www.w3.org\/TR\/xsl11\/#space-before\">7.11.5 &#8220;space-before&#8221;<\/a><br \/>\n\u3067\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u66f8\u304b\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u3000XSL Definition:<br \/>\n\u3000Value: &lt;space&gt; | inherit<br \/>\n\u3000Initial: space.minimum=0pt, .optimum=0pt, .maximum=0pt, .conditionality=discard, .precedence=0<\/p>\n<p>\u3055\u3089\u306b<br \/>\n<a href=\"https:\/\/www.w3.org\/TR\/xsl\/#datatype\">5.11 Property Datatypes<\/a><br \/>\n\u306e\u4e2d\u3067\u3001&lt;space&gt; \u306e\u8aac\u660e\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u3000A compound datatype, with components: minimum, optimum, maximum, precedence, and conditionality. <\/p>\n<p>\u3064\u307e\u308a\u3001Value \u306b &lt;space&gt; \u3068\u3042\u308b\u30d7\u30ed\u30d1\u30c6\u30a3\u306b\u3064\u3044\u3066\u306f<br \/>\nspace-before.minimum=&#8221;2.0pt&#8221;<br \/>\nspace-before.optimum=&#8221;3.0pt&#8221;<br \/>\nspace-before.maximum=&#8221;4.0pt&#8221;<br \/>\nspace-before.precedence=&#8221;0&#8243;<br \/>\nspace-before.conditionality=&#8221;discard&#8221;<br \/>\n\u306e\u3088\u3046\u306a\u4f7f\u3044\u65b9\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u4e2d\u306e &#8220;.precedence&#8221; \u306b\u3064\u3044\u3066<br \/>\n\u3069\u306e\u3088\u3046\u306a\u610f\u5473\u3092\u6301\u3063\u3066\u3044\u308b\u306e\u304b\uff1f<br \/>\n\u4f7f\u3044\u65b9\u304c\u3088\u304f\u308f\u304b\u3089\u306a\u3044\u3068\u3044\u3046\u3054\u8cea\u554f\u3092\u53d7\u3051\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>.precedence \u306f\u6307\u5b9a\u5024\u304c\u7af6\u5408\u3059\u308b\u3088\u3046\u306a\u5834\u5408\u306e\u89e3\u6c7a\u306b\u7528\u3044\u307e\u3059\u3002<br \/>\n\u7af6\u5408\u3057\u305f\u5834\u5408\u306e\u5f37\u3055\u3092\u6574\u6570\u307e\u305f\u306f&#8221;force&#8221;\uff08\u6700\u3082\u5f37\u3044\uff09\u3067\u8868\u3057\u307e\u3059\u3002<\/p>\n<p>space-after\/space-before\u3092\u4f8b\u306b\u3057\u307e\u3059\u3068\u3001<\/p>\n<p>\u3000&lt;fo:block space-after=&#8221;2cm&#8221;&gt;1\u306e\u30d6\u30ed\u30c3\u30af&lt;\/fo:block&gt;<br \/>\n\u3000&lt;fo:block space-before=&#8221;1cm&#8221;&gt;2\u306e\u30d6\u30ed\u30c3\u30af&lt;\/fo:block&gt;<\/p>\n<p>\u3053\u306e\u3088\u3046\u306a\u5834\u5408\u3001\u3069\u3061\u3089\u306eblock\u3082 .precedence \u306f\u6307\u5b9a\u3055\u308c\u3066\u3044\u306a\u3044\u306e\u3067<br \/>\n\u5024\u306f\u521d\u671f\u5024\u306e0\u3067\u3059\u3002\u3057\u305f\u304c\u3063\u3066\u3001<br \/>\n1\u306e\u30d6\u30ed\u30c3\u30af\u3068\uff12\u306e\u30d6\u30ed\u30c3\u30af\u306e\u9593\u306e space \u306f\u3001<br \/>\n\u5927\u304d\u3044\u307b\u3046\u306e\u5024\u304c\u9078\u629e\u3055\u308c\u30012cm\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u88dc\u8db3\uff1a<br \/>\n\u30b9\u30da\u30fc\u30b9\u6307\u5b9a\u5b50\u306e\u3053\u306e\u3088\u3046\u306a\u6cd5\u5247\u306f<br \/>\n<a href=\"https:\/\/www.w3.org\/TR\/xsl\/#spacecond\">4.3.1 Space-resolution Rules<\/a><br \/>\n\u306b\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u6b21\u306b\u30012\u306e\u30d6\u30ed\u30c3\u30af\u306b space-before.precedence=&#8221;force&#8221; \u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<p>\u3000&lt;fo:block space-after=&#8221;2cm&#8221;&gt;1\u306e\u30d6\u30ed\u30c3\u30af&lt;\/fo:block&gt;<br \/>\n\u3000&lt;fo:block space-before=&#8221;1cm&#8221; space-before.precedence=&#8221;force&#8221;&gt;2\u306e\u30d6\u30ed\u30c3\u30af&lt;\/fo:block&gt;<\/p>\n<p>space-before \u306e\u65b9\u304c\u5f37\u5236\u529b\u3092\u6301\u3064\u306e\u3067\u3001space \u306f1cm\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u6b21\u306b\u4e21\u65b9\u306b .precedence=&#8221;force&#8221; \u3092\u6307\u5b9a\u3059\u308b\u3068\u3001<\/p>\n<p>\u3000&lt;fo:block space-after=&#8221;2cm&#8221; space-after.precedence=&#8221;force&#8221;&gt;1\u306e\u30d6\u30ed\u30c3\u30af&lt;\/fo:block&gt;<br \/>\n\u3000&lt;fo:block space-before=&#8221;1cm&#8221; space-before.precedence=&#8221;force&#8221;&gt;2\u306e\u30d6\u30ed\u30c3\u30af&lt;\/fo:block&gt;<\/p>\n<p>\u4e21\u65b9\u3068\u3082\u5f37\u5236\u7684\u306b space \u3092\u51fa\u529b\u3059\u308b\u306e\u3067\u3001\u9593\u306e space \u306f3cm\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u3088\u3046\u306a\u4f7f\u3044\u65b9\u3092\u77e5\u3063\u3066\u3044\u308b\u3068\u3001\u7ae0\u30bf\u30a4\u30c8\u30eb\/\u7bc0\u30bf\u30a4\u30c8\u30eb\u3084\u672c\u6587\u3068\u306e\u7a7a\u304d\u3092\u8abf\u7bc0\u3059\u308b\u306e\u306b<br \/>\n\u4fbf\u5229\u306a\u3053\u3068\u304c\u3042\u308b\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p>\n<p><strong>\u53c2\u8003\u8cc7\u6599<\/strong><br \/>\n<a href=\"https:\/\/www.antenna.co.jp\/AHF\/ahf_publication\/data\/xsl-fo-v2\/i01-0007.html#h_2ei_30_31-_30_30_30_37_2e_E8_A4_87_E5_90_88_E3_83_87_E3_83_BC_E3_82_BF_E5_9E_8B_3Cspace_3E\">\u300eXSL-FO\u306e\u57fa\u790e\u300f\u30006.8 \u8907\u5408\u30c7\u30fc\u30bf\u578b<space><\/a><br \/>\n\u3000<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3053\u3093\u306b\u3061\u306f\u3002 AH Formatter\u30b5\u30dd\u30fc\u30c8\u62c5\u5f53\u3067\u3059\u3002 \u4eca\u9031\u306fAH Formatter\u306e\u30b5\u30dd\u30fc\u30c8\u3067\u6bd4\u8f03\u7684\u3088\u304f\u3042\u308b\u3054\u8cea\u554f\u3092\u7d39\u4ecb\u3044\u305f\u3057\u307e\u3059\u3002 \u4eca\u56de\u306f\u3001.precedence \u306b\u3064\u3044\u3066\u3001\u3067\u3059\u3002 XSL-FO\u306e\u4ed5\u69d8\u306e\u4e2d\u3067\u3001sp [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[25,48,16],"tags":[52,254,261,661],"class_list":["post-7216","post","type-post","status-publish","format-standard","hentry","category-ah-formatter","category-xsl-fo","category-structured-doc","tag-ah-formatter","tag-xml","tag-xsl-fo","tag-661"],"_links":{"self":[{"href":"https:\/\/blog.antenna.co.jp\/ILSoft2\/wp-json\/wp\/v2\/posts\/7216","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.antenna.co.jp\/ILSoft2\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.antenna.co.jp\/ILSoft2\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.antenna.co.jp\/ILSoft2\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.antenna.co.jp\/ILSoft2\/wp-json\/wp\/v2\/comments?post=7216"}],"version-history":[{"count":0,"href":"https:\/\/blog.antenna.co.jp\/ILSoft2\/wp-json\/wp\/v2\/posts\/7216\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.antenna.co.jp\/ILSoft2\/wp-json\/wp\/v2\/media?parent=7216"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.antenna.co.jp\/ILSoft2\/wp-json\/wp\/v2\/categories?post=7216"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.antenna.co.jp\/ILSoft2\/wp-json\/wp\/v2\/tags?post=7216"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}