phishulus Posted July 13 Share Posted July 13 I'm using Jasper Studio 6.1.0 with Jasper Reports java library 5.6.1 and having some issues with creating tables that contain images.I had a table, enclosed that with a frame so I can tag the table with pdf.table.full. The table cells have a mix of text and images, which I have tagged with the tr and td tags. All is good with the text, and using PAC I can see that the text is correctly defined inside the table. The images, however, end up below the table in the document - they display in the correct position visually, but are not actually inside the table.PAC shows something liketable-> text-> textimageimageIs it possible to create the table correctly with images inside?Thanks Link to comment Share on other sites More sharing options...
Mehak Rajkumar Posted July 18 Share Posted July 18 Thank you for posting to the Jaspersoft Community. Our team of experts has read your question and we are working to get you an answer as quickly as we can. If you have a Jaspersoft Professional Subscription plan, please visit https://support.tibco.com/s/ for direct access to our technical support teams offering guaranteed response times. Link to comment Share on other sites More sharing options...
rushinde Posted July 20 Share Posted July 20 Hi,Store images in a binary field table and insert an image object with Expression value = ${FIELD_NAME}. Class type of filed must be java.io.InputStreamYou can customize your query as you like. Link to comment Share on other sites More sharing options...
phishulus Posted July 25 Author Share Posted July 25 Hi,Is the above to add images to a table? I don't have an issue with that, and I am able to insert images referencing a file path.The problem is specifically with the tagged PDFs and table structure. Simplified version attached, tagged the table as a pdf.table, without the tr/th/td.The image is inside a table cell, but in PAC it shows it outside the table. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now