-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
[WIP] Feature: WPS Writer Support #2769
Draft
Sambit003
wants to merge
10
commits into
PHPOffice:master
Choose a base branch
from
Sambit003:feat/add-wps-writer
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Progi1984 why test is behaving like this on the master branch? |
here is the reference link, where it's actually redirecting: https://planet.news/?source=loremipsum.net |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
WORK IN PROGRESS
This pull request introduces support for the WPS file format in the PHPWord library. The most important changes include the addition of a new reader and writer for WPS files, as well as updates to the
IOFactory
to recognize the new format.Support for WPS File Format:
src/PhpWord/IOFactory.php
: Updated thecreateWriter
method to include 'WPS' as a valid writer option.New WPS Reader:
src/PhpWord/Reader/WPS.php
: Added a new class to handle reading WPS files, including methods for loading both binary and XML-based WPS files.src/PhpWord/Reader/WPS/AbstractPart.php
: Introduced an abstract class for reading different parts of a WPS file.src/PhpWord/Reader/WPS/Content.php
: Implemented the content reader for WPS files, capable of reading paragraphs, headings, and other elements.src/PhpWord/Reader/WPS/Meta.php
: Added a class to read metadata from WPS files, such as title, subject, and creator.src/PhpWord/Reader/WPSBinaryReader.php
: Created a reader for binary WPS files, including methods to extract text and handle OLE format.New WPS Writer:
src/PhpWord/Writer/WPS.php
: Added a new class to handle writing WPS files, including methods to savePhpWord
objects to WPS format.src/PhpWord/Writer/WPS/Media.php
: Implemented media handling for WPS files, allowing for the inclusion of images and other media elements.Fixes #69
/claim #69
Checklist: