<?php
$CFG['DTM']['specialObjectsDefinitions']['FlightItinerary']=[
		# 'maxInstances'=>1,
		'forceBlock'=>true,		// force this element to be rendered as a block element. FOP seems to have a problem with rendering inline absolute tables...
		'image'=>'',			// force this element to be rendered as a block element. FOP seems to have a problem with rendering inline absolute tables...
		'specialObject'=> [ // fieldset code
				'hidden'=>false,			// hide the content of this div by default(can be toggle by the user if "displayFieldset" is true)
				'displayFieldset'=>true,	// display the fieldset( the border and the toggle button)
				'attributes'=> [ // fields
					'setting_fontFamily'=>	['type'=>'fontFamily', 'default'=>"Times"],
					'setting_fontSize'=>	['type'=>'fontSize', 'default'=>"12"],
					'setting_lineColor'=>	['type'=>'color',	'default'=>'#cd2323'],
					'setting_Wmm' =>		['type'=>'int', 'default'=>"180"],
					'setting_Ymm' =>		['type'=>'int', 'default'=>'']
				],
		],

		'fieldset_columns'=> [ // fieldset code
			'hidden' => false,			// hide the content of this div by default(can be toggle by the user if "displayFieldset" is true)
			'displayFieldset' => true,	// display the fieldset( the border and the toggle button)
			'attributes'=> [ // fields

				'separator1'=>							['type'=>'separator','text'=>'Block text'],
				'column_column1Font'=>					['type'=>'fontFamily', 'default'=>"Times"],
				'column_column1TextStyle'=>				['type'=>'textStyle', 'default'=>""],
				'column_column1FontSize'=>				['type'=>'fontSize', 'default'=>"12"],
				'column_column1TextColor'=>				['type'=>'color', 'default'=>"#000000"],
				'column_column1BackgroundColor'=> 		['type'=>'color', 'default'=>""],
				'column_column1Width'=>					['type'=>'int',	'validations'=> ['min'=>1,'max'=>297],	'default'=>"105"],
				'column_column1Text'=>					['type'=>'textarea',	'default'=>''],
				'column_column1Alignment'=>				['type'=>'alignment','default'=>"left"],
				'column_column1InternalMarginLeft'=>	['type'=>'int','default'=>"0"],
				'column_column1InternalMarginRight'=>	['type'=>'int','default'=>"0"],
			]
		]

];

