Read equations from word document programatically

hi
its too difficult to problem i think but soluation is there.
i want to read equations from word document using java. i was tried in xml prser also ,there i can 't find the equation format.
any body tell me how to extract equation from word .

Everyone that has posted that you have 2 problems is absolutly correct, you will have to use some 3rd party product to read the file, or make your own MS-Word decoder--a task for which MS itself has problems doing reliably between versions. You could set up some DDE or OLE via Java/C and Excel... have fun it that is your choosen path, you'll want to talk to them in the JNI forum on how to get started there.
As far as parsing, you have to be able to identify the formula, is it an Excel formula? If so, then you have to be able to copy the formula, it does not show as text in cells. If it is not a formula, but just text in a cell, then copy it into a String in Java.
Now you have the String, use String.split or other tokenizer to break the String appart, and then you have to process the tokens. Nobody here is going to write the front end of an interpreter for you to process your sting into appropriat logic and tokens.
The task you embark on is not one of triviality, but can be done. The real question is: "Is it really worth it to you?" Only you can answer that. If you need refernce material for parsing--look up discussions of language, compiler, and interpreter development--most of the ones I've run across have excellent discussions on parsing and tokenizing.

Similar Messages

  • How to read data from word document in to richtext?

    it can read from txt but couldnt read from a word document:s  how can i do this?

    TLF doesn't have a generic HTML importer. There is one that works with the html used by TextField. To use it, try something like this:
    var htmlString:String =  '<p>Paragraph here</p>';
    var textFlow:TextFlow = TextConverter.importToFlow(htmlString, TextConverter.TEXT_FIELD_HTML_FORMAT);
    - robin

  • Importing Testcases from Word Document

    I want to import testcase form Word Document document to MTM tool. Are there any tools available for acheving this?
    The testcases table to import is not getting recognosed when I tried with "Test Case Migrator Plus".
    Able to import if the testcases are stored in excel. However, the entry stroke in a same cell is getting created as new test step. i.e New test steps is getting added in MTM tool if test step is written with a line break in excel.
    Any help on this would be great.

    Hello.
    Glad to receive your reply.
    Based on this link: http://tcmimport.codeplex.com/,
    test Case Migrator Plus tool allows test related artifacts, present in Excel and MHT/Word formats, to be imported into Team Foundation Server.
    I think that it support importing test cases from Word format into TFS. Then you can run those test cases in MTM.
    As I mentioned in my previous reply,
    Except Test Case Migrator Plus, and I don’t find any other tools which support this kind of import.
    If you get issues when you use “Test Case Migrator Plus” to import test case from Word Document to TFS, you can start a discussion onhttp://tcmimport.codeplex.com/discussions
    for better response.
    Best regards,
    Amanda Zhu [MSFT]
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • How to copy paste a table structure from word document into Text Field [field format Rich Text]

    In our current implementation we have a Blank page with Text Field [field format Rich Text] on generated PDF Document.
    Once the PDF document is generated, user can copy paste content form any word/rtf document to into the Text Field.
    Pasted content retains all text formatting [Bold, Italic, Underline, Indentation] except the Table format. Text Field is removing table metadata from the content and converting it into plant text.
    Is there anyway to copy paste table structure as it is from word document into Text Field?

    Hi,
    I don't think you can! While you can paste formatted text into the rich text field, the table metadata means nothing to the textfield.
    Niall

  • Creating Post Script File from Word Document

    Hi How to create a Ps File from Word document.. Is there any api to do this ?
    ~Arjun

    (1) It is
    PostScript, not
    Post Script or
    Ps!
    (2) To create PostScript from a Microsoft Word document, you simply open such a document in Microsoft Word and print to a PostScript printer driver instance, but chose the
    Print to file option. Note that since PostScript from drivers is device-dependent, you do need to choose a PostScript printer driver instance very carefully based on a PPD that has few device dependencies.
    - Dov

  • Importing Tables from Word Documents

    I have a new job where the majority of my colleagues are PC users and we must work on common documents. I have no problem saving documents as a word file and opening word documents. But I have had some issues with Tables coming from a word document. I looked on the forum and learned about inline tables but I have been unable to take a table from a .doc file and change it to an inline table. Basically when the page ends, the table stops, even when there is more text. It is making it really frustrating for work as I have been copying and pasting the text from the table into a new document to edit it and then replacing the new text with the old. Can anyone help me figure out how to see the text in tables from word documents??
    Thanks,
    Amber

    It would be more efficient to use the true Office or one of the free clones: openOffice & neoOffice.
    Yvan KOENIG (VALLAURIS, France) Sunday, September 13, 2009 11:56:23

  • Editing files that have been converted from Word documents

    Will I be able to save and edit the PDF files I convert from Word documents?

    Hi,
    Yes it is possible to edit the PDF files and save the changes. You need to use Adobe Acrobat for this.
    Please download and test the 30 days Trial for Adobe Acrobat  : http://www.adobe.com/cfusion/tdrc/index.cfm?product=acrobat_pro&loc=us
    ~Pranav

  • Right way to insert graph or chart from Word document?

    I have a content given in word format. I place the document to indesign using Place command. All content is put except the graph / chart.
    That graph/chart is linked to source data in excel that I don't have access to.
    I manually copy paste from word it resulted as non editable raster image.
    I can't paste to Illustrator first too.
    I have searched the forum but doesn't get a right answer.
    Any help would be appreciated.

    I finally got the excel files. I could copy paste the chart to illustrator, the results was vector line. Only sadly the data label appear error (screenshot attached)

  • Unable to create PDF from Word document.

    I was trying to create a PDF file from a Word document but got the following error message: "An unexpected error occurred.  PDFMaker was unable to produce the Adobe PDF" and no PDF was created.  There was no error number.  Has anyone seen this error and is there a work around.  This is Acrobat XI Pro and was installed within the last few days.

    Can you print to the Adobe PDF printer? Have you updated AA XI (now at 11.0.05)? What version of WORD (AA XI does not work with PDF Maker on all versions of WORD)?

  • Is Pages a good 'reader' app for Word documents ?

    In doing a few searches in this forum on the subject I find some conflicting reports ( what a surprise ) so I am compelled to ask :
    How good a job does Pages do in reading Word documents particularly Word documments from PCs?
    Most of our word proc needs are met very well by Appleworks but it does a very poor job of retaining the formating of tables & such. I don't need a copy of MS Word for everyone in the shop if I can just find a way to read Word docs reliably.
    Thanks for any opinions
    a whole buncha Macs    

    Welcome to Apple Discussions
    I think Pages makes an excellent "reader" for Word. Even though I do have Office 2004, I rarely open it. Pages is my first choice to open a Word file, including all of those PC ones I get from work. You may get warnings that certain fonts are missing, but Pages will replace them with a close relative that you have. The only other warning I get is that page borders aren't supported. I've even checked the same Word documents in Word on both the Mac & PC & don't see what is missing.

  • Saving as PDF, from Word documents - not good quality?

    Why is it that when i create letterheads, adn i save as pdf this word document, it comes out such poor quality?
    Is there a setting to save with high quality output from acrobat, word to pdf or also how about print pdf?
    Is anyone able to help us out?
    Thankyou,
    Gana85

    You are on the Illustrator forum how does this relte to illustrator?
    Are you ceating artwork in Illustrator and then inserting it into Word?
    This is what I suggest Visit the Acrobat Forum or a Microsoft Word forum if there is one and ask there.
    Or you can purchase ID or Illustrator and use them to create your letterhead.

  • Creating pdf files from word document and allow copying of content

    I generate word documents and then save them in PDF format before sending out to clients.  Sometimes these documents contain quite a lot of data in table format and I want my clients to be able to copy the data from the tables and be able to paste it into excel.  How do I save as PDF and still allow copying of content?
    Thanks

    Open such a PDF in Adobe Reader: File | Properties | tab Security.  It will tell you if copying is allowed or not.
    I don't know if you can change these security options from Word; you'll have to ask Microsoft.  To change them after the PDF was created, you will need Acrobat.

  • Convert picture from word document to .jpg

    I'd like to know how to copy a picture from a word document and convert it to a .jpg format so I can use iphoto or other image software to edit and print it.  I tried a work-around that's not very satisfactory, that is to print the picture on photo paper, then scan it and save it as a .jpg, but as you would expect, I lose quality.

    Why don't you just use a Word converter to render and convert  Word document and the images cotained in Word file into jpeg image directly? Saving the Word file cotaining pictures as pdf and save as jpeg is more complicate converting the word file into jpeg image directly.

  • Bullets which include links will prevent correct copy/paste content from word document to wiki page.

    I have a word document around 20 pages which contains the following sentence (a bullet with two links):-
    Now if I remove this sentence then copy/paste the 20 pages from word to wiki page they will be pasted correctly inside the wiki page , where all the pages, bullets, etc will be mapped correctly inside the wiki page as HTML tables, bullets ,etc.
    But the problem if I kept the above sentence then the whole 20 pages will be pasted as plain text inside the wiki page.
    So can anyone advice on this ?and how I can overcome it ?

    Hi John,
    You can try this (1) Save as Word Doc as single file web page (2) Open that file in normal text editor(notepad or so) and copy all (3) Goto Wiki page edit source and paste all (4) Save it
    Let us know how it goes.
    please 'Propose as answer' if it help you, also de-mark it if it didn't. Thank you!
    the result will be as follow, not sure if this is a valid approach can you adivce ?:-

  • Formatting issues in sharepoint 2013 when copy/paste from word document

    Hi, 
    When we copy/paste content(rich text, tables, styles) from a word document to SharePoint site whole formatting is messed up.
    is this the limitation of SharePoint 2013?
    Thanks, 
    Shiva.

    Hi Shiva,
    Some styles for font of rich text aren't be kept when I copy the content from Word 2013 and paste into a wiki page from SharePoint 2010/2013(even SharePoint 2007 like this
    post) site as same as yours, it looks like a limitation.
    As a workaround, we can publish the Word content as a Blog article in SharePoint site, then copy the content from the blog page to the needed SharePoint page, it will keep the rich text content format, you can have a try.
    http://plexhosted.com/billing/knowledgebase/274/How-to-publish-a-SharePoint-blog-article-via-Microsoft-Word-2013-SharePoint-2013.html
    Thanks
    Daniel Yang
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

Maybe you are looking for