You are on page 1of 5

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 usuarios
add}","hidden":"{$item_hide_add_header}","fontSize":30},
],
"border": [ false, false, false, false ],
"alignment": 'left',
},

],
]
}
}
,

{
table: {

location: 'above-grid',

widths: [
"*",
],

body: [

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

// static colspan/rowspan

"text": [

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

],
"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_edit_field}","stack":
[{"text":"{$jslabel usuarios identificacion }","bold":true},{"text":
{$identificacion_pdfvalue}}],"margin":[0,0,0,15]},

{"hidden":"{$item_hide_integrated_edit_field1}","stack":
[{"text":"{$jslabel usuarios nombresusr }","bold":true},{"text":
{$nombresusr_pdfvalue}}],"margin":[0,0,0,15]},

{"hidden":"{$item_hide_integrated_edit_field2}","stack":
[{"text":"{$jslabel usuarios apellidosusr }","bold":true},{"text":
{$apellidosusr_pdfvalue}}],"margin":[0,0,0,15]},

{"hidden":"{$item_hide_integrated_edit_field3}","stack":
[{"text":"{$jslabel usuarios contrasena }","bold":true},{"text":
{$contrasena_pdfvalue}}],"margin":[0,0,0,15]},

{"hidden":"{$item_hide_integrated_edit_field4}","stack":
[{"text":"{$jslabel usuarios nivelusr }","bold":true},{"text":
{$nivelusr_pdfvalue}}],"margin":[0,0,0,15]},

],
"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":"","hidden":"{$item_hide_add_back_list}"},

{"text":"","hidden":"{$item_hide_add_cancel}"},
],
"border": [ false, false, false, false ],
"alignment": 'left',
},

],
]
}
}
,
]
}

You might also like