• XMLWorkerHelper Class

    By Robert S Dixon 1 decade ago

    Hi
        Thanks for the PDF Exporter Custom Control, it has helped with my current project.  I am wondering if you have made any significant advancement with the CKEditor in domino to display the html it produces.  Using the simpleParser in itextpdf works, but leaves much to be desired.  It has been suggested to use the xmlworker class-1.1.4 from itext to perform the parsing, but have met with difficulties.  I thought the code should be something like the following, where htmlStr, is obtained from the mime of the richtext field.

    var xmlWorkerHelper = com.itextpdf.tool.xml.XMLWorkerHelper.getInstance();

    xmlWorkerHelper.parseXHtml( writer, newPDF, htmlStr );


    Any thoughts on why the parseXHtml cannot be found?   Thanks in advance,

     

    • html

      By Rami Muurimäki 1 decade ago

      I'll check the HTML + iText combination at some point. Can't promise you any time schedule when this will happen. Actually this has been on my TODO list, but there's always been some other things with more higher priority.

      Don't know why you are not able to call/ see the method you mentioned. Maybe it's because of the iText version the PDF control is using? I had to downgrade to older version because of the iText licensings. Newer versions goes under AGPL and the older ones are under LGPL.

      I'll get back to this "issue"/ request later. At the moment I'm on my summer vacation and I think it will be "xpages free" one :) If you find a solution, please post it here or to my email.