Giter VIP home page Giter VIP logo

Comments (4)

privateOmega avatar privateOmega commented on July 18, 2024

@KeithGillette Feel free to take it up and raise a PR, its a very simple task and we already have unit conversions written in place and we just have to do those conversions before we generate the document.xml, it shouldn't take any time to wire this feature up. Do tell me if you would like to take it up, else I/someone will take it up asap.

from html-to-docx.

KeithGillette avatar KeithGillette commented on July 18, 2024

Hi @privateOmega. I took a deeper look to investigate raising a PR and see unit conversion functions, but not a central unit detector function to call them and return a normalized size. Am I missing something?

from html-to-docx.

privateOmega avatar privateOmega commented on July 18, 2024

@KeithGillette Checkout docx-document.js, thats where we assign width and height based on the orientation, so before that is called, you could probably do the conversion in html-to-docx.js, along with fixing up margins. Keep in mind that we need to preserve existing functionality though.

from html-to-docx.

privateOmega avatar privateOmega commented on July 18, 2024

Finally got this out in #161. Thanks @KeithGillette @juralio-james . Closing this issue.

from html-to-docx.

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.