@@ -568,13 +568,13 @@ private function loadCurrentUserStream()
568
568
$ pos += 2 ;
569
569
570
570
// ansiUserName
571
- $ ansiUserName = '' ;
571
+ // $ansiUserName = '';
572
572
do {
573
573
$ char = self ::getInt1d ($ this ->streamCurrentUser , $ pos );
574
574
if (($ char >= 0x00 && $ char <= 0x1F ) || ($ char >= 0x7F && $ char <= 0x9F )) {
575
575
$ char = false ;
576
576
} else {
577
- $ ansiUserName .= chr ($ char );
577
+ // $ansiUserName .= chr($char);
578
578
$ pos += 1 ;
579
579
}
580
580
} while ($ char !== false );
@@ -587,13 +587,13 @@ private function loadCurrentUserStream()
587
587
}
588
588
589
589
// unicodeUserName
590
- $ unicodeUserName = '' ;
590
+ // $unicodeUserName = '';
591
591
for ($ inc = 0 ; $ inc < $ lenUserName ; $ inc ++) {
592
592
$ char = self ::getInt2d ($ this ->streamCurrentUser , $ pos );
593
593
if (($ char >= 0x00 && $ char <= 0x1F ) || ($ char >= 0x7F && $ char <= 0x9F )) {
594
594
break ;
595
595
}
596
- $ unicodeUserName .= chr ($ char );
596
+ // $unicodeUserName .= chr($char);
597
597
$ pos += 2 ;
598
598
}
599
599
}
@@ -611,11 +611,11 @@ private function loadPowerpointDocumentStream()
611
611
foreach ($ this ->rgPersistDirEntry as $ offsetDir ) {
612
612
$ pos = $ offsetDir ;
613
613
614
- $ rh = $ this ->loadRecordHeader ($ this ->streamPowerpointDocument , $ pos );
614
+ $ rHeader = $ this ->loadRecordHeader ($ this ->streamPowerpointDocument , $ pos );
615
615
$ pos += 8 ;
616
- $ this ->inMainType = $ rh ['recType ' ];
616
+ $ this ->inMainType = $ rHeader ['recType ' ];
617
617
$ this ->currentNote = null ;
618
- switch ($ rh ['recType ' ]) {
618
+ switch ($ rHeader ['recType ' ]) {
619
619
case self ::RT_DOCUMENT :
620
620
$ this ->readRecordDocumentContainer ($ this ->streamPowerpointDocument , $ pos );
621
621
break ;
@@ -3168,19 +3168,19 @@ private function readStructureTextPFRun($stream, $pos, $strLenRT)
3168
3168
$ arrayReturn ['length ' ] += 2 ;
3169
3169
}
3170
3170
if ($ masksData ['bulletColor ' ] == 1 ) {
3171
- $ red = self ::getInt1d ($ stream , $ pos + $ arrayReturn ['length ' ]);
3171
+ // $red = self::getInt1d($stream, $pos + $arrayReturn['length']);
3172
3172
$ arrayReturn ['length ' ] += 1 ;
3173
- $ green = self ::getInt1d ($ stream , $ pos + $ arrayReturn ['length ' ]);
3173
+ // $green = self::getInt1d($stream, $pos + $arrayReturn['length']);
3174
3174
$ arrayReturn ['length ' ] += 1 ;
3175
- $ blue = self ::getInt1d ($ stream , $ pos + $ arrayReturn ['length ' ]);
3175
+ // $blue = self::getInt1d($stream, $pos + $arrayReturn['length']);
3176
3176
$ arrayReturn ['length ' ] += 1 ;
3177
3177
$ index = self ::getInt1d ($ stream , $ pos + $ arrayReturn ['length ' ]);
3178
3178
$ arrayReturn ['length ' ] += 1 ;
3179
3179
3180
3180
if ($ index == 0xFE ) {
3181
- $ strColor = str_pad (dechex ($ red ), 2 , STR_PAD_LEFT , '0 ' );
3182
- $ strColor .= str_pad (dechex ($ green ), 2 , STR_PAD_LEFT , '0 ' );
3183
- $ strColor .= str_pad (dechex ($ blue ), 2 , STR_PAD_LEFT , '0 ' );
3181
+ // $strColor = str_pad(dechex($red), 2, STR_PAD_LEFT, '0');
3182
+ // $strColor .= str_pad(dechex($green), 2, STR_PAD_LEFT, '0');
3183
+ // $strColor .= str_pad(dechex($blue), 2, STR_PAD_LEFT, '0');
3184
3184
}
3185
3185
}
3186
3186
if ($ masksData ['align ' ] == 1 ) {
0 commit comments