
pdfDocument = {
{BEGIN backgroundImage}
	background: {
		image: {$backgroundImage},
		{BEGIN bgWidth}
		imgWidth: {$bgWidth},
		imgHeight: {$bgHeight},
		{END bgWidth}
	},
{END backgroundImage}
	styles: {
				bodycell: {
			fontSize:12,
		},
		headcell: {
			fontSize:12,
			bold: true
		},

	
			},
	defaultStyle: {
		fontSize: 14,
	},
	"content": [
		{BEGIN body}
		{BEGIN embedded_grid_caption}
			{
				text: '{$jscaption Facilitated_areas}',
			},
		{END embedded_grid_caption}
		{BEGIN embedded_page_title}
			{
				text: '{$jspagetitlelabel Facilitated_areas print}',
			},
		{END embedded_page_title}		
		{ 
			{BEGIN standalone_page}
			pageBreak: 'before',
			{END standalone_page}
			{BEGIN embedded_grid}
			embeddedPage: true,
			{END embedded_grid}
			layout: {
				hLineWidth: function(i, node) { return 0.1; },
				vLineWidth: function(i, node) { 
					if ( node.table.embeddedPage ) {
						return (i === 0 || i === node.table.widths.length) ? 0.1 : 0;
					} else  {
						return 0.1; 
					}
				},
				hLineColor: function(i, node) { return 'gray'; },
				vLineColor: function(i, node) { return 'gray'; },
			},
			table: {
				{BEGIN embedded_grid}
				embeddedPage: true,
				{END embedded_grid}
				
				tableForm: true,
				headerRows: 1 
									{BEGIN row_grid_0}
						+1
					{END row_grid_0}
								{BEGIN embedded_grid} -1 {END embedded_grid} ,

				widths: [
														{BEGIN col_grid_0}
					"%",
					{END col_grid_0}
										{BEGIN col_grid_1}
					"%",
					{END col_grid_1}
										{BEGIN col_grid_2}
					"%",
					{END col_grid_2}
										{BEGIN col_grid_3}
					"%",
					{END col_grid_3}
										{BEGIN col_grid_4}
					"%",
					{END col_grid_4}
															],
											heights: [ // first height for header part
					"%",
																		{BEGIN row_grid_0}
							"%",
							{END row_grid_0}
																							 	{BEGIN grid_row}
													{BEGIN row_grid_1}
							"%",
							{END row_grid_1}
													{END grid_row}
																								{BEGIN row_grid_2}
							"%",
							{END row_grid_2}
															],
							
				body: [
				{BEGIN standalone_page}
					[
						{
							colSpan: {$formwidth_grid},
							border:[false, false,false,false],
							stack: [

																										
{
	table: {
	
				
		location: 'top',
		
		
		widths: [
								"*", 
					 ],	
		
	
		body: [
				
				[
																{
	cellId: 'c2',
	col:0,
	row:0,
			
		
	//	static colspan/rowspan
		
			
	
	
			"stack": [
		
				
			{"text":"{$jspagetitlelabel Facilitated_areas print}","hidden":"{$item_hide_print_header}","fontSize":30},
				
				
			{"text":"{$printtabheader_text}","hidden":"{$item_hide_print_subheader}"},
				
		  ],
  "border": [ false, false, false, false ],
              "alignment": 'left',
  },

											],
		
		]
	}
}
,
								
																										
{
	table: {
	
				
		location: 'above-grid',
		
		
		widths: [
								"*", 
					 ],	
		
	
		body: [
				
				[
																{
	cellId: 'c1',
	col:0,
	row:0,
			
		
	//	static colspan/rowspan
		
			
	
	
			"text": [
		
				
			{"text":"Page %current% of %total%","hidden":"{$item_hide_print_pages}","isHtml":true,"page_indicator":true},
				
		  ],
  "border": [ false, false, false, false ],
              "alignment": 'left',
  },

											],
		
		]
	}
}
,
															]
						},
					],
				{END standalone_page}

																	

				
				{BEGIN row_grid_0}
				[
																{BEGIN cellblock_grid_headcell_field}
{
	cellId: 'headcell_field',
	col:0,
	row:0,
			fieldName: 'Facilitated_area',
				style: 'headcell',
		
		
	//	dynamic colspan/rowspan

		
						
	
	
	
			"text": [
		
				
			{"text":"{$jslabel Facilitated_areas Facilitated_area }","hidden":"{$item_hide_simple_grid_field5}","bold":true},
				
		  ],
  "border": [ true, true, true, true ],
              "alignment": '{$Facilitated_area_align}',
  },

{END cellblock_grid_headcell_field}
																							{BEGIN cellblock_grid_headcell_field1}
{
	cellId: 'headcell_field1',
	col:0,
	row:0,
			fieldName: 'Faciltator_s_',
				style: 'headcell',
		
		
	//	dynamic colspan/rowspan

		
						
	
	
	
			"text": [
		
				
			{"text":"{$jslabel Facilitated_areas Faciltator_s_ }","hidden":"{$item_hide_simple_grid_field6}","bold":true},
				
		  ],
  "border": [ true, true, true, true ],
              "alignment": '{$Faciltator_s__align}',
  },

{END cellblock_grid_headcell_field1}
																							{BEGIN cellblock_grid_headcell_field2}
{
	cellId: 'headcell_field2',
	col:0,
	row:0,
			fieldName: 'type',
				style: 'headcell',
		
		
	//	dynamic colspan/rowspan

		
						
	
	
	
			"text": [
		
				
			{"text":"{$jslabel Facilitated_areas type }","hidden":"{$item_hide_simple_grid_field7}","bold":true},
				
		  ],
  "border": [ true, true, true, true ],
              "alignment": '{$type_align}',
  },

{END cellblock_grid_headcell_field2}
																							{BEGIN cellblock_grid_headcell_field3}
{
	cellId: 'headcell_field3',
	col:0,
	row:0,
			fieldName: 'notes',
				style: 'headcell',
		
		
	//	dynamic colspan/rowspan

		
						
	
	
	
			"text": [
		
				
			{"text":"{$jslabel Facilitated_areas notes }","hidden":"{$item_hide_simple_grid_field8}","bold":true},
				
		  ],
  "border": [ true, true, true, true ],
              "alignment": '{$notes_align}',
  },

{END cellblock_grid_headcell_field3}
																							{BEGIN cellblock_grid_headcell_field4}
{
	cellId: 'headcell_field4',
	col:0,
	row:0,
			fieldName: 'date_updated',
				style: 'headcell',
		
		
	//	dynamic colspan/rowspan

		
						
	
	
	
			"text": [
		
				
			{"text":"{$jslabel Facilitated_areas date_updated }","hidden":"{$item_hide_simple_grid_field9}","bold":true},
				
		  ],
  "border": [ true, true, true, true ],
              "alignment": '{$date_updated_align}',
  },

{END cellblock_grid_headcell_field4}
											],
				{END row_grid_0}
		
			
		{BEGIN grid_row}
	{BEGIN grid_record}
				
				{BEGIN row_grid_1}
				[
																{BEGIN cellblock_grid_cell_field}
{
	cellId: 'cell_field',
	col:0,
	row:0,
			fieldName: 'Facilitated_area',
				style: 'bodycell',
		
		
	//	dynamic colspan/rowspan

		
						
	
	
	
			"text": [
		
				
			{"text":{$Facilitated_area_pdfvalue},"hidden":"{$item_hide_simple_grid_field}"},
				
		  ],
  "border": [ true, true, true, true ],
              "alignment": '{$Facilitated_area_align}',
  },

{END cellblock_grid_cell_field}
																							{BEGIN cellblock_grid_cell_field1}
{
	cellId: 'cell_field1',
	col:0,
	row:0,
			fieldName: 'Faciltator_s_',
				style: 'bodycell',
		
		
	//	dynamic colspan/rowspan

		
						
	
	
	
			"text": [
		
				
			{"text":{$Faciltator_s__pdfvalue},"hidden":"{$item_hide_simple_grid_field1}"},
				
		  ],
  "border": [ true, true, true, true ],
              "alignment": '{$Faciltator_s__align}',
  },

{END cellblock_grid_cell_field1}
																							{BEGIN cellblock_grid_cell_field2}
{
	cellId: 'cell_field2',
	col:0,
	row:0,
			fieldName: 'type',
				style: 'bodycell',
		
		
	//	dynamic colspan/rowspan

		
						
	
	
	
			"text": [
		
				
			{"text":{$type_pdfvalue},"hidden":"{$item_hide_simple_grid_field2}"},
				
		  ],
  "border": [ true, true, true, true ],
              "alignment": '{$type_align}',
  },

{END cellblock_grid_cell_field2}
																							{BEGIN cellblock_grid_cell_field3}
{
	cellId: 'cell_field3',
	col:0,
	row:0,
			fieldName: 'notes',
				style: 'bodycell',
		
		
	//	dynamic colspan/rowspan

		
						
	
	
	
			"text": [
		
				
			{"text":{$notes_pdfvalue},"hidden":"{$item_hide_simple_grid_field3}"},
				
		  ],
  "border": [ true, true, true, true ],
              "alignment": '{$notes_align}',
  },

{END cellblock_grid_cell_field3}
																							{BEGIN cellblock_grid_cell_field4}
{
	cellId: 'cell_field4',
	col:0,
	row:0,
			fieldName: 'date_updated',
				style: 'bodycell',
		
		
	//	dynamic colspan/rowspan

		
						
	
	
	
			"text": [
		
				
			{"text":{$date_updated_pdfvalue},"hidden":"{$item_hide_simple_grid_field4}"},
				
		  ],
  "border": [ true, true, true, true ],
              "alignment": '{$date_updated_align}',
  },

{END cellblock_grid_cell_field4}
											],
				{END row_grid_1}
		
		{END grid_record}
	{END grid_row}
			
					
				{BEGIN row_grid_2}
				[
																{BEGIN cellblock_grid_footcell_field}
{
	cellId: 'footcell_field',
	col:0,
	row:0,
				style: 'footcell',
		
		
	//	dynamic colspan/rowspan

		
						
	
	
	
			"text": [
		
				'',
	  ],
  "border": [ true, true, true, true ],
              "alignment": 'left',
  },

{END cellblock_grid_footcell_field}
																							{BEGIN cellblock_grid_footcell_field1}
{
	cellId: 'footcell_field1',
	col:0,
	row:0,
				style: 'footcell',
		
		
	//	dynamic colspan/rowspan

		
						
	
	
	
			"text": [
		
				'',
	  ],
  "border": [ true, true, true, true ],
              "alignment": 'left',
  },

{END cellblock_grid_footcell_field1}
																							{BEGIN cellblock_grid_footcell_field2}
{
	cellId: 'footcell_field2',
	col:0,
	row:0,
				style: 'footcell',
		
		
	//	dynamic colspan/rowspan

		
						
	
	
	
			"text": [
		
				'',
	  ],
  "border": [ true, true, true, true ],
              "alignment": 'left',
  },

{END cellblock_grid_footcell_field2}
																							{BEGIN cellblock_grid_footcell_field3}
{
	cellId: 'footcell_field3',
	col:0,
	row:0,
				style: 'footcell',
		
		
	//	dynamic colspan/rowspan

		
						
	
	
	
			"text": [
		
				'',
	  ],
  "border": [ true, true, true, true ],
              "alignment": 'left',
  },

{END cellblock_grid_footcell_field3}
																							{BEGIN cellblock_grid_footcell_field4}
{
	cellId: 'footcell_field4',
	col:0,
	row:0,
				style: 'footcell',
		
		
	//	dynamic colspan/rowspan

		
						
	
	
	
			"text": [
		
				'',
	  ],
  "border": [ true, true, true, true ],
              "alignment": 'left',
  },

{END cellblock_grid_footcell_field4}
											],
				{END row_grid_2}
		
				
									]
			
			}
		},
		{END body}
	],
	footer: [
								
''
			],
	}
