-
Notifications
You must be signed in to change notification settings - Fork 526
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
Adding Notes Breaks "Print Slide With Notes" #179
Comments
@JewrassicPark Could you give us two files ?
|
The first file is generated and has the big. I couldn't directly fix the bug in powerpoint. Once the slide was formatted this way I don't see a way to reset it so the bug isn't present. I included a second slide in the presentation that displays correctly. |
I've been able to modify the slide writer for powerpoint2007 to have the preview display but I'm having issue with the dimensions of the preview across formats. Right now when you add a note you create a rich text shape in order to alter the text
|
I've updated my fork with the new writeNote function for the powerpoint2007 slide writer. I already have the pull request open for the animation, what's the best way to merge this as well? |
@JewrassicPark I'll try to implement your patch. Bug with Sample_09, that doesn't seem to work. Thanks for your help for fixing it before merging it :) |
@JewrassicPark Some news ? |
1 similar comment
@JewrassicPark Some news ? |
Sorry, what's the current issue on this? I can't produce any bugs in my print with notes currently. I still have inconsistent errors having notes at all though. |
@JewrassicPark Check this comment : #179 (comment) |
In your sample you have
This is how I set the notes:
I changed only those lines in your sample and the notes looked correct for me. |
@JewrassicPark : But with theses changes : Progi1984@5c3e874 ? |
Sorry, yes, I am using that writer currently |
@JewrassicPark Could you test this file : https://framadrop.org/r/Z3GR8dCTmY#OZ+pXMjw+koMEOUt9SrO3mb04pD+WdPOnuXtJNrAlcU= Is it ok for you ? Thanks |
No, I get a repair notice when opening it (windows 10, office 2013) and I don't see any notes once the repair is complete. |
@JewrassicPark I think I'm better : i have no interfact in LibreOffice. https://framadrop.org/r/6FrPIumUDA#9k8x+j2vP0UeZbFFQQ6OeNY4qF6qemN0JMOZ0gkmfew= Thanks for your test. |
@JewrassicPark Some news ? |
I still don't see the slide in the notes print on yours. I'll take a look but since the only thing I changed in your example was the two lines above it's probably a difference in our code bases. I'm fairly certain I submitted everything that I added I'll try to double check |
@JewrassicPark Shit ! We are nearly to the solution. What is the difference between your code and this branch : develop...Progi1984:issue179 ? |
This is the slide writer in powerpoint2007 that im currently using https://framadrop.org/r/5lGC2h0D0n#PPNN/aGk23MMjN9VFmJsoh7ov5VHVZ7sC6PijvElYCM= |
@JewrassicPark I have made a simple change. Could you test : https://framadrop.org/r/mH8j3Nurmc#viqd4C7vkcsB+L/rGmLt0tY7nrWjLjSDIEOgYVZk4Vo= ? |
The positioning is still off. Did you definitely make the changes in: |
@JewrassicPark I have done the change in sample : https://framadrop.org/r/fhevpIMmxd#abbwOh9RbTjLOfhRHbVkRlhHemvqI4ewZe1tLtreBAY= Could you test ? |
$oRichText = $oNote->createRichTextShape()
->setHeight($oLayout->getCY($oLayout::UNIT_PIXEL))
->setWidth($oLayout->getCX($oLayout::UNIT_PIXEL))
->setOffsetX(0)
->setOffsetY(0); $oRichText = $oNote->createRichTextShape()
->setHeight($oLayout->getCY($oLayout::UNIT_PIXEL))
->setWidth($oLayout->getCX($oLayout::UNIT_PIXEL))
->setOffsetX(170)
->setOffsetY(180); |
@JewrassicPark Just tested on Office2007. Could you test on your side with latest files ? |
@JewrassicPark Some news ? |
Yeah the two pages you linked here #179 (comment) display the same for me as they do in your screenshots |
#179 : Bugfix for printing slide notes
Yeah ! Bug fixed :) |
You can print/save powerpoints that show the slide with the notes below it. Adding notes through phppresentation causes this feature to break and only the notes are displayed in the printout.
The text was updated successfully, but these errors were encountered: