{
  "version": "2.0",
  "page": {
    "width": 595,
    "height": 842,
    "marginTop": 20,
    "marginBottom": 20,
    "marginLeft": 20,
    "marginRight": 20
  },
  "pdf": {
    "title": "Grouped Subreport Demo",
    "author": "FmxPdfTools",
    "subject": "Flowing subreport grouped by country: GroupHeader + MasterData + GroupFooter + Summary"
  },
  "bands": [
    {
      "type": "Title",
      "height": 56,
      "dataSource": "",
      "elements": [
        {
          "type": "Rectangle",
          "name": "", "left": 0, "top": 0, "width": 555, "height": 46,
          "text": "", "dataField": "", "imageFile": "", "wordWrap": false,
          "fontName": "Segoe UI", "fontSize": 10, "fontBold": false, "fontItalic": false,
          "textColor": "#FF000000", "backColor": "#00000000", "borderColor": "#FF000000",
          "strokeColor": "#00000000", "fillColor": "#FF7C3AED",
          "horzAlign": "Left", "vertAlign": "Center",
          "borderWidth": 1, "strokeWidth": 0, "cornerX": 5, "cornerY": 5,
          "checked": false, "x2": 555, "y2": 0
        },
        {
          "type": "Label",
          "name": "", "left": 14, "top": 8, "width": 527, "height": 30,
          "text": "GROUPED SUBREPORT DEMO",
          "dataField": "", "imageFile": "", "wordWrap": false,
          "fontName": "Segoe UI", "fontSize": 16, "fontBold": true, "fontItalic": false,
          "textColor": "#FFFFFFFF", "backColor": "#00000000", "borderColor": "#FF000000",
          "strokeColor": "#FF000000", "fillColor": "#00000000",
          "horzAlign": "Left", "vertAlign": "Center",
          "borderWidth": 1, "strokeWidth": 1, "cornerX": 5, "cornerY": 5,
          "checked": false, "x2": 541, "y2": 8
        }
      ]
    },
    {
      "type": "MasterData",
      "height": 420,
      "dataSource": "",
      "elements": [
        {
          "type": "Label",
          "name": "", "left": 0, "top": 6, "width": 555, "height": 16,
          "text": "The list below is a subreport flowing from a SEPARATE .frp (ornek_alt_rapor_grup_detay), GROUPED by COUNTRY:",
          "dataField": "", "imageFile": "", "wordWrap": true,
          "fontName": "Segoe UI", "fontSize": 9, "fontBold": false, "fontItalic": true,
          "textColor": "#FF64748B", "backColor": "#00000000", "borderColor": "#FF000000",
          "strokeColor": "#FF000000", "fillColor": "#00000000",
          "horzAlign": "Left", "vertAlign": "Center",
          "borderWidth": 1, "strokeWidth": 1, "cornerX": 5, "cornerY": 5,
          "checked": false, "x2": 555, "y2": 6
        },
        {
          "type": "Subreport",
          "name": "", "left": 0, "top": 30, "width": 555, "height": 380,
          "text": "", "dataField": "", "imageFile": "", "wordWrap": false,
          "fontName": "Segoe UI", "fontSize": 9, "fontBold": false, "fontItalic": false,
          "textColor": "#FF000000", "backColor": "#00000000", "borderColor": "#FF000000",
          "strokeColor": "#FF000000", "fillColor": "#00000000",
          "horzAlign": "Left", "vertAlign": "Top",
          "borderWidth": 1, "strokeWidth": 1, "cornerX": 5, "cornerY": 5,
          "checked": false, "x2": 555, "y2": 30,
          "subReportFile": "ornek_alt_rapor_grup_detay.frp",
          "subReportFlow": true
        }
      ]
    },
    {
      "type": "Summary",
      "height": 40,
      "dataSource": "",
      "elements": [
        {
          "type": "Line",
          "name": "", "left": 0, "top": 8, "width": 555, "height": 1,
          "text": "", "dataField": "", "imageFile": "", "wordWrap": false,
          "fontName": "Segoe UI", "fontSize": 10, "fontBold": false, "fontItalic": false,
          "textColor": "#FF000000", "backColor": "#00000000", "borderColor": "#FF000000",
          "strokeColor": "#FF7C3AED", "fillColor": "#00000000",
          "horzAlign": "Left", "vertAlign": "Center",
          "borderWidth": 1, "strokeWidth": 0.8, "cornerX": 5, "cornerY": 5,
          "checked": false, "x2": 555, "y2": 8
        },
        {
          "type": "Label",
          "name": "", "left": 0, "top": 14, "width": 555, "height": 18,
          "text": "MAIN REPORT CONTINUES - drawn AFTER the grouped subreport (all groups) ends.",
          "dataField": "", "imageFile": "", "wordWrap": false,
          "fontName": "Segoe UI", "fontSize": 10, "fontBold": true, "fontItalic": false,
          "textColor": "#FF7C3AED", "backColor": "#00000000", "borderColor": "#FF000000",
          "strokeColor": "#FF000000", "fillColor": "#00000000",
          "horzAlign": "Left", "vertAlign": "Center",
          "borderWidth": 1, "strokeWidth": 1, "cornerX": 5, "cornerY": 5,
          "checked": false, "x2": 555, "y2": 14
        }
      ]
    },
    {
      "type": "PageFooter",
      "height": 22,
      "dataSource": "",
      "elements": [
        {
          "type": "Line",
          "name": "", "left": 0, "top": 0, "width": 555, "height": 1,
          "text": "", "dataField": "", "imageFile": "", "wordWrap": false,
          "fontName": "Segoe UI", "fontSize": 10, "fontBold": false, "fontItalic": false,
          "textColor": "#FF000000", "backColor": "#00000000", "borderColor": "#FF000000",
          "strokeColor": "#FFC0C0C0", "fillColor": "#00000000",
          "horzAlign": "Left", "vertAlign": "Center",
          "borderWidth": 1, "strokeWidth": 0.5, "cornerX": 5, "cornerY": 5,
          "checked": false, "x2": 555, "y2": 0
        },
        {
          "type": "Label",
          "name": "", "left": 0, "top": 6, "width": 320, "height": 14,
          "text": "FmxPdfTools - Grouped Subreport Demo",
          "dataField": "", "imageFile": "", "wordWrap": false,
          "fontName": "Segoe UI", "fontSize": 8, "fontBold": false, "fontItalic": false,
          "textColor": "#FF808080", "backColor": "#00000000", "borderColor": "#FF000000",
          "strokeColor": "#FF000000", "fillColor": "#00000000",
          "horzAlign": "Left", "vertAlign": "Center",
          "borderWidth": 1, "strokeWidth": 1, "cornerX": 5, "cornerY": 5,
          "checked": false, "x2": 320, "y2": 6
        },
        {
          "type": "Label",
          "name": "", "left": 355, "top": 6, "width": 200, "height": 14,
          "text": "Page [PageNo] / [TotalPages]",
          "dataField": "", "imageFile": "", "wordWrap": false,
          "fontName": "Segoe UI", "fontSize": 8, "fontBold": false, "fontItalic": false,
          "textColor": "#FF808080", "backColor": "#00000000", "borderColor": "#FF000000",
          "strokeColor": "#FF000000", "fillColor": "#00000000",
          "horzAlign": "Right", "vertAlign": "Center",
          "borderWidth": 1, "strokeWidth": 1, "cornerX": 5, "cornerY": 5,
          "checked": false, "x2": 555, "y2": 6
        }
      ]
    }
  ]
}
