{
  "version": "2.0",
  "page": {
    "width": 595,
    "height": 842,
    "marginTop": 20,
    "marginBottom": 20,
    "marginLeft": 20,
    "marginRight": 20
  },
  "bands": [
    {
      "type": "Title",
      "height": 60,
      "dataSource": "",
      "elements": [
        {
          "type": "Rectangle",
          "name": "", "left": 0, "top": 0, "width": 555, "height": 50,
          "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": 16, "top": 10, "width": 523, "height": 30,
          "text": "TABLE ELEMENT DEMO",
          "dataField": "", "imageFile": "", "wordWrap": false,
          "fontName": "Segoe UI", "fontSize": 18, "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": 539, "y2": 10
        }
      ]
    },
    {
      "type": "MasterData",
      "height": 630,
      "dataSource": "",
      "elements": [
        {
          "type": "Label",
          "name": "", "left": 0, "top": 10, "width": 555, "height": 16,
          "text": "1. Product Price List (5 cols, 6 rows)",
          "dataField": "", "imageFile": "", "wordWrap": false,
          "fontName": "Segoe UI", "fontSize": 11, "fontBold": true, "fontItalic": false,
          "textColor": "#FF1E40AF", "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": 10
        },
        {
          "type": "Table",
          "name": "", "left": 0, "top": 32, "width": 555, "height": 108,
          "text": "", "dataField": "", "imageFile": "", "wordWrap": false,
          "fontName": "Segoe UI", "fontSize": 9, "fontBold": false, "fontItalic": false,
          "textColor": "#FF1E293B", "backColor": "#FFFFFFFF", "borderColor": "#FF94A3B8",
          "strokeColor": "#FF000000", "fillColor": "#FFF8FAFC",
          "horzAlign": "Left", "vertAlign": "Center",
          "borderWidth": 0.5, "strokeWidth": 1, "cornerX": 0, "cornerY": 0,
          "checked": false, "x2": 555, "y2": 32,
          "rows": 6, "cols": 5,
          "cells": [
            "Product Code", "Product Name", "Unit", "Qty", "Total Price",
            "PRD-001", "Apple (Fuji)", "kg", "10", "25.00 USD",
            "PRD-002", "Pear (Williams)", "kg", "5", "18.75 USD",
            "PRD-003", "Grape (Sultana)", "kg", "8", "32.00 USD",
            "PRD-004", "Strawberry (Local)", "kg", "20", "160.00 USD",
            "TOTAL", "", "", "43", "235.75 USD"
          ]
        },
        {
          "type": "Label",
          "name": "", "left": 0, "top": 152, "width": 555, "height": 14,
          "text": "The first row is used like a header row. Each cell shares a common style: fontName/Size/Bold/Color.",
          "dataField": "", "imageFile": "", "wordWrap": true,
          "fontName": "Segoe UI", "fontSize": 8, "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": 152
        },
        {
          "type": "Line",
          "name": "", "left": 0, "top": 178, "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": 178
        },
        {
          "type": "Label",
          "name": "", "left": 0, "top": 188, "width": 555, "height": 16,
          "text": "2. Weekly Class Schedule (6 cols, 7 rows)",
          "dataField": "", "imageFile": "", "wordWrap": false,
          "fontName": "Segoe UI", "fontSize": 11, "fontBold": true, "fontItalic": false,
          "textColor": "#FF1E40AF", "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": 188
        },
        {
          "type": "Table",
          "name": "", "left": 0, "top": 210, "width": 555, "height": 126,
          "text": "", "dataField": "", "imageFile": "", "wordWrap": false,
          "fontName": "Segoe UI", "fontSize": 8, "fontBold": false, "fontItalic": false,
          "textColor": "#FF1E293B", "backColor": "#FFFFFFFF", "borderColor": "#FF64748B",
          "strokeColor": "#FF000000", "fillColor": "#FFEFF6FF",
          "horzAlign": "Center", "vertAlign": "Center",
          "borderWidth": 0.5, "strokeWidth": 1, "cornerX": 0, "cornerY": 0,
          "checked": false, "x2": 555, "y2": 210,
          "rows": 7, "cols": 6,
          "cells": [
            "Time", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday",
            "08:00", "Math", "Literature", "Science", "English", "P.E.",
            "09:00", "Physics", "Chemistry", "History", "Geography", "Music",
            "10:00", "Biology", "Math", "Literature", "Science", "Art",
            "11:00", "English", "History", "Math", "Physics", "Geography",
            "13:00", "Chemistry", "P.E.", "English", "Music", "Biology",
            "14:00", "Geography", "Art", "Chemistry", "Literature", "Math"
          ]
        },
        {
          "type": "Line",
          "name": "", "left": 0, "top": 350, "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": 350
        },
        {
          "type": "Label",
          "name": "", "left": 0, "top": 360, "width": 555, "height": 16,
          "text": "3. Technical Comparison Table (3 cols, 5 rows, blue fill)",
          "dataField": "", "imageFile": "", "wordWrap": false,
          "fontName": "Segoe UI", "fontSize": 11, "fontBold": true, "fontItalic": false,
          "textColor": "#FF1E40AF", "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": 360
        },
        {
          "type": "Table",
          "name": "", "left": 0, "top": 382, "width": 555, "height": 90,
          "text": "", "dataField": "", "imageFile": "", "wordWrap": false,
          "fontName": "Segoe UI", "fontSize": 9, "fontBold": false, "fontItalic": false,
          "textColor": "#FF1E293B", "backColor": "#FFFFFFFF", "borderColor": "#FF3B82F6",
          "strokeColor": "#FF000000", "fillColor": "#FFDBEAFE",
          "horzAlign": "Center", "vertAlign": "Center",
          "borderWidth": 0.5, "strokeWidth": 1, "cornerX": 0, "cornerY": 0,
          "checked": false, "x2": 555, "y2": 382,
          "rows": 5, "cols": 3,
          "cells": [
            "Feature", "FmxPdfTools", "Competitor",
            "Platform", "Android + Windows", "Windows",
            "Data Source", "FireDAC / JSON", "Limited",
            "Design Tool", "Integrated Designer", "Separate Product",
            "License", "Open Source", "Paid"
          ]
        },
        {
          "type": "Line",
          "name": "", "left": 0, "top": 486, "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": 486
        },
        {
          "type": "Label",
          "name": "", "left": 0, "top": 496, "width": 555, "height": 16,
          "text": "4. Data-Bound Table (dataField usage)",
          "dataField": "", "imageFile": "", "wordWrap": false,
          "fontName": "Segoe UI", "fontSize": 11, "fontBold": true, "fontItalic": false,
          "textColor": "#FF1E40AF", "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": 496
        },
        {
          "type": "Table",
          "name": "", "left": 0, "top": 518, "width": 555, "height": 72,
          "text": "", "dataField": "customers", "imageFile": "", "wordWrap": false,
          "fontName": "Segoe UI", "fontSize": 9, "fontBold": false, "fontItalic": false,
          "textColor": "#FF1E293B", "backColor": "#FFFFFFFF", "borderColor": "#FF6B7280",
          "strokeColor": "#FF6B7280", "fillColor": "#FFFFFFFF",
          "horzAlign": "Left", "vertAlign": "Center",
          "borderWidth": 0.5, "strokeWidth": 0.5, "cornerX": 0, "cornerY": 0,
          "checked": false, "x2": 555, "y2": 518,
          "rows": 4, "cols": 4,
          "headerRow": true,
          "headerFill": "#FF1E3A8A",
          "headerBold": true,
          "headerTextColor": "#FFFFFFFF",
          "colWidths": [3, 2, 1, 1],
          "colFields": ["CompanyName", "ContactName", "City", "Country"],
          "cells": [
            "Company", "Contact Person", "City", "Country"
          ]
        }
      ]
    },
    {
      "type": "PageFooter",
      "height": 22,
      "dataSource": "",
      "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": 6, "width": 300, "height": 14,
          "text": "FmxPdfTools - Table Element 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": 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
        }
      ]
    }
  ]
}
