{
    "paper": {
        "width": 612,
        "height": 792
    },
    "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": 17,
                    "y": 47,
                    "width": 539,
                    "height": 77
                },
                "item_1": {
                    "type": "img",
                    "hAlign": "Center",
                    "vAlign": "Middle",
                    "source": "portfolio_cover_logo",
                    "source_type": "const",
                    "x": 152,
                    "y": 166,
                    "width": 268,
                    "height": 117
                },
                "item_2": {
                    "type": "text",
                    "source": "npd_url",
                    "source_type": "data",
                    "font": "Kalinga",
                    "size": "14",
                    "textAlignment": "center",
                    "vAlign": "Middle",
                    "x": 192,
                    "y": 533,
                    "width": 190,
                    "height": 33
                },
                "item_3": {
                    "type": "text",
                    "source": "create_month",
                    "source_type": "data",
                    "font": "Kalinga",
                    "size": "14",
                    "textAlignment": "center",
                    "vAlign": "Middle",
                    "x": 192,
                    "y": 566,
                    "width": 190,
                    "height": 29
                },
                "item_4": {
                    "type": "text",
                    "source": "company_name",
                    "source_type": "data",
                    "font": "Kalinga",
                    "size": "22",
                    "textAlignment": "center",
                    "vAlign": "Middle",
                    "x": 15,
                    "y": 324,
                    "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": 16,
                    "y": 369,
                    "width": 543,
                    "height": 38,
                    "bold": false
                }
            }
        },
        "page_1": {
            "name": "content page",
            "header": {
                "type": "group",
                "x": 0,
                "y": 0,
                "width": 572,
                "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": 734,
                "width": 572,
                "height": 18,
                "items": {
                    "count": 2,
                    "item_0": {
                        "type": "text",
                        "source": "create_month",
                        "source_type": "data",
                        "textAlignment": "Left",
                        "vAlign": "Middle",
                        "x": 5,
                        "y": 2,
                        "width": 119,
                        "height": 14
                    },
                    "item_1": {
                        "type": "text",
                        "source": "PAGE_INDEX",
                        "source_type": "data",
                        "source_isexpression":true,
                        "textAlignment": "Right",
                        "vAlign": "Middle",
                        "x": 468,
                        "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": 286,
                        "height": 231,
                        "items": {
                            "count": 7,
                            "item_1": {
                                "type": "img",
                                "source": "img_qr",
                                "source_type": "data",
                                "source_path_type": "local",
                                "hAlign": "Center",
                                "vAlign": "Middle",
                                "x": 20,
                                "y": 20,
                                "width": 51,
                                "height": 51
                            },
                            "item_0": {
                                "type": "img",
                                "source": "img",
                                "source_type": "data",
                                "hAlign": "Center",
                                "vAlign": "Middle",
                                "x": 101,
                                "y": 0,
                                "width": 93,
                                "height": 101
                            },
                            "item_2": {
                                "type": "text",
                                "source": "special_price",
                                "source_type": "data",
                                "size":"10",
                                "bold": true,
                                "color":"0xff0000",
                                "x": 195,
                                "y": 87,
                                "width": 90,
                                "height": 20
                            },
                            "item_3": {
                                "type": "text",
                                "source": "name",
                                "source_type": "data",
                                "size":"12",
                                "bold": true,
                                "x": 4,
                                "y": 103,
                                "width": 188,
                                "height": 23
                            },
                            "item_4": {
                                "type": "text",
                                "source": "description",
                                "source_type": "data",
                                "size":"9",
                                "bold": true,
                                "x": 4,
                                "y": 126,
                                "width": 282,
                                "height": 31
                            },
                            "item_5": {
                                "type": "text",
                                "source": "price",
                                "source_type": "data",
                                "size":"10",
                                "bold": true,
                                "x": 195,
                                "y": 106,
                                "width": 90,
                                "height": 20
                            },
                            "item_6": {
                                "type": "text",
                                "source": "detail",
                                "source_type": "data",
                                "ishtml":true,
                                "size":"8",
                                "bold": false,
                                "x": 4,
                                "y": 157,
                                "width": 282,
                                "height": 72
                            }
                            
                        }
                    },
                    "x": 0,
                    "y": 0,
                    "width": 752,
                    "height": 491
                }
            }
        }
    }
}
