@@ 49-53 (lines=5) @@ | ||
46 | { |
|
47 | // Create XML writer |
|
48 | $objWriter = null; |
|
49 | if ($this->getParentWriter()->getUseDiskCaching()) { |
|
50 | $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory()); |
|
51 | } else { |
|
52 | $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY); |
|
53 | } |
|
54 | // Ensure that data series values are up-to-date before we save |
|
55 | $pChart->refresh(); |
|
56 |
@@ 49-53 (lines=5) @@ | ||
46 | { |
|
47 | // Create XML writer |
|
48 | $objWriter = null; |
|
49 | if ($this->getParentWriter()->getUseDiskCaching()) { |
|
50 | $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory()); |
|
51 | } else { |
|
52 | $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY); |
|
53 | } |
|
54 | ||
55 | // XML header |
|
56 | $objWriter->startDocument('1.0','UTF-8','yes'); |
|
@@ 129-133 (lines=5) @@ | ||
126 | { |
|
127 | // Create XML writer |
|
128 | $objWriter = null; |
|
129 | if ($this->getParentWriter()->getUseDiskCaching()) { |
|
130 | $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory()); |
|
131 | } else { |
|
132 | $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY); |
|
133 | } |
|
134 | ||
135 | // XML header |
|
136 | $objWriter->startDocument('1.0','UTF-8','yes'); |
@@ 50-54 (lines=5) @@ | ||
47 | { |
|
48 | // Create XML writer |
|
49 | $objWriter = null; |
|
50 | if ($this->getParentWriter()->getUseDiskCaching()) { |
|
51 | $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory()); |
|
52 | } else { |
|
53 | $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY); |
|
54 | } |
|
55 | ||
56 | // XML header |
|
57 | $objWriter->startDocument('1.0','UTF-8','yes'); |
@@ 49-53 (lines=5) @@ | ||
46 | { |
|
47 | // Create XML writer |
|
48 | $objWriter = null; |
|
49 | if ($this->getParentWriter()->getUseDiskCaching()) { |
|
50 | $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory()); |
|
51 | } else { |
|
52 | $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY); |
|
53 | } |
|
54 | ||
55 | // XML header |
|
56 | $objWriter->startDocument('1.0','UTF-8','yes'); |
|
@@ 146-150 (lines=5) @@ | ||
143 | { |
|
144 | // Create XML writer |
|
145 | $objWriter = null; |
|
146 | if ($this->getParentWriter()->getUseDiskCaching()) { |
|
147 | $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory()); |
|
148 | } else { |
|
149 | $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY); |
|
150 | } |
|
151 | ||
152 | // XML header |
|
153 | $objWriter->startDocument('1.0','UTF-8','yes'); |
|
@@ 218-222 (lines=5) @@ | ||
215 | ||
216 | // Create XML writer |
|
217 | $objWriter = null; |
|
218 | if ($this->getParentWriter()->getUseDiskCaching()) { |
|
219 | $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory()); |
|
220 | } else { |
|
221 | $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY); |
|
222 | } |
|
223 | ||
224 | // XML header |
|
225 | $objWriter->startDocument('1.0','UTF-8','yes'); |
@@ 51-55 (lines=5) @@ | ||
48 | { |
|
49 | // Create XML writer |
|
50 | $objWriter = null; |
|
51 | if ($this->getParentWriter()->getUseDiskCaching()) { |
|
52 | $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory()); |
|
53 | } else { |
|
54 | $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY); |
|
55 | } |
|
56 | ||
57 | // XML header |
|
58 | $objWriter->startDocument('1.0','UTF-8','yes'); |
|
@@ 393-397 (lines=5) @@ | ||
390 | { |
|
391 | // Create XML writer |
|
392 | $objWriter = null; |
|
393 | if ($this->getParentWriter()->getUseDiskCaching()) { |
|
394 | $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory()); |
|
395 | } else { |
|
396 | $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY); |
|
397 | } |
|
398 | ||
399 | // XML header |
|
400 | $objWriter->startDocument('1.0','UTF-8','yes'); |
@@ 49-53 (lines=5) @@ | ||
46 | { |
|
47 | // Create XML writer |
|
48 | $objWriter = null; |
|
49 | if ($this->getParentWriter()->getUseDiskCaching()) { |
|
50 | $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory()); |
|
51 | } else { |
|
52 | $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY); |
|
53 | } |
|
54 | ||
55 | // XML header |
|
56 | $objWriter->startDocument('1.0','UTF-8','yes'); |
|
@@ 115-119 (lines=5) @@ | ||
112 | { |
|
113 | // Create XML writer |
|
114 | $objWriter = null; |
|
115 | if ($this->getParentWriter()->getUseDiskCaching()) { |
|
116 | $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory()); |
|
117 | } else { |
|
118 | $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY); |
|
119 | } |
|
120 | ||
121 | // XML header |
|
122 | $objWriter->startDocument('1.0','UTF-8','yes'); |
|
@@ 186-190 (lines=5) @@ | ||
183 | { |
|
184 | // Create XML writer |
|
185 | $objWriter = null; |
|
186 | if ($this->getParentWriter()->getUseDiskCaching()) { |
|
187 | $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory()); |
|
188 | } else { |
|
189 | $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY); |
|
190 | } |
|
191 | ||
192 | // XML header |
|
193 | $objWriter->startDocument('1.0','UTF-8','yes'); |
|
@@ 295-299 (lines=5) @@ | ||
292 | { |
|
293 | // Create XML writer |
|
294 | $objWriter = null; |
|
295 | if ($this->getParentWriter()->getUseDiskCaching()) { |
|
296 | $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory()); |
|
297 | } else { |
|
298 | $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY); |
|
299 | } |
|
300 | ||
301 | // XML header |
|
302 | $objWriter->startDocument('1.0','UTF-8','yes'); |
|
@@ 359-363 (lines=5) @@ | ||
356 | { |
|
357 | // Create XML writer |
|
358 | $objWriter = null; |
|
359 | if ($this->getParentWriter()->getUseDiskCaching()) { |
|
360 | $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory()); |
|
361 | } else { |
|
362 | $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY); |
|
363 | } |
|
364 | ||
365 | // XML header |
|
366 | $objWriter->startDocument('1.0','UTF-8','yes'); |
@@ 100-104 (lines=5) @@ | ||
97 | if (!is_null($pStringTable)) { |
|
98 | // Create XML writer |
|
99 | $objWriter = null; |
|
100 | if ($this->getParentWriter()->getUseDiskCaching()) { |
|
101 | $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory()); |
|
102 | } else { |
|
103 | $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY); |
|
104 | } |
|
105 | ||
106 | // XML header |
|
107 | $objWriter->startDocument('1.0','UTF-8','yes'); |
@@ 49-53 (lines=5) @@ | ||
46 | { |
|
47 | // Create XML writer |
|
48 | $objWriter = null; |
|
49 | if ($this->getParentWriter()->getUseDiskCaching()) { |
|
50 | $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory()); |
|
51 | } else { |
|
52 | $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY); |
|
53 | } |
|
54 | ||
55 | // XML header |
|
56 | $objWriter->startDocument('1.0','UTF-8','yes'); |
@@ 143-147 (lines=5) @@ | ||
140 | { |
|
141 | // Create XML writer |
|
142 | $objWriter = null; |
|
143 | if ($this->getParentWriter()->getUseDiskCaching()) { |
|
144 | $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory()); |
|
145 | } else { |
|
146 | $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY); |
|
147 | } |
|
148 | ||
149 | // XML header |
|
150 | $objWriter->startDocument('1.0','UTF-8','yes'); |
@@ 50-54 (lines=5) @@ | ||
47 | { |
|
48 | // Create XML writer |
|
49 | $objWriter = null; |
|
50 | if ($this->getParentWriter()->getUseDiskCaching()) { |
|
51 | $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory()); |
|
52 | } else { |
|
53 | $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY); |
|
54 | } |
|
55 | ||
56 | // XML header |
|
57 | $objWriter->startDocument('1.0','UTF-8','yes'); |
@@ 52-56 (lines=5) @@ | ||
49 | if (!is_null($pSheet)) { |
|
50 | // Create XML writer |
|
51 | $objWriter = null; |
|
52 | if ($this->getParentWriter()->getUseDiskCaching()) { |
|
53 | $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_DISK, $this->getParentWriter()->getDiskCachingDirectory()); |
|
54 | } else { |
|
55 | $objWriter = new PHPExcel_Shared_XMLWriter(PHPExcel_Shared_XMLWriter::STORAGE_MEMORY); |
|
56 | } |
|
57 | ||
58 | // XML header |
|
59 | $objWriter->startDocument('1.0','UTF-8','yes'); |