class wsLinks {
public static function linksToExcel($links, $rulers, $pages = null) {
+ set_time_limit(0);
+
$cols = array(
'page' => __('Page de la publication'), 'left' => __('x'), 'top' => __('y'), 'width' => __('Largeur'), 'height' => __('Hauteur'), 'rot' => __('Rotation'),
'type' => __('Type'), 'to' => __('Destination'), 'target' => __('Cible'),
}
} else {
- if (is_bool($l[$id])) {
- $l[$id] = $l[$id] ? 1 : 0;
- }
- if ($id == 'numerotation') {
- if ($l[$id] == 'false') {
- $l[$id] = 'physical';
+ if (isset($l[$id])) {
+ if (is_bool($l[$id])) {
+ $l[$id] = $l[$id] ? 1 : 0;
+ }
+ if ($id == 'numerotation') {
+ if ($l[$id] == 'false') {
+ $l[$id] = 'physical';
+ }
}
+ $value = $l[$id];
+ } else {
+ $value = '';
}
- $value = $l[$id];
}
if ($value != '') {
$s->setCellValueByColumnAndRow($i, $j, $value);