Skip to content

Added "Show Type" presentation prop#588

Closed
zmip wants to merge 3 commits into
PHPOffice:developfrom
zmip:develop
Closed

Added "Show Type" presentation prop#588
zmip wants to merge 3 commits into
PHPOffice:developfrom
zmip:develop

Conversation

@zmip
Copy link
Copy Markdown

@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.
@auto-assign auto-assign Bot requested a review from Progi1984 July 24, 2020 07:09
@zmip
Copy link
Copy Markdown
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.
*/
protected function writeShapeDrawing(XMLWriter $objWriter, ShapeDrawing\AbstractDrawingAdapter $shape, $shapeId)
{
exit( 'eyah');
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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.

2 participants