File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/PhpPowerpoint/Writer/ODPresentation Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -120,10 +120,10 @@ public function writePart(PhpPowerpoint $pPHPPowerPoint)
120
120
// style:graphic-properties
121
121
$ objWriter ->startElement ('style:graphic-properties ' );
122
122
if (is_bool ($ shape ->hasAutoShrinkVertical ())) {
123
- $ objWriter ->writeAttribute ('draw:auto-grow-height ' , var_export ($ shape ->getAutoShrinkVertical (), true ));
123
+ $ objWriter ->writeAttribute ('draw:auto-grow-height ' , var_export ($ shape ->hasAutoShrinkVertical (), true ));
124
124
}
125
125
if (is_bool ($ shape ->hasAutoShrinkHorizontal ())) {
126
- $ objWriter ->writeAttribute ('draw:auto-grow-width ' , var_export ($ shape ->getAutoShrinkHorizontal (), true ));
126
+ $ objWriter ->writeAttribute ('draw:auto-grow-width ' , var_export ($ shape ->hasAutoShrinkHorizontal (), true ));
127
127
}
128
128
switch ($ shape ->getFill ()->getFillType ()){
129
129
case Fill::FILL_NONE :
You can’t perform that action at this time.
0 commit comments