benkdishman Posted May 18, 2015 Posted May 18, 2015 Hi,I'm using Jaspersoft Studion 6.0.3 in Eclipse Luna and I seem to still get a margin problem when exporting to docx (but not odt) ? Should I be setting a config property on export? Essentially if I export this directly from the preview view to docx it works okay, I can print with no warnings but as soon as I export through code (very basic codeJRDocxExporter docxExporter=new JRDocxExporter();docxExporter.setExporterInput(new SimpleExporterInput(jasperPrint));docxExporter.setExporterOutput(new SimpleOutputStreamExporterOutput(subReportPathName));docxExporter.exportReport();)It produces margins of 0, 0 , 0 , 0 in the docx and thus a print warning. My margins are currently 20 top, left and right and 38 bottom (this was needed to get it working in preview mode)Could really use some guidance if there is a way to fix this error as I 'fixed the issue' in the designer and I've only just noticed it still happens in code?Thanks,Ben.
benkdishman Posted July 21, 2015 Author Posted July 21, 2015 This probably was fixed in 6.0.3. I've realised I didn't update the POM in my application itself. I've just updated it to 6.1.0 and all is well.http://community.jaspersoft.com/sites/all/libraries/ckeditor/plugins/smiley/images/embaressed_smile.gif
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