{
    "version":  "2.0",
    "page":  {
                 "width":  595,
                 "height":  842,
                 "marginTop": 20,
                 "marginBottom": 20,
                 "marginLeft": 20,
                 "marginRight": 20
             },
    "bands":  [
                  {
                      "type":  "PageHeader",
                      "height":  50,
                      "dataSource":  "",
                      "groupCondition":  "",
                      "elements":  [
                                       {
                                           "type":  "Rectangle",
                                           "name":  "",
                                           "left":  0,
                                           "top":  0,
                                           "width":  555,
                                           "height":  42,
                                           "text":  "",
                                           "dataField":  "",
                                           "imageFile":  "",
                                           "wordWrap":  false,
                                           "fontName":  "Segoe UI",
                                           "fontSize":  10,
                                           "fontBold":  false,
                                           "fontItalic":  false,
                                           "textColor":  "#FF000000",
                                           "backColor":  "#00000000",
                                           "borderColor":  "#FF000000",
                                           "strokeColor":  "#00000000",
                                           "fillColor":  "#FF1E3A8A",
                                           "horzAlign":  "Left",
                                           "vertAlign":  "Center",
                                           "borderWidth":  1,
                                           "strokeWidth":  0,
                                           "cornerX":  5,
                                           "cornerY":  5,
                                           "checked":  false,
                                           "x2":  555,
                                           "y2":  0
                                       },
                                       {
                                           "type":  "Label",
                                           "name":  "",
                                           "left":  0,
                                           "top":  8,
                                           "width":  555,
                                           "height":  22,
                                           "text":  "CUSTOMERS BY COUNTRY",
                                           "dataField":  "",
                                           "imageFile":  "",
                                           "wordWrap":  false,
                                           "fontName":  "Segoe UI",
                                           "fontSize":  14,
                                           "fontBold":  true,
                                           "fontItalic":  false,
                                           "textColor":  "#FFFFFFFF",
                                           "backColor":  "#00000000",
                                           "borderColor":  "#FF000000",
                                           "strokeColor":  "#FF000000",
                                           "fillColor":  "#00000000",
                                           "horzAlign":  "Center",
                                           "vertAlign":  "Center",
                                           "borderWidth":  1,
                                           "strokeWidth":  1,
                                           "cornerX":  5,
                                           "cornerY":  5,
                                           "checked":  false,
                                           "x2":  555,
                                           "y2":  8
                                       },
                                       {
                                           "type":  "Label",
                                           "name":  "",
                                           "left":  0,
                                           "top":  44,
                                           "width":  555,
                                           "height":  12,
                                           "text":  "[DateTime]",
                                           "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":  44
                                       }
                                   ]
                  },
                  {
                      "type":  "GroupHeader",
                      "height":  34,
                      "dataSource":  "",
                      "groupCondition":  "Country",
                      "elements":  [
                                       {
                                           "type":  "Rectangle",
                                           "name":  "",
                                           "left":  0,
                                           "top":  2,
                                           "width":  555,
                                           "height":  28,
                                           "text":  "",
                                           "dataField":  "",
                                           "imageFile":  "",
                                           "wordWrap":  false,
                                           "fontName":  "Segoe UI",
                                           "fontSize":  10,
                                           "fontBold":  false,
                                           "fontItalic":  false,
                                           "textColor":  "#FF000000",
                                           "backColor":  "#00000000",
                                           "borderColor":  "#FF000000",
                                           "strokeColor":  "#FFBFDBFE",
                                           "fillColor":  "#FFEFF6FF",
                                           "horzAlign":  "Left",
                                           "vertAlign":  "Center",
                                           "borderWidth":  1,
                                           "strokeWidth":  0.5,
                                           "cornerX":  5,
                                           "cornerY":  5,
                                           "checked":  false,
                                           "x2":  555,
                                           "y2":  2
                                       },
                                       {
                                           "type":  "Label",
                                           "name":  "",
                                           "left":  8,
                                           "top":  6,
                                           "width":  400,
                                           "height":  20,
                                           "text":  "[Country]",
                                           "dataField":  "",
                                           "imageFile":  "",
                                           "wordWrap":  false,
                                           "fontName":  "Segoe UI",
                                           "fontSize":  12,
                                           "fontBold":  true,
                                           "fontItalic":  false,
                                           "textColor":  "#FF1E3A8A",
                                           "backColor":  "#00000000",
                                           "borderColor":  "#FF000000",
                                           "strokeColor":  "#FF000000",
                                           "fillColor":  "#00000000",
                                           "horzAlign":  "Left",
                                           "vertAlign":  "Center",
                                           "borderWidth":  1,
                                           "strokeWidth":  1,
                                           "cornerX":  5,
                                           "cornerY":  5,
                                           "checked":  false,
                                           "x2":  408,
                                           "y2":  6
                                       },
                                       {
                                           "type":  "Label",
                                           "name":  "",
                                           "left":  400,
                                           "top":  8,
                                           "width":  145,
                                           "height":  16,
                                           "text":  "Region: [Region]",
                                           "dataField":  "",
                                           "imageFile":  "",
                                           "wordWrap":  false,
                                           "fontName":  "Segoe UI",
                                           "fontSize":  9,
                                           "fontBold":  false,
                                           "fontItalic":  false,
                                           "textColor":  "#FF1E40AF",
                                           "backColor":  "#00000000",
                                           "borderColor":  "#FF000000",
                                           "strokeColor":  "#FF000000",
                                           "fillColor":  "#00000000",
                                           "horzAlign":  "Right",
                                           "vertAlign":  "Center",
                                           "borderWidth":  1,
                                           "strokeWidth":  1,
                                           "cornerX":  5,
                                           "cornerY":  5,
                                           "checked":  false,
                                           "x2":  545,
                                           "y2":  8
                                       }
                                   ]
                  },
                  {
                      "type":  "MasterData",
                      "height":  22,
                      "dataSource":  "customers",
                      "groupCondition":  "",
                      "elements":  [
                                       {
                                           "type":  "Label",
                                           "name":  "",
                                           "left":  10,
                                           "top":  4,
                                           "width":  200,
                                           "height":  14,
                                           "text":  "",
                                           "dataField":  "CompanyName",
                                           "imageFile":  "",
                                           "wordWrap":  false,
                                           "fontName":  "Segoe UI",
                                           "fontSize":  9,
                                           "fontBold":  true,
                                           "fontItalic":  false,
                                           "textColor":  "#FF000000",
                                           "backColor":  "#00000000",
                                           "borderColor":  "#FF000000",
                                           "strokeColor":  "#FF000000",
                                           "fillColor":  "#00000000",
                                           "horzAlign":  "Left",
                                           "vertAlign":  "Center",
                                           "borderWidth":  1,
                                           "strokeWidth":  1,
                                           "cornerX":  5,
                                           "cornerY":  5,
                                           "checked":  false,
                                           "x2":  210,
                                           "y2":  4
                                       },
                                       {
                                           "type":  "Label",
                                           "name":  "",
                                           "left":  215,
                                           "top":  4,
                                           "width":  150,
                                           "height":  14,
                                           "text":  "",
                                           "dataField":  "ContactName",
                                           "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":  "Center",
                                           "borderWidth":  1,
                                           "strokeWidth":  1,
                                           "cornerX":  5,
                                           "cornerY":  5,
                                           "checked":  false,
                                           "x2":  365,
                                           "y2":  4
                                       },
                                       {
                                           "type":  "Label",
                                           "name":  "",
                                           "left":  370,
                                           "top":  4,
                                           "width":  90,
                                           "height":  14,
                                           "text":  "",
                                           "dataField":  "City",
                                           "imageFile":  "",
                                           "wordWrap":  false,
                                           "fontName":  "Segoe UI",
                                           "fontSize":  9,
                                           "fontBold":  false,
                                           "fontItalic":  false,
                                           "textColor":  "#FF555555",
                                           "backColor":  "#00000000",
                                           "borderColor":  "#FF000000",
                                           "strokeColor":  "#FF000000",
                                           "fillColor":  "#00000000",
                                           "horzAlign":  "Left",
                                           "vertAlign":  "Center",
                                           "borderWidth":  1,
                                           "strokeWidth":  1,
                                           "cornerX":  5,
                                           "cornerY":  5,
                                           "checked":  false,
                                           "x2":  460,
                                           "y2":  4
                                       },
                                       {
                                           "type":  "Label",
                                           "name":  "",
                                           "left":  465,
                                           "top":  4,
                                           "width":  90,
                                           "height":  14,
                                           "text":  "",
                                           "dataField":  "Phone",
                                           "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":  4
                                       },
                                       {
                                           "type":  "Line",
                                           "name":  "",
                                           "left":  0,
                                           "top":  20,
                                           "width":  100,
                                           "height":  20,
                                           "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.3,
                                           "cornerX":  5,
                                           "cornerY":  5,
                                           "checked":  false,
                                           "x2":  555,
                                           "y2":  20
                                       }
                                   ]
                  },
                  {
                      "type":  "GroupFooter",
                      "height":  24,
                      "dataSource":  "",
                      "groupCondition":  "",
                      "elements":  [
                                       {
                                           "type":  "Line",
                                           "name":  "",
                                           "left":  0,
                                           "top":  2,
                                           "width":  100,
                                           "height":  20,
                                           "text":  "",
                                           "dataField":  "",
                                           "imageFile":  "",
                                           "wordWrap":  false,
                                           "fontName":  "Segoe UI",
                                           "fontSize":  10,
                                           "fontBold":  false,
                                           "fontItalic":  false,
                                           "textColor":  "#FF000000",
                                           "backColor":  "#00000000",
                                           "borderColor":  "#FF000000",
                                           "strokeColor":  "#FFBFDBFE",
                                           "fillColor":  "#00000000",
                                           "horzAlign":  "Left",
                                           "vertAlign":  "Center",
                                           "borderWidth":  1,
                                           "strokeWidth":  1,
                                           "cornerX":  5,
                                           "cornerY":  5,
                                           "checked":  false,
                                           "x2":  555,
                                           "y2":  2
                                       },
                                       {
                                           "type":  "Label",
                                           "name":  "",
                                           "left":  0,
                                           "top":  6,
                                           "width":  555,
                                           "height":  14,
                                           "text":  "[Country] group end",
                                           "dataField":  "",
                                           "imageFile":  "",
                                           "wordWrap":  false,
                                           "fontName":  "Segoe UI",
                                           "fontSize":  8,
                                           "fontBold":  false,
                                           "fontItalic":  true,
                                           "textColor":  "#FF1E40AF",
                                           "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
                                       }
                                   ]
                  },
                  {
                      "type":  "PageFooter",
                      "height":  20,
                      "dataSource":  "",
                      "groupCondition":  "",
                      "elements":  [
                                       {
                                           "type":  "Line",
                                           "name":  "",
                                           "left":  0,
                                           "top":  0,
                                           "width":  100,
                                           "height":  20,
                                           "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":  4,
                                           "width":  300,
                                           "height":  12,
                                           "text":  "FmxPdfTools - Group Demo (Single Level)",
                                           "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":  300,
                                           "y2":  4
                                       },
                                       {
                                           "type":  "Label",
                                           "name":  "",
                                           "left":  400,
                                           "top":  4,
                                           "width":  155,
                                           "height":  12,
                                           "text":  "[Date]",
                                           "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":  4
                                       }
                                   ]
                  }
              ]
}