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
@@ -1,45 +1,9 @@
1
1
  <div class="rule"></div>
2
2
 
3
3
  <div class="toc">
4
- <h1 class="toc-contents">目 次</h1>
4
+ <h1 class="toc-contents">{{ table_of_contents }}</h1>
5
5
  <ul id="toc-list"></ul>
6
6
  </div>
7
7
 
8
8
  <div class="rule"></div>
9
9
 
10
- <script type="text/javascript"
11
- src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js">
12
- </script>
13
-
14
- <script>
15
- // http://tutorials.jenkov.com/jquery/generating-table-of-contents.html
16
- $(document).ready(function() {
17
- $("#toc-list").empty();
18
-
19
- var prevH2Item = null;
20
- var prevH2List = null;
21
-
22
- var index = 0;
23
- $("h1, h2").each(function() {
24
-
25
- if ($(this).hasClass("toc-contents")) {
26
- return;
27
- }
28
- //insert an anchor to jump to, from the TOC link.
29
- var anchor = "<a name='" + index + "'></a>";
30
- $(this).before(anchor);
31
-
32
- var li = "<li><a href='#" + index + "'>" + $(this).text() + "</a></li>";
33
-
34
- if ($(this).is("h1") ){
35
- prevH2List = $("<ul></ul>");
36
- prevH2Item = $(li);
37
- prevH2Item.append(prevH2List);
38
- prevH2Item.appendTo("#toc-list");
39
- } else {
40
- prevH2List.append(li);
41
- }
42
- index++;
43
- });
44
- });
45
- </script>
@@ -2,7 +2,7 @@
2
2
 
3
3
  <div class="coverpage-category">
4
4
  <span class="category-1">ICS {{ libraryid_ics }} </span>
5
- <span class="category-2">L {{ libraryid_l }}</span>
5
+ <span class="category-2">{{ libraryid_ccs }}</span>
6
6
  </div>
7
7
 
8
8
  <div class="coverpage-logo">
@@ -72,17 +72,18 @@
72
72
  {% endif %}
73
73
  </div>
74
74
 
75
- <div class="coverpage-stage-block">
76
- <span class="stage">{{ stageabbr }} Stage</span>
77
- {% if draft %}
78
- <span class="stage-if-draft">(征求意见稿)</span>
75
+ <div class="coverpage-stage-block" lang="{{ language }}">
76
+ {% if stage and stage < 60 %}
77
+ <span class="stage-if-draft">({{ stageabbr }})</span>
79
78
  {% if revdate %}
80
79
  <span class="revision-if-draft">(本稿完成日期:{{ revdate }})</span>
81
80
  {% endif %}
81
+ {% if stage == 30 %}
82
82
  <span class="warning-if-draft">
83
83
  在提交反馈意见时,请将您知道的相关专利连同支持文件一并附上
84
84
  </span>
85
85
  {% endif %}
86
+ {% endif %}
86
87
  </div>
87
88
 
88
89
  <div class="coverpage-dates">
@@ -5,7 +5,7 @@ html {
5
5
  body {
6
6
  font-size: 1em;
7
7
  margin: 0;
8
- font-family: "Source Sans Pro",sans-serif;
8
+ font-family: $bodyfont;
9
9
  }
10
10
 
11
11
  h1 {
@@ -171,7 +171,7 @@ p.MsoCommentText, li.MsoCommentText, div.MsoCommentText
171
171
  line-height:12.0pt;
172
172
  tab-stops:20.15pt;
173
173
  font-size:12.0pt;
174
- font-family:"Cambria",serif;
174
+ font-family:$bodyfont;
175
175
  }
176
176
  p.MsoCommentSubject, li.MsoCommentSubject, div.MsoCommentSubject
177
177
  {
@@ -183,5 +183,87 @@ p.MsoCommentSubject, li.MsoCommentSubject, div.MsoCommentSubject
183
183
  line-height:12.0pt;
184
184
  tab-stops:20.15pt;
185
185
  font-size:10.0pt;
186
- font-family:"Cambria",serif;
186
+ font-family:$headerfont;
187
187
  font-weight:bold;}
188
+
189
+ .coverpage-logo-text {
190
+ font-size:24.0pt;
191
+ }
192
+
193
+ .doc-number {
194
+ font-size:14.0pt;
195
+ }
196
+
197
+ .coverpage-doc-relations {
198
+ font-size:10.5pt;
199
+ }
200
+
201
+ .coverpage-title-zh {
202
+ font-size:26pt;
203
+ font-family:$headerfont;
204
+ }
205
+ .coverpage-title-en {
206
+ font-size:14pt;
207
+ font-family:$headerfont;
208
+ }
209
+ .coverpage-iso-relation {
210
+ font-size:14pt;
211
+ }
212
+ .coverpage-dates {
213
+ font-size:14.0pt;
214
+ font-family:$headerfont;
215
+ }
216
+ .coverpage_footer {
217
+ font-size:14.0pt;
218
+ }
219
+
220
+ p.ForewordTitle, li.ForewordTitle, div.ForewordTitle, h1.ForewordTitle {
221
+ margin-top: 1.5cm;
222
+ margin-right: 0cm;
223
+ margin-bottom: 1.2cm;
224
+ margin-left: 0cm;
225
+ text-align: center;
226
+ line-height: 15.5pt;
227
+ tab-stops: 20.15pt;
228
+ font-size: 16.0pt;
229
+ font-family: $headerfont;
230
+ }
231
+ p.IntroTitle, li.IntroTitle, div.IntroTitle, h1.IntroTitle {
232
+ margin-top: 1.5cm;
233
+ margin-right: 0cm;
234
+ margin-bottom: 1.2cm;
235
+ margin-left: 0cm;
236
+ text-align: center;
237
+ line-height: 15.5pt;
238
+ tab-stops: 20.15pt;
239
+ font-size: 16.0pt;
240
+ font-family: $headerfont;
241
+ }
242
+ .h2Annex
243
+ {
244
+ margin-top:7.8pt;
245
+ margin-right:0cm;
246
+ margin-bottom:7.8pt;
247
+ margin-left:0cm;
248
+ text-indent:0cm;
249
+ line-height:12.5pt;
250
+ mso-pagination:widow-orphan;
251
+ page-break-after:avoid;
252
+ mso-outline-level:2;
253
+ mso-hyphenate:none;
254
+ tab-stops:27.0pt 35.0pt;
255
+ font-size:10.5pt;
256
+ font-family:$headerfont;}
257
+ p.zzContents, li.zzContents, div.zzContents
258
+ {
259
+ margin-top:48.0pt;
260
+ margin-right:0cm;
261
+ margin-bottom:15.5pt;
262
+ margin-left:0cm;
263
+ text-align:center;
264
+ line-height:15.5pt;
265
+ page-break-before:always;
266
+ page-break-after:avoid;
267
+ tab-stops:20.15pt;
268
+ font-size:16.0pt;
269
+ font-family:$headerfont;}
@@ -1,3 +1,3 @@
1
- <p class=zzContents style='margin-top:0cm'><span lang=ZH>目 次</span></p>
1
+ <p class=zzContents style='margin-top:0cm'>{{ table_of_contents }}</p>
2
2
 
3
3
  WORDTOC
@@ -1,19 +1,64 @@
1
- <p class=MsoNormalUnindented><span lang=EN-US>ICS <a name=ICS></a></span>{{ libraryid_ics }}</p>
1
+ <div class=coverpage>
2
2
 
3
- <div style='mso-element:frame;mso-element-wrap:around;mso-element-anchor-vertical:
4
- page;mso-element-top:27.55pt;mso-height-rule:exactly'>
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>
5
14
 
6
- <table cellspacing=0 cellpadding=0 hspace=0 vspace=0 align=left>
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>
7
43
  <tr>
8
- <td valign=top align=left style='padding-top:9.0pt;padding-right:9.0pt;
9
- padding-bottom:9.0pt;padding-left:9.0pt'>
10
- <p class=affffd style='mso-element:frame;mso-element-wrap:around;mso-element-anchor-vertical:
11
- page;mso-element-top:27.55pt;mso-height-rule:exactly'><a name=WXFLH></a><span lang=EN-US>L {{ libraryid_l }}</span></p>
12
- </td>
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>
13
58
  </tr>
14
59
  </table>
15
60
 
16
- </div>
61
+ </span></span><![endif]>
17
62
 
18
63
  <div style='mso-element:frame;mso-element-wrap:around;mso-height-rule:exactly'>
19
64
 
@@ -22,213 +67,322 @@ page;mso-element-top:27.55pt;mso-height-rule:exactly'>
22
67
  <tr>
23
68
  <td valign=top align=left height=1751 style='padding-top:9.05pt;padding-right:
24
69
  9.05pt;padding-bottom:9.05pt;padding-left:9.05pt'>
25
- <p class=af><span lang=EN-US style='mso-no-proof:yes'>{{ standard_logo }}</span></p>
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>
26
72
  </td> </tr>
27
73
  </table>
28
74
 
29
75
  </div>
30
76
 
31
- <div style='mso-element:frame;mso-element-wrap:around;mso-height-rule:exactly'>
32
77
 
33
- <table cellspacing=0 cellpadding=0 hspace=0 vspace=0 width=491 height=49
34
- align=left>
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>
35
95
  <tr>
36
- <td valign=top align=left height=49 style='padding-top:9.05pt;padding-right:
37
- 9.05pt;padding-bottom:9.05pt;padding-left:9.05pt'>
38
- <p class=afa><span lang=ZH-CN>{{ standard_class }}</span></p>
39
- </td>
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>
40
110
  </tr>
41
111
  </table>
42
112
 
43
- </div>
113
+ </span><![endif]>
44
114
 
45
- <div style='mso-element:frame;mso-element-wrap:around;mso-height-rule:exactly'>
46
115
 
47
- <table cellspacing=0 cellpadding=0 hspace=0 vspace=0 width=471 height=62
48
- align=left>
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>
49
131
  <tr>
50
- <td valign=top align=left height=62 style='padding-top:0cm;padding-right:
51
- 14.2pt;padding-bottom:0cm;padding-left:14.2pt'>
52
- <p class=2><a
53
- name=StdNo1></a><span
54
- style='mso-bookmark:StdNo1'><span lang=EN-US>{{ docidentifier }}</span></span><span
55
- style='mso-bookmark:StdNo1'></span><span style='mso-bookmark:StdNo1'></span><span
56
- lang=EN-US style='font-family:SimHei,serif;mso-ascii-font-family:
57
- SimHei'>—</span><a name=StdNo2></a><span
58
- style='mso-bookmark:StdNo2'></span><span style='mso-bookmark:StdNo2'><span
59
- lang=el style='mso-ansi-language:#0400;mso-fareast-language:#0400'>{{ docyear }}</span>
60
- {%- if isostandard and gbequivalence == "IDT" -%}
61
- /<span style='font-family:SimHei,serif;mso-ascii-font-family:
62
- SimHei'>{{ isostandard }}</span>
63
- {%- endif -%}
64
- <span
65
- lang=EN-US></span></span><span
66
- style='mso-bookmark:StdNo2'></span></p>
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
+
67
144
  {% if obsoletes %}
68
- <p class=supersedes style='margin-top:0cm;'>
69
- {% if obsoletes_part %}
70
- 部分代替
71
- {% else %}
72
- 代替
73
- {% endif %}
74
- {{ obsoletes }}
75
- </p>
76
- {% endif %}
77
- <table class=MsoNormalTable border=1 cellspacing=0 cellpadding=0
78
- style='border-collapse:collapse;mso-table-layout-alt:fixed;border:none;
79
- mso-border-alt:solid black .5pt;mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
80
- mso-border-insideh:.5pt solid black;mso-border-insidev:.5pt solid black'>
81
- <tr style='mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes'>
82
- <td width=624 valign=top style='width:467.8pt;border:none;padding:0cm 5.4pt 0cm 5.4pt'>
83
- <p class=aff><!--[if gte vml 1]><v:rect id="DT" o:spid="_x0000_s1030"
84
- alt="" style='position:absolute;left:0;text-align:left;margin-left:372.8pt;
85
- margin-top:2.7pt;width:90pt;height:18pt;z-index:-251660800;
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;
86
148
  mso-wrap-style:square;mso-wrap-edited:f;mso-width-percent:0;
87
149
  mso-height-percent:0;mso-width-percent:0;mso-height-percent:0;
88
150
  v-text-anchor:top' stroked="f"/><![endif]--><![if !vml]><span
89
151
  style='mso-ignore:vglayout;position:relative;z-index:-1895827968'><span
90
152
  style='left:0px;position:absolute;left:297px;top:-40px;width:90px;
91
- height:18px'><img width=90 height=18
92
- src="blank.png" v:shapes="DT"></span></span><![endif]><a
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
93
165
  name=DT></a><span lang=EN-US><span style='mso-spacerun:yes'> </span></span></p>
94
- </td>
166
+ {% endif %}
167
+
168
+
169
+
170
+ </div>
171
+ <![if !mso]></td>
95
172
  </tr>
96
173
  </table>
97
- <p class=affc><a name=StdName></a><span
98
- style='mso-bookmark:StdName'><span lang=ZH-CN>{{ docmaintitlezh }} {{ docsubtitlezh }} {{ docparttitlezh }}</span><span
99
- lang=EN-US></span></span><span
100
- style='mso-bookmark:StdName'></span></p>
101
- <p class=affd><a name=StdEnglishName></a><span
102
- style='mso-bookmark:StdEnglishName'><span lang=EN-US>{{ docmaintitleen }} {{ docsubtitleen }} {{ docparttitleen }}</span></span><span
103
- style='mso-bookmark:StdEnglishName'></span></p>
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
+
104
208
  {% if isostandard %}
105
- <p class=a0>
209
+ <p class=identicality_label>
106
210
  <span class="iso-document-code">({{ isostandard }}</span>
107
- {% if isostandardtitle != "[not supplied]" %}
211
+ {%- if isostandardtitle != "[not supplied]" -%}
108
212
  <span class="iso-title-first">{{ isostandardtitle }}</span>
109
- {% endif %}
110
- <span class="join">,</span>
111
- <span class="iso-equivalence-code">{{ gbequivalence }})</span>
213
+ {%- endif -%}
214
+ <span class="join">{%if language == "zh" %},{% else %}, {% endif %}</span><span class="iso-equivalence-code">{{ gbequivalence }})</span>
112
215
  </p>
113
216
  {% endif %}
114
-
115
- {% if draft %}
116
- <p class=a0><a name=YZBS></a><span
117
- style='mso-bookmark:YZBS'><span lang=ZH-CN style='mso-no-proof:yes'>在提交反馈意见时,请将您知道的相关专利连同支持文件一并附上。</span><span
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
118
224
  lang=EN-US></span></span><span
119
- style='mso-bookmark:YZBS'></span></p>
120
- <table class=MsoNormalTable border=1 cellspacing=0 cellpadding=0
121
- style='border-collapse:collapse;mso-table-layout-alt:fixed;border:none;
122
- mso-border-alt:solid black .5pt;mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
123
- mso-border-insideh:.5pt solid black;mso-border-insidev:.5pt solid black'>
124
- <tr style='mso-yfti-irow:0;mso-yfti-firstrow:yes'>
125
- <td width=657 valign=top style='width:492.75pt;border:none;padding:0cm 5.4pt 0cm 5.4pt'>
126
- <p class=affe><span lang=ZH-CN>(征求意见稿)</span><!--[if gte vml 1]><v:rect
127
- id="RQ" o:spid="_x0000_s1029" alt="" style='position:absolute;left:0;
128
- text-align:left;margin-left:173.3pt;margin-top:45.15pt;width:150pt;
129
- height:20pt;z-index:-251658752;mso-wrap-style:square;mso-wrap-edited:f;
130
- mso-width-percent:0;mso-height-percent:0;
131
- mso-position-horizontal-relative:text;mso-position-vertical-relative:text;
132
- mso-width-percent:0;mso-height-percent:0;v-text-anchor:top' stroked="f">
133
- <w:anchorlock/>
134
- </v:rect><![endif]--><![if !vml]><span style='mso-ignore:vglayout;
135
- position:relative;z-index:-1895825920'><span style='left:0px;position:absolute;
136
- left:162px;top:-53px;width:150px;height:20px'><!--<img width=150 height=20
137
- src="gbt%2020984-draft.fld/image003.png" v:shapes="RQ">--></span></span><![endif]><!--[if gte vml 1]><v:rect
138
- id="LB" o:spid="_x0000_s1028" alt="" style='position:absolute;left:0;
139
- text-align:left;margin-left:193.3pt;margin-top:20.15pt;width:100pt;
140
- height:24pt;z-index:-251659776;mso-wrap-style:square;mso-wrap-edited:f;
141
- mso-width-percent:0;mso-height-percent:0;
142
- mso-position-horizontal-relative:text;mso-position-vertical-relative:text;
143
- mso-width-percent:0;mso-height-percent:0;v-text-anchor:top' stroked="f"/><![endif]--><![if !vml]><span
144
- style='mso-ignore:vglayout;position:relative;z-index:-1895826944'><span
145
- style='left:0px;position:absolute;left:182px;top:-78px;width:100px;
146
- height:24px'><!--<img width=100 height=24
147
- src="gbt%2020984-draft.fld/image004.png" v:shapes="LB">--></span></span><![endif]></p>
148
- </td>
149
- </tr>
150
- {% if revdate %}
151
- <tr style='mso-yfti-irow:1;mso-yfti-lastrow:yes'>
152
- <td width=657 valign=top style='width:492.75pt;border:none;padding:0cm 5.4pt 0cm 5.4pt'>
153
- <p class=afff><a name=WCRQ></a><span
154
- style='mso-bookmark:WCRQ'><span lang=ZH-CN>(本稿完成日期:</span><span lang=EN-US>{{ revdate }})</span><span
155
- lang=EN-US></span></span><span
156
- style='mso-bookmark:WCRQ'></span></p>
157
- </td>
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>
158
237
  </tr>
159
- {% endif %}
160
238
  </table>
161
- {% endif %}
162
- </td>
239
+ </span><![endif]><![if !mso & !vml]>&nbsp;<![endif]><![if !vml]></td>
163
240
  </tr>
164
241
  </table>
165
242
 
166
- </div>
243
+ </span><![endif]>
167
244
 
168
- <div style='mso-element:frame;mso-element-wrap:around;mso-height-rule:exactly'>
169
245
 
170
- <table cellspacing=0 cellpadding=0 hspace=0 vspace=0 width=3995 height=833
171
- align=left>
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>
172
262
  <tr>
173
- <td valign=top align=left height=833 style='padding-top:9.05pt;padding-right:
174
- 0cm;padding-bottom:9.05pt;padding-left:0cm'>
175
- <p class=afffff4><a name=FY></a><span
176
- style='mso-bookmark:FY'><span lang=EN-US style='font-family:SimHei;
177
- mso-hansi-font-family:SimHei'>{{ publisheddate }}</span></span>
178
- <span
179
- lang=ZH-CN style='font-family:SimHei;mso-ascii-font-family:SimHei;
180
- mso-hansi-font-family:SimHei'>发布</span><!--[if gte vml 1]><v:line
181
- id="直线_x0020_10" o:spid="_x0000_s1027" alt="" style='position:absolute;
182
- z-index:251658752;mso-wrap-edited:f;mso-width-percent:0;
183
- mso-height-percent:0;mso-position-horizontal-relative:text;
184
- mso-position-vertical-relative:page;mso-width-percent:0;
185
- mso-height-percent:0' from="-.05pt,728.5pt" to="481.85pt,728.5pt">
186
- <w:wrap anchory="page"/>
187
- <w:anchorlock/>
188
- </v:line><![endif]--></p>
189
- </td>
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>
190
276
  </tr>
191
277
  </table>
192
278
 
193
- </div>
194
-
195
- <div style='mso-element:frame;mso-element-wrap:around;mso-height-rule:exactly'>
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'>
196
293
 
197
- <table cellspacing=0 cellpadding=0 hspace=0 vspace=0 width=3995 height=833
198
- align=left>
294
+ <table cellpadding=0 cellspacing=0>
199
295
  <tr>
200
- <td valign=top align=left height=833 style='padding-top:9.05pt;padding-right:
201
- 0cm;padding-bottom:9.05pt;padding-left:0cm'>
202
- <p class=afffff5><a name=SY></a><span
203
- style='mso-bookmark:SY'><span lang=EN-US style='font-family:SimHei;
204
- mso-hansi-font-family:SimHei'>{{ activateddate }}</span></span>
205
- <span
206
- lang=ZH-CN style='font-family:SimHei;mso-ascii-font-family:SimHei;
207
- mso-hansi-font-family:SimHei'>实施</span></p>
208
- </td>
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>
209
309
  </tr>
210
310
  </table>
211
311
 
212
- </div>
312
+ </span><![endif]>
213
313
 
214
- <div style='mso-element:frame;mso-element-wrap:around;mso-height-rule:exactly'>
215
314
 
216
- <table cellspacing=0 cellpadding=0 hspace=0 vspace=0 width=8061 height=1496
217
- align=left>
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>
218
334
  <tr>
219
- <td valign=top align=left height=1496 style='padding-top:9.05pt;padding-right:
220
- 6.25pt;padding-bottom:9.05pt;padding-left:6.25pt'>
221
- <p class=aff7><span lang=ZH-CN style='mso-no-proof:yes'>{{ standard_agency_formatted }}</span></p>
222
- </td>
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>
223
371
  </tr>
224
372
  </table>
225
373
 
374
+ </span><![endif]>
375
+
376
+
226
377
  </div>
227
378
 
228
- <p class=ad><!--[if gte vml 1]><o:wrapblock><v:line id="直线_x0020_11" o:spid="_x0000_s1026"
229
- alt="" style='position:absolute;left:0;text-align:left;z-index:251659776;
230
- mso-wrap-edited:f;mso-width-percent:0;mso-height-percent:0;
231
- mso-width-percent:0;mso-height-percent:0' from="-.05pt,184.25pt" to="481.85pt,184.25pt"/>
232
- <![endif]--><!--[if gte vml 1]></o:wrapblock><![endif]--></p>
379
+
233
380
 
234
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>