Generate MS Word and RTF document

Hello,
is any library which I could use to gerenate MS Word document ?
I'm looking also for something which could help me to generate RTF file.
with best regards,
Rafal

Hello,
google "java ms word library"I made it before. I couldn't find any library for free. There is POI but this project wasn't finished, so it's not ready for production.
with best regards,
Rafal

Similar Messages

  • Generating word and PDF documents

    How can I generate Word and pdf documents with JDeveloper ?
    Iwan

    You already got answers on your previous thread:
    Create *.doc and *.pdf files with jDeveloper

  • How do I make Word and Excel Documents readable to PC users that cannot open them

    How do I make Word and Excel Documents readable to PC users that cannot open them

    Be sure to save them in the Office 2007 format as .doc or .xls files.

  • Storing MS-Word and PDF documents in database uploaded through APEX

    I want to allow users to upload MS-Word and PDF documents they have created / edited outside of the APEX app for storage in the database along with the other app data.
    I know that I should use a file browse item in a region for this purpose.
    I have a some questions:
    1. What database datatype is best for storing MS-Word and PDF docs? CLOB?
    2. How can the user see that the file has been uploaded? In other words, how can they see that the filename has been uploaded? I want to show this on the page for later viewing. I have uploaded a document, but later, I have no way to see that the document has in fact been uploaded. From the APEX page, the file browse item does not indicate whether or not a file has previously been uploaded.
    3. How can the user download the previously uploaded document?
    4. Is there a way to give users the capability to edit a document in an APEX app where they can do MS-Word-like editing (font size, font type, bold, italics, etc.)?
    I know I've asked a lot here and I appreciate your input.
    -Reid

    In my case, I am uploading screenshots of my application and then displaying them. You can feel free to use it if you want, the code was mostly taken from examples of file uploads posted by others. Here is some code to get you started:
    File Table description
    CREATE TABLE FILE_UPLOAD
       (name           VARCHAR2(4000) PRIMARY KEY,
        subject        VARCHAR2(4000),
        id             NUMBER,
        blob_content   BLOB,
        mime_type      VARCHAR2(4000),
        PAGE_ID        NUMBER);File Upload Procedure
    IF ( :P20_FILE_NAME is not null ) THEN
         INSERT INTO FILE_UPLOAD (id, NAME, SUBJECT, BLOB_CONTENT, MIME_TYPE, PAGE_ID)
          SELECT ID,:P20_FILE_NAME,:P20_SUBJECT, blob_content, mime_type, :P20_PAGE_ID
                FROM APEX_APPLICATION_FILES
                WHERE name = :P20_FILE_NAME;
       DELETE from APEX_APPLICATION_FILES WHERE name = :P20_FILE_NAME;
      END IF;Download Image Procedure Definition
    CREATE OR REPLACE PROCEDURE download_my_file(p_file in number) AS
            v_mime  VARCHAR2(48);
            v_length  NUMBER;
            v_file_name VARCHAR2(2000);
            Lob_loc  BLOB;
    BEGIN
      SELECT MIME_TYPE, BLOB_CONTENT, name,DBMS_LOB.GETLENGTH(blob_content)
             INTO v_mime,lob_loc,v_file_name,v_length
        FROM FILE_UPLOAD
       WHERE id = p_file;
        -- set up HTTP header
        -- use an NVL around the mime type and
        -- if it is a null set it to application/octect
        -- application/octect may launch a download window from windows
      owa_util.mime_header( nvl(v_mime,'application/octet'), FALSE );
        -- set the size so the browser knows how much to download
      htp.p('Content-length: ' || v_length);
        -- the filename will be used by the browser if the users does a save as
      htp.p('Content-Disposition:  attachment; filename="'||replace(replace(substr(v_file_name,instr(v_file_name,'/')+1),chr(10),null),chr(13),null)|| '"');
        -- close the headers           
      owa_util.http_header_close;
        -- download the BLOB
      wpg_docload.download_file( Lob_loc );
    end download_my_file;
    /make sure to grant the procedure rights for use by anyone
    GRANT EXECUTE ON download_my_file TO PUBLICDisplay Image Procedure Definition
    create or replace PROCEDURE "DISPLAY_IMAGE"
      inID NUMBER
    AS
      vMIME VARCHAR2(48);
      vLENGTH NUMBER;
      vFILENAME VARCHAR2(2000);
      vBLOB BLOB;
    BEGIN
      SELECT MIME_TYPE, BLOB_CONTENT, NAME, DBMS_LOB.GETLENGTH(BLOB_CONTENT)
        INTO vMIME, vBLOB, vFILENAME, vLENGTH
      FROM FILE_UPLOAD
      WHERE ID = inID;
      owa_util.mime_header(nvl(vMIME, 'application/octet'), FALSE);
      htp.p('Content-length: ' || vLENGTH);
      owa_util.http_header_close;
      wpg_docload.download_file(vBLOB);
    END;
    /Again, make sure everyone has rights to execute the procedure.
    GRANT EXECUTE ON DISPLAY_IMAGE TO PUBLICThis doesn't create an editor inside the browser, it just creates a simple upload/display process. For a WYSIWYG editor that handles PDF or Docs, you'll need something far more sophisticated, and I can't suggest anything there.

  • What do I need to do to open Office (word AND excel) documents, PowerPC issues etc. They don't open on iWork '08. Office 2011? Please advise :-)

    What do I need to do to open Office 2004 (word AND excel) documents? PowerPC issues etc. They don't open on iWork '08. Happy to upgrade to iWork or Office just to be able to access my docs from Office 2004 again - please can someone advise? Cheers.

    Hi - thanks for this info. Actually I have downloaded a 30-day trial of MS Office for Mac 2011 and it reads/writes. But I was expecting that if I saved it again, either as xls oe xlsx, then I would be able to open the newly-saved document in iWorks '08. This is not the case, any ideas why? cheers, Matt.

  • Word and Excel documents vanish

    This may be the wrong forum for this question if so I apologize and wold appreciate direction.
    Working on numerous word and excel documents every so-often the file will disappear off my screen. If I click on another application then click on say word in the Dock the file comes back again. It tends to happen mainly with larger files. Has anyone had this experience and if so how can I fix it.
    Thanks
    Peter

    Since Office is not an Apple product, you'll get better response if you use a forum dedicated to Microsoft's Mac products such as <http://groups.google.com/groups/dir?sel=33607053> rather than an Apple forum.
    Be sure to search the forum first in case someone has already had a similar question answered. You'll get your answer faster this way. Post your question in the forum if you don't find anything that helps you.

  • Word and excel documents

    Am I correct that there is no way to edit my word and excel documents once they are on my Palm Pre??!!! I can't believe I went from a 5 year old smart phone to a new Pre and lost the ability to modify documents (with the promise of being able to do it in the future, and at what cost???).  What a rip off, I should have gone with droid technology!
    Post relates to: Pre p100eww (Sprint)

    Palm has not released specific information on whether an Office document editor will be included in webOS 2.0. However, speculation is rampant that QuickOffice will be releasing a document editor, either as part of 2.0 or as a stand-alone app.
    What we do know is that Dataviz, the company that produced the current doc viewer (as well as Documents To Go for Palm OS and other platforms), won't be producing an editing version for webOS in spite of their earlier promises. They're been purchased by RIM (Blackberry).
    smkranz
    I am a volunteer, and not an HP employee.
    Palm OS ∙ webOS ∙ Android

  • Will I be able to create fillable pdf forms from existing word and excel documents?

    Will I be able to create fillable pdf forms from existing word and excel documents?

    Hi
    Yes you can. You may visit this link to check the workflow: https://www.youtube.com/watch?v=O0PPzFq3X00
    Regards,
    Ajlan Huda.

  • Best iPad apps for creating and sharing word and spreadsheet documents?

    I am about to take a work trip away for a few weeks and will need to create word and spreadsheet documents and share them with my colleagues back in the office. Does anyone have any tips on the best apps to do this? I'm concerned that the iWork apps might be problematic with the .pages and .numbers native formats, given that my colleagues work on ms office in a windows environment. Also, the google docs mobile experience seems to be pretty clunky, so I'm hoping someon out there has the perfect solution! Thanks in anticipation.

    I use documents to go and am pleased with it. and the premium version also supports cloud storage and syncing.

  • Best iPad apps for creating and sharing word and spreadsheet documents?  X-post from Using iPad

    I am about to take a work trip away for a few weeks and will need to create word and spreadsheet documents and share them with my colleagues back in the office. Does anyone have any tips on the best apps to do this? I'm concerned that the iWork apps might be problematic with the .pages and .numbers native formats, given that my colleagues work on ms office in a windows environment. Also, the google docs mobile experience seems to be pretty clunky, so I'm hoping someon out there has the perfect solution! Thanks in anticipation.
    (X-post from Using iPad, but thought I might get some useful responses here.)

    There is no perfect solution, especially for those who need to create more complex documents (tables, etc.) and spreadsheets.   If your files are simple Quickoffice will do the job; you can set up a shared dropbox for those at the home base to access and interact with it directly through the app.  For heavy duty lifting you may want to consider accessing your  work desktop remotely using Splashtop, Logmein, gotomypc app, etc...

  • I have Microsoft Office 2008 and only use Word and Excel. It takes 980 mb. I am considering replacing it with Apple iWorks 2013. If I do, can I delete Office, and still access and modify my Word and Excel documents?

    I have Microsoft Office 2008 and only use Word and Excel. It takes 980 mb. I am considering replacing it with Apple iWorks 2013. If I do, can I delete Office, and still access and modify my Word and Excel documents?
    I have a MacBook Air and OS 10.9.4

    Ron
    Just adding to what CSound has said.
    Pages and Numbers will change Word and Excel documents when they open and close them.
    Sometimes the change is subtle and sometimes not. With the latest versions of Pages and Numbers, more likely not.
    So don't think you are going to work with MsOffice files without problems. You will always have something not right and in some cases really annoyingly not right. Like having all the text from Pages appear bold in MsWord, or page breaks in the wrong place or some objects and graphics not appearing in one or the other.
    If working between different Operating Systems and MsOffice files, I also recommend LibreOffice. It opens and saves nearly all file formats. Unfortunately not .pages or numbers. Yet. The folks at LibreOffice are busy adding to it all the time, and making sure it works in all Operating systems, Mac, Windows and Linux and they are promising iOS as well soon.
    Peter

  • What is the best free app for editing word and excel documents in ipad?

    what is the best free app for editing word and excel documents in ipad?

    You can download free Quickoffice.
    https://itunes.apple.com/sg/app/quickoffice/id578386521?mt=8

  • Urgent Help Regarding Storing Word and PFD Documents

    Dear Friends
    I want to store my word and pdf documents in my database using 8.1.7 for windows NT. It is quiet urgent so if any one of u guys could help me step by step . How to insert and retrieve my doc and pdf files in and from database.
    I'll be highly thankful to you.
    Regards

    The DBMS_LOB package does not support writing of data from BLOBS to the filesystem.
    An export method is defined for the intermedia doc type.
    NOTE: look at the notes and make sure the correct permissions are granted to the user for this method to work. This is in the 8.1.7 documentation which is not on OTN at this time...
    However, the intermedia does have an export method that was implemented as a java stored procedure.
    http://otn.oracle.com/doc/oracle8i_816/inter.816/relational_interface/mm_relat.htm#1078905
    You can write your own java stored procedure to write the file, place the document in an intermedia doc type and use the export method, or use the relational interface export() function.

  • Suppression of header leads to difference in behaviour in PDF and RTF documents

    Post Author: mani
    CA Forum: General
    I have a report with a header which i suppress based on some conditions.
    When the header is suppressed , the rtf documents generated have the rest of the contents moving up to occupy the empty space created due to suppression of header.
    But if we generate pdf documents the header space is retained (as empty) and the rest of the content remain in their same positions irrespective of header is suppressed or not.
    I want the behaviour to be uniform in both kinds of documents , has any one faced this or have a solution in mind?
    Thank you for looking into this issue.
    Cheers,
    Mani

    Post Author: V361
    CA Forum: General
    Instead of supressing the header, you could just change the font to match the background, base this formula on the same conditions that used to supress the header. This should leave the header the same size, but you will not "see" the text.

  • Searching Words in .RTF documents

    I have a problem with the use of "contains" option within .rtf document.
    I have a table (note_tab) in which i put .rtf text:
    note_tab (id integer,note varchar2(250));
    with primary key on the column id.
    Then I have a context index on the column "note":
    CREATE INDEX note_idx ON note_tab(note) indextype IS ctxsys.context parameters ('FILTER CTXSYS.AUTO_FILTER');
    I inserted in the table some text with .rtf format.
    If I try to search some word with the "contains" option then it works.
    But I have a problem: if i search a word that is in the table but having different font types, font dimensions, colors etc... in itself , then the "contains" command doesn't work.
    For example if I look for the word "country" and this word is in the .rtf text (that I inserted in the table) but it is written like this "co[i]untry", then the "contains" command doesn't find it.
    If I do the same thing with an HTML document (instead of a rtf document) using a context index with the NULL_FILTER option, it works!
    So is there some option in the creation of the index to ensure the fact that, in .rtf documents, I can find also words with different fonts,dimensions etc.. within themselves?
    Thank you
    Massimo

    For example if I look for the word "country" and this
    word is in the .rtf text (that I inserted in the
    table) but it is written like this
    "co[i]untry", thenthe "contains" command doesn't find it.
    The AUTO_FILTER converts the RTF to HTML. This HTML contains the &lt;b> and &lt;i> tags to preserve the look and feel of the document. You are then implicitly invoking the HTML_SECTION_GROUP which strips out the HTML tags and replaces them with a space. So by the time the document reaches the lexer it looks like "c o un tr y". This is why your query does not match this document. The reason HTML_SECTION_GROUP replaces HTML tags with spaces is because a lot of times when people/programs use HTML tags they don't use space around them e.g. "...Oracle Text</TITLE><BODY>My sentence starts...". If HTML_SECTION_GROUP did not replace HTML tags with spaces then this document would like as follows by the time it arrives at the lexer: "...Oracle TextMy sentence starts...". This will cause the search for 'Text' to fail. The use of tag(s) within word, like in your example, is very rare. Are there certain HTML tags which should be replaced with an empty string instead of a space by HTML_SECTION_GROUP? I would like to hear what you and other members of the forum think.
    If I do the same thing with an HTML document (instead
    of a rtf document) using a context index with the
    NULL_FILTER option, it works!Unless I misunderstood your question I don't think that can work with your "country" example. Can you post your code?
    Faisal
    Message was edited by:
    mfaisal

Maybe you are looking for

  • I can't open or view RAW files?

    I have two Macs. One is an iMac and one is a Macbook. I usually always use my iMac for photo processing and storage. And I use an external hard drive to store all my photos. Now I recently had to take my macbook with me because I was going out of tow

  • Multiple clobs for a single record, best approach

    In the past, we've typically dealt with a single clob per table, maybe 2 at the most, but in a recent design session our users indicated a need to have about 10 >4000 byte fields in order to records different aspects of code violations. In many cases

  • Displaying output of sapscript

    Hi,, I had created a code in which i am displaying the output of the data in pdf format which is working fine but the thing is when i use to execut the program it display the print view in the pdf format and then ask to download which is due to the F

  • Pricing Condition Type R/3 - CRM (Exclusion Indicator)

    Hi, I am facing problem with the condition type in the CRM. In R/3 in contion type in Control data 2 we have a Condition Exclusion field and Same Exclusion  field is not availble in CRM. The Value in the Exclusion field is set not to perform this Con

  • How do I scroll a JTable as the selection cursor moves out-of-view?

    If a row is selected in a JTable, and the user navigates up and down using arrow keys, as the selection moves out of view, the table automatically scrolls. In my app, I am programmatically selecting rows, but if the selection is out of view, the tabl