Giter Club home page Giter Club logo

Comments (10)

maestrojosiah avatar maestrojosiah commented on August 22, 2024 1

@liuggio , I love your works. However, everywhere I find a question addressed to you, you are either too busy or rude. I know that you have already done a lot by putting stuff on open-source, but a step further would make programmers happy of you; especially new programmers. Your awesome project liuggio/excelbundle lacks explanation of how to make pdf docs, while every other place it is indicated that there is a way to do that. Since 2013, you have been to busy to help us, and I wish I was a guru like you. I would make programmers proud.

from excelbundle.

akovalyov avatar akovalyov commented on August 22, 2024

I solved this problem this way in my service

                $rendererName = \PHPExcel_Settings::PDF_RENDERER_MPDF;
                $rendererLibraryPath = (dirname(__FILE__) . '/../../../TFox/Bundle/MpdfPortBundle/mpdf');
                \PHPExcel_Settings::setPdfRenderer(
                    $rendererName, $rendererLibraryPath
                );
                $service = $this->get('xls.service_pdf');

For mpdf i used this bundle - https://github.com/tasmanianfox/MpdfPortBundle
It has no composer file, so i just pulled in in my private repo and added source manually
It seems, that a fork with added composer already appeared (https://github.com/gffranco/MpdfPortBundle)

from excelbundle.

liuggio avatar liuggio commented on August 22, 2024

@ akovalyov please read carefully here http://symfony.com/doc/2.0/cookbook/bundles/best_practices.html

from excelbundle.

liuggio avatar liuggio commented on August 22, 2024

closed by inactivity

from excelbundle.

znahas avatar znahas commented on August 22, 2024

And the solution is closing the issue by not answering it???

from excelbundle.

liuggio avatar liuggio commented on August 22, 2024

@znahas if you have a problem, please write it we'll try to help

from excelbundle.

pmithrandir avatar pmithrandir commented on August 22, 2024

Hello,

I didn't get the alert few month ago...
I'm still interested by the "good" way to declare a PDF generation library with this bundle.

Thank you,
Pierre

from excelbundle.

znahas avatar znahas commented on August 22, 2024

@liuggio My problem is the same as this topic's problem which haven't been properly solved. Is your bundle generating PDF successfully? If yes, please update it or provide solutions for the PDF error.

from excelbundle.

liuggio avatar liuggio commented on August 22, 2024

@znahas I'm quite busy now do you have time to investigate a little bit?
thanks a lot.

from excelbundle.

xeux avatar xeux commented on August 22, 2024

Since this is a Bundle for the PHPExcel library I recommend to read the PHPExcel documentation at: PHPOffice/PHPExcel#152

from excelbundle.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.