Comments (5)
img is not supported by HTML text styling. See https://code.google.com/p/xdocreport/wiki/ODTReportingJavaMainHTMLTextStyling#Supported_styles to know teh html tags which are supported.
Any contribution are welcome to improve html text styling!
from xdocreport.
Thank you for your fast answer.
Could you please guide me with first steps to support tags?
from xdocreport.
You must study which XML you must generate for supporting ODT image and implement after
https://github.com/opensagres/xdocreport/blob/master/document/fr.opensagres.xdocreport.document.odt/src/main/java/fr/opensagres/xdocreport/document/odt/textstyling/ODTDocumentHandler.java#L501
But I think it's an hard task and I think XDOcReport documengt handler should be improved to gives the capability to attach for instance image in the ODT.
from xdocreport.
Hello,
I made a little progress on this topic:
- Download the image from the url of the
element
- The image is stored on a temp file
- Added the necessary content to the content.xml to render the image
But I need some help on the following aspects:
- Image must be stored on the Pictures folder of the ODT compress file. How can I create a new File within this directory?
- Reference the image on the META-INF/manifest.xml. How can I write to this file?
from xdocreport.
@jbadenas I'm very sorry, I'm very busy. Your feature is a big task. I will try to see when I will find time.
I think we should do with the same thing than Hyperlink (with hyperlinkregistry). If I remember, it exists an imageregistry.
from xdocreport.
Related Issues (20)
- When converting docx to html, charts and shapes are ignored. HOT 2
- How to get into mapper.useTotalPageField() with the word document? HOT 2
- Composite numeric list is not converted correctly
- Add support for HTML Colors HSL and Colornames
- itext7 support HOT 1
- Chinese numbering list can not render correctly
- Image replacement not working on specific environment HOT 2
- Velocity 2.3 say that XDocReport use a lot of configuration key that have been renamed
- Replace dependency com.lowagie:itext:2.1.7 with OpenPDF latest version HOT 2
- Not compatible with OpenPDF 2.0.0 - Runtime error: NoSuchMethodError void fr.opensagres.poi.xwpf.converter.pdf.internal.elements.StylableDocumentSection$SectionPdfPTable.addCell HOT 1
- NullPointerException for getText method of ListItemContext class HOT 3
- Publish version with poi 5.2.5 support HOT 4
- Apache POI document to PDF with table borders creates PDF with texts in cells positioned too low in the cells HOT 9
- illegal reflective access while using default example HOT 1
- Release date of 2.0.5? HOT 3
- there is a error when use fr.opensagres.poi.xwpf.converter.pdf-gae convert word to pdf HOT 2
- Conversion error on docm files
- Join table with freemarker
- text is lost when word is transferred to pdf! HOT 1
- Is repeating bullet points possible 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 xdocreport.