{
  "version": "2.0",
  "page": {
    "width": 595,
    "height": 842,
    "marginTop": 20,
    "marginBottom": 20,
    "marginLeft": 20,
    "marginRight": 20
  },
  "pdf": {
    "title": "Data-Bound Table Demo",
    "author": "FmxPdfTools",
    "subject": "Data-bound, auto-growing table"
  },
  "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": "#FF1E3A8A",
          "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": "DATA-BOUND TABLE DEMO",
          "dataField": "", "imageFile": "", "wordWrap": false,
          "fontName": "Segoe UI", "fontSize": 17, "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": 280,
      "dataSource": "",
      "elements": [
        {
          "type": "Label",
          "name": "", "left": 0, "top": 6, "width": 555, "height": 16,
          "text": "Customer List - content comes from the 'customers' data source; the table lists all records and paginates.",
          "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": "Table",
          "name": "", "left": 0, "top": 30, "width": 555, "height": 240,
          "text": "", "dataField": "customers", "imageFile": "", "wordWrap": false,
          "fontName": "Segoe UI", "fontSize": 9, "fontBold": false, "fontItalic": false,
          "textColor": "#FF1E293B", "backColor": "#FFFFFFFF", "borderColor": "#FF94A3B8",
          "strokeColor": "#FF94A3B8", "fillColor": "#FFFFFFFF",
          "horzAlign": "Left", "vertAlign": "Center",
          "borderWidth": 0.5, "strokeWidth": 0.5, "cornerX": 0, "cornerY": 0,
          "checked": false, "x2": 555, "y2": 30,
          "rows": 12, "cols": 3,
          "headerRow": true,
          "headerFill": "#FF1E3A8A",
          "headerBold": true,
          "headerTextColor": "#FFFFFFFF",
          "colWidths": [3, 1, 1],
          "colFields": ["CompanyName", "City", "Country"],
          "cells": [
            "Company", "City", "Country"
          ]
        }
      ]
    },
    {
      "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": 300, "height": 14,
          "text": "FmxPdfTools - Data-Bound Table",
          "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": 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
        }
      ]
    }
  ]
}
