Questions tagged [pdf-reactor]
PDF Reactor is a component for web applications converting HTML to PDF.
30
questions
0
votes
0
answers
37
views
PDF Extractor iText and RealObjects
Have some existing c# code that parses iText produced PDF documents using iTextSharp. Our app supports the ability to import info into our system by PDF. I am new to PDF extraction.
A new version of ...
0
votes
1
answer
37
views
How to create a single pdf from multiple html using pdfreactor
In my code I have a dynamic list of html strings and want to create a single pdf out of it using pdfreactor.
The configuration.setMergeDocuments method only accepts pdf files as input, not html.
What ...
0
votes
1
answer
216
views
Multi-page header with different content on some pages
I currently have a working multipage report with repeating header / footer. I have implemented page count on footer successfully (eg: Page 1 of 20).
I need to change the header content on pages after ...
1
vote
0
answers
220
views
PDFReactor not mapping paragraph/image tags correctly
I am using PDFReactor to create accessible PDF documents from html documents. I am using PAC3 to validate the PDFs for accessibility. PAC3 has a screen reader preview feature that displays a visual ...
0
votes
1
answer
453
views
How to merge pdf files with PDFReactor 5.1
I am working with an established application where PDFReactor 5.1 is in use. The company will not upgrade it for a while (maybe another 1-2 years).
I was tasked with building functionality to merge ...
1
vote
1
answer
390
views
pdfReactor generated documents don't have working links
I am trying to produce a pdf from HTML generated from ReactServer.renderStaticMarkup. I have noticed peculiar behavior around links.
As an example let's use a link to a photo. 'https://i.stack.imgur....
0
votes
2
answers
306
views
How to use REST API PdfReactor / MS Flow Post Request
I would like to convert a simple html file to PDF using PDF Reactor and MS Flow.
I set up a PdfReactor running in a docker container.
Can somebody help me to get the http post request right to have ...
1
vote
1
answer
331
views
PDFReactor .NET - @page is not exist is current context
I am try to change the orientation of my pdf to landscape via PDFReactor. I'am using MVC .Net .
From the documentation, supposed we can change the orientation by using this line
@page{
size: letter ...
0
votes
1
answer
446
views
Pdfreactor loses running footer
I am working with pdf-reactor and cannot make the header and footer to be in every page. I can, if I have only those two elements, header and footer, they are showing, but soon as I enter a single ...
0
votes
1
answer
95
views
PDFreactor text-decoration-color: how to colorize line-through?
PDFreactor does not render a line-through color other then font color.
I tried to set the color of a line-throgh.
text-decoration: line-through solid cmyk(0%, 100%, 81%, 4%);
0
votes
1
answer
216
views
Chinese character printed not corrected in SourceHanSansSC-Medium.otf
Description:
I've encountered a problem that a chinese character (胸) displays normally in html with 'SourceHanSansSC-Medium.otf' font but printed in a quite strange position while the html is printed ...
0
votes
2
answers
7k
views
How to reference embedded Docker resource files using file path URL
I have created a Docker image and embedded some static resource files within it, using the following command in the Dockerfile:
COPY resources /resources
I have a java web application running within ...
0
votes
1
answer
827
views
Named page and flex box does not work in PDFReactor
I am trying to use named page to create two page layouts with Node.js wrapper. I am using PDFReactor version-10-beta. It works as expected only when I don't use flexbox.
If I use flexbox styles in ....
1
vote
1
answer
825
views
Debugging javascript in source for PDFReactor when using PDFReactor Preview
I have some javascript running in a source document for PDFReactor which is not trivial. I cannot find any way to get logging from the javascript or any debug tools.
Are there some way I am not ...
0
votes
1
answer
402
views
angular 2/4 support in pdfreactor
I tried to convert angular 4 view using PDfReactor. Only a page with "Loading..." was converted but not the actual views. I have read that in PDFreactor 8.2.8867 AngularJs can be used without ...
0
votes
1
answer
1k
views
how to apply `text-indent`,`line-height` properties of textarea to resulting pdf document?
the pdfreactor server does not apply text-indent and line-height property of text area. How to fixed?
<textarea style="height: 79px;width: 767px; text-indent: 63px; background-size: 100% 16px; ...
0
votes
1
answer
981
views
Image conversion is not working by using pdfreactor
function convertToPDF() {
console.log("convertToPDF enters");
var pdfReactor = new PDFreactor("https://cloud.pdfreactor.com/service/rest");
console.log("...
-1
votes
1
answer
1k
views
CSS3 paged media mode: Any way to prevent @top_right pdfreactor logo being inserted?
With any attempt to use paged media mode, with for example a style sheet containing :
<html><header>...<style type="text/css"> ...
body { counter-reset: chapter 1;
counter-...
0
votes
1
answer
133
views
Are PDFReactor cookies HttpOnly?
I'm trying to pass cookies from PHP to the rendered webpage.
My configuration is:
$config = array(
"logLevel"=> \LogLevel::DEBUG,
"javaScriptMode" => \JavaScriptMode::...
0
votes
1
answer
1k
views
Can PDFreactor be used to create PDF documents from browser DOM?
Can PDFreactor be used as a Web Service whereby javascript running on a browser can use the REST API to shuttle page content from the DOM to be converted to PDF? In this application, the content ...
0
votes
1
answer
2k
views
How to select the nth() page of a document section with PDFreactor?
I am evaluating PDFreactor to produce PDF from HTML & CSS.
However I have run into a problem - I need to set the page background image different for the 1st and 2nd and 3rd pages of a document ...
1
vote
1
answer
4k
views
Using PDF Reactor as Web Service
I am discovering PDF reactor and I'd like to use it as a web service. To test a file, I use cURL
curl -v -X POST --header "Content-Type:application/xml" http://localhost:9423/service/rest/convert/...
4
votes
1
answer
182
views
Set cookies in configuration using PHP
I'd like to print a document with PDFreactor using PHP.
Unfortunately, the document generation fails when specifying cookies in the configuration. Leaving out the cookies line prints our login page - ...
0
votes
1
answer
577
views
PDFReactor: Images as base64 in xslt
I would like to use PDFReactor to generate pdf from xslt but I have one problem: PDFReactor doesn't attach base64 image to pdf
(...)
<img>
<xsl:attribute name="src">
data:image/png;...
0
votes
1
answer
869
views
Running header with nested generated content
This is a question about Paged Media.
I want to mix a string-set with running elements. It works in PrinceXML but not in PDFReactor. My question, is this possible in PDFReactor?
HTML
<p class="...
1
vote
1
answer
767
views
jetty or pfdreactor throws endless warning message oeji.nio:Dispatched Failed
We use pdfreactor (a html to pdf tool), recently we start to see the error file keep on growing (goes to 80gb until there is no space). There is some warning message which I posted here. My experience ...
-3
votes
2
answers
458
views
Can i use underscore.js in the javascript with pdfreactor?
I am trying to build a prototype with pdfreactor. Can i use underscore templates to render my html content?
If not.. Is there an alternative?
0
votes
1
answer
910
views
PDFReactor - Footer shows right after end of content, instead of the bottom of the page
I have set my footer as a running element. The HTML content of the footer is set at the end of the document, thus making the footer show only on the last page of the document (which is what I want).
&...
0
votes
1
answer
540
views
How to set text above footer in pdf using pdf reactor
We use Pdf reactor in our web application. We render footer using running elements with pdf reactor tool. The footer is placed by using the below code.
@bottom-center{
content:element(footer);
}
...
0
votes
2
answers
796
views
PDFreactor interactive PDF <Select> box inactive?
I am creating an interactive PDF, the PDF is generated with HTML and CSS, which are built up with a string builder in C#, then passed to a method which Generates the PDF using PDF-Reactor.
Most of ...