You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to implement images insertion with IMG tag?
For example, I have a big HTML that I already transform to PDF, and now, I need some feature to transform the same HTML to Doc. This HTML has some tags with external url.
The text was updated successfully, but these errors were encountered:
I would certainly say it is possible to do and implementing the AST class would probably be pretty easy for basic usage. However, the main reason I did not implement it was that inserting an image into a document requires a very large amount of XML markup. This test fixture is an example of the content required for a very simple image with no formatting or alterations.
Now nearly all of that XML is appears to simply be boilerplate markup that doesn't really change from image to image for my version of Microsoft Word. I have no idea how portable that markup is across newer and older versions of MS Word nor the full breadth of attributes that would need to be supported to cover the majority of use cases.
If this is something you would want to tackle and submit a PR for, I would be happy to provide input along the way and merge it in if the image insertion code is generalized enough to cover a majority of the use cases.
Is it possible to implement images insertion with IMG tag?
For example, I have a big HTML that I already transform to PDF, and now, I need some feature to transform the same HTML to Doc. This HTML has some
tags with external url.
The text was updated successfully, but these errors were encountered: