Git Product home page Git Product logo

Comments (3)

shinjukunian avatar shinjukunian commented on May 28, 2024

The lates commit should have resolved this - sorry for not getting to this issue earlier.

from docx.

chrisriner avatar chrisriner commented on May 28, 2024

Thanks very much. I tried it and it works now. I was wondering if I could get your opinion on what I am trying to do. I was looking for a way to generate a word doc in code. I have to let a user enter lots and lots of data and then I store it in core data and then they want to tap a button and then my app should take all of that data plus some images and generate a word doc that they can then export from the app to one drive and edit it more on a laptop. I am trying to see if this library would help me in creating a word doc for them in code using the data they have entered. They do not need to edit anything directly in the app just enter the data and then the app generates word doc. The word doc again would have text and pictures and tables and will be very large. Do you think you library would be helpful in doing that?

from docx.

shinjukunian avatar shinjukunian commented on May 28, 2024

Hi @chrisriner,

I'm glad everything is working now - since migrating to SPM the framework targets haven't been used in my projects.
DocX is designed around NSAttributedString and is this limited by the functionality of this API - hence no tables, pagination etc. Images are in principle supported by NSAttributedString (through NSTextAttachement) but I have not implemented this since images (and their placement etc.) are pretty clunky in both TextKit and .docx

Cheers

Morten

from 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.