Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 4

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": [

{
table: {

location: 'top',

widths: [
"*",
],

body: [

[
{
cellId: 'c1',
col:0,
row:0,
style: 'cell',

// static colspan/rowspan

"text": [

{"text":"{$jspagetitlelabel tiposcontratos
search}","hidden":"{$item_hide_search_header}","fontSize":30},
],
"border": [ false, false, false, false ],
"alignment": 'left',
},

],
]
}
}
,

''
,

{
table: {

tableForm: true,

location: 'grid',

widths: [
{BEGIN col_grid_0}
"*",
{END col_grid_0}
],

heights: [
{BEGIN row_grid_0}

"%",
{END row_grid_0}

],

body: [

{BEGIN row_grid_0}
[
{BEGIN
cellblock_grid_c3}
{
cellId: 'c3',
col:0,
row:0,
style: 'cell',

// dynamic colspan/rowspan
"stack": [

{"hidden":"{$item_hide_integrated_search_field}","text":
{$idtipocontrato_pdfvalue}},

{"hidden":"{$item_hide_integrated_search_field1}","text":
{$tipocontrato_pdfvalue}},

],
"border": [ false, false, false, false ],
"alignment": 'left',
},

{END cellblock_grid_c3}
],
{END row_grid_0}
]
}
}
,

{
table: {

location: 'below-grid',

widths: [
"*",
],

body: [

[
{
cellId: 'c1',
col:0,
row:0,
style: 'cell',

// static colspan/rowspan

"text": [

{"text":""},

{"text":""},
{"text":"","hidden":"{$item_hide_search_back_list}"},

{"text":"","hidden":"{$item_hide_search_cancel}"},

],
"border": [ false, false, false, false ],
"alignment": 'left',
},

],
]
}
}
,
]
}

You might also like