export-to-pdf

How to use transparent SVGs in jasper report and export to pdf

Deadly 提交于 2020-03-25 21:54:10
问题 I'm trying to export jasper report to pdf using partially opaque SVGs, but in the pdf the opaque are solid white-ish. The image expression is: <imageExpression><![CDATA[net.sf.jasperreports.renderers.SimpleRenderToImageAwareDataRenderer.getInstance(byte[] data)]]></imageExpression> In the background it seems jasper is using Apache BatikRenderer and XML Graphics. Here are even examples of transparency support: https://xmlgraphics.apache.org/fop/trunk/graphics.html#svg According to this link,

Jasper report, load multiple Font Extension

感情迁移 提交于 2020-01-25 07:29:09
问题 i want my Jasper Report to support something like 5 or 6 languages dynamically. i wish to use the google noto-sans font (www.google.com/get/noto) and google noto, have a single file for each language, (beside the main font file ) should i create a couple of font extensions and add them to my classpath ? following my previous question How to get non-english support when exporting to PDF? 回答1: In the jasper report you have <font fontName="google_noto"/> Related to this font you can only have 1

Export discontinuous range of pages to PDF

旧城冷巷雨未停 提交于 2020-01-15 10:17:32
问题 I am trying to save a Word template in .pdf format. I need to print the following range (1-3,18). The problem is that using "ExportAsFixedFormat2" does not allow me to select that range or at least I dont know how: wdapp.ActiveDocument.ExportAsFixedFormat2 OutputFileName:=savenamepdf, ExportFormat:=wdExportFormatPDF, Range:=wdExportFromTo, From:=1, To:=3 If I use "printout" I can select the range and create the pdf file, but when I try to open it I get an error message like it is broken or

Export discontinuous range of pages to PDF

喜你入骨 提交于 2020-01-15 10:17:12
问题 I am trying to save a Word template in .pdf format. I need to print the following range (1-3,18). The problem is that using "ExportAsFixedFormat2" does not allow me to select that range or at least I dont know how: wdapp.ActiveDocument.ExportAsFixedFormat2 OutputFileName:=savenamepdf, ExportFormat:=wdExportFormatPDF, Range:=wdExportFromTo, From:=1, To:=3 If I use "printout" I can select the range and create the pdf file, but when I try to open it I get an error message like it is broken or

SQL Server Reporting Services 2017 - Change export file name

时间秒杀一切 提交于 2020-01-14 03:24:05
问题 I'm planning a upgrade to SQL Server 2017 Reporting Services from 2012. In version 2012, which my company has been using for several years, we added a extension which abled us to modify the filename when the user exports reports to PDF, Excel,... So instead of having e.g. the filename StudentReport.PDF, we get StudentReport_Student_Name.PDF. To manage this we added a hidden field into the footer of each report, FileNameExtend=[[Student Name]] in white text so you don't see it unless you

Datatable doesn't include multiple header rows into exported pdf file

╄→尐↘猪︶ㄣ 提交于 2020-01-04 06:06:32
问题 Here is my HTML for datatable: <table id="assessment-data-datatable-{{ $assessor->user_id }}"> <thead> <tr class="success"> <th>Assessee: {{ $assignment->assessee->fullname }}</th> <th>Assessor: {{ $assessor->fullname }}</th> <th>Status: {{ $assessor->pivot->status }} </th> </tr> <tr> <th>Parameter</th> <th>Assessment</th> <th>Provided on</th> </tr> </thead> </table> And here is the js code: var dt = $('#assessment-data-datatable-' + assessorId).DataTable({ processing: true, serverSide: true,

How to export cell range to PDF file?

本秂侑毒 提交于 2020-01-01 06:57:12
问题 I have following code to export a sheet to a PDF file: Option Explicit Sub exportToPdf Dim document As Object Dim dispatcher As Object document=ThisComponent.CurrentController.Frame dispatcher=createUnoService("com.sun.star.frame.DispatchHelper") Dim args1(1) as new com.sun.star.beans.PropertyValue args1(0).Name = "URL" args1(0).Value = "file:///home/someuser/Desktop/exported.pdf" args1(1).Name = "FilterName" args1(1).Value = "calc_pdf_Export" dispatcher.executeDispatch(document, ".uno

Saving ggplot graph to PDF with fonts embedded in r

北战南征 提交于 2020-01-01 05:44:06
问题 I've been following advice I've found online for saving a ggplot graph to PDF but I can't quite get it to work. I'm using the extrafont package to produce charts with text in Calibri, but my charts are printing out with no text. I don't know what I'm missing. I can't find any mistakes in my process. Hopefully, someone else can help. Here's the code and process I used: library(extrafont) font_import(pattern="[C/c]alibri") loadfonts(device="win") I installed GhostScript at this time. Then ran