With ASP.NET, the instantiation of the objects will most likely occur in
C#, in the code behind page. It almost seems like the best solution,
excluding porting iText to C#, is a COM bridge. I found a couple of
sites that seem to have solved this problem, for example J-Integra. I
am playing with the trial version today. I keep running across Java
libraries that I wish were available in C# (probably because my last
company was a Java shop!), so this might be a worth while investment.
Also, I have began porting iText to C# and have a simple Hello world
example working. I used a Java-to-C# converter provided by Microsoft to
get things started and some manual conversion. I will be sure to pass
it along if I end up spending more time converting iText C#.
Thanks for info!
David
-Original Message-
From: Paulo Soares [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 12, 2002 6:43 AM
To: 'Mattia Dongili'; [EMAIL PROTECTED]; David Montz
Cc: [EMAIL PROTECTED]
Subject: RE: [iText-questions] Re: C#?
There's something you can try if you have Visual J++. Compile the jdk
1.1.x
version that is in my site. It may work and it would be an immediate
solution.
Best Regards,
Paulo Soares
-Original Message-
From: Mattia Dongili [SMTP:[EMAIL PROTECTED]]
Sent: Tuesday, March 12, 2002 13:36
To: Paulo Soares; [EMAIL PROTECTED]; David Montz
Cc: [EMAIL PROTECTED]
Subject: RE: [iText-questions] Re: C#?
Well, I'm trying right now to stantiate custom classes from an asp
page
following the previous example.
It seems to work... I just added to the system path the Sun's Java
executable in order to bypass MS virtual machine and added some
classes
in the system classpath...
[...]
In the meantime I've done some tests and they revealed that this
approach is not very usable...
:P sorry
bye
Mattia
-Original Message-
From: Paulo Soares [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 12, 2002 12:22 PM
To: Mattia Dongili; [EMAIL PROTECTED]; David Montz
Cc: [EMAIL PROTECTED]
Subject: RE: [iText-questions] Re: C#?
The problem is that it only works with Visual J++ that as you
know stopped
at version 1.1.4.
Best Regards,
Paulo Soares
-Original Message-
From: Mattia Dongili [SMTP:[EMAIL PROTECTED]]
Sent: Tuesday, March 12, 2002 11:16
To: Paulo Soares; [EMAIL PROTECTED]; David Montz
Cc: [EMAIL PROTECTED]
Subject: RE: [iText-questions] Re: C#?
It's really necessary a port?
It's quite easy to use a java library in ASP code:
%
Dim dtmDate
Set dtmDate = GetObject(java:java.util.Date)
%
The date is %= dtmDate.toString() %
[from
http://msdn.microsoft.com/library/default.asp?url=/library/en-
us/iisref/ht
ml/psdk/asp/iiwacomu.asp]
-Original Message-
From: Paulo Soares [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 12, 2002 11:42 AM
To: '[EMAIL PROTECTED]'; David Montz
Cc: [EMAIL PROTECTED]
Subject: RE: [iText-questions] Re: C#?
It shouldn't be too difficult to port to C# but it will take
some work.
Having a COM interface would open up the market to VB and
ASP. I'm waiting
for visual net to be out of beta to try it out; for the
moment I have VC++
6.0 for production and I don't want to mess with other
environments. One
problem is that after the porting it would be a continuing
work to have the
JAVA and C# synchronized.
The direct answer to your question is yes, I'm thinking of a
port to C#.
Best Regards,
Paulo Soares
-Original Message-
From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
Sent: Tuesday, March 12, 2002 8:10
To: David Montz
Cc: [EMAIL PROTECTED]
Subject: [iText-questions] Re: C#?
David Montz writes:
Does anybody know of iText will ever be ported to a .NET
language, like
C#? If not, any recommendation on other tools available for
programmatically creating PDF files form C#?
I don't (want to) know anything about .NET, but if somebody
else does the port to C#, I will be happy to put it on my
site.
A similar example is the RTF package.
I don't know the first thing about RTF (nobody can be an
expert in everything). This package is managed by Mark Hall
who was the original developer of that part of iText and
who now receives the help of Steffen Stundzig.
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions
___
iText-questions mailing list