{
    "paper": {
        "width": 792,
        "height": 612
    },
    "pages": {
        "count": 2,
        "page_0": {
            "name": "cover page",
            "header": {},
            "footer": {},
            "margin_left": 20,
            "margin_right": 20,
            "margin_top": 20,
            "margin_bottom": 20,
            "contents": {
                "count": 6,
                "item_0": {
                    "type": "img",
                    "hAlign": "Center",
                    "vAlign": "Middle",
                    "source": "portfolio_cover_title",
                    "source_type": "const",
                    "x": 107,
                    "y": 45,
                    "width": 539,
                    "height": 77
                },
                "item_1": {
                    "type": "img",
                    "hAlign": "Center",
                    "vAlign": "Middle",
                    "source": "portfolio_cover_logo",
                    "source_type": "const",
                    "x": 242,
                    "y": 124,
                    "width": 268,
                    "height": 117
                },
                "item_2": {
                    "type": "text",
                    "source": "npd_url",
                    "source_type": "data",
                    "font": "Kalinga",
                    "size": "14",
                    "textAlignment": "center",
                    "vAlign": "Middle",
                    "x": 237,
                    "y": 508,
                    "width": 279,
                    "height": 34
                },
                "item_3": {
                    "type": "text",
                    "source": "create_month",
                    "source_type": "data",
                    "font": "Kalinga",
                    "size": "14",
                    "textAlignment": "center",
                    "vAlign": "Middle",
                    "x": 237,
                    "y": 542,
                    "width": 279,
                    "height": 29
                },
                "item_4": {
                    "type": "text",
                    "source": "company_name",
                    "source_type": "data",
                    "font": "Kalinga",
                    "size": "22",
                    "textAlignment": "center",
                    "vAlign": "Middle",
                    "x": 103,
                    "y": 243,
                    "width": 544,
                    "height": 46,
                    "bold": true
                },
                "item_5": {
                    "type": "text",
                    "source": "catalog_name",
                    "source_type": "data",
                    "font": "Kalinga",
                    "size": "22",
                    "textAlignment": "center",
                    "vAlign": "Middle",
                    "x": 103,
                    "y": 288,
                    "width": 544,
                    "height": 38,
                    "bold": false
                }
            }
        },
        "page_1": {
            "name": "content page",
            "header": {
                "type": "group",
                "x": 0,
                "y": 0,
                "width": 752,
                "height": 40,
                "items": {
                    "count": 1,
                    "item_0": {
                        "type": "img",
                        "hAlign": "Left",
                        "vAlign": "Middle",
                        "source": "portfolio_logo_s",
                        "source_type": "const",
                        "x": 2,
                        "y": 1,
                        "width": 47,
                        "height": 34
                    }
                }
            },
            "footer": {
                "type": "group",
                "x": 0,
                "y": 571,
                "width": 752,
                "height": 21,
                "items": {
                    "count": 2,
                    "item_0": {
                        "type": "text",
                        "source": "create_month",
                        "source_type": "data",
                        "textAlignment": "Left",
                        "vAlign": "Middle",
                        "x": 3,
                        "y": 2,
                        "width": 97,
                        "height": 14
                    },
                    "item_1": {
                        "type": "text",
                        "source": "PAGE_INDEX",
                        "source_type": "data",
                        "source_isexpression":true,
                        "textAlignment": "Right",
                        "vAlign": "Middle",
                        "x": 644,
                        "y": 2,
                        "width": 104,
                        "height": 14
                    }
                }
            },
            "margin_left": 20,
            "margin_right": 20,
            "margin_top": 20,
            "margin_bottom": 20,
            "contents": {
                "count": 1,
                "item_0": {
                    "type": "grid",
                    "data_source": "grid0",
                    "cell": {
                        "direction": "H",
                        "duplicate": 0,
                        "data_source": "cell0",
                        
                        "type": "group",
                        "x": 0,
                        "y": 0,
                        "width": 250.66,
                        "height": 244,
                        "items": {
                            "count": 7,
                            "item_1": {
                                "type": "img",
                                "source": "img_qr",
                                "source_type": "data",
                                "source_path_type": "local",
                                "hAlign": "Center",
                                "vAlign": "Middle",
                                "x": 176,
                                "y": 81,
                                "width": 60,
                                "height": 60
                            },
                            "item_0": {
                                "type": "img",
                                "source": "img",
                                "source_type": "data",
                                "hAlign": "Center",
                                "vAlign": "Middle",
                                "x": 0,
                                "y": 0,
                                "width": 158,
                                "height": 158
                            },
                            "item_2": {
                                "type": "text",
                                "source": "special_price",
                                "source_type": "data",
                                "size":"10",
                                "bold": true,
                                "color":"0xff0000",
                                "x": 160,
                                "y": 161,
                                "width": 90,
                                "height": 15
                            },
                            "item_3": {
                                "type": "text",
                                "source": "name",
                                "source_type": "data",
                                "size":"12",
                                "bold": true,
                                "x": 0,
                                "y": 159,
                                "width": 158,
                                "height": 19
                            },
                            "item_4": {
                                "type": "text",
                                "source": "description",
                                "source_type": "data",
                                "size":"9",
                                "bold": true,
                                "x": 0,
                                "y": 178,
                                "width": 230,
                                "height": 13
                            },
                            "item_5": {
                                "type": "text",
                                "source": "price",
                                "source_type": "data",
                                "size":"10",
                                "bold": true,
                                "x": 160,
                                "y": 142,
                                "width": 90,
                                "height": 15
                            },
                            "item_6": {
                                "type": "text",
                                "source": "detail",
                                "source_type": "data",
                                "ishtml":true,
                                "size":"8",
                                "bold": false,
                                "x": 0,
                                "y": 191,
                                "width": 230,
                                "height": 53
                            }
                            
                        }
                    },
                    "x": 0,
                    "y": 0,
                    "width": 752,
                    "height": 491
                }
            }
        }
    }
}
