Comments (3)
The lates commit should have resolved this - sorry for not getting to this issue earlier.
from docx.
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.
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)
- Setting the NSTextAttachment bounds is useless HOT 2
- Pagination doesn’t work when there are empty paragraphs before an intended page break HOT 2
- Suggestion: set image extent so that it fits on a page HOT 6
- Suggestion: simple support for styles HOT 1
- Docx is invalid if the written attributed string contains an ampersand (&) or less-than (<) character HOT 4
- Replacing an existing file does not work HOT 2
- Long multi-page strings can take an *extremely* long time to write HOT 3
- Docx is invalid if it contains a link with an ampersand HOT 1
- Suggestion: docx files should NOT display "Compatibility Mode" when opened in Word HOT 1
- Question for use of code... HOT 2
- Underlining doesn't work when color isn't also specified HOT 3
- Other ways to add DocX to the project HOT 1
- Multi-page support? HOT 10
- Images exported to docx should use an extension that matches their format HOT 1
- Can’t build and run tests in `master` branch HOT 1
- Do you support convert docx to NSAttributedString? HOT 1
- Hello, there was an error using in the package. HOT 1
- Line space issue HOT 1
- pagination still not work HOT 2
- how to add author info to the doc file? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docx.