@@ -747,15 +747,8 @@ private function readRTSlide($pos)
747
747
$ pos += 4 ;
748
748
// slideAtom > notesIdRef
749
749
$ pos += 4 ;
750
-
751
750
// slideAtom > slideFlags
752
- $ slideFlags = self ::getInt2d ($ this ->streamPowerpointDocument , $ pos );
753
- // $fMasterObjects = ($slideFlags >> 0) & bindec('1');
754
- // $fMasterScheme = ($slideFlags >> 1) & bindec('1');
755
- // $fMasterBackground = ($slideFlags >> 2) & bindec('1');
756
- // $reserved = ($slideFlags >> 3) & bindec('1111111111111');
757
751
$ pos += 2 ;
758
-
759
752
// slideAtom > unused;
760
753
$ pos += 2 ;
761
754
// *** slideShowSlideInfoAtom (24 bytes)
@@ -880,7 +873,7 @@ private function readRTSlide($pos)
880
873
$ rHeader ['recLen ' ] -= 8 ;
881
874
// print_r('$shapePrimaryOptions'.EOL);
882
875
//@link : http://msdn.microsoft.com/en-us/library/dd906086(v=office.12).aspx
883
- $ OfficeArtFOPTE = array ();
876
+ $ officeArtFOPTE = array ();
884
877
for ($ inc = 0 ; $ inc < $ shapePrimaryOptions ['recInstance ' ]; $ inc ++) {
885
878
$ opid = self ::getInt2d ($ this ->streamPowerpointDocument , $ pos );
886
879
$ pos += 2 ;
@@ -890,15 +883,15 @@ private function readRTSlide($pos)
890
883
$ pos += 4 ;
891
884
$ rHeader ['recLen ' ] -= 4 ;
892
885
$ shapePrimaryOptions ['recLen ' ] -= 4 ;
893
- $ OfficeArtFOPTE [] = array (
886
+ $ officeArtFOPTE [] = array (
894
887
'opid ' => ($ opid >> 0 ) & bindec ('11111111111111 ' ),
895
888
'fBid ' => ($ opid >> 14 ) & bindec ('1 ' ),
896
889
'fComplex ' => ($ opid >> 15 ) & bindec ('1 ' ),
897
890
'op ' => $ optOp ,
898
891
);
899
892
}
900
893
//@link : http://code.metager.de/source/xref/kde/calligra/filters/libmso/OPID
901
- foreach ($ OfficeArtFOPTE as $ opt ) {
894
+ foreach ($ officeArtFOPTE as $ opt ) {
902
895
switch ($ opt ['opid ' ]) {
903
896
case 0x007F :
904
897
// Transform : Protection Boolean Properties
@@ -1144,11 +1137,11 @@ private function readRTSlide($pos)
1144
1137
}
1145
1138
1146
1139
$ shpSecondaryOptions1 = $ this ->loadRecordHeader ($ this ->streamPowerpointDocument , $ pos );
1147
- $ bShpSecondaryOptions1 = false ;
1140
+ $ bShpSecondaryOpt1 = false ;
1148
1141
if ($ shpSecondaryOptions1 ['recVer ' ] == 0x3 && $ shpSecondaryOptions1 ['recType ' ] == 0xF121 ) {
1149
1142
$ pos += 8 ;
1150
1143
$ rHeader ['recLen ' ] -= 8 ;
1151
- $ bShpSecondaryOptions1 = true ;
1144
+ $ bShpSecondaryOpt1 = true ;
1152
1145
// echo '@$rhShapeSecondaryOptions1'.EOL;
1153
1146
}
1154
1147
@@ -1813,7 +1806,7 @@ private function readRTSlide($pos)
1813
1806
$ shpSecondaryOptions2 = $ this ->loadRecordHeader ($ this ->streamPowerpointDocument , $ pos );
1814
1807
$ pos += 8 ;
1815
1808
$ rHeader ['recLen ' ] -= 8 ;
1816
- if ($ shpSecondaryOptions2 == true && $ shpSecondaryOptions2 ['recVer ' ] == 0x3 && $ shpSecondaryOptions2 ['recType ' ] == 0xF121 ) {
1809
+ if ($ bShpSecondaryOpt1 == true && $ shpSecondaryOptions2 ['recVer ' ] == 0x3 && $ shpSecondaryOptions2 ['recType ' ] == 0xF121 ) {
1817
1810
} else {
1818
1811
$ pos -= 8 ;
1819
1812
$ rHeader ['recLen ' ] += 8 ;
0 commit comments