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

Automatic ReaderInterface resolution stops before testing all interface #814

Open
toto975 opened this issue Sep 3, 2024 · 1 comment
Open

Comments

@toto975
Copy link

toto975 commented Sep 3, 2024

I try to get properties of presentation documents.

$phpOffice = IOFactory::load($fullPath)

It stops on the PowerPoint97 reader with this error :
The file is not in the format supported by class PhpOffice\PhpPresentation\Reader\PowerPoint97

It has to test every ReaderInterface defined in PhpPresentation\IOFactory.php
private static $autoResolveClasses = ['Serialized', 'ODPresentation', 'PowerPoint97', 'PowerPoint2007'];
before falling in error.

@Progi1984 Progi1984 added this to the 1.2.0 milestone Sep 3, 2024
@Progi1984
Copy link
Member

@toto975 Hi have you got a file with this error ?

@Progi1984 Progi1984 removed this from the 1.2.0 milestone Sep 3, 2024
@toto975 toto975 changed the title Automatic ReaderInterface resolution strops before testing all interface Automatic ReaderInterface resolution stops before testing all interface Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants