Questions tagged [xmlworkerhelper]
9 questions
2
votes
1 answer
Method (parseToElementList(str,null)) not found in XMLWorkerHelper class for Itext
I am new in iText, I want to convert HTML string to Pdf in Itext. I found lots of example on the Internet. Then I found one example and want to implement same here, but not able to implement the example in my project.
I added dependencies in my…

Sitansu
- 3,225
- 8
- 34
- 61
1
vote
1 answer
A page can have only one server-side Form tag. error
<%@ Page Language="C#" AutoEventWireup="true" EnableEventValidation="false" CodeFile="ESign_License.aspx.cs" Inherits="ESign_License" %>
…

chethu
- 386
- 1
- 3
- 26
1
vote
1 answer
i am not able to read h1 tag pdf using itext (xmlWorker)
public PdfPCell richTextRendering(PdfPCell pdfpCell, String HTML) throws DocumentException, IOException {
final String CSS = "";
HtmlPipelineContext htmlContext = new HtmlPipelineContext(null);
…

yogesh vaidya
- 51
- 3
0
votes
0 answers
Java program stucks in XMLWorkerHelper.getInstance().parseXHtml
I have this kind of issue now in Production that sometimes occurring. For context, I'm using RabbitMQ and a Consumer called email-service, RabbitMQ is my messaging server and email-service are the one responsible for converting the HTML string to…

msagala25
- 1,806
- 2
- 17
- 24
0
votes
0 answers
Why does using itext xmlworker in java giving a strange error?
i'm trying to get byte array of html string after convert this string to pdfwriter. When i run into XMLWorkerHelper.getInstance().parseXHtml, it return weird error: java.lang.NumberFormatException: For input string: "100%".
I have searched a few…

HNIM600
- 37
- 6
0
votes
0 answers
"Object reference not set to an instance of an object" for ParseXHtml
There is an exception occurred in the line XMLWorkerHelper.GetInstance().ParseXHtml(pdfWriter, pdfDoc, sr)
An exception of type 'System.NullReferenceException' occurred in itextsharp.xmlworker.dll but was not handled in user code
Additional…

Ursidae
- 87
- 9
0
votes
0 answers
Generate pdf from HTML and keep original Design of the element
I am practicing HTML to PDF conversion.For This Purpose,Firstly I have tried
HtmlWorker but it was not taking my CSS. Then I learnt about XMLWorkerHelper thought it will solve the issue. But it also not getting images and the exact design.
Here I am…

Priom
- 23
- 8
0
votes
0 answers
Russian characters not getting displayed in PDF when generated using itextpdf 5.5.11 and xmlworker 5.4.2
I am trying to generate a PDF using itextpdf 5.5.11 and xmlworker 5.4.2 jars respectively. When I run my java code locally on a WINDOWS machine, the Russian characters are getting displayed fine in the PDF generated. However, when the same Java code…

Sheetal
- 1
- 2
0
votes
1 answer
Convert a String with html code to Pdf format to fill in an itext element like a paragraph of a Document, with itext5, xmlworker
I need to convert a String to fill an element of itext like a paragraph. I do not want to create a new document on the conversion, I just want it to receive a string and return something I could add as part of a pdf document.
An example of the input…

Bryan Mora
- 11
- 5