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

PowerPoint 2007 Reader/Writer : Improvements on Font, RichText, Thumbnail, Presentation Properties & Shadow #788

Merged
merged 23 commits into from
Jan 31, 2024

Conversation

Progi1984
Copy link
Member

@Progi1984 Progi1984 commented Dec 13, 2023

  • PowerPoint2007 Reader: Added support for thumbnail image - @devX2712 in #788
  • Document Properties : Support for Revision & Status - @devX2712 in #788
    • PowerPoint2007 Reader
    • PowerPoint2007 Writer
  • Presentation Properties : Added support to define content of the thumbnail - @devX2712 in #788
  • Font : Support for Capitalization, Strikethrough, Pitch Family, Charset & Panose - @devX2712 in #788
    • PowerPoint2007 Reader
    • PowerPoint2007 Writer
  • Font : Replaced Superscript/Subscript by baseline in PowerPoint2007 Writer - @devX2712 in #788
  • RichText : Support for Vertical Align - @devX2712 in #788
    • PowerPoint2007 Reader
    • PowerPoint2007 Writer
  • Shadow : Support for Type Inner & Reflection - @devX2712 in #788
    • PowerPoint2007 Reader
    • PowerPoint2007 Writer

Superseeds #787 by @devX2712

Add read/write Revision document attribut. Informations are stored into document properties. Available for Powerpoint 2007 (reading/writing)
Conserve thumbnail if already exist in file:
If an thumbnail exist in a file, when open it, thumbnail is loaded and when you save existing thumbnail is save to output
Sometime when loading PPTX I've some error
Evolution :
- move Shape::name to AbstractShape
- add reading name for Shape in PowerPoint2007
While wrting shape, the name is not preserved if it is not a placehoder
It seems tha Powerpoint 2007 use also richtext to define rectangle with or without text. So keep loading richtext without text
When loading richt text shape, read also properties who defining backgroupnd color, border color, etc.
use loadStyleFill function
When loading a ric text shape, get the spelling lang
Add reading typeface while load file in shape richt text
Preserving loading to save
Paragraph double strick were not supported, modification has been done to support different strick type
Using true/fasle and default value 300000 or  -250000 are too mutch (in Office 365). So when reading, get values setted by PowerPoint and modify default values into the code to set values seen during my tests
ADD the 'status' properties for reading and wrinting into the document
BUGFIX while cloning an existant slide :
- considere if existing object
- cloning each object into collection
- cloning each paragraph for RichText
ADD Read also from original PPTX mragin of shape (left,right,top,bottom)
Writing already existing and object have been initialized by default (so now setted by reading existing file)
ADD Vertical alignment for RichText
position top,middle and bottom
position center or not center
Reading from file, editing and saving
ADD Effect mangment
Effect is a collection of effect into each element (innerShadow, outerShadow, reflection, glos, etc.
Actualy only shadow are supported, but the strucure is desgin for other effect
BUGFIX when duplicating slide an each composants, text into paragraph into richText where forget
ADD vertical alos need horz sometimes
Need some mor informations to be same as original when reading, like charset, etc
BUGFIX Forgot clone for effect shape
For modifing existing slide, usefull to search shape and doing action on it
@Progi1984 Progi1984 force-pushed the pr684 branch 8 times, most recently from 36b2486 to 08a70d8 Compare December 15, 2023 11:49
@Progi1984 Progi1984 force-pushed the pr684 branch 4 times, most recently from 890283a to 0461688 Compare December 15, 2023 14:09
@Progi1984 Progi1984 added this to the 1.1.0 milestone Dec 25, 2023
@Progi1984 Progi1984 force-pushed the pr684 branch 2 times, most recently from b0e5067 to c6231bb Compare January 17, 2024 16:06
@Progi1984 Progi1984 force-pushed the pr684 branch 4 times, most recently from 9a56a04 to d2f6680 Compare January 30, 2024 07:02
@Progi1984 Progi1984 changed the title Pr684 PowerPoint 2007 Reader/Writer : Improvements on Font, RichText, Thumbnail, Presentation Properties & Shadow Jan 31, 2024
@Progi1984 Progi1984 merged commit 6738a06 into PHPOffice:develop Jan 31, 2024
28 checks passed
@Progi1984 Progi1984 deleted the pr684 branch January 31, 2024 14:57
@Progi1984
Copy link
Member Author

Thanks you @devX2712 for your improvements

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