bcgov/document-generation-showcase

View on GitHub
app/frontend/src/assets/exampleTable.json

Summary

Maintainability
Test Coverage
[
  {
    "contexts": {
      "color": "teal",
      "link": "./examples/contexts_attestation.json"
    },
    "description": "Sample HTML (must start with <!DOCTYPE html>)",
    "template": {
      "color": "blue",
      "icon": "mdi-code-tags",
      "link": "./examples/template_attestation.html"
    },
    "type": "HTML Document"
  },
  {
    "contexts": {
      "color": "teal",
      "link": "./examples/contexts_carbone_2.json"
    },
    "description": "Carbone 2 Features",
    "template": {
      "color": "blue",
      "icon": "mdi-file-word",
      "link": "./examples/template_carbone_2.docx"
    },
    "type": "Microsoft Word Document"
  },
  {
    "contexts": {
      "color": "teal",
      "link": "./examples/contexts_header_footer_watermark.json"
    },
    "description": "Header/Footer/Watermark",
    "template": {
      "color": "blue",
      "icon": "mdi-file-word",
      "link": "./examples/template_header_footer_watermark.docx"
    },
    "type": "Microsoft Word Document"
  },
  {
    "contexts": {
      "color": "teal",
      "link": "./examples/contexts_hello_world.json"
    },
    "description": "Hello World",
    "template": {
      "color": "grey",
      "icon": "mdi-file-document",
      "link": "./examples/template_hello_world.txt"
    },
    "type": "Text Document"
  },
  {
    "contexts": {
      "color": "teal",
      "link": "./examples/contexts_dgrsc.json"
    },
    "description": "Information Sharing Agreement",
    "template": {
      "color": "blue",
      "icon": "mdi-file-word",
      "link": "./examples/template_information_sharing_agreement.docx"
    },
    "type": "Microsoft Word Document"
  },
  {
    "contexts": {
      "color": "teal",
      "link": "./examples/contexts_dgrsc.json"
    },
    "description": "Information Sharing Agreement",
    "template": {
      "color": "brown",
      "icon": "mdi-file-document",
      "link": "./examples/template_information_sharing_agreement.odt"
    },
    "type": "OpenDocument Text"
  },
  {
    "contexts": {
      "color": "teal",
      "link": "./examples/contexts_dgrsc.json"
    },
    "description": "Sample PowerPoint Presentation",
    "template": {
      "color": "orange",
      "icon": "mdi-file-powerpoint",
      "link": "./examples/template_powerpoint.pptx"
    },
    "type": "Microsoft PowerPoint Presentation"
  },
  {
    "contexts": {
      "color": "teal",
      "link": "./examples/contexts_movies.json"
    },
    "description": "Sample Movie Spreadsheet",
    "template": {
      "color": "green",
      "icon": "mdi-file-excel",
      "link": "./examples/template_movies.xlsx"
    },
    "type": "Microsoft Excel Worksheet"
  },
  {
    "contexts": {
      "color": "teal",
      "link": "./examples/contexts_mx_permit.json"
    },
    "description": "Mineral Exploration Reclamation Permit",
    "template": {
      "color": "blue",
      "icon": "mdi-file-word",
      "link": "./examples/mx_permit_{d.permitNumber}.docx"
    },
    "type": "Microsoft Word Document"
  },
  {
    "contexts": {
      "color": "teal",
      "link": "./examples/contexts_table_stripes.json"
    },
    "description": "Sample Word Document with Striped Table",
    "template": {
      "color": "blue",
      "icon": "mdi-file-word",
      "link": "./examples/template_table_stripes.docx"
    },
    "type": "Microsoft Word Document"
  }
]