How to convert .doc file into .rtf file in Java?

Hello All,
I want to convert doc file into rtf format in java and for the same i am not getting any help so pls suggest some solution for that.
Thanks and Regards
only1Vinay

MS-Word formats (DOC) are notorious for not being standardized from one version to another, so what ever you get will be version specific. If you must do the conversion, I suggest you do a MS-Script in Word to do it or one of the .Net languages. As stated the Word format from version to version is not standardized.

Similar Messages

  • How to convert database table into xml file

    Hi.
    How to convert database table into XML file in Oracle HTML DB.
    Please let me know.
    Thanks.

    This not really a specific APEX question... but I search the database forum and found this thread which I think will help
    Exporting Oracle table to XML
    If it does not I suggest looking at the database forum or have a look at this document on using the XML toolkit
    http://download-east.oracle.com/docs/html/B12146_01/c_xml.htm
    Hope this helps
    Chris

  • How to convert alv list into excel file?

    Hi Experts,
            i have created one report for Due Date Analysis.
    Now My output is displaying in ALV list. But I need to convert the data which in alv list into Excel File. then only i have to send the Excel File to the Customer Thro Email.
         So i need the Function Module to Convert the Data into Excel File.
    Thanks,
    Neptune.M

    Hi,
      U can use function module gui_download.
      CALL FUNCTION 'GUI_DOWNLOAD'
         EXPORTING
        BIN_FILESIZE       =
          filename           = 'C:\Transportaionlane.XLS'
          filetype                       = 'DAT'
        WRITE_FIELD_SEPARATOR           = ' '
        HEADER                          = '00'
        TABLES
          ata_tab                       = t_trans_lane_dis[]
           OTHERS                          = 22
    if u want with header then pass the header.
    regards
    Ahasan

  • How to convert jpeg images into video file of any ext using JMF

    I want to convert the Jpeg files into video clip with the help of JMF
    any one can help me?
    Plz reply me at [email protected]
    or [email protected]

    I'm not sure of his/her reasoning behind this, but I have yet to find a way to record video with mmapi on j2me. So with that restriction, I can see how one could make it so that it just records a lot of jpegs, and then makes it a movie.
    I would be interested finding a workaround for this too. Either if someone would explain how to record video with mmapi or how to make recorded images into a video. Thanks!

  • How to convert iTunes songs into MIDI files?

    I want to copy an iTunes song and convert the copied song into a MIDI file. How do I do this?

    Can't be done...
    A MIDI file is a set of instuctions for making music. Play this note, then, for that long, on this particular instrument, with these settings. Multiplied by as many notes and instruments as are required. A MIDI file can be turned into music automatically. Turning music into the instructions to make it is, as far as I am aware, beyond the capabilities of current software.
    tt2

  • How to convert number pairs into .grd file(w/o typing them all in)

    I want to be able to take a set of numbers (like coords from some shape), and use them to create a gradient file.
    Example, I start w/file of:
    x=0  , y=0 
    x=1  , y=4 
    x=2  , y=10
    x=3  , y=18
    x=4  , y=22
    ...50 lines elided...
    x=75 , y=97
    x=80 , y=98
    x=84 , y=99
    x=94 , y=100
    where I would use the x as the x coord(duh), and 'y' as the 'height' of transparency
    (or a brightness value that I'd combine with some desired color value to get an RGB value).
    But in this simple case,
    assume a a simple foregnd->backgrnd color (or any 2 color gradient @ 0 & 100), with only the transparency value needing
    all the numbers ...)
    (would be nice if I could just input a forumula...but.....)  barring that.. trying to figure out the .GRD
    file format is proving to be a bit of a pain.
    I notice lots of map-marker points like FE' (ala SVG FE function, ) values, references to doubles, etc...
    but spending a bunch of time figuring out the file format seems like such a bother if it's already been done...
    any scripts or tools to allow such conversions or am I stuck writing my own perl script...
    (breaking it down w/vim wasn't too difficult subbing in <0> or <0000> for quads, etc...
    going from that could see where numbers were wanted and convert those
    to hex, <xx>;  At some point, given the 'FE' function I suspect I'll have to look up how floating point
    is stored ... sigh.
    See what I mean by a pain to write a script?)
    Ideas/pointers?

       Odd, there was a response here by me, w/no content.   I don't remember posting 'nothing', rather than just delete it,  I thought I'd try to remember what I wrote at the time and see if it stays in the system this time.
    Chris Cox wrote:
    The gradient preset files are a sort of key/value pair system, but not really like XML (and are a heck of a lot faster to read and write than XML).
    The file format is documented in the SDK, and has been for many years.
    It's just a complex enough format that even most developers don't want to mess with it.
       Yes-- could see the key value pairs in the work I did.  that's were I found reference to a key with "FE"" in  it and thought it was related to the SVG function of the same name - as it is the gradient function in SVG, but you said above, that the FE key word in the binaries files had nothing to do with the gradient function that is in SVG by the same name (somehow I don't think you read what I was writing but sorta skimmed it.  My writing tends to alot more information in it than it appears (coincidentally, my posts tend to be longer than the average post), so it may not be that it contains more information than it _appears_, just more than the average post...and, as some may believe (not saying on the forum, but have encountered this on others)
       What is often true in writing about any topic is that, it is increasingly difficult to make my writing more concise while retaining precision -- especially if you are trying to be *clear*.  Too often, I find, that when I toss off quick notes, I'll lots of dumb looks <*huh?*? or responses (not responding to what I said) and I'll spend as much (usually more) clarifying or correcting misunderstandings, OR verifying that they were responding to or answering  was to something I actually 'said', rather than what it appeared (to me) that they were responding to.
       As for the bit about developers touching old code...that's common in almost every project...no one wants to touch something that is currently working, as even though they may be adding improvements or fixing a problem, it is certain they will change the code in a way that it doesn't behave precise as it did before (by definition, else why make changes?), and as a result, they may get complaints from some people who were using that code in some completely unexpected way which now breaks in the new code (even though the documented behavior may be unchanged).
       This is a major problem, since I have NEVER scene documentation that explains all the inter-relations and behaviors of a program, yet often, it is *expected* that people will use those undocumented interrelations to do anything other than the most basic functions.  Note -- by undocumented, I also include things that may be discerned via induction on the various pieces but are not  explicitly spelled out (thus open to 'reinterpretation' at some later point...).
       It seems, almost inherently, that they thorough documentation of code would be NOT just the code, but also design documents and notes -- which would not happen in almost any project (maybe a government funded security program), but would also be impractical as a an easy to use reference (I.e. that would need to be written as well).  As it is, some programs simply come with installation instructions and/or installation support.
       Anyway, hopefully, this answer will get posted and stay (don't know what happened to previous)...(failure in submission or bit-rot).
    Astara

  • How to convert a string into xml file

    Hi,
    i have a string . the string contain fully formated xml data. i mean my string like below
    <?xml version="1.0"?>
    <PARTS>
       <TITLE>Computer Parts</TITLE>
       <PART>
          <ITEM>Motherboard</ITEM>
          <MANUFACTURER>ASUS</MANUFACTURER>
          <MODEL>P3B-F</MODEL>
          <COST> 123.00</COST>
       </PART>
       <PART>
    ......................i want to convert it into an xml file
    can u help me?
    thank u

    Thank you Paul Clapham,
    and sorry ..
    i have some other doubt.. regarding xml
    i want to post an XML file from one server(Server_1) to other server.(Server_2)
    To generate an xml file i used DOM in Server_1.
    using xml.transform , StringWriter i converted it into String.
    I post the string to another server and there i will parse it.
    for that i write the code like below in servlet in server_1
    <form name=fn action=http://localhost:8080/server_2/parseXMl.do method=post>
    <input type=hidden name=xmlFile value="+Xmlstring+">
    <input type=submit >is this process is correct?
    Some of the turorial told that use web-services/XML-RPC
    but i new to both..
    I want to complete it using my knowledge only/
    Is it possible to do it?
    Or any other alternative?
    can help me?

  • How to convert erl scripts into single exe file ?

    hi
    this is not related to java. Does anybody know how to convert perl scripts into exe file in non-readable format?
    regards
    venki

    I believe that ActiveState used to do a Perl compiler.....not sure if they still do and I don't think it was free anyway. Check around their website...
    http://www.activestate.com/

  • How to convert Doc file into image

    hello frnds
                     Can any body guide me how to convert doc file into image and show into swf loader.
    actually i have to convert doc files into swf files in runtime so that i have to use this flow.
    is it possible to convert doc file into byte array and than convert into image.
    Thanks And Regards
        Vineet Osho

    You can convert any DisplayObject to byeArray using this function ImageSnapshot.captureBitmapData().getPixels()

  • High Priority:-How to convert XMLSchema file (.xsd ) into .rtf file

    Hi...
    Hope you are doing well.
    I request you to help us with an issue encountered on 'generating reports using XML Publisher', which is described as followed.
    We have taken report from Oracle Apps and stored as XML file , then converted into XML Schema (.xsd) through Stylus Studio and uploaded that file into XML Publisher Desktop.
    Now, we want to convert .xsd into .rtf file for the requirement.
    Please revert back if the issue is not clear enough.
    Your help is needed and appreciated.
    Thanks&Regards,
    Suresh.

    Hi Suresh,
    XSD file is an XML Schema Definition file, it is used to validate and XML file in making sure elements are of the correct datatype, mandatory elements exist etc...
    It cannot be used to create an RTF file, as there is no layout definition within an XSD.
    You will need to create the RTF manually in this case using MS Word and Template Builder.
    I don't fully understand what you are trying to acheive, so maybe you could clarify further, and I may be able to help a little more.
    Many Thanks,
    Cj

  • How to Convert Doc or Docx File to HTML?

    Is there any API in java is avilbale to convert doc/docx into HTML?

    Mr Babakishiyev wrote:
    Not in the JDK.
    But you can use POI for working excel and doc filesBut not to fulfill the requirement.
    The only thing I can think of if you must use Java (which tends to not be the best choice when having to work with Microsoft file formats) is to see if the OpenOffice API can do what you need. But then get ready for some reading.

  • Anyone know how to convert a 3D sphere .STL file into a .igs file?

    Anyone know how to convert a 3D sphere .STL file into a .igs file?

    And for what? Why? This would be kinda atrocious and awful, but weird things happen...
    Mylenium

  • How can convert HTML file into xml file?

    Hi,
    I am receving one HTML file as an input and i want to convert that receiving(html file) into .xml file.Is there any converter (tools)to do this.Pls if any give me the details with regard.
    Regards,
    mahesh.

    Use the HTMLEditorKit to parse the html file.
    this kit is having the callback methods which
    are called wenever the tag appears in the HTML
    stream.

  • How to convert Xls file into Xml file

    Hi,
    I am trying to convert Xls file into Xml  but there  is no any direct procedure for it
    Pls help me out to convert Xls file into Xml file
    Thanks
    Anushree

    you will require to write a module in your file adapter for the same.
    ref: /people/sap.user72/blog/2005/07/04/read-excel-instead-of-xml-through-fileadapter as mentioned in the earlier post.
    Else you can also use Conversion Agent to read the same.
    Ref: http://help.sap.com/saphelp_nw04/helpdata/en/43/4c38c4cf105f85e10000000a1553f6/content.htm

  • How to convert wmf files into AU files?

    Does there exist anu utility to convert wmf audio files into AU files?

    You posted this same question 4 minutes ago.
    http://forum.java.sun.com/thread.jspa?threadID=770001&tstart=0
    Quit cluttering the forums.
    If you posted it by mistake, then reply to the posting stating so. In that way we don't get discussion going in two different threads.

Maybe you are looking for