File tree Expand file tree Collapse file tree 4 files changed +8
-4
lines changed Expand file tree Collapse file tree 4 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 27
27
28
28
/**
29
29
* PHPWord_HashTable
30
+ *
31
+ * @codeCoverageIgnore Legacy from PHPExcel
30
32
*/
31
33
class PHPWord_HashTable
32
34
{
Original file line number Diff line number Diff line change 25
25
* @version 0.7.0
26
26
*/
27
27
28
- /** Register new zip wrapper */
29
- PHPWord_Shared_ZipStreamWrapper::register ();
30
-
31
28
/**
32
29
* Class PHPWord_Shared_ZipStreamWrapper
30
+ *
31
+ * @codeCoverageIgnore Legacy from PHPExcel
33
32
*/
34
33
class PHPWord_Shared_ZipStreamWrapper
35
34
{
Original file line number Diff line number Diff line change @@ -141,7 +141,8 @@ public function save($pFilename = null)
141
141
// Add META-INF/manifest.xml
142
142
$ objZip ->addFromString ('META-INF/manifest.xml ' , $ this ->getWriterPart ('manifest ' )->writeManifest ($ this ->_document ));
143
143
144
- // Add media
144
+ // Add media. Has not used yet. Legacy from PHPExcel.
145
+ // @codeCoverageIgnoreStart
145
146
for ($ i = 0 ; $ i < $ this ->getDrawingHashTable ()->count (); ++$ i ) {
146
147
if ($ this ->getDrawingHashTable ()->getByIndex ($ i ) instanceof PHPWord_Shape_Drawing) {
147
148
$ imageContents = null ;
Original file line number Diff line number Diff line change @@ -77,6 +77,8 @@ public function writeManifest(PHPWord $pPHPWord = null)
77
77
$ objWriter ->writeAttribute ('manifest:full-path ' , 'styles.xml ' );
78
78
$ objWriter ->endElement ();
79
79
80
+ // Not used yet. Legacy from PHPExcel
81
+ // @codeCoverageIgnoreStart
80
82
for ($ i = 0 ; $ i < $ this ->getParentWriter ()->getDrawingHashTable ()->count (); ++$ i ) {
81
83
if ($ this ->getParentWriter ()->getDrawingHashTable ()->getByIndex ($ i ) instanceof PHPWord_Shape_Drawing) {
82
84
$ extension = strtolower ($ this ->getParentWriter ()->getDrawingHashTable ()->getByIndex ($ i )->getExtension ());
You can’t perform that action at this time.
0 commit comments