Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added "Show Type" presentation prop #588

Closed
wants to merge 3 commits into from
Closed

Added "Show Type" presentation prop #588

wants to merge 3 commits into from

Conversation

zmip
Copy link

@zmip zmip commented Jul 24, 2020

Allows for setting “Show Type” (presented by a speaker, browsed by an
individual or browsed at a kiosk) for PowerPoint2007.

Allows for setting “Show Type” (presented by a speaker, browsed by an
individual or browsed at a kiosk) for PowerPoint2007.
@zmip
Copy link
Author

zmip commented Jul 24, 2020

options

Usage:

$ppt->getPresentationProperties()->setShowType(PresentationProperties::SHOW_TYPE_BROWSE);

zmip added 2 commits July 30, 2020 07:59
Simple fix, start index was messed up. Also changed nonsensical
pre-increment to post-increment.
@@ -757,6 +828,7 @@ protected function writeSlideAnimations(XMLWriter $objWriter, Slide $oSlide)
*/
protected function writeShapeDrawing(XMLWriter $objWriter, ShapeDrawing\AbstractDrawingAdapter $shape, $shapeId)
{
exit( 'eyah');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove it

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Progi1984 The reason I had this debug message here, is because I noticed that this function, writeShapeDrawing is never called anywhere. Would it be a good idea to remove it entirely?

@zmip
Copy link
Author

zmip commented Aug 4, 2020

Thanks, I will fix that debug msg, and will supply a unit test to get 100% code coverage. ASAP...

@Progi1984
Copy link
Member

@zmip Could you think you can rebase your PR to new modifications or can I use your code ?

@Progi1984 Progi1984 added this to the 1.0.0 milestone Jul 22, 2021
@Progi1984
Copy link
Member

@zmip Good news. I have integrated your contribution in code 💪 with support in Reader/Writer ODPresentation/Powerpoint2007. Check the PR #656 656

@Progi1984 Progi1984 closed this Jul 22, 2021
@zmip
Copy link
Author

zmip commented Jul 23, 2021

Great! I'm deeply ashamed I made you wait this long to fix this myself. And now you did it. So thanks @Progi1984!

@Progi1984
Copy link
Member

Bonus : the documentation is up to date 😉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants