How to create a word document or a pdf through webdynpro java

Hi All,
I have a requirement where in i need to create a word/pdf document with a certain template form.
When the user clicks on a  button then the word document with a template should be created and saved in his/her desktop.
I need to know what is the procedure to create a document.
If anyone has worked on it then please help me out.
Thanks and Regards,
Pradeep

Hi Pradeep,
For creating PDF documents in Webdynpro Java you can use  "iText.jar" .
to know more about creating PDF using iText refer these links.
http://www.brothersoft.com/downloads/itext-jar.html
http://www.lowagie.com/iText/download.html
Regards
Sridhar

Similar Messages

  • I've created a Word document from a pdf file. How do i make it editable?

    I've created a Word document from a pdf file. How do i make it editable?

    Hi Kaz1,
    The Word document should be editable after the conversion is complete.  What happens when you try to edit it?
    Thanks,
    David

  • How to convert a word document into the PDF format?

    Please instruct me step by step on how to convert several Word documents into the PDF format?

    If properly installed and updated (depending on the WORD version), you can simply do any of the following:
    1. Open the doc in WORD and select Print, choose the Adobe PDF printer, print.
    2. Open the doc in WORD and go to the Acrobat menu in WORD and select create PDF (this uses PDF Maker).
    3. Open the doc in Acrobat and the conversion should be done based on PDF Maker.

  • How to create a word document on iPAD?

    How to create a word doc on iPAD

    Look at the Rccharles answer on this post.
    https://discussions.apple.com/thread/6033082?tstart=0
    Also, you can download these free MS Office apps (Word, Excel, PowerPoint) to view these files.
    https://itunes.apple.com/us/app/microsoft-word-for-ipad/id586447913?mt=8
    https://itunes.apple.com/us/app/microsoft-excel-for-ipad/id586683407?mt=8
    https://itunes.apple.com/us/app/microsoft-powerpoint-for-ipad/id586449534?mt=8
    Microsoft Office for iPad:Early Reviews of Word, PowerPoint & Excel Apps
    http://ipadacademy.com/2014/03/microsoft-office-for-ipad-early-reviews-of-the-wo rd-powerpoint-excel-apps
     Cheers, Tom

  • How do convert a Word document to a PDF on an iMac running 10.6.8?

    How do I convert a Word Document to a pdf file on my iMac running OS X 10.6.8?

    File- Print-Print PDF- Save as PDF

  • How to fetch all the portal groups into dropdown through webdynpro Java App

    Hello All,
    I have a requirement where I have to fetch all  the groups available in user administrator in portal into a dropdown, so that the admin can select the group from the dropdown and after that when he executes a button u201CGet Detailsu201D he must be able to get the list of users who has been assigned that group .
    I need to achieve this through WebDynpro Java.
    Any pointers or documents on this is very very helpful.
    Thanks,
    Manasa.
    Edited by: Manasa Boyapati on Sep 12, 2011 7:25 AM

    Hi,
    Can you try using the below code ?
    IUser uid = UMFactory.getUserFactory().getUserByLogonID(Userid);
    Iterator groups =  uid.getParentGroups(false);
    while (groups.hasNext())     
      String str_grpname = (String)groups.next();
      IGroup Group = UMFactory.getGroupFactory().getGroup(str_grpname);
    ary_groups.add(Group.getUniqueName());
    Hope you can achieve you results by tweeking this..
    Regards,
    Vijay.

  • How To Create MS-Word Document in JAVA ?

    I want to create a MS-Word Document using JAVA.
    then i want to create table in that document.
    is there any way through which i can create a Object of MS-Word in JAVA.

    As far as I know. There is no support. And you can't get the file format specification for MS Word documents.
    My advice is to look in to RTF, the spec is out there, although its not very nice.
    I think you can do tables in RTF, and you just need to write your output as text and MS word will load it.
    One thing to do is create a table in Word and save it as RTF, then look at the text and try to see whats going on. Although it won't be pretty !! Good luck

  • In acrobat 9 why can it never create a word document from a pdf correctly?

    So I have acrobat 9 and because I have lots of issues with editing PDFs in it I occasionally need to convert the pdf into a word to help with the editing.  However it never even comes remotely close to converting it correctly. I mean it is not even close.  and the PDF are very simple, no graphs no pics just text. Very frustrating/.

    GIGO.
    If the PDF's "under the hood" build is good then good stuff is exported.
    If the PDF's "under the hood" build is garbage then garbage is exported.
    Using a PDF creation process that actually has full compliance with the ISO Standard for PDF (ISO 32000-1) is a prerequisite for "Good stuff In".
    Some (but not most) PDF producers do this. Adobe's "do it".
    As well if such a PDF is a well-formed Tagged PDF then export is pleasingly good.
    The design function of "Tagged" PDF is two-fold.
    (1) Support Accessible PDF
    (2) Support export of PDF page content.
    Such export can be achieved by Acrobat 8 Pro, Acrobat 3D, Acrobat 9 Pro, Acrobat 9 Pro Extended, Acrobat X Pro and Acrobat XI Pro.
    Have done it / do it with these.
    Not meaning to be unpleasant here but the problem is with the PDF you have and not Acrobat.
    Be well...

  • Create a word document with TOC, table,etc

    Hi,
    How to create a word document with Table of content(TOC),header, footer, table, etc?
    Help me with any APIs or examples. I have already tried with POI API, but couldnt create TOC.. So any other api or any solution is available to create complex word document.
    Thank you

    Hi BIJ001,
    Thanks for your valuable suggestion.
    Open standards WordprocessingML format is supports by Microsoft word. It is typical xml format of designing word document. But creating document with TOC,tables, different styles of paragraphs are complex. Using this format, i have created simple docs. I never tried with complex formats like TOC. The generating File should be in ".doc or .docx" format only.
    Hi gimbal2,
    I am parallely looking to find solution in OpenOffice format also. But i never try out ".docx" file format. I will try to look out this option.
    Thanks for the input.
    Edited by: user13735134 on May 24, 2011 6:55 AM

  • How to edit a converted Word Document from a PDF file

    how to edit a converted Word Document from a PDF file

    Hi Edit Converted Word Doc,
    What's happening when you try to edit the file? Have you tried triple-clicking in the text block that you want to edit?
    Please let us know what sort of trouble you're running into. It would also be helpful to know how the PDF file was created, and what version of Word you're using.
    Best,
    Sara

  • How to convert a Word Document to SAP SCript standard text.

    Hi team,
    Does any one know how to convert a word document or text in Word format to standard text.
    So that we can use that standard text in Script output.
    This might be very useful if we need to convert a lot of text into standard text.

    Hi,
    Create the name of the standard text you want in SO10.
    When the editor is called up, select Text -> Upload and then browse for your file(s). Must be saved in RTF format in Word remember.
    Cheers
    Colin.

  • How can I digitalize a document text in PDF and export it to WORD?

    Anthony
    How can I digitalize a document text in PDF and export it to WORD?

    If you already have a PDF document, ExportPDF can help you with this task. https://www.acrobat.com/exportpdf/en/convert-pdf-to-word.html
    On the other hand, if you have a physical document, you'll need to scan it into a PDF document first.
    Depending on what you need to do you may require different tools & services, so please help us out with more details.
    Vlad

  • How do I convert a word document into a pdf and then upload it to a web site

    How do I convert a word document into a pdf and then upload it to a web site so people can read it from my
    site with Dreamweaver 4?. How can I do this? Can anyone please help? I'm only a newbie. Thanking you in anticipation.

    First you need to install a means of printing to pdf from word.  I like cutepdf writer ( http://cutepdf.com/Products/CutePDF/writer.asp ).  Once installed you will print the doc in word and under the printer selection you choose pdf.
    Once you have the file you put it in your local site folders and upload it using Dreamweaver.  Be sure to link to it from a page so users can get to it and I would recommend giving the link a target of _black so it will open in a new window (see the properties inspector in DW).

  • How to insert a word document or an RTF document into RichTextEditor?

    How to insert a word document or an RTF document into af:richTextEditor. I am using Apache POI for reading the Word document and getting its contents. I am able to display the whole content of the document except the table and image within the document. The data in the table is getting displayed as a string and not as a table inside the editor.
    Can we insert a word/RTF document into a rich text editor?
    Can we insert images into the rich text editor?
    The following is the code that I used. On clicking a button the word document has to be inserted into the <af:richTextEditor>.
    <af:richTextEditor id="rte1" autoSubmit="true"
    immediate="true"
    columns="110" rows="20">
    <af:dropTarget dropListener="#{SendEmail.richTextEditorDrop}">
    <af:dataFlavor flavorClass="java.lang.String"/>
    </af:dropTarget>
    </af:richTextEditor>
    <af:commandButton text="Insert at position" id="cb2">
    <af:richTextEditorInsertBehavior for="rte1" value="#{RichTextEditorUtil.docFile}"/>
    </af:commandButton>
    Java Code: I am using Apache POI for reading the word document.
    import org.apache.poi.hwpf.HWPFDocument;
    import org.apache.poi.hwpf.extractor.WordExtractor;
    public String getDocFile() {
    File docFile = null;
    WordExtractor docExtractor = null ;
    WordExtractor exprExtractor = null ;
    try {
    docFile = new File("C:/temp/test.doc");
    //A FileInputStream obtains input bytes from a file.
    FileInputStream fis=new FileInputStream(docFile.getAbsolutePath());
    //A HWPFDocument used to read document file from FileInputStream
    HWPFDocument doc=new HWPFDocument(fis);
    docExtractor = new WordExtractor(doc);
    catch(Exception exep)
    System.out.println(exep.getMessage());
    //This Array stores each line from the document file.
    String [] docArray = docExtractor.getParagraphText();
    String fileContent = "";
    for(int i=0;i<docArray.length;i++)
    if(docArray[i] != null)
    System.out.println("Line "+ i +" : " + docArray);
    fileContent += docArray[i] + "\n";
    System.out.println(fileContent);
    return fileContent;

    Hi,
    images are not yet supported. Its an open enhancement request for the rich text editor.
    For tables, it seems they are supported but in a basic way (just HTML 4 style) if I interpret the tag documentation correct
    http://download.oracle.com/docs/cd/E15523_01/apirefs.1111/e12419/tagdoc/af_richTextEditor.html
    Frank

  • I have a new computer with Windows 7 professional, Office 2007, Adobe XI. I have just created a word document and tried save it as a PDF but the PDF option doesn't appear in the drop down menu. Any ideas please? Thank you.

    I have a new computer with Windows 7 professional, Office 2007, Adobe XI. I have just created a word document and tried save it as a PDF but the PDF option doesn't appear in the drop down menu. Any ideas please? Thank you.

    What is "Adobe XI" - Reader, or Acrobat?
    But either way, 'Save as Adobe PDF' is a Word function, independent of what Adobe software you have installed.

Maybe you are looking for

  • How to use BAPI_ACC_DOCUMENT_POST for CO-PA Account Assignment

    hi all, when i used bapi to posting docment,but for document_type ='DR'(customer invoice), it is related with Profit. Segment. it returned following message in return table: E RW                   609 Error in document: ZBKPF ZY2005 DEVCLNT230 E F5  

  • NTP Error Logs on Nexus 5K [ ntpd[4746]: ntp:time reset +0.279670 s]

    Hi Team, We are using almost 10 Nexus 5k in our DC currently we are getting same error logs in all Nexus 5k. " ntpd[4746]: ntp:time reset +0.279670 s "  Is it major error or just for reset time?........ Please check and let me know if you need any ot

  • White balance adds blue - looks worse!

    Hello. I am having a little problem with the white balance color picker. I shoot with a Canon 5D and I always start by shooting a WhiBal card. Prior to using the white balance tool I have values of R:196 G:196 B:187 on the WhiBal card itself. Since t

  • How to remove all remnants of Mountain Lion from an early 09 Mac Mini?

    I have a 1 TB hard drive that was formaly in a late model 2012 Mac Mini that the Geinus's thought was faulty. So they R & R'd the drive, but I thought otherwise. I R & R'd the drive in a early 2009 Mac Mini and all was well until I decided to removed

  • External Topics in RoboHelp HTML

    Let's say I have BOOK1 and BOOK2. BOOK1 has an external link out to BOOK2. When I'm viewing BOOK1 and click on the link to view BOOK2, then click on the "Index" button, why are the topics that show up from BOOK1? If I'm in BOOK2, shouldn't the index