Hi,
when exporting Japanese content into HTML, I am having the problem that
the characters
wont display correctly. But everything works fine, when exporting it
into PDF. I am using
a special Japanese Font, and it is looking good in PDF, but not in HTML.
I am also having
iTextAsian on the Classpath
Replying to my own post, I am know extending the HtmlWriter and overwriting
the write() Method such as any > and < from the String is restored
as < and >.
Will this result in any problems? Why at all is iText using that
HtmlEncoder:encode()
Method?
Regards,
Ben
Hi,
I am using iText to generate
Hi,
I am using iText to generate a HTML document out of a String that
also may contain HTML Tags. Now, the HtmlWriter is replacing any
< and > with entities (< and >).
Is it possible to prevent the HtmlWriter to replace HTML Tags with
the entities?
Thanks for helping,
Ben
--
Replying to my own post, one solution would be:
Document doc = new Document(PageSize.A4, 50, 50, 108, 80);
OutputStream SalidaPdf = new FileOutputStream("C:/test.pdf");
PdfWriter writer = PdfWriter.getInstance(doc, SalidaPdf);
doc.open();
doc.resetPageCount();
try {
new HTMLWorker(doc).parse(new
Hi,
I am having a String filled with HTML Tags and Text. I wonder if there
is an easy way to pass that String into a Document having all simple
Tags (like Anchor, Bold, Italic, Paragraph, BR) displayed as such.
For example a Method that returns a Paragraph, filled with correctly
styled Chunks for e
Hi,
I am using a Table to display three columns. The first column
contains a Cell that is filled with a Title. The Title exists
of a Paragraph that contains a Chunk.
I would like to have that Title appear as Outline. Is it possible
to have the content of a Cell be the Chapter or Section?
If not, I