I have a Problem

Reply

Join Date: Jan 2006
Posts: 12
Reputation: sanjay_scjp is an unknown quantity at this point 
Solved Threads: 0
sanjay_scjp sanjay_scjp is offline Offline
Newbie Poster

I have a Problem

 
0
  #1
Jan 9th, 2006
Hi,
is it possible the html file convert to pdf documrnt and vice versa ?
if, YES than I wanna source code for convert the html file to pdf document and vice versa.

plzzz give me proper instraction.

i m waiting for rite remady

SANJAY
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 4,177
Reputation: peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of 
Solved Threads: 481
Moderator
Featured Poster
peter_budo's Avatar
peter_budo peter_budo is offline Offline
Code tags enforcer

Re: I have a Problem

 
0
  #2
Jan 9th, 2006
Originally Posted by sanjay_scjp
I wanna source code

SANJAY
You should give proper explanition of what you are trying to do, we do not give away are work so easly. Show effort, show what you did so far...

As to your question, you can convert html to pdf with full version of Acrobat or other softare for this purpose. To convert back to html from pdf is more complicated by factor that pdf have to be "searchable". Problem with creating searchable doc is that if was scanned there is no full succes, document was not 100% red there can be some pieces and bits which are not recogniced. So all of your pdf documents should be firstly created in word processing software, than convert to pdf and than to html. What a waist of time if you can get all infomation directly from word processor to html.
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)

LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
Reply With Quote Quick reply to this message  
Join Date: Nov 2004
Posts: 6,143
Reputation: jwenting is just really nice jwenting is just really nice jwenting is just really nice jwenting is just really nice 
Solved Threads: 213
Team Colleague
jwenting's Avatar
jwenting jwenting is offline Offline
duckman

Re: I have a Problem

 
0
  #3
Jan 9th, 2006
yes, there are libraries that can do that.
Apache FOP is a classic example that I've used in the past for similar purposes. It does require extremely strict and correct html to work though.
As people are clearly allowed to attack me but I'm not allowed to defend myself, I no longer post to this site.
Reply With Quote Quick reply to this message  
Join Date: Jan 2006
Posts: 12
Reputation: sanjay_scjp is an unknown quantity at this point 
Solved Threads: 0
sanjay_scjp sanjay_scjp is offline Offline
Newbie Poster

Re: I have a Problem

 
0
  #4
Jan 10th, 2006
hi

Thanx for ur remady

sir , i wanna source code for making converting tool .
that's why please give me the link , where java source code is available ( Free of cost).

Thanx
Sanjay
Reply With Quote Quick reply to this message  
Join Date: Nov 2004
Posts: 6,143
Reputation: jwenting is just really nice jwenting is just really nice jwenting is just really nice jwenting is just really nice 
Solved Threads: 213
Team Colleague
jwenting's Avatar
jwenting jwenting is offline Offline
duckman

Re: I have a Problem

 
0
  #5
Jan 10th, 2006
You'll have to write your own program, noone's going to do it for you unless you pay us consultancy fees to the amount of $150 per hour for a minimum of one week (at 10 hours a day).
As people are clearly allowed to attack me but I'm not allowed to defend myself, I no longer post to this site.
Reply With Quote Quick reply to this message  
Join Date: Dec 2004
Posts: 4,177
Reputation: peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of peter_budo has much to be proud of 
Solved Threads: 481
Moderator
Featured Poster
peter_budo's Avatar
peter_budo peter_budo is offline Offline
Code tags enforcer

Re: I have a Problem

 
0
  #6
Jan 10th, 2006
Originally Posted by sanjay_scjp
hi

Thanx for ur remady

sir , i wanna source code for making converting tool .
that's why please give me the link , where java source code is available ( Free of cost).

Thanx
Sanjay
Hmm, I wonder why he was boosting around with his MCA & SCJP(Sun Certified Java Programmer) and join me. Firstly saing I wanna source code and now please give me a link with free java code, you must be out of mind. Strange acting, have icy bye - bye
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)

LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
Reply With Quote Quick reply to this message  
Join Date: Jan 2006
Posts: 12
Reputation: sanjay_scjp is an unknown quantity at this point 
Solved Threads: 0
sanjay_scjp sanjay_scjp is offline Offline
Newbie Poster

Re: I have a Problem

 
0
  #7
Jan 10th, 2006
dear

this is a problem , and i don't know what is the relation between problem or MCA .

plzzz give me the link where source code is available for convert html to pdf and vice versa.

replyy

Sanjay
Reply With Quote Quick reply to this message  
Join Date: Nov 2004
Posts: 6,143
Reputation: jwenting is just really nice jwenting is just really nice jwenting is just really nice jwenting is just really nice 
Solved Threads: 213
Team Colleague
jwenting's Avatar
jwenting jwenting is offline Offline
duckman

Re: I have a Problem

 
0
  #8
Jan 10th, 2006
examples of converting xml to pdf are contained in the FOP documentation.
properly written html is an xml dialect.

Other libraries exist as well, I'm sure a quick search of the web would turn them up.
In fact a quick search resulted in
Top 213 results of at least 4,162,398 retrieved for the query java html pdf
While without doubt not all of those are relevant out of the first dozen or so only one or two were pdf files about writing html and/or Java, the rest seemed concerned with creating pdf files from html using Java.
As people are clearly allowed to attack me but I'm not allowed to defend myself, I no longer post to this site.
Reply With Quote Quick reply to this message  
Join Date: Jan 2006
Posts: 12
Reputation: sanjay_scjp is an unknown quantity at this point 
Solved Threads: 0
sanjay_scjp sanjay_scjp is offline Offline
Newbie Poster

Re: I have a Problem

 
0
  #9
Jan 11th, 2006
sir,
thank for that
now , i have face another problem , i wanna make a editor through swing.
and i created menu bar , bt i coudn't give the action .
like - for compile java file, for run .
like - find , find & Replace.
plzzz
dear , i know we use the Runtime Class for run the dos commands thru java program.

bt , anyone give me code for that
i m urgently required

plzzz help me
Reply With Quote Quick reply to this message  
Join Date: Nov 2004
Posts: 6,143
Reputation: jwenting is just really nice jwenting is just really nice jwenting is just really nice jwenting is just really nice 
Solved Threads: 213
Team Colleague
jwenting's Avatar
jwenting jwenting is offline Offline
duckman

Re: I have a Problem

 
0
  #10
Jan 11th, 2006
The compiler is just a Java class which you can call. It's contained in one of the jarfiles that come as part of your JDK installation.
public final class Compilerextends ObjectThe Compiler class is provided to support Java-to-native-code compilers and related services. By design, the Compiler class does nothing; it serves as a placeholder for a JIT compiler implementation.

When the Java Virtual Machine first starts, it determines if the system property java.compiler exists. (System properties are accessible through getProperty and , a method defined by the System class.) If so, it is assumed to be the name of a library (with a platform-dependent exact location and type); the loadLibrary method in class System is called to load that library. If this loading succeeds, the function named java_lang_Compiler_start() in that library is called.

If no compiler is available, these methods do nothing.
Check your API docs.
As people are clearly allowed to attack me but I'm not allowed to defend myself, I no longer post to this site.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Java Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC