asciidoctor-gb 0.1.5 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (75) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.tb.yml +20 -10
  3. data/LICENSE +25 -0
  4. data/README.adoc +262 -34
  5. data/asciidoctor-gb.gemspec +2 -1
  6. data/bin/rspec +18 -0
  7. data/lib/asciidoctor/gb/biblio.rng +602 -0
  8. data/lib/asciidoctor/gb/converter.rb +104 -70
  9. data/lib/asciidoctor/gb/front.rb +109 -61
  10. data/lib/asciidoctor/gb/gbstandard.rng +135 -31
  11. data/lib/asciidoctor/gb/html/gb-logos/gb-issuer-default.gif +0 -0
  12. data/lib/asciidoctor/gb/html/gb-logos/gb-issuer-default.png +0 -0
  13. data/lib/asciidoctor/gb/html/gb-logos/gb-issuer-default.svg +980 -0
  14. data/lib/asciidoctor/gb/html/{gb.css → gb.scss} +133 -219
  15. data/lib/asciidoctor/gb/html/html_gb_intro.html +1 -37
  16. data/lib/asciidoctor/gb/html/html_gb_titlepage.html +6 -5
  17. data/lib/asciidoctor/gb/html/{htmlstyle.css → htmlstyle.scss} +85 -3
  18. data/lib/asciidoctor/gb/html/word_gb_intro.html +1 -1
  19. data/lib/asciidoctor/gb/html/word_gb_titlepage.html +320 -166
  20. data/lib/asciidoctor/gb/html/{wordstyle.css → wordstyle.scss} +605 -429
  21. data/lib/asciidoctor/gb/isodoc.rng +36 -564
  22. data/lib/asciidoctor/gb/isostandard.rng +198 -91
  23. data/lib/asciidoctor/gb/section_input.rb +21 -56
  24. data/lib/asciidoctor/gb/validate.rb +115 -0
  25. data/lib/asciidoctor/gb/version.rb +1 -1
  26. data/lib/asciidoctor-gb.rb +2 -1
  27. data/lib/isodoc/gb/agencies.rb +327 -0
  28. data/lib/isodoc/gb/block_output.rb +86 -0
  29. data/lib/isodoc/gb/gbcleanup.rb +87 -0
  30. data/lib/isodoc/gb/gbconvert.rb +153 -0
  31. data/lib/isodoc/gb/gbwordconvert.rb +89 -0
  32. data/lib/isodoc/gb/html/blank.png +0 -0
  33. data/lib/isodoc/gb/html/footer.png +0 -0
  34. data/lib/isodoc/gb/html/gb-logos/gb-issuer-default.gif +0 -0
  35. data/lib/isodoc/gb/html/gb-logos/gb-issuer-default.png +0 -0
  36. data/lib/isodoc/gb/html/gb-logos/gb-issuer-default.svg +980 -0
  37. data/lib/isodoc/gb/html/gb-logos/gb-standard-db.gif +0 -0
  38. data/lib/isodoc/gb/html/gb-logos/gb-standard-db.png +0 -0
  39. data/lib/isodoc/gb/html/gb-logos/gb-standard-db.svg +1 -0
  40. data/lib/isodoc/gb/html/gb-logos/gb-standard-gb.gif +0 -0
  41. data/lib/isodoc/gb/html/gb-logos/gb-standard-gb.png +0 -0
  42. data/lib/isodoc/gb/html/gb-logos/gb-standard-gb.svg +1 -0
  43. data/lib/isodoc/gb/html/gb-logos/gb-standard-gjb.gif +0 -0
  44. data/lib/isodoc/gb/html/gb-logos/gb-standard-gjb.png +0 -0
  45. data/lib/isodoc/gb/html/gb-logos/gb-standard-gjb.svg +1 -0
  46. data/lib/isodoc/gb/html/gb-logos/gb-standard-gm.gif +0 -0
  47. data/lib/isodoc/gb/html/gb-logos/gb-standard-gm.png +0 -0
  48. data/lib/isodoc/gb/html/gb-logos/gb-standard-gm.svg +1 -0
  49. data/lib/isodoc/gb/html/gb-logos/gb-standard-jjf.gif +0 -0
  50. data/lib/isodoc/gb/html/gb-logos/gb-standard-jjf.png +0 -0
  51. data/lib/isodoc/gb/html/gb-logos/gb-standard-jjf.svg +1 -0
  52. data/lib/isodoc/gb/html/gb-logos/gb-standard-zb.gif +0 -0
  53. data/lib/isodoc/gb/html/gb-logos/gb-standard-zb.png +0 -0
  54. data/lib/isodoc/gb/html/gb-logos/gb-standard-zb.svg +13 -0
  55. data/lib/isodoc/gb/html/gb.scss +556 -0
  56. data/lib/isodoc/gb/html/header.html +216 -0
  57. data/lib/isodoc/gb/html/html_gb_intro.html +9 -0
  58. data/lib/isodoc/gb/html/html_gb_titlepage.html +99 -0
  59. data/lib/isodoc/gb/html/htmlstyle.scss +269 -0
  60. data/lib/isodoc/gb/html/logo.png +0 -0
  61. data/lib/isodoc/gb/html/scripts.html +71 -0
  62. data/lib/isodoc/gb/html/word_gb_intro.html +3 -0
  63. data/lib/isodoc/gb/html/word_gb_titlepage.html +388 -0
  64. data/lib/isodoc/gb/html/wordstyle.scss +2543 -0
  65. data/lib/isodoc/gb/i18n-en.yaml +12 -0
  66. data/lib/isodoc/gb/i18n-zh-Hans.yaml +12 -0
  67. data/lib/isodoc/gb/i18n.rb +20 -0
  68. data/lib/isodoc/gb/metadata.rb +216 -0
  69. data/lib/{asciidoctor → isodoc}/gb/section_output.rb +22 -4
  70. data/lib/isodoc/gb/xref_gen.rb +17 -0
  71. metadata +75 -15
  72. data/lib/asciidoctor/gb/agencies.rb +0 -186
  73. data/lib/asciidoctor/gb/gbconvert.rb +0 -86
  74. data/lib/asciidoctor/gb/metadata.rb +0 -186
  75. data/lib/asciidoctor/gb/xref_gen.rb +0 -25
Binary file
@@ -0,0 +1,71 @@
1
+ <script>
2
+ //TOC generation
3
+ $('#toc').toc({
4
+ 'selectors': 'h1,h2:not(.TermNum)', //elements to use as headings
5
+ 'container': 'main', //element to find all selectors in
6
+ 'smoothScrolling': true, //enable or disable smooth scrolling on click
7
+ 'prefix': 'toc', //prefix for anchor tags and class names
8
+ 'onHighlight': function(el) {}, //called when a new section is highlighted
9
+ 'highlightOnScroll': true, //add class to heading that is currently in focus
10
+ 'highlightOffset': 100, //offset to trigger the next headline
11
+ 'anchorName': function(i, heading, prefix) { //custom function for anchor name
12
+ return prefix+i;
13
+ },
14
+ 'headerText': function(i, heading, $heading) { //custom function building the header-item text
15
+ return $heading.text();
16
+ },
17
+ 'itemClass': function(i, heading, $heading, prefix) { // custom function for item class
18
+ return $heading[0].tagName.toLowerCase();
19
+ }
20
+ });
21
+
22
+ </script>
23
+
24
+ <script>
25
+ //TOC toggle animation
26
+ $('#toggle').on('click', function(){
27
+ if( $('nav').is(':visible') ) {
28
+ $('nav').animate({ 'left': '-353px' }, 'slow', function(){
29
+ $('nav').hide();
30
+ });
31
+ $('body').animate({ 'margin-left': '0' }, 'slow');
32
+ }
33
+ else {
34
+ $('nav').show();
35
+ $('nav').animate({ 'left': '0px' }, 'slow');
36
+ $('body').animate({ 'margin-left': '298px' }, 'slow');
37
+ }
38
+ });
39
+ </script>
40
+
41
+ <script>
42
+ // Scroll to top button
43
+ window.onscroll = function() {scrollFunction()};
44
+
45
+ function scrollFunction() {
46
+ if (document.body.scrollTop > 100 || document.documentElement.scrollTop > 100) {
47
+ document.getElementById("myBtn").style.display = "block";
48
+ } else {
49
+ document.getElementById("myBtn").style.display = "none";
50
+ }
51
+ }
52
+
53
+ // When the user clicks on the button, scroll to the top of the document
54
+ function topFunction() {
55
+ document.body.scrollTop = 0;
56
+ document.documentElement.scrollTop = 0;
57
+ }
58
+ </script>
59
+
60
+ <script>
61
+ $(document).ready(function() {
62
+ $('[id^=toc]').each(function ()
63
+ {
64
+ var currentToc = $(this);
65
+ var url = window.location.href;
66
+ currentToc.wrap("<a href='" + url + "#" + currentToc.attr("id") + "' </a>");
67
+ });
68
+ });
69
+ </script>
70
+
71
+
@@ -0,0 +1,3 @@
1
+ <p class=zzContents style='margin-top:0cm'>{{ table_of_contents }}</p>
2
+
3
+ WORDTOC
@@ -0,0 +1,388 @@
1
+ <div class=coverpage>
2
+
3
+ <p class=MsoNormalUnindented><!--[if gte vml 1]><v:line id="Line_x0020_10" o:spid="_x0000_s1026"
4
+ style='position:absolute;left:0;text-align:left;z-index:251669504;
5
+ visibility:visible;mso-wrap-style:square;mso-width-percent:0;
6
+ mso-height-percent:0;mso-wrap-distance-left:9pt;mso-wrap-distance-top:0;
7
+ mso-wrap-distance-right:9pt;mso-wrap-distance-bottom:0;
8
+ mso-position-horizontal:absolute;mso-position-horizontal-relative:text;
9
+ mso-position-vertical:absolute;mso-position-vertical-relative:text;
10
+ mso-width-percent:0;mso-height-percent:0;mso-width-relative:page;
11
+ mso-height-relative:page' from="0,24.7cm" to="17.00cm,24.7cm" strokecolor="#080000" strokeweight="1pt">
12
+ <o:lock v:ext="edit" shapetype="f"/>
13
+ </v:line><![endif]--></p>
14
+
15
+ <p class=MsoNormalUnindented>
16
+ <!--[if gte vml 1]><v:line id="Line_x0020_11" o:spid="_x0000_s1027"
17
+ style='position:absolute;left:0;text-align:left;z-index:251660800;
18
+ visibility:visible;mso-wrap-style:square;mso-width-percent:0;
19
+ mso-height-percent:0;mso-wrap-distance-left:9pt;mso-wrap-distance-top:0;
20
+ mso-wrap-distance-right:9pt;mso-wrap-distance-bottom:0;
21
+ mso-position-horizontal:absolute;mso-position-horizontal-relative:text;
22
+ mso-position-vertical:absolute;mso-position-vertical-relative:text;
23
+ mso-width-percent:0;mso-height-percent:0;mso-width-relative:page;
24
+ mso-height-relative:page' from="0,6.11cm" to="17.00cm,6.11cm" strokecolor="#080000" strokeweight="1pt">
25
+ <o:lock v:ext="edit" shapetype="f"/>
26
+ </v:line><![endif]--></p>
27
+
28
+ <!--[if gte vml 1]><v:shape id="fmFrame1" o:spid="_x0000_s1028"
29
+ type="#_x0000_t202" alt="" style='position:absolute;left:0;text-align:left;
30
+ margin-left:0;margin-top:0;width:5.0cm;height:1.83cm;z-index:251652608;
31
+ mso-wrap-style:square;mso-wrap-edited:f;mso-width-percent:0;
32
+ mso-height-percent:0;mso-position-horizontal-relative:margin;
33
+ mso-position-vertical-relative:margin;mso-width-percent:0;
34
+ mso-height-percent:0;v-text-anchor:top' stroked="f">
35
+ <v:textbox style='mso-next-textbox:#fmFrame1' inset="0,0,0,0"/>
36
+ <w:wrap anchorx="margin" anchory="margin"/>
37
+ <w:anchorlock/>
38
+ </v:shape><![endif]--><![if !vml]><span style='mso-ignore:vglayout;position:
39
+ relative;z-index:251652608'><span style='left:0px;position:absolute;left:-10px;
40
+ top:-5px;'>
41
+
42
+ <table cellpadding=0 cellspacing=0>
43
+ <tr>
44
+ <td bgcolor=white style='vertical-align:top;
45
+ background:white'><![endif]><![if !mso]><span style='position:absolute;
46
+ mso-ignore:vglayout;left:0pt;z-index:251652608'>
47
+ <table cellpadding=0 cellspacing=0 width="100%">
48
+ <tr>
49
+ <td><![endif]>
50
+ <div v:shape="fmFrame1" style='padding:0pt 0pt 0pt 0pt' class=shape>
51
+ <p class=ccs_container><span class="ccs_label">ICS</span> <span class="ccs">{{ libraryid_ics }}</span></p>
52
+ <p class=ccs_container><span class="ccs_label">{{ libraryid_ccs | slice: 0 }}</span> <span class="ccs">{{ libraryid_ccs | slice: 1,libraryid_ccs.size }}</span></p>
53
+ </div>
54
+ <![if !mso]></td>
55
+ </tr>
56
+ </table>
57
+ </span><![endif]><![if !mso & !vml]>&nbsp;<![endif]><![if !vml]></td>
58
+ </tr>
59
+ </table>
60
+
61
+ </span></span><![endif]>
62
+
63
+ <div style='mso-element:frame;mso-element-wrap:around;mso-height-rule:exactly'>
64
+
65
+ <table cellspacing=0 cellpadding=0 hspace=0 vspace=0 width=136 height=88
66
+ align=left>
67
+ <tr>
68
+ <td valign=top align=left height=1751 style='padding-top:9.05pt;padding-right:
69
+ 9.05pt;padding-bottom:9.05pt;padding-left:9.05pt'>
70
+ <p class="standard_logo{% if gbscope == 'local' %}_local{% endif %}"
71
+ style='line-height:72.0pt;mso-line-height-rule:exactly'><span lang=EN-US style='mso-no-proof:yes'>{{ standard_logo }}</span></p>
72
+ </td> </tr>
73
+ </table>
74
+
75
+ </div>
76
+
77
+
78
+ <!--[if gte vml 1]><v:shape
79
+ id="fmFrame2" o:spid="_x0000_s1029" type="#_x0000_t202" alt="" style='position:absolute;
80
+ left:0;text-align:left;margin-left:0;margin-top:2.81cm;width:17.00cm;height:0.80cm;
81
+ z-index:251653632;mso-wrap-style:square;mso-wrap-edited:f;mso-width-percent:0;
82
+ mso-height-percent:0;mso-position-horizontal-relative:margin;
83
+ mso-position-vertical-relative:margin;mso-width-percent:0;
84
+ mso-height-percent:0;v-text-anchor:top' stroked="f">
85
+ <v:textbox style='mso-next-textbox:#fmFrame2' inset="0,0,0,0"/>
86
+ <w:wrap anchorx="margin" anchory="margin"/>
87
+ <w:anchorlock/>
88
+ </v:shape><![endif]-->
89
+
90
+ <![if !vml]><span style='mso-ignore:vglayout;position:
91
+ absolute;z-index:251653632;left:0px;margin-left:-10px;margin-top:75px;
92
+ width:263494454px;height:28675px'>
93
+
94
+ <table cellpadding=0 cellspacing=0>
95
+ <tr>
96
+ <td width=263494454 height=28675 bgcolor=white style='vertical-align:top;
97
+ background:white'><![endif]><![if !mso]><span style='position:absolute;
98
+ mso-ignore:vglayout;left:0pt;z-index:251653632'>
99
+ <table cellpadding=0 cellspacing=0 width="100%">
100
+ <tr>
101
+ <td><![endif]>
102
+ <div v:shape="fmFrame2" style='padding:0pt 0pt 0pt 0pt' class=shape>
103
+ <p class=standard_class {% if language == "en" %}style='text-align:center'{% endif %}>
104
+ <span {% if language == "en" %}style="font-size:10.5pt"{%- endif -%}>{{ standard_class }}</span></p>
105
+ </div>
106
+ <![if !mso]></td>
107
+ </tr>
108
+ </table>
109
+ </span><![endif]><![if !mso & !vml]>&nbsp;<![endif]><![if !vml]></td>
110
+ </tr>
111
+ </table>
112
+
113
+ </span><![endif]>
114
+
115
+
116
+ <!--[if gte vml 1]><v:shape
117
+ id="fmFrame3" o:spid="_x0000_s1031" type="#_x0000_t202" alt="文本框: GB/T XXXX—XXXX&#13;&#10;&#13;&#10;"
118
+ style='position:absolute;left:0;text-align:left;margin-left:0;margin-top:4.00cm;
119
+ width:16.50cm;height:4.64cm;z-index:251655680;mso-wrap-style:square;
120
+ mso-wrap-edited:f;mso-width-percent:0;mso-height-percent:0;
121
+ mso-position-horizontal-relative:margin;mso-position-vertical-relative:margin;
122
+ mso-width-percent:0;mso-height-percent:0;v-text-anchor:top' stroked="f">
123
+ <v:textbox style='mso-next-textbox:#fmFrame3' inset="0,0,0,0"/>
124
+ <w:wrap anchorx="margin" anchory="margin"/>
125
+ <w:anchorlock/>
126
+ </v:shape><![endif]--><![if !vml]><span style='mso-ignore:vglayout;position:
127
+ absolute;z-index:251655680;left:0px;margin-left:-10px;margin-top:120px;
128
+ width:263494454px;height:28675px'>
129
+
130
+ <table cellpadding=0 cellspacing=0>
131
+ <tr>
132
+ <td width=263494454 height=28675 bgcolor=white style='vertical-align:top;
133
+ background:white'><![endif]><![if !mso]><span style='position:absolute;
134
+ mso-ignore:vglayout;left:0pt;z-index:251655680'>
135
+ <table cellpadding=0 cellspacing=0 width="100%">
136
+ <tr>
137
+ <td><![endif]>
138
+ <div v:shape="fmFrame3" style='padding:0pt 0pt 0pt 0pt' class=shape>
139
+ <p class=standard_number style='line-height:9.0pt;mso-line-height-rule:exactly'><span
140
+ lang=FR style='mso-ansi-language:FR'>{{ docidentifier }}</span><span
141
+ lang=FR style='mso-ansi-language:FR'><o:p></o:p></span></p>
142
+
143
+
144
+ {% if obsoletes %}
145
+ <p class=supercedes_container><!--[if gte vml 1]><v:rect id="DT" o:spid="_x0000_s1030"
146
+ alt="" style='position:absolute;left:0;text-align:left;margin-left:13.15cm;
147
+ margin-top:2.7pt;width:3.17cm;height:0.63cm;z-index:-251660800;
148
+ mso-wrap-style:square;mso-wrap-edited:f;mso-width-percent:0;
149
+ mso-height-percent:0;mso-width-percent:0;mso-height-percent:0;
150
+ v-text-anchor:top' stroked="f"/><![endif]--><![if !vml]><span
151
+ style='mso-ignore:vglayout;position:relative;z-index:-1895827968'><span
152
+ style='left:0px;position:absolute;left:297px;top:-40px;width:90px;
153
+ height:18px'><!--<img width=90 height=18
154
+ src="blank.png" v:shapes="DT">-->
155
+
156
+ {% if obsoletes_part %}
157
+ {{ partly_supercedes_lbl }}
158
+ {% else %}
159
+ {{ supercedes_lbl }}
160
+ {% endif %}
161
+ {{ obsoletes }}
162
+
163
+
164
+ </span></span><![endif]><a
165
+ name=DT></a><span lang=EN-US><span style='mso-spacerun:yes'> </span></span></p>
166
+ {% endif %}
167
+
168
+
169
+
170
+ </div>
171
+ <![if !mso]></td>
172
+ </tr>
173
+ </table>
174
+ </span><![endif]><![if !mso & !vml]>&nbsp;<![endif]><![if !vml]></td>
175
+ </tr>
176
+ </table>
177
+
178
+ </span><![endif]>
179
+
180
+
181
+ <!--[if gte vml 1]><v:shape id="fmFrame4" o:spid="_x0000_s1032"
182
+ type="#_x0000_t202" alt="" style='position:absolute;left:0;text-align:left;
183
+ margin-left:-5.25pt;margin-top:10.5cm;width:16.58cm;height:12.40cm;z-index:251656704;
184
+ mso-wrap-style:square;mso-wrap-edited:f;mso-width-percent:0;
185
+ mso-height-percent:0;mso-position-horizontal-relative:margin;
186
+ mso-position-vertical-relative:margin;mso-width-percent:0;
187
+ mso-height-percent:0;v-text-anchor:top' stroked="f">
188
+ <v:textbox style='mso-next-textbox:#fmFrame4' inset="0,0,0,0"/>
189
+ <w:wrap anchorx="margin" anchory="margin"/>
190
+ <w:anchorlock/>
191
+ </v:shape><![endif]--><![if !vml]><span style='mso-ignore:vglayout;position:
192
+ absolute;z-index:251656704;left:0px;margin-left:-15px;margin-top:245px;
193
+ width:263494459px;height:28675px'>
194
+
195
+ <table cellpadding=0 cellspacing=0>
196
+ <tr>
197
+ <td width=263494459 height=28675 bgcolor=white style='vertical-align:top;
198
+ background:white'><![endif]><![if !mso]><span style='position:absolute;
199
+ mso-ignore:vglayout;left:0pt;z-index:251656704'>
200
+ <table cellpadding=0 cellspacing=0 width="100%">
201
+ <tr>
202
+ <td><![endif]>
203
+ <div v:shape="fmFrame4" style='padding:0pt 0pt 0pt 0pt' class=shape>
204
+ <p class=standard_name><span lang=ZH-CN>{%if language == "zh" %}{{ docmaintitlezh }}{{ docsubtitlezh }}{{ docparttitlezh }}{% else %}<span class="en">{{ docmaintitleen }}{{ docsubtitleen }}{{ docparttitleen }}</span>{% endif %}</span><span lang=EN-US style='mso-bidi-font-size:26.0pt'><o:p></o:p></span></p>
205
+ <p class=standard_name_english style='margin-top:1.0cm;margin-bottom:1.0cm;mso-line-height-rule:
206
+ exactly'><span lang=EN-US>{%if language == "zh" %}{{ docmaintitleen }}{{ docsubtitleen }}{{ docparttitleen }}{% else %}<span class="zh">{{ docmaintitlezh }}{{ docsubtitlezh }}{{ docparttitlezh }}</span>{% endif %}</span></p>
207
+
208
+ {% if isostandard %}
209
+ <p class=identicality_label>
210
+ <span class="iso-document-code">({{ isostandard }}</span>
211
+ {%- if isostandardtitle != "[not supplied]" -%}
212
+ <span class="iso-title-first">{{ isostandardtitle }}</span>
213
+ {%- endif -%}
214
+ <span class="join">{%if language == "zh" %},{% else %}, {% endif %}</span><span class="iso-equivalence-code">{{ gbequivalence }})</span>
215
+ </p>
216
+ {% endif %}
217
+ {% if stage and stage < 60 %}
218
+ <p class=draft_type><span lang=EN-US><span style='mso-spacerun:yes'> </span></span><span
219
+ lang=ZH-CN>({{ stageabbr }})</span></p>
220
+ <p class=draft_type>
221
+ {% if stage == 30 %}
222
+ <a name=YZBS></a><span
223
+ style='mso-bookmark:YZBS'><span lang=ZH-CN style='mso-no-proof:yes'>{{ patent_request }}</span><span
224
+ lang=EN-US></span></span><span
225
+ style='mso-bookmark:YZBS'></span>
226
+ {% endif %}
227
+ </p>
228
+ <p class=draft_editorial><span lang=EN-US>
229
+ {% if revdate %}
230
+ <span lang=ZH-CN>({{ completion_date }}</span><span lang=EN-US>{{ revdate }})</span>
231
+ {% endif %}
232
+ </span></p>
233
+ {% endif %}
234
+
235
+ </div>
236
+ <![if !mso]></td>
237
+ </tr>
238
+ </table>
239
+ </span><![endif]><![if !mso & !vml]>&nbsp;<![endif]><![if !vml]></td>
240
+ </tr>
241
+ </table>
242
+
243
+ </span><![endif]>
244
+
245
+
246
+ <!--[if gte vml 1]><v:shape id="fmFrame6" o:spid="_x0000_s1034"
247
+ type="#_x0000_t202" alt="" style='position:absolute;left:0;text-align:left;
248
+ margin-left:9.40cm;margin-top:23.79cm;width:7.61cm;height:0.87cm;z-index:251658752;
249
+ mso-wrap-style:square;mso-wrap-edited:f;mso-width-percent:0;
250
+ mso-height-percent:0;mso-position-horizontal-relative:margin;
251
+ mso-position-vertical-relative:margin;mso-width-percent:0;
252
+ mso-height-percent:0;v-text-anchor:top' stroked="f">
253
+ <v:textbox style='mso-next-textbox:#fmFrame6' inset="0,0,0,0"/>
254
+ <w:wrap anchorx="margin" anchory="margin"/>
255
+ <w:anchorlock/>
256
+ </v:shape><![endif]-->
257
+ <![if !vml]><span style='mso-ignore:vglayout;position:
258
+ absolute;z-index:251658752;left:0px;margin-left:313px;margin-top:669px;
259
+ width:263494131px;height:28675px'>
260
+
261
+ <table cellpadding=0 cellspacing=0>
262
+ <tr>
263
+ <td width=263494131 height=28675 bgcolor=white style='vertical-align:top;
264
+ background:white'><![endif]><![if !mso]><span style='position:absolute;
265
+ mso-ignore:vglayout;left:0pt;z-index:251658752'>
266
+ <table cellpadding=0 cellspacing=0 width="100%">
267
+ <tr>
268
+ <td><![endif]>
269
+ <div v:shape="fmFrame6" style='padding:0pt 0pt 0pt 0pt' class=shape>
270
+ <p class=activated_date>{{ labelled_implementeddate }}</p>
271
+ </div>
272
+ <![if !mso]></td>
273
+ </tr>
274
+ </table>
275
+ </span><![endif]><![if !mso & !vml]>&nbsp;<![endif]><![if !vml]></td>
276
+ </tr>
277
+ </table>
278
+
279
+ </span><![endif]><span style='mso-bookmark:SectionMark4'><span
280
+ style='mso-bookmark:SectionMark0'></span></span><!--[if gte vml 1]><v:shape
281
+ id="fmFrame5" o:spid="_x0000_s1033" type="#_x0000_t202" alt="" style='position:absolute;
282
+ left:0;text-align:left;margin-left:0;margin-top:23.79cm;width:5.61cm;height:0.87cm;
283
+ z-index:251657728;mso-wrap-style:square;mso-wrap-edited:f;mso-width-percent:0;
284
+ mso-height-percent:0;mso-position-horizontal-relative:margin;
285
+ mso-position-vertical-relative:margin;mso-width-percent:0;
286
+ mso-height-percent:0;v-text-anchor:top' stroked="f">
287
+ <v:textbox style='mso-next-textbox:#fmFrame5' inset="0,0,0,0"/>
288
+ <w:wrap anchorx="margin" anchory="margin"/>
289
+ <w:anchorlock/>
290
+ </v:shape><![endif]--><![if !vml]><span style='mso-ignore:vglayout;position:
291
+ absolute;z-index:251657728;left:0px;margin-left:-10px;margin-top:669px;
292
+ width:263494454px;height:28675px'>
293
+
294
+ <table cellpadding=0 cellspacing=0>
295
+ <tr>
296
+ <td width=263494454 height=28675 bgcolor=white style='vertical-align:top;
297
+ background:white'><![endif]><![if !mso]><span style='position:absolute;
298
+ mso-ignore:vglayout;left:0pt;z-index:251657728'>
299
+ <table cellpadding=0 cellspacing=0 width="100%">
300
+ <tr>
301
+ <td><![endif]>
302
+ <div v:shape="fmFrame5" style='padding:0pt 0pt 0pt 0pt' class=shape>
303
+ <p class=publish_date>{{ labelled_publisheddate }}</p>
304
+ </div>
305
+ <![if !mso]></td>
306
+ </tr>
307
+ </table>
308
+ </span><![endif]><![if !mso & !vml]>&nbsp;<![endif]><![if !vml]></td>
309
+ </tr>
310
+ </table>
311
+
312
+ </span><![endif]>
313
+
314
+
315
+ <!--[if gte vml 1]><v:shapetype
316
+ id="_x0000_t202" coordsize="21600,21600" o:spt="202" path="m,l,21600r21600,l21600,xe">
317
+ <v:stroke joinstyle="miter"/>
318
+ <v:path gradientshapeok="t" o:connecttype="rect"/>
319
+ </v:shapetype><v:shape id="fmFrame7" o:spid="_x0000_s1035" type="#_x0000_t202"
320
+ alt="" style='position:absolute;left:0;text-align:left;margin-left:0.0cm;
321
+ margin-top:25.00cm;width:17.00cm;height:1.7cm;z-index:251659776;
322
+ mso-wrap-style:square;mso-wrap-edited:f;mso-width-percent:0;
323
+ mso-height-percent:0;mso-position-horizontal-relative:margin;
324
+ mso-position-vertical-relative:margin;mso-width-percent:0;
325
+ mso-height-percent:0;v-text-anchor:top' stroked="f">
326
+ <v:textbox style='mso-next-textbox:#fmFrame7' inset="0,0,0,0"/>
327
+ <w:wrap anchorx="margin" anchory="margin"/>
328
+ <w:anchorlock/>
329
+ </v:shape><![endif]--><![if !vml]><span style='mso-ignore:vglayout;position:
330
+ absolute;z-index:251659776;left:0px;margin-left:0px;margin-top:712px;
331
+ width:263494433px;height:28675px'>
332
+
333
+ <table cellpadding=0 cellspacing=0>
334
+ <tr>
335
+ <td width=263494433 height=28675 bgcolor=white style='vertical-align:top;
336
+ background:white'><![endif]><![if !mso]><span style='position:absolute;
337
+ mso-ignore:vglayout;left:0pt;z-index:251659776'>
338
+ <table cellpadding=0 cellspacing=0 width="100%">
339
+ <tr>
340
+ <td><![endif]>
341
+ <div v:shape="fmFrame7" style='padding:0pt 0pt 0pt 0pt' class=shape>
342
+
343
+ <table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width="16.20cm" align=center
344
+ style='border-collapse:collapse;mso-table-layout-alt:
345
+ fixed;mso-padding-alt:0cm;'>
346
+ <tr style='mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes;
347
+ height:1.38cm'>
348
+ {% if language == "en" %}
349
+ <td valign=middle style='padding:0cm 0.3cm 0cm {% if gbscope == "national" %}0.5cm{% else %}1.0cm{% endif %}'><p class=standard_agency style='layout-grid-mode:char;mso-layout-grid-align:none'><span style="font-size:10.5pt">Issued by:</span></p></td>
350
+ {% endif %}
351
+ <td valign=middle style='padding:0cm;
352
+ height:1.38cm'>
353
+ <p class=standard_agency {% if language == "en" %}style='text-align:center;font-size:10.5pt'{% else %}style='text-align:justify;text-justify:distribute-all-lines;
354
+ layout-grid-mode:char;mso-layout-grid-align:none'{%- endif -%}>{{ standard_agency_formatted }}</p>
355
+ </td>
356
+ {% if language == "zh" %}
357
+ <td valign=middle style='padding:0cm 0.3cm 0cm {% if gbscope == "national" %}0.5cm{% else %}1.0cm{% endif %}'><p class=standard_agency style='text-align:justify;text-justify:distribute-all-lines;
358
+ layout-grid-mode:char;mso-layout-grid-align:none'>发</p></td><td valign=middle><p class=standard_agency style='text-align:justify;text-justify:distribute-all-lines;
359
+ layout-grid-mode:char;mso-layout-grid-align:none'>布</p></td>
360
+ {% endif %}
361
+ </tr></table>
362
+ </tr>
363
+ </table>
364
+
365
+ <p class=MsoNormal align=left style='text-align:left'><span lang=EN-US><o:p>&nbsp;</o:p></span></p>
366
+ </div>
367
+ <![if !mso]></td>
368
+ </tr>
369
+ </table>
370
+ </span><![endif]><![if !mso & !vml]>&nbsp;<![endif]><![if !vml]></td>
371
+ </tr>
372
+ </table>
373
+
374
+ </span><![endif]>
375
+
376
+
377
+ </div>
378
+
379
+
380
+
381
+ </div>
382
+
383
+
384
+ <br style='mso-ignore:vglayout' clear=ALL>
385
+
386
+ <p class=MsoNormal style='tab-stops:311.25pt'><span style='mso-bookmark:SectionMark4'><span
387
+ style='mso-bookmark:SectionMark0'><span lang=EN-US><span style='mso-tab-count:
388
+ 1'>                                                                                                        </span></span></span></span></p>