
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 Help}',
			},
		{END embedded_grid_caption}
		{BEGIN embedded_page_title}
			{
				text: '{$jspagetitlelabel Help print}',
			},
		{END embedded_page_title}		
		{ 
			{BEGIN standalone_page}
			pageBreak: 'before',
			standAlonePage: true,
			{END standalone_page}
			{BEGIN embedded_grid}
			embeddedPage: true,
			{END embedded_grid}
			layout: {
				hLineWidth: function(i, node) { return 0; },
				vLineWidth: function(i, node) { 
					return 0; 
				},
				hLineColor: function(i, node) { return 'lightgray'; },
				vLineColor: function(i, node) { return 'lightgray'; },
			},
			table: {
				{BEGIN embedded_grid}
				embeddedPage: true,
				{END embedded_grid}
				
				tableForm: true,
				headerRows: 1 
								{BEGIN embedded_grid} -1 {END embedded_grid} ,

				widths: [
														"*",
															],
							
				body: [
				{BEGIN standalone_page}
					[
						{
							colSpan: 1,
							border:[false, false,false,false],
							stack: [

																										
{
	table: {
	
				
		location: 'top',
		
		
		widths: [
								"*", 
					 ],	
		
	
		body: [
				
				[
																{
	cellId: 'c1',
	col:0,
	row:0,
			
		
	//	static colspan/rowspan
		
			
			
	
			"text": [
		
				
			{"text":"","hidden":"{$item_hide_print_pdf}"},
				
		  ],
  "border": [ false, false, false, false ],
              "alignment": 'left',
     
      
      },

											],
						[
																{
	cellId: 'c2',
	col:0,
	row:0,
			
		
	//	static colspan/rowspan
		
			
			
	
			"stack": [
		
				
			{"text":"{$jspagetitlelabel Help 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":"{mlang_message PRINT_PAGES}","hidden":"{$item_hide_print_pages}","isHtml":true,"page_indicator":true},
				
		  ],
  "border": [ false, false, false, false ],
              "alignment": 'left',
     
      
      },

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

																	
	{BEGIN grid_row}
	[ 
	
	{BEGIN grid_record}
	{BEGIN grid_vrecord}
	
		{ 
			layout: 'vrecord',
			table: {
				widths: ['*'],
				body: [[
					{
						
						table: {
							tableForm: true,
							widths: [
																{BEGIN col_grid_0}
								"33%",
								{END col_grid_0}
																{BEGIN col_grid_1}
								"66%",
								{END col_grid_1}
															],
													heights: [
															{BEGIN row_grid_0}			
								"%",
								{END row_grid_0}
															{BEGIN row_grid_1}			
								"%",
								{END row_grid_1}
															{BEGIN row_grid_2}			
								"%",
								{END row_grid_2}
															{BEGIN row_grid_3}			
								"%",
								{END row_grid_3}
															{BEGIN row_grid_4}			
								"%",
								{END row_grid_4}
														],
													
							body: [
									
				{BEGIN row_grid_0}
				[
																{BEGIN cellblock_grid_cell_top}
{
	cellId: 'cell_top',
	col:0,
	row:0,
				style: 'headcell',
		
		
	//	dynamic colspan/rowspan

					{BEGIN colspan_grid_cell_top}
			colSpan: {$colspan_grid_cell_top},
			{END colspan_grid_cell_top}
		
		
	
			
	
			"text": [
		
				'',
	  ],
  "border": [ false, false, false, false ],
              "alignment": 'left',
     
      
      },

{END cellblock_grid_cell_top}
																		{ 
				cellId: 'cell_top',
				row:  0,
				col:  1,
				text: '',
				compensateColspan: true
			},
							],
				{END row_grid_0}
						{BEGIN row_grid_1}
				[
																{BEGIN cellblock_grid_cell_label}
{
	cellId: 'cell_label',
	col:0,
	row:0,
			fieldName: 'Id_help',
				style: 'bodycell',
		
		
	//	dynamic colspan/rowspan

		
		
	
			
	
			"text": [
		
				
			{"text":"{$jslabel Help Id_help }","hidden":"{$item_hide_simple_grid_field1}","bold":true},
				
		  ],
  "border": [ false, false, false, false ],
              "alignment": 'right',
     
      
      },

{END cellblock_grid_cell_label}
																							{BEGIN cellblock_grid_cell_field}
{
	cellId: 'cell_field',
	col:0,
	row:0,
			fieldName: 'Id_help',
				style: 'bodycell',
		
		
	//	dynamic colspan/rowspan

		
		
	
			
	
			"text": [
		
				
			{"text":{$Id_help_pdfvalue},"hidden":"{$item_hide_simple_grid_field}"},
				
		  ],
  "border": [ false, false, false, false ],
              "alignment": '{$Id_help_align}',
     
      
      },

{END cellblock_grid_cell_field}
											],
				{END row_grid_1}
						{BEGIN row_grid_2}
				[
																{BEGIN cellblock_grid_cell_label1}
{
	cellId: 'cell_label1',
	col:0,
	row:0,
			fieldName: 'Titolo',
				style: 'bodycell',
		
		
	//	dynamic colspan/rowspan

		
		
	
			
	
			"text": [
		
				
			{"text":"{$jslabel Help Titolo }","hidden":"{$item_hide_simple_grid_field4}","bold":true},
				
		  ],
  "border": [ false, false, false, false ],
              "alignment": 'right',
     
      
      },

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

		
		
	
			
	
			"text": [
		
				
			{"text":{$Titolo_pdfvalue},"hidden":"{$item_hide_simple_grid_field2}"},
				
		  ],
  "border": [ false, false, false, false ],
              "alignment": '{$Titolo_align}',
     
      
      },

{END cellblock_grid_cell_field1}
											],
				{END row_grid_2}
						{BEGIN row_grid_3}
				[
																{BEGIN cellblock_grid_cell_label2}
{
	cellId: 'cell_label2',
	col:0,
	row:0,
			fieldName: 'Descrizione',
				style: 'bodycell',
		
		
	//	dynamic colspan/rowspan

		
		
	
			
	
			"text": [
		
				
			{"text":"{$jslabel Help Descrizione }","hidden":"{$item_hide_simple_grid_field5}","bold":true},
				
		  ],
  "border": [ false, false, false, false ],
              "alignment": 'right',
     
      
      },

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

		
		
	
			
	
			"text": [
		
				
			{"text":{$Descrizione_pdfvalue},"hidden":"{$item_hide_simple_grid_field3}"},
				
		  ],
  "border": [ false, false, false, false ],
              "alignment": '{$Descrizione_align}',
     
      
      },

{END cellblock_grid_cell_field2}
											],
				{END row_grid_3}
						{BEGIN row_grid_4}
				[
																{BEGIN cellblock_grid_cell_dpreview}
{
	cellId: 'cell_dpreview',
	col:0,
	row:0,
				style: 'footcell',
		
		
	//	dynamic colspan/rowspan

					{BEGIN colspan_grid_cell_dpreview}
			colSpan: {$colspan_grid_cell_dpreview},
			{END colspan_grid_cell_dpreview}
		
		
	
			
	
			"stack": [
		
				
			 {BEGIN details_help2}
			{$displayDetailTable_help2 }
		{END details_help2},
				
		  ],
  "border": [ false, false, false, false ],
              "alignment": 'left',
     
      
      },

{END cellblock_grid_cell_dpreview}
																		{ 
				cellId: 'cell_dpreview',
				row:  0,
				col:  1,
				text: '',
				compensateColspan: true
			},
							],
				{END row_grid_4}
		
							]
						}
					}
				]]
			}
		},
	{END grid_vrecord}
	{END grid_record}
	]
,
	{END grid_row}
	
									]
			
			}
		},
		{END body}
	],
	footer: [
								
{
	table: {
	
				
		location: 'below-grid',
		
		
		widths: [
								"*", 
					 ],	
		
	
		body: [
				
				[
																{
	cellId: 'c1',
	col:0,
	row:0,
			
		
	//	static colspan/rowspan
		
			
			
	
			"text": [
		
				'',
	  ],
  "border": [ false, false, false, false ],
              "alignment": 'left',
     
      
      },

											],
		
		]
	}
}
			],
	};


pdfFonts = {$pdfFonts};
