Word doc from javaScript

I am creating the MS word document in java script by using command
document.execCommand('SaveAs', true, 'test.doc');
now my requirement is Each page in above generated word document should have a footer with a centered �Page x of y� line.
please tell me how to get the handle of above generated word doc and how to set footer property for the same?
I have been working on this for two weeks. Please help me, if you can. Thanks.

You're not only in the wrong forum, you're in the wrong web site altogether. Java has nothing to do with javascript, despite the first four letters of its name.

Similar Messages

  • Can anyone tell me why I am unable to download a template word doc from webmail onto my mac without it opening in text format? I just need the original document format.

    Can anyone tell me why I am unable to download a template word doc from webmail onto my mac without it opening in text format? I just need the original document format.

    Where to begin... and why would you ask here? (workstation owners)
    Places I can think to try, after google of course....
    Forum devoted to something like Word / Mactopia or Pages.... whether you are using Office 2011, and no idea what browser or webmail (IMAP, Gmail, other)
    And then there really are notebook with subforum for MacBook Pro
    Apple Site Map
    Apple Support Mail
    Apple Support

  • Importing Word docs from a RH for Word project

    I have a HUGE RH for Word project that I'm trying to convert
    to RHTML (RH Office X5). We generate CHM with this project, and
    we've got map ids for all topics. I've been to Peter Grainge's site
    to get some ideas, but I don't think they're going to work. There
    are so many Word files and topics (537 and 2,974, respectively)
    that the more I think about it, the more I think that a conversion
    to RH HTML might not be worth it.
    When I tried to import all of the Word documents and also
    convert the TOC (converting the Index isn't an option since it
    never worked with our large number of Word docs) and use the
    HTMLHelp.css (using the Import wizard), RH HTML crashed twice after
    40 minutes.
    So, I created a new RH HTML project and tried to import just
    one Word doc from the RH for Word project, and selected the same
    wizard options. As I expected, the Word doc imported, but even
    though I told RH to split the topics on Heading 2, it also copied
    in the characters (#S+@) that preceded every topic heading and
    incorporated them into the Topic Title. AND, RH HTML did not
    "convert" the TOC - it was blank.
    In another post I saw a reference to this patch -
    http://www.adobe.com/support/security/bulletins/apsb07-10.html.
    I'm not sure it's related, although when I examined my second
    failed import attempt, the imported topics were visible in the
    project folder only by using Windows Explorer - RoboHelp HTML did
    not display them from within RoboHelp.
    Does anyone know if this is the patch that will fix this
    issue as well?
    By the way, based on the number of questions I've seen posted
    about RH for Word 7 with zero replies, I'm thinking I'm going to
    run into issues as well, even if we leave it in RH for Word when we
    upgrade to version 7. It seems that its size is an issue for RH
    HTML.
    Thanks,
    Jim
    Thanks,
    Jim

    Hi Jim,
    just as an encouragement: we sucessfully converted a HUGE RH
    for Word project (4,300 topics) to RH HTML a while ago, including
    TOC, index and everything. I must admit though that we had all
    those topics in only 25 word documents. Maybe you can reduce the
    number of documents by moving the topics? There will always be
    problems you run into and afterward, we had to go through every
    single topic and check the formatting, but I guess you'd always
    have to do this. But I think it's worth it, working in HTML is so
    much more convenient.
    Good luck!
    Kathrin

  • Word docs from pc to iPad

    I can't figure out how to share a word doc from my pc to the iPad. I went through the steps in the manual but can't find the file share option they talk about in the app tab on iTunes. Any ideas?

    Do you have Pages installed on your iPad? If not, I'm not sure that file transfer option will appear, though I'm not certain; perhaps someone else here can confirm or refute. If that is indeed the case, then you'll have to email the document to an account your iPad can pick up, or get Pages or one of the other iPad apps that supports Word docs and provides a file transfer capability.
    Regards.

  • CPU Usage - Generating Word Docs from RoboHelp X5

    If you have generated a fair-sized document through RoboHelp,
    and you are having problems with your CPU usage pegging out around
    100%, bouncing up and down between 50% and 100%, the page
    repainting as you scroll through the document, etc., this solution
    is for you!
    I am using RoboHelp X5 to generate large Word documents
    (2003). This solution worked perfect for me. The problem is with
    document corruption, apparently. After you have generated your Word
    document and opened the document, be sure to display the paragraph
    marks. You will probably see the “]” mark at or near
    the end of the document. Select your entire document,
    except for the final paragraph mark, making sure to exclude
    this symbol, and copy everything else. Open a blank Word document
    and paste this content into the new document.
    You will now need to reattach your template (.dot) file for
    the generated document through Tools/Templates and Addins:
    1. Locate the applicable document template and attach it
    (it's typically in the base generated project directory in RoboHelp
    - .dot file). Click the OK button to save.
    2. Return to Tools/Templates and Addins. Click the Organizer
    button to display the Styles tab.
    3. In the right-hand list (In Normal.dot), Close the
    Normal.dot file
    4. Open the same RoboHelp .dot template as you selected
    previously.
    4. Select all of the styles once they display in the right
    pane and click the <<Copy button to copy them all over to the
    document template. Confirm that you want to replace all styles in
    the document.
    5. Close the menu using the Close button. The dialog closes
    and your styles should all be updated, if your styles were set up
    appropriately via template and style sheet settings.
    You may need to also adjust the Page Setup page width
    settings, if necessary.
    Good luck!
    Liz0259

    Peter:
    Thank you for responding to me, as I may not have been clear
    enough, and I apologize for that. I was trying to keep it short and
    sweet. This problem started when I began using RoboHelp X5 this
    year.
    To clarify...
    - I'm not concerned with CPU usage during document
    generation, that is to be expected. The document will need to be
    generated originally from a RoboHelp WebHelp project. This does not
    change. The problem takes place AFTER you generate a large document
    and then open it in MS Word.
    - My documents are large, 140-500 pages. It took forever to
    scroll through the Word document (RoboHelp-generated), the screen
    kept repainting, and the CPU usage stuck fluctuating frequently
    between 50% and 100%, not allowing me to do much else. Editing
    those documents was a nightmare. Even if I shut down all other
    programs.
    - Something translates to the Word doc from RoboHelp that
    maxes out the CPU usage, and I can't locate the exact culprit.
    However, it appears to be tied to the faded "]" symbol at the end
    of the document (there is a "[" at the beginning, too). So you have
    to omit more than the last paragraph mark; that symbol also needs
    to be left out.
    - The "corruption" information came from Microsoft; it could
    be something other than that, but this is what they said. I found
    nothing that would help on the RoboHelp forum, so I went to
    Microsoft to see if they had a solution. Apparently, this is a
    common problem with Word 2003, but the articles didn't mention
    RoboHelp in the issues. I tried this solution, adding the omission
    of the "[" symbol, with complete success.
    - When you copy the document without the last paragraph mark,
    it will still include the headers/footers when you paste it
    (although you may need to adjust them slightly). This is not the
    problem.
    - When a document is generated, you can select to use a MS
    Word template, which I do. I fully use the style sheets in
    RoboHelp, and they match my Word styles (template) to keep things
    in sync. Actually, this Word template remains in the project; it is
    not moved to the folder that holds your Normal.dot file. So the
    link to the template in RoboHelp from your document does in fact
    remain intact. However, you can copy that template to another
    folder outside the project and link it from there, but it won't
    matter.
    - The Word template (.dot) needs to be reapplied in order to
    restore your styles, as the Normal.dot styles are applied when you
    copy the content over to a new document. It doesn't matter where
    you store the template. I reapply this SAME template after I copy
    and paste the content into the new document. This is not the cause
    of the problem. Note: The application of a template is not the same
    thing as going back to the master copy. This is still a fresh
    document, with the content pasted in and the same template applied.
    - I have tried deleting the local copy and starting over. I
    have moved the file to another location. I have renamed or created
    a 'save-as' copy of the file. I tried editing out any extra
    un-necessary merge-tags in Word, looked for macros, etc. All of
    these things do not resolve the CPU Usage problem.
    I hope this makes more sense. You can try it out if you wish,
    but you will need to do this with a large document and use the
    Print View when looking at the document in Word. You'll have less
    of a problem in Normal View, or with a smaller document (under 50
    pages).
    Good luck!
    Liz0259

  • How to upload a Word doc from MacBook to iCloud?

    How to upload a Word doc from MacBook to iCloud?

    Just going to throw in again: iCloud is to keep's Apple's products on Apple's devices synced up between multiple devices. It isn't for sharing. It isn't for storage.
    iCloud is the Apple-branded cloud (see the "i"). It isn't meant to be a completely free-of-charge realization of the future that all the tech people keep calling "the cloud."
    It adds a lot of very nice functionality to Apple's own products, yet people are screaming their heads off about not getting free disk space and free bandwidth to use for whatever they want online. Apple added functionality, but tons of people seem to think they took away functionality. These things were never promised with iCloud.

  • Transferring word docs from vintage mac

    Does anyone know how to transfer word docs from my old Mac plus (1985) to a modern Mac or other PC? Would a personal modem work such as was designed for the original machine?

    ccconti,
    The personal modem will work but my first modem on my first Mac Plus was 300 baud. That option would be painfully slow. Five years ago I met someone who was still using a Plus and modem to email to Germany from the USA. I wanted to document her software configuration but did not get back to it. I would go with standard methods.
    Hopefully you acquired an external SCSI drive some where along the way. It will move files to a newer machine with ethernet. Ethernet will allow you go to the latest computers quickly. Another alternative is zip disks. The real key is finding someone with spare hardware. If you are willing to buy some used equipment, you can do it yourself.
    Do you have access to a school or club that has old equipment? Post back with a list of computers/hard drives you have access to.
    Jim

  • How to open word doc. from forms 10g

    hi all
    i am trying to open word doc. from forms 10g using ole2.
    but it is not working.
    basiccaly this command is not working
    app := CLIENT_OLE2.CREATE_OBJ('Word.Application');
    can anybody help
    thanx

    I found this searching this forum and it works..however, my issue is to open up Microsoft Word passing in data from a query.
    I am working on Forms 10g
    DECLARE AppID PLS_INTEGER;
    BEGIN
    AppID := DDE.App_Begin('C:\Program Files\Microsoft Office\OFFICE11\winword.exe C:\test.doc',
    DDE.APP_MODE_NORMAL);
    END;

  • Open Word Doc from form in web setting not client/server

    Hello, I am new to form. I need to open a word doc (on client PC )from Oracle Form by a button click. I did some research online and looks like Client_Ole2 is the package I need. But when I looked into my Build-in Package (in forms builder), I only see OLE2, TEXT_IO etc. So when I try to declare a variable which is CLIENT_OLE2 like some post suggest, I got error message "identifier CLIENT_OLE2.OBJ_TYPE must be declared".
    So is that means that I need to install/setup WebUtil on my env to get this Client_Ole2 to show up on Form Builder?
    Thanks for help, please advise.

    I found the way to add webutil.pll to attached Libraries.This is the wrong way. Open the webutil.olb in the Forms Builder. Then open your form you want to add the Object Library too. In the Object Libraries node of the Object Navigator - double-click on the WEBUTIL node. This will open the Object Library properties window. Click on and drag the WEBUTIL entry to the Object Groups node of your Form. You will be prompted "Do you want to copy the object or subclass it?" Click on the Subclass button.
    Subclassing is a Forms method that allows you to share a single source of an object/code between multiple Forms. It is Forms' way of implementing inheritance.
    I also copied them to /forms/java directory too.This is not necessary. I recommend you delete the files you copied to the /forms/java directory. Forms will find the libraries if the .../forms directory is listed in your FORMS_PATH environment variable (see the default.env file). The /DevSuiteHome/forms directory should be the first directory listed in the FORMS_PATH variable.
    Remove path?". So I selected Yes. But when I run form, I got FRM_40039: Cannot attach library webutil while opening form ......".The fact that you are getting this error indicates that the /forms directory is NOT part of the FORMS_PATH.
    If I choose No to keep the hard code path, then if I deploy the form to testing server or production server, it will become problem! Right? How to solve this?Double-check to ensure it is listed. The variable entry should look something like:
    FORMS_PATH=D:\DevSuiteHome_1\forms;<any other directories you want to be part of your path seperated by ";">Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • Why can't I open word docs from mail anymore?

    Am on 10.8.2 on Macbook Air and doc and docx attachments tell me to choose application to open the doc with and won't open when I choose "Word"
    These used to be opened automatically by Word, not I have to manually choose Pages as the only option
    Am I missing something?

    Csound1 wrote:
    Andy Mt P wrote:
    Don't see how I can choose the file from within Word as it's not saved anywhere?
    I have now discovered if I drag the file from mail on to the WORD icon in the doc it will open....seems much clumsier than the old option of clicking on the file to open it
    Opening attached pics seems to require the same action as well using iphoto.
    A bit of a step back in my opinion....
    Save the word file from the email to your Mac (have you never saved an attachment before)?
    Post back when you can do as I asked you to.
    And remember that we are trying to find out what is wrong, don't be so snappy!
    haha...point taken. Wasn't feeling 'snappy' when I typed it, not intended as such...!
    If I save it somewhere as you suggested I can then open it
    also, as I mentioned if I drag the doc onto WORD in the dock it opens that way as well

  • Problem in opening MS Word doc from CRM back-end.

    Hi All:
    I have a MS Word document stored in my CRM system which opens by passing a transaction number as input. When we try to preview the word
    doc it opens properly from back-end.
    But the real problem exists when i'm trying to open it from my web-dynpro thru java, it never opens in a correct format(i mean it never opens at all). When I stored it in local machine to open it from notepad, i could see all the junk data along with original text.
    If any one have done this successfully before, plz do let me know the way or send me the code sample to read word from webdynpro java. I've implemented with couple of options which didnt worked.
    Munna_SAP

    Hi All:
         I've solved it by my own and it opens the word document properly.
    Solution: I didnt looked at the r\3 end that how it was coded, i've changed my code in java to meet the requirement.
    Tnx,
    Munna_SAP

  • Transfer word docs from Macbook pro to Iphone and send (NO WIFI)

    I am a regular business traveler and recent mac convert. With my pc and windows mobile phone, I used to be able to easily do the following:
    1. Write word documents on the computer while on the plane.
    2. When documents are complete, connect phone to computer with usb cord.
    3. Transfer files to phone.
    4. When plane lands and cell coverage is available, send documents as attachments from phone using 3G coverage.
    I have found lots of suggestions that cover part of this process for mac and Iphone, but all require wifi at some point. Please note, if I HAD a WIFI connection, I wouldn't need to do this because then I would send the docs from my macbook pro. The sole purpose is to be able to work around not having a wifi connection.
    Any help would be appreciated. My Iphone is not jailbroken and I'm in the US on ATT.

    Thanks for the suggestion of Diskaid. I have read what I can about it, and my understanding is that while it does allow me to move the document to the phone, the OS won't let me access the document to send via email. Can you clarify? Thanks much!

  • How do I get a MS Word doc from my mail's inbox to Pages so I can change it?

    How do I get a MS Word (or MS Excel) doc from my mail inbox on the iPAD to the Pages (or Numbers) app so it can be changed or modified?

    From the iPad manual (http://support.apple.com/manuals/#ipad) :
    Open an attached file: Tap the attachment to download it to iPad and then open it. If iPad doesn’t support the format of an attached file, you can see the name of the file but you can’t open it.
    Open an attached file with a different app: Touch and hold the attachment, then choose an app. If you don’t have any apps that can open the attachment, you can view it, provided it’s a file type that iPad supports.

  • Importing Word docs from RH for Word X5 - out of memory error

    I've tried a few times to import 537 Word docs (2,974) from a
    RH for Word project (RH X5 for Word, CHM output) into a new RH HTML
    5 project. Each time, RH HTML "hangs" and I've seen "out of memory"
    at least once at the very end. The original RH for Word project has
    conditional build tags defined, but only one tag has been assigned
    to one topic, so far. We've never been able to build an index in
    this RH for Word project (it's mostly blank), but we've built a
    search and contents without problems.
    Is an error related to Word? Is it a bug that was fixed for
    version 6? Is it somehow related to this fix:
    http://kb.adobe.com/selfservice/viewContent.do?externalId=kb401651&sliceId=1?
    If it's a known bug that was fixed with a later version, then
    it would further help me build a case for converting to RH 7, with
    the end result of converting the whole thing eventually to RH HTML.
    Thanks,
    Jim

    I don't do much import but if you are trying to import 537
    documents in one go, nothing would surprise me. Have you tried one
    at a time or a small batch at a time?
    The bug you point to arose in 6 and was fixed so it is not
    relevant.
    My guess is it is down to memory and that most PCs would
    baulk at 537 documents in one go.

  • This operation has been canceled due to restrictions in effect....opening Word docs from link in web page

    It's the ahla.org website.  It has both pdf files and Word docs.  The pdf links open in the browser or Adobe but the Word doc links open the option at the bottom of IE11 that just says "Open" or "Cancel".  When I choose
    open, it gives the error about policy restrictions or something similar depending on if it's Word 2007 or 2013.  If I could even find an option to have it "Save" and open after download that would be helpful.  I can right click the link
    and choose save as but this is an office full of attorneys and they can't find the download folder afterwards.
    This isn't the issue with Chrome being installed/uninstalled because it does it on computers where it's never been installed.  It's not a group policy setting as it does it at the office or home PC.

    Hi,
    ahla.org redirects to
    https://www.healthlawyers.org/Pages/home.aspx
    ... its a mess
    eg. the login link is http://admin.healthlawyers.org:8080/_login
    any error message with "Restriction" in it is from Group Policy.
    what you can try
    Tools>Internet Options>Security tab, click "Reset all zones to default"
    Trusted Sites icon, sites button, remove ANY reference to
    http://ahla.org or http(s)://www.healthlawyers.org (IE has security restrictions preventing navigation between sites of lower integrity).... Other userAgents do not use the same security model as MSIE.
    the https protocol (secure web sites) works in any IE security zone.... If a site uses https, you do not have to place it in the Trusted sites list. It should work (encrypt) just as well in the internet zone (default).
    Hover the mouse over the pdf/doc hyperlink... its uri will appear in the status bar or at the bottom of the IE window... note its address. IT MUST point to the healthlawers.org domain. It should also be using the same protocol as the current web page. If it
    uses the https protocol, check "Internet Options>Advanced tab, uncheck "Do not save encrypted files to disk"
    As I said.... it is likely that the above settings are controlled by Group Policy.
    Rob^_^

Maybe you are looking for