|
@@ 1105-1111 (lines=7) @@
|
| 1102 |
|
} |
| 1103 |
|
|
| 1104 |
|
// Look for numbers, set their value if needed |
| 1105 |
|
if($this->numeric_fields || count($names)) |
| 1106 |
|
{ |
| 1107 |
|
foreach((array)$this->numeric_fields as $fieldname) { |
| 1108 |
|
$names[] = preg_quote($fieldname,'/'); |
| 1109 |
|
} |
| 1110 |
|
$this->format_spreadsheet_numbers($content, $names, $mimetype.$mso_application_progid); |
| 1111 |
|
} |
| 1112 |
|
|
| 1113 |
|
// Look for dates, set their value if needed |
| 1114 |
|
if($this->date_fields || count($names)) |
|
@@ 1114-1121 (lines=8) @@
|
| 1111 |
|
} |
| 1112 |
|
|
| 1113 |
|
// Look for dates, set their value if needed |
| 1114 |
|
if($this->date_fields || count($names)) |
| 1115 |
|
{ |
| 1116 |
|
$names = array(); |
| 1117 |
|
foreach((array)$this->date_fields as $fieldname) { |
| 1118 |
|
$names[] = $fieldname; |
| 1119 |
|
} |
| 1120 |
|
$this->format_spreadsheet_dates($content, $names, $replacements, $mimetype.$mso_application_progid); |
| 1121 |
|
} |
| 1122 |
|
|
| 1123 |
|
// replace CRLF with linebreak tag of given type |
| 1124 |
|
switch($mimetype.$mso_application_progid) |