Comments (20)
I looked into it and it seems that the only dependencies which are not (yet) available in .NET Core are System.Drawing.Color and System.Drawing.FontFamily. These two might be replaced by platform independent implementations. If there is interest, I can further look into it.
from docx.
Hi,
"Xceed Words for .NET", the commercial version of DocX, will support .NET Core application on its next release v1.6.
https://xceed.com/xceed-words-for-net/
Thank you.
from docx.
The version at https://github.com/Jetro223/DocXNETCore is working now. (still no images for core, no file protection, colors as hex string).
I tried to port the unit tests without luck (for now...) - so I just tested a few methods (adding paragraphs etc.)
from docx.
What is the status of this? It looks like FontFamily is still dependant on System.Drawing - are there any work arounds so we can use DocX with netcore?
from docx.
As far as I got news.. No.
from docx.
FontFamily implementation was recently updated to platform independent code. So, Color is the last one.
from docx.
As I remember, the only thing to update is Color type replacement. That isn't complicated. I will try to find some time soon and review the current implementation.
from docx.
Is someone currently working on the port?
from docx.
@mkorsukov I fear there is more to do than I thought on Aug, 18. Encryption and Compressions functionality may need some work as well as everything involving Windows Security Principals.
from docx.
Any Update? :( i need it for my solution on linux
from docx.
I tried to port it - see https://github.com/Jetro223/DocXNETCore
- Colors as hex string instead of System.Drawing.Color
- No images
- No file protection
The port can load docx files and the document can be modified in memory. But the call to Save() does not work (does not write the changes to disk) and at the moment I do not understand why. Any help appreciated :-)
from docx.
@Jetro223 Do you know if there are plans to get images working in Core?
from docx.
@jasonhjohnson There are several projects trying to bring image processing to .NET Core e.g. https://github.com/JimBobSquarePants/ImageSharp but I did not try any of these yet
from docx.
@dennishog added image support to the .NET Core port (using CoreCompat.System.Drawing)
from docx.
System.Drawing is going to .NET Core so maybe us it in future - https://github.com/dotnet/corefx/issues/20325
from docx.
I think project can be easily ported on dot.net core.
With https://github.com/SixLabors/ImageSharp for Paragraph.cs
and using something like
int argb = Int32.Parse(color, NumberStyles.HexNumber); Color.FromArgb(argb);
from System.Drawing from dot.net core SDK instead of ColorTranslator
from docx.
Sadly it looks like we're going to have to go with a license from another company due to lack of .net core support :( Really wish this was supported.
from docx.
Hi,
"Xceed Words for .NET", the commercial version of DocX, will support .NET Core application on its next release v1.6.
https://xceed.com/xceed-words-for-net/
Thank you.
And will it also be supported on the free version?
from docx.
from docx.
有没有开源的可支持.net core 的word 组件呢?
from docx.
Related Issues (20)
- Inserting hyperlinks completes yet resulting file is corrupted HOT 3
- replancetextwithobject error HOT 1
- System.OutOfMemoryException HOT 3
- Writing a long docx file HOT 1
- ReplaceText in Header/Footer broke in v 2.5.0 HOT 3
- KeepWithNextParagraph() is not working with table rows HOT 1
- Inserting HTML not supported HOT 1
- how to insert a audio or other binary files HOT 2
- [Table] Lost cell with InsertRow() fuction HOT 1
- Does the library support "if" conditions?
- Support for multi-type series icons HOT 3
- DocX.ConvertToPdf() does not convert inserted html content. HOT 5
- [question] Loop through document items HOT 7
- Replace Tag to image not work HOT 1
- InsertContent as append from Paragraph HOT 3
- Table.IndentFromLeft not working? HOT 4
- Issue Loading ListParagraph when using Document template HOT 1
- No way to add parallel images HOT 1
- Cannot Detect true page count HOT 1
- InsertParagraphAfterSelf throws an error after update to v2.5.0 or v3.0.0 HOT 1
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.