|
hi
i have developed one application using openoffice and JOD convertor to convert a document in pdf. its working fine but problem is like i have to install openoffice on
my machine. is there other way using any opensource to convert a word document into pdf.
please dont suggest for POI and otehr api..because they not support fully conversion and we had tried it.
if u have any other suggestion please reply.
Thanks
|
|
|
|
|
After a quick Google search I found this[^].
If at first you don't succeed, you're not Chuck Norris.
|
|
|
|
|
Hi
Thanks for suggestion but i have already told u like i want to implement using openoffice and JOD convertor ...but now i have to install openoffice in my system..i want to avoid installation of Openoffice just need to include some jar file..
if is there any way...Thanks
|
|
|
|
|
JODConverter must connect to an OpenOffice.org instance in order to work. Typically this is done by connecting to the openoffice.org service on the local machine, hence needing openoffice installed. However, it can connect to an instance on another machine. Have a look at this[^].
If you don't want to connect to different machines and don't want to install open office locally then I suggest using a different API.
If at first you don't succeed, you're not Chuck Norris.
|
|
|
|
|
Thanks For Suggestion,I thought if i will go for openoffice and JOD convertor then i have to use OO service. it is mandatory thing right ? Thanks for Reply..
i already tried other api .if u have any idea about some other api please suggest me
|
|
|
|
|
Hi people,
I am very new to webservices. I been research on webservices and i understand it is something similar to an API.
I am working on a project that require the use of an GSM Modem. Its like a generic SMS Processing Agent that anyone can use it instead of building the capability into each application that needs it.
I am using an opensource sms library called "SMSlib".
So basically i need to create a web service that allows applications to interface with the processing agent to
-retrieve sms
-send sms
-keep a transaction log of communications with other applications.
So, can someone give me an advice on what kinda of methods do i need to have in my web service in order to achieve my goals.
Thanks
|
|
|
|
|
|
Hi i am new to java,
we have a project of taking that big one file and save the two classes inside two diffrent files, but i recieve an error
the error is :
D:\>java MonkiesDemo.java
Exception in thread "main" java.lang.NoClassDefFoundError: MonkiesDemo/ja
Caused by: java.lang.ClassNotFoundException: MonkiesDemo.java
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
Could not find the main class: MonkiesDemo.java. Program will exit
the project i have to make is :
http://www.abelski.com/moodle/mod/assignment/view.php?id=676[^]
http://pastebin.com/m4bdad8f7[^]
http://pastebin.com/m52543652[^]
Thanks
|
|
|
|
|
|
What was the problem. I guess you should call
javac MonkiesDemo.java instead of java MonkiesDemo.java
and then
java MonkiesDemo
Kujtim
|
|
|
|
|
I am doing a micro video application and am experiencing problems with my arraylist.
I have 2 separate frame. One is ListGameFrame and the other ListVideoFrame. When I add new games to the ListGameFrame and selects the ListGame option to view, I will also see my items from the videos section.
This is my coding for the ListGameFrame for adding games.
public void addGamesToList(ArrayList<Item> items)
{
this.clearDataFromTable();
for (Item i : items)
{
String GameID = i.getItemId();
String GameName = i.getTitle();
String[] rowData = {GameID,GameName};
((DefaultTableModel)tblGames.getModel()).addRow(rowData);
}
}
And this my coding for viewing the list of games via a class call VideoManager.
private static void readGameObjects()
{
ObjectInputStream in = openObjectInputFile(gameFileName);
if (in == null)
return;
try {
Item i = (Item)in.readObject();
while (i != null)
{
items.add(i);
i = (Item)in.readObject();
}
} catch (EOFException e) {}
catch (IOException e)
{
System.out.println(e.getMessage());
e.printStackTrace();
System.out.println("Error in reading customer file");
} catch (ClassNotFoundException e)
{
System.out.println(e.getMessage());
e.printStackTrace();
System.out.println("Error in file format: Customer file");
} finally
{
try {
in.close();
} catch (IOException e)
{
System.out.println(e.getMessage());
e.printStackTrace();
}
}
}
Sorry for the long codes as I do not know how to simplfy the problem I am facing now.
May I know if there is any specific problems in my coding which results the game list to also show the video list?
|
|
|
|
|
I dont think anybody's going to help you in that code. You should try Sun Developer's Network (SDN).
I calculate my days on earth..... approximately 55 years remaining for me to expire
|
|
|
|
|
What are you playing at? If you don't understand it, because of your abundant lack of knowledge, then don't answer it with pure dribble.
If at first you don't succeed, you're not Chuck Norris.
|
|
|
|
|
Rajdeep,
You are stupid. Your answers are, at best, wrong and often plain misleading. Please, you obviously have no knowledge of java so don't damage other people's future by poluting their brains with this rubbish.
Stop. Desist. Go away.
Panic, Chaos, Destruction.
My work here is done.
|
|
|
|
|
Welcome to the seventh sphere of hell that Rajdeep.Net brings along to whatever forum he trolls. So far he worked his way through VB.Net, C# and C++ forums with his idiocy and most often stupid, deceiving posts which he admitted where malicious with intent to hijack and/or harm other peoples property.
His posts should be ignored and disregarded, and marked as abusive as his answers are almost always are incorrect and misleading.
modified on Wednesday, July 22, 2009 12:11 PM
|
|
|
|
|
EliottA wrote: his answers almost always are incorrect
ftfy
He has a brain that lad. Keeps it in jat under his desk!
Panic, Chaos, Destruction.
My work here is done.
|
|
|
|
|
In all honesty, there is not a lot of information given here, as I don't exactly know what you are trying to do. Are you simply listing the data and adding/removing from it?
kyosugi wrote: May I know if there is any specific problems in my coding which results the game list to also show the video list?
Can you clarify what you mean by this please. Do you mean on the UI (ie. mistakenly added to it) or actually in the List variable? In which case, debug your code and have a look at where the List is generated/output and see why it is being added.
ps.
kyosugi wrote:
try {
Item i = (Item)in.readObject();
while (i != null)
{
items.add(i);
i = (Item)in.readObject();
}
} catch (EOFException e) {}
Simplified can be:
Item i;
while ((i = (Item)in.readObject()) != null)
items.add(i);
If at first you don't succeed, you're not Chuck Norris.
|
|
|
|
|
Difference between J2EE, J2SE, J2ME and when to use it.
|
|
|
|
|
Wikipedia?
Sun?
1 search with google?
The penultimate letter is used to define the target for the different versions and how they are used; Enterprise, Standard and Micro.
Seriously, read up on it via Sun's intarweb pages; they do explain it properly.
Panic, Chaos, Destruction.
My work here is done.
|
|
|
|
|
Nagy, do you actually ever answer anyone's questions, or do you just tell them to look it up or flame them?
This answer is not so bad, but in the rest of your posts you never help!
|
|
|
|
|
I answer questions all the time. Unfortunately the answer is usually have a look. If the question had been for a clarification, then more info would have been forthcoming.
Panic, Chaos, Destruction.
My work here is done.
|
|
|
|
|
I'm glad to see the local Hungarian IT guru has undeaded your laptop.
Luc Pattyn [Forum Guidelines] [My Articles]
The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.
|
|
|
|
|
Nope. I was/am at work.
Panic, Chaos, Destruction.
My work here is done.
|
|
|
|
|
|
Hi , ANYONE LET ME KNOW WHAT IS GOING WRONG HER, I AM TRYING TO CREATE ZIP FILE IN JAVA, BUE IAM GETTING THE ERROR AS FALLOWS, GO THRU THE CODE ALSO WHAT I WROTE
import java.util.zip.*;import java.io.*;
public class ZipFileExample {
public static void main(String args[])throws IOException {
FileInputStream fis=new FileInputStream("Allpaths.txt");
FileOutputStream fos=new FileOutputStream("kkk.txt");
DeflaterOutputStream dos=new DeflaterOutputStream(fos);
int data;
while((data=fis.read())!=-1){
dos.write(data);
fis.close();
dos.close();
}
}
}
eRROR: Exception in thread "main" java.io.FileNotFoundException: Allpaths.txt (The system cannot find the file specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at ZipFileExample.main(ZipFileExample.java:4)
modified on Thursday, July 16, 2009 11:06 PM
|
|
|
|