Programming :: Convert RTF Files To MS Word Files Using Java?
Sep 19, 2010
In my application I came across a new requirement where I have to convert RTF files to Word and PDF formatted files. I am searching for an API using which my java application can able to convert the above specified formats.
View 4 Replies
ADVERTISEMENT
Mar 4, 2010
Well, I am facing one issue:How can i read two files word by word at a time using any loop as i need word by word comparision in shell script?Please let me know pseudo code.
View 14 Replies
View Related
Dec 22, 2010
How to find a word from different files in linux ?
Is there any command like (find . / -name *****), that can search files in the system for a particular word in Linux?
View 5 Replies
View Related
Apr 7, 2011
Word Count for all files in a directory
View 1 Replies
View Related
Nov 18, 2010
I have this statement which greps .csv files. Code:my @files=grep {$_ =~ /.csv/}What about if I needed to get files with the word 'hosts' in the middle?
View 2 Replies
View Related
May 21, 2011
I need a command to find the all files which filename contains the text "SomeText" and to delete that files!From /home/movie/wp-content/uploads/this folder I have lots of files and folders .Also I need that for folders and subfolders who contains some text in folder name "someTextInFolderName"
View 13 Replies
View Related
Jun 20, 2011
I need to convert some .flac files into .mp3.
I found this script:
#!/bin/bash
FLAC=$1
MP3="${FLAC%.flac}.mp3"
[ -r "$FLAC" ] || { echo can not read file "$FLAC" >&1 ; exit 1 ; } ;
metaflac --export-tags-to=- "$FLAC" | sed 's/=(.*)/="1"/' >tmp.tmp
[Code].....
And I need it to run it from outside of a directory for several directories.
I need to run it from /dir for /dir/dire*
View 4 Replies
View Related
Feb 18, 2010
i am creating program that gets 'key' string and directory path and finds if key string is present in any file under given path, everything seemed OK but when i put path like "/" after 5 mins i get error : Too many opened files. I've minimalized opened File object at the same time as much as posible, tried to call System.gc(),tried to close every stream every opened file, google but i still cannot search in bigger directories.
Algorithm (mine one is much bigger so i tried to make it as small as possible:
read 'path';
read 'key'(set as public);
#&
call method get('path') {
[Code]....
why I always get that runtime error ? (I need it to search hundreds of GB so when my 40GB partition do this what will bigger one do )
View 7 Replies
View Related
Feb 14, 2010
does anyone know how to open .doc .ppt .xls .docx.... files using java ? i found just Apache POI but it can open just .xls files.
View 4 Replies
View Related
Oct 29, 2010
I am trying to write a script where I can install Java and Tomcat from tar file, I don't need to use any rmp files, that's why I am asking if there's a way how to install them.
View 2 Replies
View Related
Jan 30, 2011
I have installed this program ok but I am new to command lines in terminal.
I want to convert some wav files to wma files. I have the wav files currently in a folder called Test to make it easy. So I have entered the following command line:
ajpearson@ajpearson-laptop:~/Desktop/pacpl-4.0.5$ pacpl --to wma home/ajpearson/Desktop/Test and the error message I get is:
error: the following is not a file or directory: home/ajpearson/Desktop/Test
It does not matter what directory I use I get the same error. I am sure the answer is obvious - but not t me.
View 9 Replies
View Related
Mar 26, 2011
shell script to convert file names from UPPERCASE to lowercase file names or vice versa in linux
View 6 Replies
View Related
Dec 7, 2010
I've a program which manages my pdf and references. I wish to put some of the information on my website but that program (Mendeley) does export only in XML (or bibtex). I'd like to simply convert the XML output files to SQL in order to create or update an SQL database.I'm not an expert in either XML or SQL (use only PHPMyadmin). Does someone get help me to figure out?
View 2 Replies
View Related
May 25, 2011
How do you convert Open Office (ODT) documents to Text files?
I have made a report using libre office. Now I wish to continue editing the document using lyx (latex front end). So the ODT file needs to be saved as some .tex file.
I don't see an option to do this in File menu (export/save as). So is there any other plugin to do this?
View 1 Replies
View Related
Mar 28, 2010
i have a large directory of .bsp files that i would like to convert .bz2 archives. I've been searching for some time and all i can find is the obvious compress multiple files into one large archive. If anyone knows how to convert each file individually, while retaining the original file name (testmap.bsp would be archived as testmap.bsp.bz2)
View 5 Replies
View Related
Mar 20, 2011
I have screen.log and putty.log files which has keystrokes characters like ^M, Esc,@ etc.it is in unreadable format. How i can convert it to human readable format?os is rhel 5.2.
View 1 Replies
View Related
Sep 21, 2010
how to convert mp3 files into files with the m4a extension? Need to get music files to be recognized by my DSi.
View 4 Replies
View Related
Mar 28, 2011
I am trying to understnd where java preferences are stored based on web search I understand they are somewhat like windows registry - stored out there somewhere. web suggested things like hidden files or directories - and i've look all over th eplace withour result on Fedora 14. trying to start a program. got part way in and had given some info and then it blew. it still remembers my iput - which may have been wrong. ive looked at code and see it uses the java preferences system - wpould like to find and erase.
View 2 Replies
View Related
Jan 13, 2010
Does anybody know a way to convert PCL-files to TIFF-files?
View 4 Replies
View Related
May 3, 2009
I have Ubuntu 9.04 and just installed Sound Converter. I am trying to convert a bunch of .ogg files to mp3 to play on my iPod and it's not working so well. In the Sound Converter options I have is set to convert to high quality mp3. I choose the folder that the files are in and after a moment (slow laptop) Sound Converter populates, I hit 'convert' and it shows that the conversion completes in two seconds. All that it did was create the new folder structure of artist/album but there is nothing in there. Not sure what I am missing. I used Sound Converter before and it worked fine.
View 2 Replies
View Related
Jul 18, 2010
I'm trying to use convert, I have installed the imagemagick. I use this line:convert *.jpg test.pdf but I'm only able to convert to pdf 1 single jpg file, not multiple files at once. When there's more than one file, I get the following error: Segmentation fault
View 5 Replies
View Related
Dec 24, 2010
I have a lot of .flac files downloaded from several sites. Most of them come with a .cue file, and the .jpg with the cover, etc. It seems it is the intention of the uploader that one rebuilds the original CDDA. However, if I had a stand-alone CD/DVD player with flac I would hardly see the point of converting the flac to cdda. Furthermore, I could even play the flacs with a software player although, in this case, the audio quality would not be so good due to the noise picked up by the signal from the PC digital circuits.
View 2 Replies
View Related
Oct 9, 2010
I'm trying to use Bash to search some directories for a word in one of documents. I've tried:
Code:
$ grep -R Brzeninski /media/disk-1/Dual_Data/
but It never returned a prompt, and i'm not sure what grep means or does.
View 1 Replies
View Related
Jun 16, 2010
I am trying to find the word count of a specific word in a collection of documents, in Linux.
I have tried with grep and ack-grep in combination with wc but I can't seem to come up with a valid combination of pipes :)
View 1 Replies
View Related
Mar 22, 2010
I have xubuntu 9.10 installed I need to access MS word/Excell files stored on a disk-on-key. My system does not seem to notice the D-O-K. I guess i need to mount the DOK and specify the MS filesystem (FAT,VFAT etc) What commands should i use. What is the necessary code in /etc/fstab so that it is mounted on boot
View 5 Replies
View Related
Oct 10, 2009
i am using openSUSE 10.3 & like to use power of terminal to do tasks.I want to search all files containing word 'echo' in given folder.What should be command.
View 14 Replies
View Related
Nov 13, 2010
I'm not a newbie to Linux, but I'm a newbie to LQ. I've searched the internet for an answer to an issue I'm having with JOE, to no avail.For my editing purposes, I HATE word wrap. I've read the man page extensively and nothing I try works.
To disable word wrap, it says, simply edit the joerc file and place --wordrap in the first column. Done. It works for .pl, and it works for .c (seems to be built in for C). Bottom line, I cannot disable word wrap for all text files, or at least the ones I want to edit. Has anyone solved this?
View 2 Replies
View Related
Jun 3, 2011
I am having problems opening and printing word 97/2000 formatted documents that were saved using OpenOffice in Maverick. If I try to open one of these files in openOffice for Lucid, it causes OpenOffice to freeze every time. If I save the files in OpenOffice format and share them between Maverick and Lucid - everything works fine. Anyone know what might be causing OpenOffice in Lucid to freeze when loading word 97/2000 files?
View 5 Replies
View Related
Jun 21, 2011
The OpenOffice word processor can open and read Microsoft Word files containing XML (.docx) perfectly well, but it--or KDE--does not seem to recognize a .docx by default. To open one with OpenOffice, I have to manually tell OpenOffice to open it, by going through the "open with" option on the right-click menu and specifying soffice. That's obviously not a problem, but it's a minor curiosity. Haven't Word XML files been around long enough that KDE and OpenOffice should recognize them immediately?
I'm not quite sure which to blame this on--KDE or OpenOffice--but KDE seems more logical. And is this a small limitation of KDE 3.5? because I'm still using 3.5. (I'm trying to switch over to Trinity, but have not made the switch yet.)
View 3 Replies
View Related
Jan 21, 2011
I have a output file look like this:
{"test1" : "test2", "test3" : "test4"},
How can I read word by word in each line?This is not working code:
a=0
while read word
do a=$(($a+1));
[code]...
View 14 Replies
View Related