Export text as word document

Hi,
I have a projector which generates a report for the user at
the end of a Q&A section. Currently the report is saved as
plain text. The client would like to add some text formatting (in
the form of bold and coloured text) and would also like the file to
open in Word when double clicked.
Does anyone know of a way to save the text of a cast member
as a Word document?
Thanks,
Deryck

frashjiveturkey wrote:
> Does anyone know of a way to save the text of a cast
member as a Word
> document?
Use or rtf or html formatting and give it a .doc extension -
Word knows what
to do with it.
You can get the rtf or html of a text member using
member("whatever").rtf or
member("whatever").html - put it into a variable and save
that with an xtra
like fileIO, propSave or buddyFile.
I don't have the latest Director, so I don't know what the
implications of
Unicode will be.
Andrew

Similar Messages

  • Exporting smartform into word document

    how to export smartform into word document . i tried converting into pdf and then download but it showing run time error that conversion is not possible and also it tells that otf command // missing. is it not possible to export directly to word document instead of pdf.plz give clear description of what to be done exactly with sample codes.
    marks will be rewarded.

    Hi Lavanya,
    Converting the output from Spool to Word is possible.
    Here is the sample code.
    I cut pasted a code from a link i got in the website, see if it helps.
    ZSPOOL2WORD
    Genera un fichero Word a partir de una orden de spool
    MÓDULO : FI *
    TIPO : Listado *
    TITULO : Generación fichero Word
    DESCRIPCION : Genera un fichero Word a partir de una orden de spool
    AUTOR: Andres Picazo FECHA: 24/03/2003 *
    MODIFICACIONES *
    FECHA NOMBRE DESCRIPCION *
    REPORT ZSPOOL2WORD
    NO STANDARD PAGE HEADING
    LINE-COUNT 065
    LINE-SIZE 080.
    INCLUDE OLE2INCL.
    *----TABLAS/ESTRUCTURAS--
    *----TABLAS INTERNAS--
    DATA I_BUFFER(132) OCCURS 1000000 WITH HEADER LINE.
    *----VARIABLES--
    *----PARAMETER/SELECT-OPTIONS EN PANTALLA--
    SELECTION-SCREEN BEGIN OF BLOCK BLK_PAR WITH FRAME TITLE TEXT-SEL. "Pará
    PARAMETERS: P_SPOOL LIKE TSP01-RQIDENT OBLIGATORY.
    SELECTION-SCREEN END OF BLOCK BLK_PAR.
    SELECTION-SCREEN BEGIN OF BLOCK BLK_WOR WITH FRAME TITLE TEXT-WOR.
    PARAMETERS: P_WORD AS CHECKBOX DEFAULT 'X'.
    PARAMETERS: P_FWOR LIKE RLGRAP-FILENAME DEFAULT 'C:MAYOR.DOC'.
    PARAMETERS: P_PLAN LIKE RLGRAP-FILENAME
    DEFAULT 'D:DATOSAPISMAYORPLANTILLA LIBRO MAYOR.DOC'.
    SELECTION-SCREEN END OF BLOCK BLK_WOR.
    SELECTION-SCREEN BEGIN OF BLOCK BLK_FIC WITH FRAME TITLE TEXT-FIC.
    PARAMETERS: P_CTXT AS CHECKBOX DEFAULT ''.
    PARAMETERS: P_FTXT LIKE RLGRAP-FILENAME DEFAULT 'C:MAYOR.TXT'.
    SELECTION-SCREEN END OF BLOCK BLK_FIC.
    LOGICA DEL PROGRAMA
    INITIALIZATION
    INITIALIZATION.
    START-OF-SELECTION.
    START-OF-SELECTION.
    PERFORM LEER_SPOOL.
    IF NOT P_CTXT IS INITIAL.
    PERFORM GRABA_FICHERO.
    ENDIF.
    IF NOT P_WORD IS INITIAL.
    PERFORM LANZA_WORD.
    ENDIF.
    FORMS ADICIONALES
    *& Form LEER_SPOOL
    Lee la orden de spool en el buffer
    FORM LEER_SPOOL.
    CALL FUNCTION 'RSPO_RETURN_ABAP_SPOOLJOB'
    EXPORTING
    RQIDENT = P_SPOOL
    FIRST_LINE = 1
    LAST_LINE = 9999999
    TABLES
    BUFFER = I_BUFFER
    EXCEPTIONS
    NO_SUCH_JOB = 1
    NOT_ABAP_LIST = 2
    JOB_CONTAINS_NO_DATA = 3
    SELECTION_EMPTY = 4
    NO_PERMISSION = 5
    CAN_NOT_ACCESS = 6
    READ_ERROR = 7
    OTHERS = 8.
    IF SY-SUBRC NE 0.
    MESSAGE E398(00) WITH 'Error' SY-SUBRC
    'al leer la orden de spool' P_SPOOL.
    ENDIF.
    ENDFORM. " LEER_SPOOL
    *& Form GRABA_FICHERO
    Graba el contenido del spool a fichero de texto.
    FORM GRABA_FICHERO.
    CALL FUNCTION 'WS_DOWNLOAD'
    EXPORTING
    BIN_FILESIZE = ' '
    CODEPAGE = ' '
    FILENAME = P_FTXT
    FILETYPE = 'ASC'
    MODE = ' '
    WK1_N_FORMAT = ' '
    WK1_N_SIZE = ' '
    WK1_T_FORMAT = ' '
    WK1_T_SIZE = ' '
    COL_SELECT = ' '
    COL_SELECTMASK = ' '
    NO_AUTH_CHECK = ' '
    IMPORTING
    FILELENGTH =
    TABLES
    DATA_TAB = I_BUFFER
    FIELDNAMES =
    EXCEPTIONS
    FILE_OPEN_ERROR = 1
    FILE_WRITE_ERROR = 2
    INVALID_FILESIZE = 3
    INVALID_TABLE_WIDTH = 4
    INVALID_TYPE = 5
    NO_BATCH = 6
    UNKNOWN_ERROR = 7
    GUI_REFUSE_FILETRANSFER = 8
    OTHERS = 9.
    IF SY-SUBRC NE 0.
    MESSAGE E398(00) WITH 'Error' SY-SUBRC
    'al grabar el fichero' P_FTXT.
    ENDIF.
    ENDFORM. " GRABA_FICHERO
    *& Form LANZA_WORD
    Abre la plantilla de Word y pega el contenido del portapapeles.
    FORM LANZA_WORD.
    DATA: WORDAPP TYPE OLE2_OBJECT,
    DOCUMENT TYPE OLE2_OBJECT,
    SELECTION TYPE OLE2_OBJECT.
    Copia el contenido del buffer en el portapeles
    CALL FUNCTION 'CLPB_EXPORT'
    TABLES
    DATA_TAB = I_BUFFER
    EXCEPTIONS
    CLPB_ERROR = 1
    OTHERS = 2.
    Abre Word
    CREATE OBJECT WORDAPP 'word.application'.
    IF SY-SUBRC NE 0.
    MESSAGE E398(00) WITH 'No se ha podido abrir el Word'.
    ENDIF.
    Lo pone en visible
    SET PROPERTY OF WORDAPP 'Visible' = 1.
    Cogemes el objeto documento
    CALL METHOD OF WORDAPP 'Documents' = DOCUMENT.
    Abrimos el fichero plantilla
    IF P_PLAN IS INITIAL.
    CALL METHOD OF DOCUMENT 'Add'.
    ELSE.
    CALL METHOD OF DOCUMENT 'Open' EXPORTING #1 = P_PLAN.
    IF SY-SUBRC NE 0.
    MESSAGE E398(00) WITH 'Error al leer el fichero plantilla'.
    ENDIF.
    ENDIF.
    Coge el objeto selección
    CALL METHOD OF WORDAPP 'Selection' = SELECTION.
    Pega el contenido del portapapeles
    CALL METHOD OF SELECTION 'Paste'.
    IF SY-SUBRC NE 0.
    MESSAGE E398(00) WITH 'Error al pegar contenido del portapapeles'.
    ENDIF.
    Graba el fichero
    CALL METHOD OF WORDAPP 'ActiveDocument' = DOCUMENT.
    CALL METHOD OF DOCUMENT 'SaveAs' EXPORTING #1 = P_FWOR.
    IF SY-SUBRC NE 0.
    MESSAGE E398(00) WITH 'Error al grabar el nuevo documento'.
    ENDIF.
    Cierra Word
    CALL METHOD OF WORDAPP 'Quit'.
    IF SY-SUBRC NE 0.
    MESSAGE E398(00) WITH 'Error al cerrar Word'.
    ENDIF.
    ENDFORM. " LANZA_WORD
    check this also.................
    By using FM RSPO_RETURN_ABAP_SPOOLJOB you will be able to get the ASCII text of your Spool, which you can download to your local HD and open with M$ Word.
    Check the function module
    CALL FUNCTION 'RSPO_DOWNLOAD_SPOOLJOB'
         EXPORTING
              id    = p_spool
              fname = p_file.
    Give the file extn as .DOC. it will downlaod it as a
    Word doc.But I fear you wont get the table formats and
    all.
    ~~Guduri

  • Problems to export pdf to word document

    Every time I try to export pdf to word document gives me problems.
    I get the message that you can not do with a problem, I decided to change the browser and will not let me try and I get the message subscribe
      That I can do about it
    Thank you.

    Olá bahl2
    Pode, por favor explicar sua dúvida em português mesmo?  Porque, em inglês, está difícil entender o que você precisa :/.
    Você publicou sua pergunta no fórum de scripts de Adobe Illustrator, ao invés do fórum geral. Você está exportando o documento por meio de um script, é isso?
    Quando você se refere a "cortinhos", você se refere a aquelas finas divisões em seu plano de fundo vermelho?
    Um abraço
    Gustavo.

  • When I try to export as a word document, I get an export warning.

    When I export my document on pages as word document, I get a export warning saying "Merge fields were exported as regualar text, not as merge fields". What does that mean and what do I do? It won't let me open it up on a pc. Please help!

    Merge fields are the places where Pages is substituting information in the text from your Address Book or Numbers. Commonly this is Address information. As it says, because Word does not understand these objects, they are changed to just text.
    When it won't open on the PC what message do you get and it would be helpful to know what version of Pages, OSX and Word you are working with.
    Peter

  • How to export to a word document in ADF

    Hi
    the case is that i need to export a form of input fields in a jspx page to a word document??
    appreciate any help
    Thanx

    response.setContentType("application/vnd.ms-word");
    response.setHeader("Content-disposition", "attachment; filename=export.doc");

  • Oversized text on Word Document Place (.docx)

    When placing text from a word document (.docx) indesign only gives me three pages for a 118 long document.  Also, those pages are blank, and to access the text, I have to delete a few blank lines.  When I do this however, the text is grossly oversized.  Changing the font does not help, as even on 6 pt, the text is much larger than it should be.  Help?  I've tweaked import options, changed the format of the file (.doc, rtf) nothing seems to work. 
    Any help you could provide would be awesome.
    Thanks,
    -Julian Q.

    I am using Adobe Indesign CS5.5 and Microsoft Word 2010, although I am not sure which version of word the document was created in.  Here is a link:
    https://docs.google.com/file/d/0BzA9ILF0ZW-aVmlCV0hvekhHYTQ/edit?usp=sharing

  • When I try to print from web page I get "printer not activated - error code 30", but I can copy text into Word document & printer works.

    I am unable to print anything from an internet web page. I continually get "printer not activated, error code- 30" followed by "An unknown error occurred while printing". I can copy the material from the web page, place into a Word document and then print. This just started yesterday and I have no idea why. Would appreciate your advice!

    See this:
    [http://kb.mozillazine.org/Problems_printing_web_pages#Prints_to_a_small_portion_of_the_page]

  • Space Before Text in Word Document

    Having generated a word document I noticed that thre was
    space before all my paragraphs. Simple to fix, or so I thought.
    When I checked the paragraph setting s in word there was no space
    before the paragraph. Checked the paragraph above, and that did not
    have space after set.

    If the extra spacing is not in your Word output files, then
    it must be in your RH source files.
    There's either something at each of the paragraphs, or in the
    HEAD section of the topic, or in your CSS style sheet assigned to
    the topic. The proximity of styling info to its content is what
    determines its effect.
    Good luck,
    Leon

  • Exporting PDF to Word document

    We have purchased “Adobe Acrobat X Standard” version. This version provides options to export a PDF document into Microsoft Word.
    I want to do this programmatically using Adobe\Acrobat SDK or which ever suitable available SDK.
    It would be great if someone can help me find the right function to do so.

    I am very new to Adobe SDK. It will be very helpful if you let me know the name or web address of SDK I need to download to find JSObject.
    Thanks for the help in advance.
    Thanks,
    Nandkumar Lad
    Project Manager
    [email protected]
    PMAM CORPORATION.
    105 Decker Court.
    Suite 675 Irving TX 75062
    Tel.:  972-573-2732   
    http://www.pmam.com
    Disclaimer:
    This message and any attachment(s) contained here are confidential and meant for the addressee only. If you have received this e-mail in error, please notify the sender immediately by return e-mail and delete it immediately as it may not be secure or error-free. Any views expressed in this message are those of the individual sender. All liability of PMAM Corporation or its subsidiaries/affiliates for any damages resulting from e-mail use is excluded.

  • Formati Changes when Exporting to a Word Document

    I have recently upgrade to RH7 form X5, and no when I export
    to word the formating of numbered lists is not correct.
    I have used syltes in RH to specify numbering, and matched
    those to styles in word which seam to work as much as numbering
    ever does in word. When I export to word text that used the same
    style is formated differently (indents etc) in word. However when I
    manually reapply the style in word it seems to sort out the
    paragraph formatting, although sometimes the numbering is messed
    up.
    It all worked fine in X5

    Is there a difference between charecter sets in apple
    and microsoft that could cause this as I know that
    appleworks doesn't use unicode?
    I believe there is a difference between the ASCII text character sets used by Apple and Microsoft. The English characters are identical but uncommon characters are different. I suspect this difference is what's happening when converting these Tibetan characters.
    If so, an bright
    ideas as to how to get around moving obscure symbols
    between platforms??
    Only to do a Find and Replace for each of the different characters when moving from platform to platform. If this conversion will happen frequently you may be able to automate this process using AW 5 macros or AppleScript on the Mac platform, or Visual Basic on the Windows platform.

  • Exporting text to Word skips footnotes

    Hello all. Working in 5.5. I have to export the text from an older book to Word, so we can send to the editor to update to a 2nd edition. Calloo, callay, oh frabjous day. ANYWAY, when I export the text, it skips the footnotes! It grabs the footnote markers but skips the footnote text. My editors are going bonkers. Any ideas?
    Thankee!

    IDCS1?  ID2?  Been there, done that.  But don't rush into this.  Even if you have healthy footnotes in Word, InDesign has a nasty habit of "disappearing" a few on importing the Word file.  It doesn't happen with every file, but it happens more often than it should.  You might want to consider using separate files for body text and notes during editing to ensure you only have to cut-and-paste once.  Or maybe IDCS6, due imminently, will finally handle footnotes reliably.
    Then there's scripting.  You could see whether Peter Kahrel's tools might help.  Marc Autret also wrote a couple of scripts that can move footnotes into the body of the text and then back out again into ID footnotes.
    Good luck!
    David

  • Best way to store text or word documents

    Hello Everybody!
    I am trying to decide upon the best method for storing a bunch of documents from floppies to an Oracle XE APEX database and I need advice on how to best approach this task. I can see storing these documents as a clob or blob field, but I would like to be able to search the documents. Should I store the actual word version of each document as a blob field and a text only version of the same document as a clob? Any other suggestions on how to best handle this?
    I thank you in advance for your advise and assistance on this issue!
    Charles

    We have an application that uses a clob definition for a text column and then use Oracle Text to search the text.
    The index for Oracle text includes all of the words in the text with the exception of a standard list,i.e. articles, etc..
    The text search is very quick and can be used with phrases or single words, and if the '$' is used all forms of that
    word will be found. Currently we are using 9i.

  • Allow users to save form responses as text or Word document?

    Is it possible to allow a respondant to save their responsesn to a .txt or .doc file upon completion of the form? 
    If this isn't possible in Adobe forms, does anyone know of another platform that would support this?
    Thanks!

    PDF and TXT or DOC are file types and file types are processed by applications. Adobe Acrobat can save to many different formats, Reader is very restricted as to what formats it can save to. Are you familiar with how Acrobat saves a PDF to the TXT or DOC format? Well it is the entire PDF and not just the fields. To save the content of the fields you need to export the form field data through a different menu option or the use of JavaScript.
    Acrobat can export to a CSV, FDF, or XFDF file type. With proper rights and JavaScript Reader could also save to the CSV, FDF, or XFDF file format. Acrobat with the use of JavaScript could create a PDF report on the fly that consist only of the field data and that file could be saved as a DOC or TXT file. Reader cannot create PDF reports.
    Using a web server and scripting on the web server opens more options.

  • Export to Word, Text does not appear in Word document

    I have created a document in Pages which needs a table as part of it. I need to convert it to Word for work but when I use the Export to Word function it creates the Word Doc file but the table is blank - no text in the table at all? (Other text outside of the table is created).
    Apart from that the formatting is not as it should be and some text (outside of the table) is incorrectly placed on the Doc file.
    My fall back up to now has been to export to pdf (which works perfectly) and email that, but that stops it being edited at work.
    Where should I be looking to make sure the text in the table in pages is exported to the Word document?
    Or amn I expecting too much?
    I am using a retina iMac, Yosemite OSX. Thanks.

    Pages v5 (any version) is none of the following:
    Word clone
    Predictable
    Professional/business grade software
    Complete
    Entirely debugged
    Thoroughly documented
    Many have, and continue to report export problems with Pages v5. Since we cannot peer over your shoulder as you enter text in a table, or if you tried to make the table behave as if in MS Word, the best bet would be to drop Pages entirely and use MS Word in Office for Mac 2011 (update 14.4.7 or later). Then you will be able to stop gambling with document conversion, work in the native Word .docx format, and recover some lost productivity. Word, not Apple's Pages, is the corporate word processing standard — for a reason.

  • Exporting highligted text to Word (Acrobat 8)

    I am trying to capture highlighted text from a PDF file and then export them into Word or Excel. I basically have an "index card software" where I capture relevant text, add a few keywords, and then keep them so I can find parts of literature later on.
    I just recently got Adobe Acrobat Professional 8.
    I found this post about using Summarize Comments to transfer highlighted text.http://forums.adobe.com/thread/619957
    A few questions
    - can I transfer it to a Word document instead of PDF?
    - can it NOT create a separate page for each page of the document? I'd rather all the highlighted text be on as few pages as possible.
    That post also talked about a way to go back to previous PDF files highlighted before choosing that setting. However, I could not figure out how to do this method on files that have ALREADY been highlighted, some in previous versions of Acrobat.
    Thanks for your help

    These AUC threads may be useful re: smaller page count of the summarize comments report —
    http://acrobatusers.com/forum/collaboration-commenting/printing-comments-one-page
    http://acrobatusers.com/forum/collaboration-commenting/q-how-end-user-extract-marked-text- out-pdf
    http://acrobatusers.com/forum/collaboration-commenting/summarize-comments-single-page
    "gkaiseril" and "try67" discuss the possibility of using Acrobat JavaScript to condense comment reports' page count.
    A summarize comments report can be sent to a Word file.
    Create a Batch Sequence that uses the "Summarize Comments" sequence.
    Select this sequence for the new Batch Sequence.
    In the Edit Sequence dialog, click the Edit button and edit as appropriate.
    Back in the Edit Batch Sequence - <the name of the new batch sequence> dialog -
    Configure items 2 and 3 as desired.
    Click on the Output Options button.
    The Output Options dialog has two panes (File Naming and Output Format).
    In the Output Format pane open the drop-down menu associated with "Save File(s) As".
    Select RTF or Microsoft Word Document.
    (n.b., The save as or export to MS Word document actually gives you an RTF but changes the file extension. If you experience problems with the "doc" then try "rtf" and open that with Word.)
    You could add in javascript sequence(s) to the Batch Sequence.
    You may have to play with it in regards to the output to DOC or RTF.
    Be well...

Maybe you are looking for

  • How do I know which id to delete and insure time machine restore?

    I had a glitch on my computer of the screen going black at random. I also had a recall on my imac for the segate drive which was replaced once. I brought it to the apple store after a week then determined there was no recall on my new drive and reins

  • MacBook HDD dead; looking for a replacement if data recovery isn't possible

    The HDD in one of my MacBooks has died - ticking at startup, and the file folder with the exclamation point ( ! ) on it upon boot. This just happened randomly one day, as I was watching a movie and the movie froze. I shut the computer down for the ni

  • Problem installing Acrobat 9 standard

    Hi, I am trying to install Acrobat 9 Standard. I am getting the error message: "Acrobat has detected another process which has not yet completed. You need to restart the system in order to complete this process". Unfortunatly, after many restarts, It

  • Get c: drive and ram full used

    After Anna Upgrade, and after fresh boot, the available RAM in my N8 reduces from 136Mb to 120Mb.  I really believe more RAM in Nokia phone is the ultimate necessity to operate the phone smoothly without hanging during playing.  Can I have the RAM ba

  • Why does a reboot set the modified-date of the server certificate?

    I was inspecting my certificates and noticed that the certificate I use for my server had a modified date of Dec 12, whereas it was created around April of this year. Dec 12 saw a reboot of my server and adding the `uptime` to the 'modified date' of