Skip to content

How to convert doc to PDF #5

@1357280829

Description

@1357280829

I've tried to create a demo for converting the doc file to PDF with Libreoffice, but it can't work successfully. How should I do is right?Here are my code.

use Breadlesscode\Office\Converter;

$file =  './aaa.doc';
Converter::file($file)
    ->save('./demo.pdf');

In addition, the README.md has an error. The word 'conveter' of the composer command composer require breadlesscode/office-conveter is missing a 'r'. It should be 'converter'.

Thanks for your package!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions