thinreports 0.8.2 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/CONTRIBUTING.md +2 -0
- data/.travis.yml +3 -3
- data/CHANGELOG.md +98 -1
- data/README.md +0 -9
- data/Rakefile +1 -2
- data/examples/character_spacing/character_spacing.tlf +293 -1
- data/examples/dynamic_image/dynamic_image.tlf +661 -1
- data/examples/dynamic_style/dynamic_style.rb +4 -4
- data/examples/dynamic_style/dynamic_style.tlf +1835 -1
- data/examples/dynamic_style/dynamic_style_in_list.tlf +344 -1
- data/examples/eudc/eudc.tlf +180 -1
- data/examples/hidden_shapes/hidden_shapes.tlf +449 -1
- data/examples/list_events/list_events.rb +1 -28
- data/examples/list_events/list_events.tlf +361 -0
- data/examples/list_manual_generation/list_manual_generation.tlf +132 -1
- data/examples/list_page_number/list_page_number.tlf +254 -1
- data/examples/page_number/page_number.tlf +215 -1
- data/examples/palleted_png/palleted_png.rb +2 -0
- data/examples/palleted_png/palleted_png.tlf +47 -1
- data/examples/password_setting/password_setting.tlf +45 -1
- data/examples/report_callbacks/report_callbacks.rb +1 -18
- data/examples/report_callbacks/report_callbacks.tlf +147 -1
- data/examples/single_line_tblock/single_line_tblock.tlf +170 -1
- data/examples/tblock_overflow/tblock_overflow.tlf +538 -1
- data/examples/tblock_styles/font_size.tlf +383 -1
- data/examples/tblock_styles/tblock_styles.tlf +889 -1
- data/examples/text_align/text_align.tlf +241 -1
- data/examples/typeB_page_size/B4_ISO.tlf +45 -1
- data/examples/typeB_page_size/B4_JIS.tlf +45 -1
- data/examples/word_wrap/word_wrap.tlf +297 -1
- data/lib/thinreports.rb +0 -1
- data/lib/thinreports/config.rb +3 -0
- data/lib/thinreports/core/errors.rb +0 -3
- data/lib/thinreports/core/format/base.rb +4 -4
- data/lib/thinreports/core/shape.rb +1 -9
- data/lib/thinreports/core/shape/basic.rb +3 -3
- data/lib/thinreports/core/shape/basic/block_format.rb +1 -1
- data/lib/thinreports/core/shape/basic/format.rb +2 -14
- data/lib/thinreports/core/shape/basic/internal.rb +2 -2
- data/lib/thinreports/core/shape/image_block.rb +3 -3
- data/lib/thinreports/core/shape/image_block/format.rb +0 -2
- data/lib/thinreports/core/shape/image_block/internal.rb +1 -1
- data/lib/thinreports/core/shape/list.rb +3 -7
- data/lib/thinreports/core/shape/list/format.rb +37 -24
- data/lib/thinreports/core/shape/list/manager.rb +1 -36
- data/lib/thinreports/core/shape/list/page.rb +0 -15
- data/lib/thinreports/core/shape/list/page_state.rb +1 -1
- data/lib/thinreports/core/shape/list/section_format.rb +14 -12
- data/lib/thinreports/core/shape/list/section_internal.rb +4 -7
- data/lib/thinreports/core/shape/manager/format.rb +0 -2
- data/lib/thinreports/core/shape/manager/internal.rb +1 -1
- data/lib/thinreports/core/shape/page_number.rb +1 -1
- data/lib/thinreports/core/shape/page_number/format.rb +9 -6
- data/lib/thinreports/core/shape/page_number/interface.rb +1 -1
- data/lib/thinreports/core/shape/page_number/internal.rb +2 -6
- data/lib/thinreports/core/shape/style/base.rb +11 -13
- data/lib/thinreports/core/shape/style/basic.rb +4 -4
- data/lib/thinreports/core/shape/style/graphic.rb +4 -10
- data/lib/thinreports/core/shape/style/text.rb +36 -69
- data/lib/thinreports/core/shape/text.rb +3 -3
- data/lib/thinreports/core/shape/text/format.rb +3 -13
- data/lib/thinreports/core/shape/text/internal.rb +2 -2
- data/lib/thinreports/core/shape/text_block.rb +3 -3
- data/lib/thinreports/core/shape/text_block/format.rb +9 -6
- data/lib/thinreports/core/shape/text_block/interface.rb +7 -7
- data/lib/thinreports/core/shape/text_block/internal.rb +1 -1
- data/lib/thinreports/generator/pdf.rb +0 -1
- data/lib/thinreports/generator/pdf/document.rb +2 -2
- data/lib/thinreports/generator/pdf/document/draw_shape.rb +25 -51
- data/lib/thinreports/generator/pdf/document/draw_template_items.rb +66 -0
- data/lib/thinreports/generator/pdf/document/font.rb +3 -8
- data/lib/thinreports/generator/pdf/document/graphics/attributes.rb +97 -77
- data/lib/thinreports/generator/pdf/document/graphics/basic.rb +18 -13
- data/lib/thinreports/generator/pdf/document/graphics/image.rb +17 -12
- data/lib/thinreports/generator/pdf/document/page.rb +1 -1
- data/lib/thinreports/generator/pdf/drawer/list.rb +5 -1
- data/lib/thinreports/generator/pdf/drawer/list_section.rb +1 -4
- data/lib/thinreports/generator/pdf/drawer/page.rb +9 -9
- data/lib/thinreports/layout.rb +3 -3
- data/lib/thinreports/layout/base.rb +0 -16
- data/lib/thinreports/layout/format.rb +38 -57
- data/lib/thinreports/layout/legacy_schema.rb +354 -0
- data/lib/thinreports/layout/version.rb +1 -1
- data/lib/thinreports/report.rb +0 -1
- data/lib/thinreports/report/base.rb +3 -17
- data/lib/thinreports/report/internal.rb +13 -55
- data/lib/thinreports/report/page.rb +1 -1
- data/lib/thinreports/version.rb +1 -1
- data/test/data/legacy_layout/all-items.tlf +1 -0
- data/test/schema_helper.rb +121 -0
- data/test/test_helper.rb +13 -50
- data/test/unit/core/format/test_base.rb +35 -31
- data/test/unit/core/shape/base/test_internal.rb +1 -1
- data/test/unit/core/shape/basic/test_block_format.rb +23 -0
- data/test/unit/core/shape/basic/{test_basic_interface.rb → test_block_interface.rb} +1 -1
- data/test/unit/core/shape/basic/{test_basic_internal.rb → test_block_internal.rb} +4 -7
- data/test/unit/core/shape/basic/test_format.rb +25 -47
- data/test/unit/core/shape/basic/test_interface.rb +5 -5
- data/test/unit/core/shape/basic/test_internal.rb +6 -11
- data/test/unit/core/shape/image_block/test_interface.rb +5 -5
- data/test/unit/core/shape/image_block/test_internal.rb +2 -2
- data/test/unit/core/shape/list/test_format.rb +86 -44
- data/test/unit/core/shape/list/test_manager.rb +10 -65
- data/test/unit/core/shape/list/test_page.rb +10 -61
- data/test/unit/core/shape/list/test_page_state.rb +1 -1
- data/test/unit/core/shape/list/test_section_format.rb +19 -28
- data/test/unit/core/shape/list/test_section_interface.rb +14 -6
- data/test/unit/core/shape/list/test_section_internal.rb +17 -23
- data/test/unit/core/shape/manager/test_format.rb +1 -1
- data/test/unit/core/shape/manager/test_internal.rb +59 -98
- data/test/unit/core/shape/manager/test_target.rb +21 -30
- data/test/unit/core/shape/page_number/test_format.rb +34 -52
- data/test/unit/core/shape/page_number/test_interface.rb +1 -1
- data/test/unit/core/shape/page_number/test_internal.rb +2 -2
- data/test/unit/core/shape/styles/test_base.rb +16 -41
- data/test/unit/core/shape/styles/test_basic.rb +7 -7
- data/test/unit/core/shape/styles/test_graphic.rb +27 -32
- data/test/unit/core/shape/styles/test_text.rb +68 -311
- data/test/unit/core/shape/text/test_format.rb +30 -59
- data/test/unit/core/shape/text/test_internal.rb +5 -5
- data/test/unit/core/shape/text_block/formatter/test_datetime.rb +13 -13
- data/test/unit/core/shape/text_block/test_format.rb +145 -146
- data/test/unit/core/shape/text_block/test_interface.rb +9 -9
- data/test/unit/core/shape/text_block/test_internal.rb +9 -9
- data/test/unit/core/test_shape.rb +19 -31
- data/test/unit/generator/pdf/document/graphics/test_attributes.rb +112 -122
- data/test/unit/generator/pdf/document/graphics/test_basic.rb +45 -0
- data/test/unit/generator/pdf/document/graphics/test_image.rb +5 -5
- data/test/unit/generator/pdf/document/test_font.rb +4 -10
- data/test/unit/generator/pdf/document/test_page.rb +13 -11
- data/test/unit/generator/pdf/document/test_parse_color.rb +5 -5
- data/test/unit/generator/test_base.rb +5 -5
- data/test/unit/generator/test_configuration.rb +4 -8
- data/test/unit/generator/test_pdf.rb +3 -2
- data/test/unit/layout/test_base.rb +16 -22
- data/test/unit/layout/test_format.rb +66 -86
- data/test/unit/layout/test_legacy_schema.rb +587 -0
- data/test/unit/layout/test_version.rb +20 -20
- data/test/unit/report/test_base.rb +32 -45
- data/test/unit/report/test_internal.rb +43 -99
- data/test/unit/test_config.rb +4 -2
- data/test/unit/test_layout.rb +1 -1
- metadata +20 -48
- data/examples/list_events/list_events_0_7_7.tlf +0 -1
- data/examples/list_events/list_events_0_8.tlf +0 -1
- data/lib/thinreports/core/events.rb +0 -69
- data/lib/thinreports/core/format/builder.rb +0 -62
- data/lib/thinreports/core/shape/list/configuration.rb +0 -54
- data/lib/thinreports/core/shape/list/events.rb +0 -47
- data/lib/thinreports/core/shape/list/store.rb +0 -33
- data/lib/thinreports/generator/pdf/configuration.rb +0 -33
- data/lib/thinreports/generator/pdf/document/parse_svg.rb +0 -104
- data/lib/thinreports/layout/configuration.rb +0 -29
- data/test/data/layout_block.tlf +0 -1
- data/test/data/layout_list.tlf +0 -1
- data/test/data/layout_list_noheader.tlf +0 -1
- data/test/data/layout_text1.tlf +0 -1
- data/test/data/layout_text2.tlf +0 -1
- data/test/unit/core/format/test_builder.rb +0 -109
- data/test/unit/core/shape/basic/test_basic_format.rb +0 -30
- data/test/unit/core/shape/image_block/test_format.rb +0 -58
- data/test/unit/core/shape/list/test_configuration.rb +0 -69
- data/test/unit/core/shape/list/test_events.rb +0 -36
- data/test/unit/core/shape/list/test_store.rb +0 -41
- data/test/unit/core/test_events.rb +0 -93
- data/test/unit/generator/pdf/document/test_draw_shape.rb +0 -44
- data/test/unit/generator/pdf/test_configuration.rb +0 -31
- data/test/unit/layout/test_configuration.rb +0 -21
- data/test/unit/report/test_events.rb +0 -22
@@ -1 +1,254 @@
|
|
1
|
-
{"version":"0.7.7.1","finger-print":-14137594,"config":{"title":"","option":{},"page":{"paper-type":"A4","orientation":"portrait","margin-top":"20","margin-bottom":"20","margin-left":"20","margin-right":"20"}},"svg":"<svg width=\"595.2\" height=\"841.8\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" preserveAspectRatio=\"none\" viewBox=\"0 0 595.2 841.8\"><g class=\"canvas\"><!--SHAPE{\"type\":\"s-list\",\"id\":\"default\",\"display\":\"true\",\"desc\":null,\"footer\":{},\"footer-enabled\":\"false\",\"page-footer\":{},\"page-footer-enabled\":\"false\",\"detail\":{\"height\":52.9,\"svg\":{\"tag\":\"g\",\"content\":\"<line xmlns=\\\"http://www.w3.org/2000/svg\\\" stroke=\\\"#000000\\\" stroke-width=\\\"1\\\" fill=\\\"none\\\" class=\\\"s-line\\\" x-display=\\\"true\\\" x-stroke-type=\\\"solid\\\" stroke-dasharray=\\\"none\\\" x-id=\\\"\\\" id=\\\"goog_1602017915\\\" x1=\\\"20\\\" x2=\\\"575.2\\\" y1=\\\"239.9\\\" y2=\\\"239.9\\\"/><g xmlns=\\\"http://www.w3.org/2000/svg\\\" class=\\\"s-text\\\" stroke-width=\\\"0\\\" fill=\\\"#000000\\\" fill-opacity=\\\"1\\\" kerning=\\\"auto\\\" x-display=\\\"true\\\" x-id=\\\"\\\" id=\\\"goog_1602017916\\\" stroke=\\\"none\\\" font-weight=\\\"normal\\\" font-style=\\\"normal\\\" font-family=\\\"Helvetica\\\" font-size=\\\"18\\\" text-anchor=\\\"middle\\\" x-valign=\\\"center\\\" text-decoration=\\\"none\\\" x-width=\\\"200\\\" x-height=\\\"25.1\\\" x-left=\\\"197.6\\\" x-top=\\\"203.6\\\"><rect class=\\\"s-text-box\\\" stroke=\\\"none\\\" fill=\\\"#000000\\\" fill-opacity=\\\"0.001\\\" width=\\\"200\\\" height=\\\"25.1\\\" x=\\\"197.6\\\" y=\\\"203.6\\\"/><text class=\\\"s-text-l0\\\" xml:space=\\\"preserve\\\" stroke=\\\"none\\\" fill=\\\"inherit\\\" fill-opacity=\\\"1\\\" text-decoration=\\\"none\\\" x=\\\"297.6\\\" y=\\\"220.7\\\">Detail</text></g>\"},\"translate\":{\"x\":0,\"y\":-19.9}},\"header\":{\"height\":58.1,\"svg\":{\"tag\":\"g\",\"content\":\"<line xmlns=\\\"http://www.w3.org/2000/svg\\\" stroke=\\\"#000000\\\" stroke-width=\\\"1\\\" fill=\\\"none\\\" class=\\\"s-line\\\" x-display=\\\"true\\\" x-stroke-type=\\\"solid\\\" stroke-dasharray=\\\"none\\\" x-id=\\\"\\\" id=\\\"goog_1602017913\\\" x1=\\\"20\\\" x2=\\\"575.2\\\" y1=\\\"167.1\\\" y2=\\\"167.1\\\"/><g xmlns=\\\"http://www.w3.org/2000/svg\\\" class=\\\"s-text\\\" stroke-width=\\\"0\\\" fill=\\\"#000000\\\" fill-opacity=\\\"1\\\" kerning=\\\"auto\\\" x-display=\\\"true\\\" x-id=\\\"\\\" id=\\\"goog_1602017914\\\" font-size=\\\"18\\\" font-family=\\\"Helvetica\\\" font-weight=\\\"normal\\\" font-style=\\\"normal\\\" text-anchor=\\\"middle\\\" text-decoration=\\\"none\\\" x-width=\\\"200\\\" x-height=\\\"25.1\\\" x-left=\\\"197.6\\\" x-top=\\\"125.6\\\" x-valign=\\\"center\\\"><rect class=\\\"s-text-box\\\" stroke=\\\"none\\\" fill=\\\"#000000\\\" fill-opacity=\\\"0.001\\\" width=\\\"200\\\" height=\\\"25.1\\\" x=\\\"197.6\\\" y=\\\"125.6\\\"/><text class=\\\"s-text-l0\\\" xml:space=\\\"preserve\\\" stroke=\\\"none\\\" fill=\\\"inherit\\\" fill-opacity=\\\"1\\\" text-decoration=\\\"none\\\" x=\\\"297.6\\\" y=\\\"142.7\\\">Header</text></g>\"},\"translate\":{\"x\":0,\"y\":0}},\"header-enabled\":\"true\",\"svg\":{\"tag\":\"g\",\"attrs\":{}},\"content-height\":332.09999999999997,\"page-break\":\"true\"}SHAPE--><!--LAYOUT<g xmlns=\"http://www.w3.org/2000/svg\" class=\"s-list\" x-id=\"default\" x-header-enabled=\"true\" x-page-footer-enabled=\"false\" x-footer-enabled=\"false\" x-changing-page=\"true\" x-display=\"true\" id=\"goog_1602017912\" width=\"555.2\" height=\"390.2\" x=\"20\" y=\"109\"><g class=\"s-list-header\" transform=\"translate(0,0) rotate(0 0 0)\" x-top=\"109\" x-height=\"58.1\"><line stroke=\"#000000\" stroke-width=\"1\" fill=\"none\" class=\"s-line\" x-display=\"true\" x-stroke-type=\"solid\" stroke-dasharray=\"none\" x-id=\"\" id=\"goog_1602017913\" x1=\"20\" x2=\"575.2\" y1=\"167.1\" y2=\"167.1\"/><g class=\"s-text\" stroke-width=\"0\" fill=\"#000000\" fill-opacity=\"1\" kerning=\"auto\" x-display=\"true\" x-id=\"\" id=\"goog_1602017914\" font-size=\"18\" font-family=\"Helvetica\" font-weight=\"normal\" font-style=\"normal\" text-anchor=\"middle\" text-decoration=\"none\" x-width=\"200\" x-height=\"25.1\" x-left=\"197.6\" x-top=\"125.6\" x-valign=\"center\"><rect class=\"s-text-box\" stroke=\"none\" fill=\"#000000\" fill-opacity=\"0.001\" width=\"200\" height=\"25.1\" x=\"197.6\" y=\"125.6\"/><text class=\"s-text-l0\" xml:space=\"preserve\" stroke=\"none\" fill=\"inherit\" fill-opacity=\"1\" text-decoration=\"none\" x=\"297.6\" y=\"142.7\">Header</text></g></g><g class=\"s-list-detail\" transform=\"translate(0,-19.9) rotate(0 0 0)\" x-top=\"167.1\" x-height=\"52.9\"><line stroke=\"#000000\" stroke-width=\"1\" fill=\"none\" class=\"s-line\" x-display=\"true\" x-stroke-type=\"solid\" stroke-dasharray=\"none\" x-id=\"\" id=\"goog_1602017915\" x1=\"20\" x2=\"575.2\" y1=\"239.9\" y2=\"239.9\"/><g class=\"s-text\" stroke-width=\"0\" fill=\"#000000\" fill-opacity=\"1\" kerning=\"auto\" x-display=\"true\" x-id=\"\" id=\"goog_1602017916\" stroke=\"none\" font-weight=\"normal\" font-style=\"normal\" font-family=\"Helvetica\" font-size=\"18\" text-anchor=\"middle\" x-valign=\"center\" text-decoration=\"none\" x-width=\"200\" x-height=\"25.1\" x-left=\"197.6\" x-top=\"203.6\"><rect class=\"s-text-box\" stroke=\"none\" fill=\"#000000\" fill-opacity=\"0.001\" width=\"200\" height=\"25.1\" x=\"197.6\" y=\"203.6\"/><text class=\"s-text-l0\" xml:space=\"preserve\" stroke=\"none\" fill=\"inherit\" fill-opacity=\"1\" text-decoration=\"none\" x=\"297.6\" y=\"220.7\">Detail</text></g></g><g class=\"s-list-page-footer\" transform=\"translate(0,-45) rotate(0 0 0)\" x-top=\"220\" x-height=\"0\" display=\"none\"/><g class=\"s-list-footer\" transform=\"translate(0,-103.5) rotate(0 0 0)\" x-top=\"220\" x-height=\"0\" display=\"none\"/><text class=\"s-list-id\" font-size=\"11\" font-family=\"Helvetica\" font-weight=\"normal\" font-style=\"normal\" text-anchor=\"start\" stroke=\"none\" fill=\"#7C4007\" fill-opacity=\"1\" x=\"22\" y=\"119.8\">default</text><rect stroke-dasharray=\"5\" stroke=\"#BBBBBB\" stroke-width=\"1\" fill=\"#FFFFFF\" fill-opacity=\"0\" class=\"s-list-face\" width=\"555.2\" height=\"390.2\" x=\"20\" y=\"109\"/></g>LAYOUT--><!--SHAPE{\"type\":\"s-pageno\",\"id\":\"\",\"display\":\"true\",\"desc\":null,\"box\":{\"x\":273.1,\"y\":756.3,\"width\":186,\"height\":17},\"target\":\"\",\"format\":\"{page} / {total}\",\"overflow\":\"\",\"svg\":{\"tag\":\"text\",\"attrs\":{\"x\":273.1,\"y\":769.2,\"xmlns\":\"http://www.w3.org/2000/svg\",\"kerning\":\"auto\",\"id\":\"goog_1654517107\",\"fill\":\"#000000\",\"fill-opacity\":\"1\",\"font-size\":\"18\",\"font-family\":\"Helvetica\",\"font-weight\":\"normal\",\"font-style\":\"normal\",\"text-anchor\":\"start\",\"text-decoration\":\"none\"}}}SHAPE--><!--LAYOUT<g xmlns=\"http://www.w3.org/2000/svg\" class=\"s-pageno\" kerning=\"auto\" x-display=\"true\" id=\"goog_1654517107\" fill=\"#000000\" fill-opacity=\"1\" font-size=\"18\" font-family=\"Helvetica\" font-weight=\"normal\" font-style=\"normal\" text-anchor=\"start\" text-decoration=\"none\" x-width=\"186\" x-height=\"17\" x-left=\"273.1\" x-top=\"756.3\" x-id=\"\" x-format=\"{page} / {total}\"><rect class=\"s-pageno-box\" stroke=\"#7C4007\" fill=\"#f4e2c4\" stroke-width=\"0.28\" fill-opacity=\"0.8\" width=\"186\" height=\"17\" x=\"273.1\" y=\"756.3\"/><text kerning=\"auto\" font-size=\"11\" font-family=\"Helvetica\" text-anchor=\"middle\" stroke=\"none\" fill=\"#666\" fill-opacity=\"1\" x=\"366.1\" y=\"767.3\">{page} / {total}</text></g>LAYOUT--><!--SHAPE{\"type\":\"s-pageno\",\"id\":\"\",\"display\":\"true\",\"desc\":null,\"box\":{\"x\":434.1,\"y\":69,\"width\":141.1,\"height\":17},\"target\":\"default\",\"format\":\"{page} / {total}\",\"overflow\":\"truncate\",\"svg\":{\"tag\":\"text\",\"attrs\":{\"x\":575.2,\"y\":81.9,\"xmlns\":\"http://www.w3.org/2000/svg\",\"kerning\":\"auto\",\"id\":\"goog_1252273150\",\"fill\":\"#000000\",\"fill-opacity\":\"1\",\"font-size\":\"18\",\"font-family\":\"Helvetica\",\"font-weight\":\"normal\",\"font-style\":\"normal\",\"text-decoration\":\"none\",\"text-anchor\":\"end\"}}}SHAPE--><!--LAYOUT<g xmlns=\"http://www.w3.org/2000/svg\" class=\"s-pageno\" kerning=\"auto\" x-display=\"true\" id=\"goog_1252273150\" x-width=\"141.1\" x-height=\"17\" x-left=\"434.1\" x-top=\"69\" fill=\"#000000\" fill-opacity=\"1\" font-size=\"18\" font-family=\"Helvetica\" font-weight=\"normal\" font-style=\"normal\" text-decoration=\"none\" text-anchor=\"end\" x-overflow=\"truncate\" x-id=\"\" x-format=\"{page} / {total}\" x-list-id=\"default\" x-target=\"default\"><rect class=\"s-pageno-box\" stroke=\"#7C4007\" fill=\"#f4e2c4\" stroke-width=\"0.28\" fill-opacity=\"0.8\" width=\"141.1\" height=\"17\" x=\"434.1\" y=\"69\"/><text kerning=\"auto\" font-size=\"11\" font-family=\"Helvetica\" text-anchor=\"middle\" stroke=\"none\" fill=\"#666\" fill-opacity=\"1\" x=\"504.1\" y=\"80\">{page} / {total}</text></g>LAYOUT--><g class=\"s-text\" stroke-width=\"0\" fill=\"#000000\" fill-opacity=\"1\" kerning=\"auto\" x-display=\"true\" x-id=\"\" id=\"goog_528220625\" font-size=\"16\" font-family=\"Helvetica\" font-weight=\"normal\" font-style=\"normal\" text-anchor=\"end\" text-decoration=\"none\" x-width=\"150.1\" x-height=\"15\" x-left=\"115\" x-top=\"758.3\"><rect class=\"s-text-box\" stroke=\"none\" fill=\"#000000\" fill-opacity=\"0.001\" width=\"150.1\" height=\"15\" x=\"115\" y=\"758.3\"/><text class=\"s-text-l0\" xml:space=\"preserve\" stroke=\"none\" fill=\"inherit\" fill-opacity=\"1\" text-decoration=\"none\" x=\"265.1\" y=\"769.8\">Report PageNo:</text></g><!--SHAPE{\"type\":\"s-tblock\",\"id\":\"group_no\",\"display\":\"true\",\"desc\":null,\"multiple\":\"false\",\"valign\":\"\",\"line-height\":\"\",\"box\":{\"x\":20,\"y\":69,\"width\":142.1,\"height\":17},\"format\":{\"base\":\"\",\"type\":\"\"},\"value\":\"\",\"ref-id\":\"\",\"overflow\":\"\",\"word-wrap\":\"none\",\"svg\":{\"tag\":\"text\",\"attrs\":{\"x\":20,\"y\":81.9,\"xml:space\":\"preserve\",\"xmlns\":\"http://www.w3.org/2000/svg\",\"kerning\":\"auto\",\"id\":\"goog_528220626\",\"fill\":\"#000000\",\"fill-opacity\":\"1\",\"font-size\":\"18\",\"font-family\":\"Helvetica\",\"font-weight\":\"normal\",\"font-style\":\"normal\",\"text-anchor\":\"start\",\"text-decoration\":\"none\"}}}SHAPE--><!--LAYOUT<g xmlns=\"http://www.w3.org/2000/svg\" class=\"s-tblock\" x-format-type=\"\" x-value=\"\" x-format-base=\"\" x-ref-id=\"\" kerning=\"auto\" x-display=\"true\" x-multiple=\"false\" id=\"goog_528220626\" x-id=\"group_no\" fill=\"#000000\" fill-opacity=\"1\" font-size=\"18\" font-family=\"Helvetica\" font-weight=\"normal\" font-style=\"normal\" text-anchor=\"start\" text-decoration=\"none\" x-width=\"142.1\" x-height=\"17\" x-left=\"20\" x-top=\"69\"><rect class=\"s-tblock-box\" stroke=\"#7C4007\" fill=\"#f4e2c4\" stroke-width=\"0.28\" fill-opacity=\"0.8\" width=\"142.1\" height=\"17\" x=\"20\" y=\"69\"/><text class=\"s-tblock-id\" font-size=\"11\" font-family=\"Helvetica\" font-weight=\"normal\" font-style=\"normal\" text-decoration=\"none\" text-anchor=\"start\" kerning=\"auto\" stroke=\"none\" fill=\"#7C4007\" fill-opacity=\"1\" x=\"22\" y=\"80\">group_no</text></g>LAYOUT--></g></svg>","state":{"layout-guide":[]}}
|
1
|
+
{
|
2
|
+
"version": "0.9.0",
|
3
|
+
"items": [
|
4
|
+
{
|
5
|
+
"id": "default",
|
6
|
+
"type": "list",
|
7
|
+
"display": true,
|
8
|
+
"description": "",
|
9
|
+
"x": 20,
|
10
|
+
"y": 109,
|
11
|
+
"width": 555.2,
|
12
|
+
"height": 390.2,
|
13
|
+
"header": {
|
14
|
+
"enabled": true,
|
15
|
+
"height": 58.1,
|
16
|
+
"translate": {
|
17
|
+
"x": 0,
|
18
|
+
"y": 0
|
19
|
+
},
|
20
|
+
"items": [
|
21
|
+
{
|
22
|
+
"id": "",
|
23
|
+
"type": "line",
|
24
|
+
"display": true,
|
25
|
+
"description": "",
|
26
|
+
"style": {
|
27
|
+
"border-color": "#000000",
|
28
|
+
"border-width": 1,
|
29
|
+
"border-style": "solid"
|
30
|
+
},
|
31
|
+
"x1": 20,
|
32
|
+
"y1": 167.1,
|
33
|
+
"x2": 575.2,
|
34
|
+
"y2": 167.1
|
35
|
+
},
|
36
|
+
{
|
37
|
+
"id": "",
|
38
|
+
"type": "text",
|
39
|
+
"display": true,
|
40
|
+
"description": "",
|
41
|
+
"x": 197.6,
|
42
|
+
"y": 125.6,
|
43
|
+
"width": 200,
|
44
|
+
"height": 25.1,
|
45
|
+
"style": {
|
46
|
+
"font-family": [
|
47
|
+
"Helvetica"
|
48
|
+
],
|
49
|
+
"font-size": 18,
|
50
|
+
"color": "#000000",
|
51
|
+
"text-align": "center",
|
52
|
+
"vertical-align": "middle",
|
53
|
+
"line-height": "",
|
54
|
+
"line-height-ratio": "",
|
55
|
+
"letter-spacing": "",
|
56
|
+
"font-style": []
|
57
|
+
},
|
58
|
+
"texts": [
|
59
|
+
"Header"
|
60
|
+
]
|
61
|
+
}
|
62
|
+
]
|
63
|
+
},
|
64
|
+
"detail": {
|
65
|
+
"height": 52.9,
|
66
|
+
"translate": {
|
67
|
+
"x": 0,
|
68
|
+
"y": -19.9
|
69
|
+
},
|
70
|
+
"items": [
|
71
|
+
{
|
72
|
+
"id": "",
|
73
|
+
"type": "line",
|
74
|
+
"display": true,
|
75
|
+
"description": "",
|
76
|
+
"style": {
|
77
|
+
"border-color": "#000000",
|
78
|
+
"border-width": 1,
|
79
|
+
"border-style": "solid"
|
80
|
+
},
|
81
|
+
"x1": 20,
|
82
|
+
"y1": 239.9,
|
83
|
+
"x2": 575.2,
|
84
|
+
"y2": 239.9
|
85
|
+
},
|
86
|
+
{
|
87
|
+
"id": "",
|
88
|
+
"type": "text",
|
89
|
+
"display": true,
|
90
|
+
"description": "",
|
91
|
+
"x": 197.6,
|
92
|
+
"y": 203.6,
|
93
|
+
"width": 200,
|
94
|
+
"height": 25.1,
|
95
|
+
"style": {
|
96
|
+
"font-family": [
|
97
|
+
"Helvetica"
|
98
|
+
],
|
99
|
+
"font-size": 18,
|
100
|
+
"color": "#000000",
|
101
|
+
"text-align": "center",
|
102
|
+
"vertical-align": "middle",
|
103
|
+
"line-height": "",
|
104
|
+
"line-height-ratio": "",
|
105
|
+
"letter-spacing": "",
|
106
|
+
"font-style": []
|
107
|
+
},
|
108
|
+
"texts": [
|
109
|
+
"Detail"
|
110
|
+
]
|
111
|
+
}
|
112
|
+
]
|
113
|
+
},
|
114
|
+
"page-footer": {
|
115
|
+
"enabled": false,
|
116
|
+
"height": 0,
|
117
|
+
"translate": {
|
118
|
+
"x": 0,
|
119
|
+
"y": -45
|
120
|
+
},
|
121
|
+
"items": []
|
122
|
+
},
|
123
|
+
"footer": {
|
124
|
+
"enabled": false,
|
125
|
+
"height": 0,
|
126
|
+
"translate": {
|
127
|
+
"x": 0,
|
128
|
+
"y": -103.5
|
129
|
+
},
|
130
|
+
"items": []
|
131
|
+
},
|
132
|
+
"content-height": 332.09999999999997,
|
133
|
+
"auto-page-break": true
|
134
|
+
},
|
135
|
+
{
|
136
|
+
"id": "",
|
137
|
+
"type": "page-number",
|
138
|
+
"display": true,
|
139
|
+
"description": "",
|
140
|
+
"x": 273.1,
|
141
|
+
"y": 756.3,
|
142
|
+
"width": 186,
|
143
|
+
"height": 17,
|
144
|
+
"style": {
|
145
|
+
"font-family": [
|
146
|
+
"Helvetica"
|
147
|
+
],
|
148
|
+
"font-size": 18,
|
149
|
+
"color": "#000000",
|
150
|
+
"text-align": "left",
|
151
|
+
"letter-spacing": "",
|
152
|
+
"font-style": [],
|
153
|
+
"overflow": "truncate"
|
154
|
+
},
|
155
|
+
"format": "{page} / {total}",
|
156
|
+
"target": ""
|
157
|
+
},
|
158
|
+
{
|
159
|
+
"id": "",
|
160
|
+
"type": "page-number",
|
161
|
+
"display": true,
|
162
|
+
"description": "",
|
163
|
+
"x": 434.1,
|
164
|
+
"y": 69,
|
165
|
+
"width": 141.1,
|
166
|
+
"height": 17,
|
167
|
+
"style": {
|
168
|
+
"font-family": [
|
169
|
+
"Helvetica"
|
170
|
+
],
|
171
|
+
"font-size": 18,
|
172
|
+
"color": "#000000",
|
173
|
+
"text-align": "right",
|
174
|
+
"letter-spacing": "",
|
175
|
+
"font-style": [],
|
176
|
+
"overflow": "truncate"
|
177
|
+
},
|
178
|
+
"format": "{page} / {total}",
|
179
|
+
"target": "default"
|
180
|
+
},
|
181
|
+
{
|
182
|
+
"id": "",
|
183
|
+
"type": "text",
|
184
|
+
"display": true,
|
185
|
+
"description": "",
|
186
|
+
"x": 115,
|
187
|
+
"y": 755,
|
188
|
+
"width": 150.1,
|
189
|
+
"height": 18.5,
|
190
|
+
"style": {
|
191
|
+
"font-family": [
|
192
|
+
"Helvetica"
|
193
|
+
],
|
194
|
+
"font-size": 16,
|
195
|
+
"color": "#000000",
|
196
|
+
"text-align": "right",
|
197
|
+
"vertical-align": "top",
|
198
|
+
"line-height": "",
|
199
|
+
"line-height-ratio": "",
|
200
|
+
"letter-spacing": "",
|
201
|
+
"font-style": []
|
202
|
+
},
|
203
|
+
"texts": [
|
204
|
+
"Report PageNo:"
|
205
|
+
]
|
206
|
+
},
|
207
|
+
{
|
208
|
+
"id": "group_no",
|
209
|
+
"type": "text-block",
|
210
|
+
"display": true,
|
211
|
+
"description": "",
|
212
|
+
"x": 20,
|
213
|
+
"y": 69,
|
214
|
+
"width": 142.1,
|
215
|
+
"height": 17,
|
216
|
+
"style": {
|
217
|
+
"font-family": [
|
218
|
+
"Helvetica"
|
219
|
+
],
|
220
|
+
"font-size": 18,
|
221
|
+
"color": "#000000",
|
222
|
+
"text-align": "left",
|
223
|
+
"vertical-align": "top",
|
224
|
+
"line-height": "",
|
225
|
+
"line-height-ratio": "",
|
226
|
+
"letter-spacing": "",
|
227
|
+
"font-style": [],
|
228
|
+
"overflow": "truncate",
|
229
|
+
"word-wrap": "break-word"
|
230
|
+
},
|
231
|
+
"reference-id": "",
|
232
|
+
"value": "",
|
233
|
+
"multiple-line": false,
|
234
|
+
"format": {
|
235
|
+
"base": "",
|
236
|
+
"type": ""
|
237
|
+
}
|
238
|
+
}
|
239
|
+
],
|
240
|
+
"state": {
|
241
|
+
"layout-guides": []
|
242
|
+
},
|
243
|
+
"title": "",
|
244
|
+
"report": {
|
245
|
+
"paper-type": "A4",
|
246
|
+
"orientation": "portrait",
|
247
|
+
"margin": [
|
248
|
+
20,
|
249
|
+
20,
|
250
|
+
20,
|
251
|
+
20
|
252
|
+
]
|
253
|
+
}
|
254
|
+
}
|
@@ -1 +1,215 @@
|
|
1
|
-
{
|
1
|
+
{
|
2
|
+
"version": "0.9.0",
|
3
|
+
"items": [
|
4
|
+
{
|
5
|
+
"id": "pageno",
|
6
|
+
"type": "page-number",
|
7
|
+
"display": true,
|
8
|
+
"description": "",
|
9
|
+
"x": 50,
|
10
|
+
"y": 205,
|
11
|
+
"width": 139.1,
|
12
|
+
"height": 17,
|
13
|
+
"style": {
|
14
|
+
"font-family": [
|
15
|
+
"Helvetica"
|
16
|
+
],
|
17
|
+
"font-size": 18,
|
18
|
+
"color": "#000000",
|
19
|
+
"text-align": "center",
|
20
|
+
"letter-spacing": "",
|
21
|
+
"font-style": [],
|
22
|
+
"overflow": "truncate"
|
23
|
+
},
|
24
|
+
"format": "{page} / {total}",
|
25
|
+
"target": ""
|
26
|
+
},
|
27
|
+
{
|
28
|
+
"id": "",
|
29
|
+
"type": "text",
|
30
|
+
"display": true,
|
31
|
+
"description": "",
|
32
|
+
"x": 20,
|
33
|
+
"y": 46,
|
34
|
+
"width": 176.1,
|
35
|
+
"height": 28,
|
36
|
+
"style": {
|
37
|
+
"font-family": [
|
38
|
+
"Helvetica"
|
39
|
+
],
|
40
|
+
"font-size": 18,
|
41
|
+
"color": "#000000",
|
42
|
+
"text-align": "left",
|
43
|
+
"vertical-align": "top",
|
44
|
+
"line-height": "",
|
45
|
+
"line-height-ratio": "",
|
46
|
+
"letter-spacing": "",
|
47
|
+
"font-style": []
|
48
|
+
},
|
49
|
+
"texts": [
|
50
|
+
"Basis"
|
51
|
+
]
|
52
|
+
},
|
53
|
+
{
|
54
|
+
"id": "",
|
55
|
+
"type": "text",
|
56
|
+
"display": true,
|
57
|
+
"description": "",
|
58
|
+
"x": 195,
|
59
|
+
"y": 114,
|
60
|
+
"width": 199.1,
|
61
|
+
"height": 17,
|
62
|
+
"style": {
|
63
|
+
"font-family": [
|
64
|
+
"Helvetica"
|
65
|
+
],
|
66
|
+
"font-size": 14,
|
67
|
+
"color": "#000000",
|
68
|
+
"text-align": "left",
|
69
|
+
"vertical-align": "top",
|
70
|
+
"line-height": "",
|
71
|
+
"line-height-ratio": "",
|
72
|
+
"letter-spacing": "",
|
73
|
+
"font-style": []
|
74
|
+
},
|
75
|
+
"texts": [
|
76
|
+
"(Center Alignment)"
|
77
|
+
]
|
78
|
+
},
|
79
|
+
{
|
80
|
+
"id": "",
|
81
|
+
"type": "text",
|
82
|
+
"display": true,
|
83
|
+
"description": "",
|
84
|
+
"x": 195,
|
85
|
+
"y": 143,
|
86
|
+
"width": 199.1,
|
87
|
+
"height": 17,
|
88
|
+
"style": {
|
89
|
+
"font-family": [
|
90
|
+
"Helvetica"
|
91
|
+
],
|
92
|
+
"font-size": 14,
|
93
|
+
"color": "#000000",
|
94
|
+
"text-align": "left",
|
95
|
+
"vertical-align": "top",
|
96
|
+
"line-height": "",
|
97
|
+
"line-height-ratio": "",
|
98
|
+
"letter-spacing": "",
|
99
|
+
"font-style": []
|
100
|
+
},
|
101
|
+
"texts": [
|
102
|
+
"(Right Alignment)"
|
103
|
+
]
|
104
|
+
},
|
105
|
+
{
|
106
|
+
"id": "",
|
107
|
+
"type": "text",
|
108
|
+
"display": true,
|
109
|
+
"description": "",
|
110
|
+
"x": 20,
|
111
|
+
"y": 180,
|
112
|
+
"width": 176.1,
|
113
|
+
"height": 28,
|
114
|
+
"style": {
|
115
|
+
"font-family": [
|
116
|
+
"Helvetica"
|
117
|
+
],
|
118
|
+
"font-size": 18,
|
119
|
+
"color": "#000000",
|
120
|
+
"text-align": "left",
|
121
|
+
"vertical-align": "top",
|
122
|
+
"line-height": "",
|
123
|
+
"line-height-ratio": "",
|
124
|
+
"letter-spacing": "",
|
125
|
+
"font-style": []
|
126
|
+
},
|
127
|
+
"texts": [
|
128
|
+
"With ID"
|
129
|
+
]
|
130
|
+
},
|
131
|
+
{
|
132
|
+
"id": "",
|
133
|
+
"type": "page-number",
|
134
|
+
"display": true,
|
135
|
+
"description": "",
|
136
|
+
"x": 50,
|
137
|
+
"y": 113,
|
138
|
+
"width": 130.1,
|
139
|
+
"height": 17,
|
140
|
+
"style": {
|
141
|
+
"font-family": [
|
142
|
+
"Helvetica"
|
143
|
+
],
|
144
|
+
"font-size": 18,
|
145
|
+
"color": "#000000",
|
146
|
+
"text-align": "center",
|
147
|
+
"letter-spacing": "",
|
148
|
+
"font-style": [],
|
149
|
+
"overflow": "truncate"
|
150
|
+
},
|
151
|
+
"format": "{page}",
|
152
|
+
"target": ""
|
153
|
+
},
|
154
|
+
{
|
155
|
+
"id": "",
|
156
|
+
"type": "page-number",
|
157
|
+
"display": true,
|
158
|
+
"description": "",
|
159
|
+
"x": 50,
|
160
|
+
"y": 84,
|
161
|
+
"width": 130.1,
|
162
|
+
"height": 18.9,
|
163
|
+
"style": {
|
164
|
+
"font-family": [
|
165
|
+
"Helvetica"
|
166
|
+
],
|
167
|
+
"font-size": 18,
|
168
|
+
"color": "#000000",
|
169
|
+
"text-align": "left",
|
170
|
+
"letter-spacing": 10,
|
171
|
+
"font-style": [],
|
172
|
+
"overflow": "truncate"
|
173
|
+
},
|
174
|
+
"format": "{page}",
|
175
|
+
"target": ""
|
176
|
+
},
|
177
|
+
{
|
178
|
+
"id": "",
|
179
|
+
"type": "page-number",
|
180
|
+
"display": true,
|
181
|
+
"description": "",
|
182
|
+
"x": 50,
|
183
|
+
"y": 140,
|
184
|
+
"width": 130.1,
|
185
|
+
"height": 17,
|
186
|
+
"style": {
|
187
|
+
"font-family": [
|
188
|
+
"Helvetica"
|
189
|
+
],
|
190
|
+
"font-size": 18,
|
191
|
+
"color": "#000000",
|
192
|
+
"text-align": "right",
|
193
|
+
"letter-spacing": "",
|
194
|
+
"font-style": [],
|
195
|
+
"overflow": "truncate"
|
196
|
+
},
|
197
|
+
"format": "{page}",
|
198
|
+
"target": ""
|
199
|
+
}
|
200
|
+
],
|
201
|
+
"state": {
|
202
|
+
"layout-guides": []
|
203
|
+
},
|
204
|
+
"title": "",
|
205
|
+
"report": {
|
206
|
+
"paper-type": "A4",
|
207
|
+
"orientation": "portrait",
|
208
|
+
"margin": [
|
209
|
+
20,
|
210
|
+
20,
|
211
|
+
20,
|
212
|
+
20
|
213
|
+
]
|
214
|
+
}
|
215
|
+
}
|