It's so easy! I was thinking outside the box, the whole time ...
dealing with the conversion of the string... nothing worked, because:
Just use PdfAction.javaScript(String code, PdfWriter writer, boolean
unicode)
with unicode=true and be happy
--
View this message in context:
http://itext-ge
You missed my point. The ENTIRE STRING OF JAVASCRIPT needs to be in UTF16BE...
-Original Message-
From: LIHE [mailto:[email protected]]
Sent: Friday, February 25, 2011 9:57 AM
To: [email protected]
Subject: Re: [iText-questions] Javascript in PDF with Russian
Thats tricky - how can I convert my string into a javascript readable
utf-16be string,
i can't pass the bytearry ;) - using .net - but a java hint will help alsp -
so i can search for dotnet code...
--
View this message in context:
http://itext-general.2136553.n4.nabble.com/Javascript-in-PDF-wit
JavaScript doesn't use UTF8. It uses either ISO Latin 1 or UTF16BE.
From: LIHE [mailto:[email protected]]
Sent: Friday, February 25, 2011 4:28 AM
To: [email protected]
Subject: [iText-questions] Javascript in PDF with Russian
Anyone knows if JavaScript inside the PD
At 12:33 AM 3/29/2004, Lucian Sasu wrote:
I have to create PDF files from html sources (the html source is contained
into a String). The files are created on a BeaWeblogic server, to be viewed
in a browser.
OK...
Some of the html sources contains JavaScript code that fills
in some tables
Hi.
I have to create PDF files from html sources (the html source is contained
into a String). The files are created on a BeaWeblogic server, to be viewed
in a browser. Some of the html sources contains JavaScript code that fills
in some tables with computed values (this can be done only on the
cl
Hi all,
Anybody knows how to execute JavaScript code that may only be executed during
initialization of the document.
I want to use the app.hideMenuItem() function, but cannot get it to run.
While other methods will run as they are not limited due to 'pdf security'
rules.
Code that wont work: