
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 Graf_mensal}',
			},
		{END embedded_grid_caption}
		{BEGIN embedded_page_title}
			{
				text: '{$jspagetitlelabel Graf_mensal print2}',
			},
		{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.1; },
				vLineWidth: function(i, node) { 
					return 0.1; 
				},
				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 row_grid_0}
							+1
						{END row_grid_0}
													{BEGIN embedded_grid} -1 {END embedded_grid} ,

				widths: [
														{BEGIN col_grid_0}
					90,
					{END col_grid_0}
										{BEGIN col_grid_1}
					70,
					{END col_grid_1}
															],
											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}
																								{BEGIN row_grid_2}
							"%",
							{END row_grid_2}
																								{BEGIN row_grid_3}
							"%",
							{END row_grid_3}
																								{BEGIN row_grid_4}
							"%",
							{END row_grid_4}
																								{BEGIN row_grid_5}
							"%",
							{END row_grid_5}
													{END grid_row}
																								{BEGIN row_grid_6}
							"%",
							{END row_grid_6}
															],
							
				body: [
				{BEGIN standalone_page}
					[
						{
							colSpan: {$formwidth_grid},
							border:[false, false,false,false],
							stack: [

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

											],
						[
																{
	cellId: 'c2',
	col:0,
	row:0,
			
		
	//	static colspan/rowspan
		
			
			
	
			"stack": [
		
				
			{"text":"{$printtabheader_text}","hidden":"{$item_hide_print_subheader}"},
				
		  ],
  "border": [ false, false, false, false ],
              "alignment": 'left',
     
      
      },

											],
						[
																{
	cellId: 'c4',
	col:0,
	row:0,
			
		
	//	static colspan/rowspan
		
			
			
	
			"stack": [
		
				'',
	  ],
  "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 row_grid_0}
				[
																{BEGIN cellblock_grid_headcell_field2}
{
	cellId: 'headcell_field2',
	col:0,
	row:0,
				style: 'headcell',
		
		
	//	dynamic colspan/rowspan

					{BEGIN colspan_grid_headcell_field2}
			colSpan: {$colspan_grid_headcell_field2},
			{END colspan_grid_headcell_field2}
		
		
	
			
	
			"text": [
		
				
			{"text":"PLI print2","hidden":"{$item_hide_text6}","isHtml":true},
				
		  ],
  "border": [true,true,true,true],
      	"borderColor":  ["#000000","#000000","gray","gray"],
    fillColor: "" ,  color: '#ffffff',      "alignment": 'left',
     
      
         fontSize: 16,
   },

{END cellblock_grid_headcell_field2}
																		{ 
				cellId: 'headcell_field2',
				row:  0,
				col:  1,
				text: '',
				compensateColspan: true
			},
							],
				{END row_grid_0}
		
			
		{BEGIN grid_row}
	{BEGIN grid_record}
				
				{BEGIN row_grid_1}
				[
																{BEGIN cellblock_grid_cell_field2}
{
	cellId: 'cell_field2',
	col:0,
	row:0,
				style: 'bodycell',
		
		
	//	dynamic colspan/rowspan

		
		
	
			// [left, top, right, bottom]
	margin: [ 10, 0, 0, 0 ],
		
	
			"text": [
		
				'',
	  ],
  "border": [true,true,true,true],
      	"borderColor":  ["#000000","gray","gray","gray"],
    fillColor: '#0a0943',  color: '#ffffff',      "alignment": 'left',
     
      
         fontSize: 16,
   },

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

		
		
	
			
	
			"text": [
		
				'',
	  ],
  "border": [ true, true, true, true ],
      fillColor: '#0a0943',  color: '#ffffff',      "alignment": 'center',
     
      
         fontSize: 16,
   },

{END cellblock_grid_cell_field3}
											],
				{END row_grid_1}
						{BEGIN row_grid_2}
				[
																{BEGIN cellblock_grid_cell_field17}
{
	cellId: 'cell_field17',
	col:0,
	row:0,
				style: 'bodycell',
		
		
	//	dynamic colspan/rowspan

		
		
	
			
	
			"text": [
		
				'',
	  ],
  "border": [true,true,true,true],
      	"borderColor":  ["#000000","gray","gray","gray"],
            "alignment": 'left',
     
      
         fontSize: 16,
   },

{END cellblock_grid_cell_field17}
																							{BEGIN cellblock_grid_cell_field18}
{
	cellId: 'cell_field18',
	col:0,
	row:0,
				style: 'bodycell',
		
		
	//	dynamic colspan/rowspan

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

{END cellblock_grid_cell_field18}
											],
				{END row_grid_2}
						{BEGIN row_grid_3}
				[
																{BEGIN cellblock_grid_cell_field}
{
	cellId: 'cell_field',
	col:0,
	row:0,
				style: 'bodycell',
		
		
	//	dynamic colspan/rowspan

		
		
	
			
	
			"text": [
		
				
			{"text":"Size in cm","hidden":"{$item_hide_text2}","fontSize":20,"isHtml":true},
				
				
			{"text":"=","hidden":"{$item_hide_text3}","fontSize":20,"isHtml":true},
				
		  ],
  "border": [true,true,true,true],
      	"borderColor":  ["#000000","gray","gray","gray"],
            "alignment": 'left',
     
      
         fontSize: 16,
   },

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

		
		
	
			
	
			"text": [
		
				
			{"text":"x","hidden":"{$item_hide_text}","fontSize":20,"isHtml":true},
				
				
			{"text":"x","hidden":"{$item_hide_text1}","fontSize":20,"isHtml":true},
				
		  ],
  "border": [ true, true, true, true ],
              "alignment": 'left',
     
      
         fontSize: 16,
   },

{END cellblock_grid_cell_field1}
											],
				{END row_grid_3}
						{BEGIN row_grid_4}
				[
																{BEGIN cellblock_grid_cell_field31}
{
	cellId: 'cell_field31',
	col:0,
	row:0,
				style: 'bodycell',
		
		
	//	dynamic colspan/rowspan

		
		
	
			
	
			"text": [
		
				'',
	  ],
  "border": [true,true,true,true],
      	"borderColor":  ["#000000","gray","gray","#000000"],
            "alignment": 'left',
     
      
         fontSize: 16,
   },

{END cellblock_grid_cell_field31}
																							{BEGIN cellblock_grid_cell_field32}
{
	cellId: 'cell_field32',
	col:0,
	row:0,
				style: 'bodycell',
		
		
	//	dynamic colspan/rowspan

		
		
	
			
	
			"text": [
		
				'',
	  ],
  "border": [true,true,true,true],
      	"borderColor":  ["gray","gray","gray","#000000"],
            "alignment": 'left',
     
      
         fontSize: 16,
   },

{END cellblock_grid_cell_field32}
											],
				{END row_grid_4}
						{BEGIN row_grid_5}
				[
																{BEGIN cellblock_grid_cell_field33}
{
	cellId: 'cell_field33',
	col:0,
	row:0,
				style: 'bodycell',
		
		
	//	dynamic colspan/rowspan

					{BEGIN colspan_grid_cell_field33}
			colSpan: {$colspan_grid_cell_field33},
			{END colspan_grid_cell_field33}
		
		
	
			
	
			"text": [
		
				
			{"text":"a","color":"#ffffff","hidden":"{$item_hide_text4}","fontSize":5,"isHtml":true},
				
		  ],
  "border": [ true, true, true, true ],
              "alignment": 'left',
     
      
      },

{END cellblock_grid_cell_field33}
																		{ 
				cellId: 'cell_field33',
				row:  0,
				col:  1,
				text: '',
				compensateColspan: true
			},
							],
				{END row_grid_5}
		
		{END grid_record}
	{END grid_row}
			
					
				{BEGIN row_grid_6}
				[
																{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_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}
											],
				{END row_grid_6}
		
				
									]
			
			}
		},
		{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};
