Coder Social home page Coder Social logo

save as PDF about officeimo HOT 11 OPEN

evotecit avatar evotecit commented on August 26, 2024
save as PDF

from officeimo.

Comments (11)

PrzemyslawKlys avatar PrzemyslawKlys commented on August 26, 2024 1

Short answer:
Not really planned.

Long answer:
It's just not trivial. PDF has different structure so one effectively writes it from scratch. There are other projects that allow creating PDFS from C#

from officeimo.

softboy99 avatar softboy99 commented on August 26, 2024

yes, There are other projects that allow creating PDFS, but there're no project to simplifies the process of docx2pdf.Most of them are based on office client automation.

from officeimo.

PrzemyslawKlys avatar PrzemyslawKlys commented on August 26, 2024

Because it's not trivial. You need to read DOCX and translate all that into PDF. Two separate approaches, two different code bases. I've some idea how to resolve it, but probably it won't be in the OfficeIMO project, but completely new one. Don't have your hopes up.

from officeimo.

softboy99 avatar softboy99 commented on August 26, 2024

Hi,
you can create an new project and share your idea, we can do that together and invite other contributors

from officeimo.

byteSamurai avatar byteSamurai commented on August 26, 2024

@softboy99 Wouldn't that library do, what you need?
https://github.com/smartinmedia/Net-Core-DocX-HTML-To-PDF-Converter

from officeimo.

softboy99 avatar softboy99 commented on August 26, 2024

@softboy99 Wouldn't that library do, what you need? https://github.com/smartinmedia/Net-Core-DocX-HTML-To-PDF-Converter

Hi,
we need to use it in server environment,your lib depends on libreoffice.exe.

from officeimo.

byteSamurai avatar byteSamurai commented on August 26, 2024

@softboy99 It's not my library just my suggestion ;)

However, from what I read, it doesn't require you to run a GUI and suggests using the portable edition of Libre Office. I am a noob, but what disqualifies it from running in a server environment? (sorry for my stupid question)

from officeimo.

softboy99 avatar softboy99 commented on August 26, 2024

In server environment, how many concurrent operations can be holded? Each client request creat an libre office process instance? Your way has nothing difference with office client automation.

from officeimo.

byteSamurai avatar byteSamurai commented on August 26, 2024

Hey, I was honestly asking for a reason. Thank you but no need to be rude.
I thought dealing with multiple file handles and processes could be handled.
Apologies.

from officeimo.

softboy99 avatar softboy99 commented on August 26, 2024

Because it's not trivial. You need to read DOCX and translate all that into PDF. Two separate approaches, two different code bases. I've some idea how to resolve it, but probably it won't be in the OfficeIMO project, but completely new one. Don't have your hopes up.

Hi,
@PrzemyslawKlys ,Could you please kindly open up an project and share your "some idea"? So that we can attracts others to contribute

from officeimo.

tmheath avatar tmheath commented on August 26, 2024

Popping in to mention.... I'm not doing it, if I were though I'd hash something dirty together using Pandoc.
Last I knew it didn't support all features of word though if that is a concern.
https://pandoc.org/MANUAL.html#option--from

from officeimo.

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.