Line breaks in Word document

Hello,
I am running into an issue when I open a Word document in Pages.  Line breaks are being converted into "  Did not happen in previous versions of Pages (I am on 5.1).  Same thing happens when I open a ppt in Keynote - so could be a Microsoft issue.
Please help

'Course it's all custom scripts, written for and tailored to each individual workflow. I even manage two of those workflows at the office, for two distinctly different publishing trajectories, each with very different needs, and thus very different scripts. Only the very basic processing of files is the same, but after that they diverge real fast, and thus I have to maintain two different sets of scripts.
There is no single workflow tht "works for everyone", and there certainly is not a single script that does everything you imagine it could do.

Similar Messages

  • Read Only TextAreas with Carriage Return, Line Breaks and Word Wrapping

    Hi all,
    I know there are a few posts around this subject but I cannot find the answer to the exact problem I have.
    I have a page that has a 'TextArea with Character Counter' (4000 Chars) that is conditionally read only based on the users credentials (using the 'Read Only' attributes of the TextArea item).
    When the field is editable (not Read Only) everything works fine but when I make the field Read Only I start to have problems:
    The first problem is that the Carriage Return and Line Breaks are ignored and the text becomes one continuos block. I have managed to fix this by adding pre and post element text of pre and /pre tags. This has made the Carriage Return and Line Breaks word nicely and dispaly correctly.
    However, it has introduced a second problem. Long lines, with no Carriage Returns or Line Breaks, now extend to the far right of the page with no word wrapping, making my page potentially 4000+ characters wide.
    How can I get the field to be display only, with recognised Carriage Returns and Line Breaks, and Word Wrapping inside a fixed width of, say, 150 characters?
    Many thanks,
    Martin

    Hi,
    Just a cut and paste of yours with the field name changed:
    htp.p('<script>');
    htp.p('$x("P3_COMMENTS").readonly=true;');
    htp.p('</script>');I also have the following in the page HTML Header, could they be conflicting?
    <script type="text/javascript" language="JavaScript">
    function setReleaseToProd(wpTypeCode){
       //setReleaseToProd($v(this))
      var get = new htmldb_Get(null,$v('pFlowId'),'APPLICATION_PROCESS=set_release_to_prod',0);
      get.addParam('x01',wpTypeCode);
      gReturn = get.get();
      if(gReturn) {
         $s('P3_RELEASE_TO_PROD',gReturn);
      get = null;
    </script>I am a long way from knowing much about Javascript (this page code was written by someone else) so all help is much appreciated.
    Martin

  • ASK - How to delete line space in Word document using oracle form

    Hi,
    I have 1 template word document.
    Inside the word document template :
    abcdefg
    [START_TERMS]
    [END_TERMS]
    bbbbbbbbbbbbbbbb
    currently, my program only can delete the statement [START_TERMS] and [END_TERMS].
    so the result
    abcdefg
    ----> space area
    ----> space area
    bbbbbbbbbbbbbbbb
    My expected result is
    abcdefg
    bbbbbbbbbbbbbbbb
    How to replace that two space area in oracle form ?
    Please advise.
    Thanks for your help.
    regards,
    Iwan

    Hi
    Here my code :
    Function DeleteWord(MyOwnSelection OLE2.OBJ_TYPE, MyWord VARCHAR2) Return Boolean Is
    MyArgs OLE2.LIST_TYPE;
    vReturn boolean;
    Begin
    vReturn := FindWord(MyOwnSelection , MyWord);
    -- Can't Find The word
    if vReturn = False Then
         Return False;
    End if;
    OLE2.INVOKE(MyOwnSelection, 'Delete');
    MyArgs := OLE2.CREATE_ARGLIST;
    OLE2.ADD_ARG(MyArgs, '0');
    OLE2.ADD_ARG(MyArgs, '0');
    OLE2.INVOKE(MyOwnSelection, 'SetRange', MyARgs);
    OLE2.DESTROY_ARGLIST(MyArgs);
    Return True;
    End;
    returnValue := WordFunction.DeleteWord(MySelection, '[START_TERMS]');
    Thanks and regards,
    Iwan
    Edited by: user1888509 on Jun 7, 2011 10:34 PM

  • How to replace a word or line in a word document in CVI

    I am trying to edit a word document using activeX in CVI. I want to search for a word and replace it with another. I couldn't find any functions which does the replace in wordreport.c. Could you please help me out?

    Hi Isn,
    You
    will want to use the Microsoft Word 9.0 Object Library to interface
    with Microsoft Word.  You could then potentially be able to use the ActiveX calls
    provided to accomplish your goal.  The specifics on how to do this
    should be found in Microsoft's Documentation.
    Refer to the Microsoft document entitled How to find and use Office object model documentation. In your case, you will be looking at the Vbawrd9.chm help file which I believe will be located in the C:\Program Files\Microsoft Office\OFFICE\1033\ directory.
    Also refer to the Unable to Load Microsoft Excel/Word Help in LabWindows/CVI KnowledgeBase.
    Derrick S.
    Product Manager
    NI DIAdem
    National Instruments

  • Getting "warning" -- "Late bound resolution, runtime errors could occur" with a line referencing a Word document

    The problem line is:
                Dim Author$ = wd.ActiveDocument.BuiltInDocumentProperties(WdBuiltInProperty.wdPropertyAuthor).value.ToString
    "wd" is my program's instance of Microsoft Word.
    I've encountered this error before and could always fix the program and get rid of the warning without having to enclose the line in a "Try..Catch" structure. I enclosed this line in a Try..Catch, but the warning still appears, and for some reason,
    I have dedicated my few remaining years to getting rid of it.
    Robert Homes

    Armin:
    That didn't work for me. I couldn't even compile it like that, and I changed it to:
    =============================================
            Dim props As Microsoft.Office.Core.DocumentProperties = _
                    DirectCast(wd.ActiveDocument.BuiltInDocumentProperties, _
    Microsoft.Office.Core.DocumentProperties)
            Dim Author$ = props(WdBuiltInProperty.wdPropertyAuthor).Value.ToString
    =============================================
    That at least allowed me to compile (and DID get rid of the warning), but then I got a runtime error:
    ========================================================
    An unhandled exception of type 'System.InvalidCastException' occurred in Share.exe
    Additional information: Unable to cast COM object of type 'System.__ComObject' to interface type 'Microsoft.Office.Core.DocumentProperties'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{2DF8D04D-5BFA-101B-BDE5-00AA0044DE52}'
    failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
    ================================================================================
    Robert Homes

  • Converting report output to a word document

    Hi,
    Can anyone pls help me by providing the program for converting displaying/inserting the internal table values along with the table frame aound the internal table(in the sense displaying the rows and columns lines) to the word document not in the excel format, instead of displaying in the report.
    Thanks,
    Ravi

    Hi Ravi,
    see if this helps you in anyway:
    REPORT OUTPUT IN WORD OR EXCEL
    Re: OLE: ms word (Textbox)
    Re: OLE and MS Word
    Create MS-Word document (With format)
    Regards,
    Ravi

  • [iPhone] Soft line-breaker

    I want to render strings on a view by myself on iPhone.
    How can I know where soft line-breaks are in a string?
    If a line-braker considers word-wraps, that would be better.
    On Mac, I used ATSUBreakLine of ATSUI.
    http://developer.apple.com/documentation/Carbon/Reference/ATSUIReference/Reference/reference.html#//appleref/c/func/ATSUBreakLine
    That works well on Mac.
    But iPhone SDK doesn't contain it.
    And I investigated Quartz 2D text functions.
    But I cannot find any functions I want.
    Any ideas?
    * What I want:
    Input:
    String, font, max width in pixels
    Output:
    Number of characters we can print within the max width
    Soft line-breaker (considering word-wraps) would be better
    Satoshi Nakagawa

    bump I'm trying to do something similar too.

  • New line formatting required in document template step in workflow

    Dear all,
             I use document template step in workflow.
             In the document template step ,I use MS-Word as document class.
             I have to populate all employee names in the word document whose probation expires on a particular date.
             When my workflow attains execution, all employee names appear in single line in the word document.
             I want each employee name to appear in one line i.e., in new line in the word document.
             Is there any ABAP data dictionary type for new line?
            Please suggest me a solution to this problem.
    Thanks and regards,
    S.Suresh

    Dear Raj!
              Thanks for your immediate response.
              I populate all employee names using custom method in the BOR zbus1065.All these employee names are inturn passed to multiline workflow container which in turn passed to word document.
              I did binding as following in the word document  of document template step:
    Following employee probation expires shortly
                         {&EMPLOYEENAME&}
              Though I am getting all employee names,all the employee names appear in single line.
               I want each employee name to appear in new line.
              Please suggest solution for which I will be grateful.
    Thanks and regards,
    S.Suresh

  • Ignore Line break in find text using grep

    Hi everyone!
    I need to find the text in document using grep.
    find text for :
    Xereptatiuria que alique volo eium qui dolupid ut
    voluptatiam earum saestorepel iuscit im quas et modisimodit.
    The above sentence cannot having line breaks. But document having multiple line breaks.
    so, please to give a tip to find the text using grep.
    I am not excepting this type of result by following.
    Xereptatiuriaque\n alique volo\neium qui dolupid ut\r voluptatiam earum\n saestorepel iuscit im quas et\n modisimodit.  ------------this is not.
    Any another way to find (i.e)., ignore the line break
    simply like this, 
    (?s:Xereptatiuria que alique volo eium qui dolupid ut
    voluptatiam earum saestorepel iuscit im quas et modisimodit.)      --------- the line break wherever it is found,ignore line break in single command.
    Thanks by,
    John Peter.

    johnp45247251,
    what do you really want to do?
    Like pkahrel in your other thread Find Grep And Ignore the line break said:
    pkahrel schrieb:
    You're a moving target: you change your question in each post. Do yourself a favour and go and read up on GREP.
    johnp45247251, one question:
    Could it be possible, that you doesn't understand correctly, how Grep really works?
    <edit by pixxxel schubser>
    Furthermore your example text is different to your screenshot. Your text is:
    »Xereptatiuriaque\n alique volo\neium qui dolupid ut\r voluptatiam earum\n saestorepel iuscit im quas et\n modisimodit.«
    And your screenshot shows:
    »Xereptatiuriaque\n alique volo\n eium qui dolupid ut \rvoluptatiam earum\n saestorepel iuscit im quas et\n modisimodit.«
    Normally the text should look like this:
    »Xereptatiuriaque\nalique volo\neium qui dolupid ut\rvoluptatiam earum\nsaestorepel iuscit im quas et\nmodisimodit.«
    Please explain what do you really want to do and exactly if additional spaces are exists or not!
    Could it be:
    you have a text with paragraphs and with many line breaks in that paragraph and there are no spaces exists before or after your line breaks. And is your destination to remove all the line breaks from your text?
    </edit by pixxxel schubser>
    Then the way is not to find the text completly and to ignore the line breaks – the way is to find the line breaks and replace with a space, e.g. like that:
    find:
    \n
    replace with:
    \s
    (change all)
    Regards
    pixxxel schubser

  • How to identify line and paragraph breaks on word enumeration

    Hi,
    I am using PDWordFinder to extract text from the PDF document and then enumerate each word.
    I need to identify the line breaks and replace them with white space
    and paragraph breaks should be replaced with "/r".
    I use the following to identify the line breaks
    (PDWordGetAttrEx(docWord, 0) & WXE_LAST_WORD_ON_LINE)
    Is there any way to identify paragraph breaks?
    Thanks in advance
    Vatspal

    Is the PDF tagged/structured or not?   If so, then you have all the
    paragraph information you need by using the PDSEdit APIs.  If not, then
    you will need to do MUCH MORE heuristic analysis of the content to
    determine paragraphs.

  • I have been sent a 'word document' in which are a series of boxes about thirty lines long to insure written text. When Pages opens the document it extends these to a whole A4 page how do I get it to retain the original layout

    I have been sent a 'word document' in which are a series of boxes about thirty lines long to insert written text. When Pages opens the document it extends these to a whole A4 page how do I get it to retain the original layout

    You can't change the way Pages import .doc files.
    It was never written that it reproduce exactly the original one.
    From my point of view, as I refuse to give a cent to M...soft, the best way to deal with documents issued by their Office suite is to use the free libreOffice.
    Yvan KOENIG (VALLAURIS, France) jeudi 7 juillet 2011 11:34:19 iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8
    Please : Search for questions similar to your own before submitting them to the community
    To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

  • Create a Macro to Index a Word Document Line by Line

    Background
    I have collected a bunch of keywords and references to where I can find these words in a textbook.  I've put them into a Word document where each line is one Index beginning with the “Main Entry” followed by a colon and then the “Subentry”.  Note
    that in the "Subentry" I have included my reference in parenthesis (b1-m2).
    Example Original Text:
            Main Entry:Subentry (b1-m2)
    Example Marked for Index:
            Main Entry:Subentry (b1-m2){ XE "Main Entry:Subentry (b1-m2)" \t "" }
    When it was only a page of content it was no big deal to select the entire line and <Ctrl>+<Alt>+<x> then <Enter> down the line.  Now that I have about 500 lines of these word combinations, I need a more automated solution. 
    I have searched for KB articles that explain the various elements I need, though unsuccessfully since I don’t know what I need.  I doubt I am the first person to do this, so if anyone could point me to the right documents I would greatly appreciate
    it.
    As a noob, how difficult of a task is this to automate with a Macro or some other method and should I even attempt it? I have a very short window of time to figure this out.
    Nice to have: In the final index, I don't need the Word page numbering after the term.  My references are in the parenthesis.  I know how to remove it manually in Word, when I mark the index entry: Chose Options, Cross-reference
    and remove the pre-populated text of "see". That adds  \t "" to the index reference. 
    Illustrated as such:
            From: Main Entry:Subentry (b1-m2){ XE "Main Entry:Subentry (b1-m2)" }
            To:     Main Entry:Subentry (b1-m2){ XE "Main Entry:Subentry (b1-m2)" \t "" }
    My Attempt at Recording a Macro
    Having zero experience writing macro’s myself, I tried recorded a simple macro using the manual keystrokes below however the text reflected in the actual index reference does not change.  I also have to manually kick off the macro on every line of text.
    I walked through each of the steps outlined below as I was recording a macro, however when I replay the macro, the index itself contains the exact same text for every line and does not match the original text on the new line.
    I could not get the macro to repeat itself on every line.  I had to keep running it until I was done (technically, when I realized it was repeating the same text within the index reference itself) but I’d like the macro to run from beginning
    to end; line by line and then insert the Index itself at the end on a new page.
    I realize I need some kind of loop to keep the macro going line by line.
    I also need some way to mark the Main Entry within the loop (everything to the left of the colon) and then the Subentry (everything to the right of the colon to the end of the line). 
    Example “Index” Macro
    Sub Index()
    ' Index Macro
        Selection.EndKey Unit:=wdLine, Extend:=wdExtend
        ActiveWindow.ActivePane.View.ShowAll = True
        ActiveDocument.Indexes.MarkEntry Range:=Selection.Range, Entry:= _
            "TV\:The Good Wife (y2014-y2015)", EntryAutoText:= _
            "TV\:The Good Wife (y2014-y2015)", CrossReference:="", _
            CrossReferenceAutoText:="", BookmarkName:="", Bold:=False, Italic:=False
        Selection.MoveRight Unit:=wdCharacter, Count:=1
    End Sub
    Manually Marking Index Entries
    Manually, here are the keystrokes I use to iterate my way through the document.
    Manual Index Marking Keyboard Combinations:
    At the beginning of the first line, press <Shift> + <End>
    This selects the entire rows text
    Then press <Ctrl> + <Shift> + <x>
    This allows me to “Mark Index Entry”
    Then press <Enter>
    This confirms the Index entry
    Then press <Esc>
    This closes the “Mark Index Entry”
    Go to the next line and repeat.
    Replacing anchor
    Once the creation of each index is complete, I need to be able to iterate through the document and find all anchor + colons (IE: \: ) and replace with colon (IE: :). This way, the “Main entry” and “Subentry” are handled properly when the Index is inserted.
    Manual Anchor Replacement Keyboard Combinations:
    At the beginning of the Word document, press <Ctrl> + <h>
    Find what:      \:
    Replace with:   :
    Then <Alt> + <a>
    Press the "Ok" button (or make replace silent somehow)
    Then press <Esc>
    This should close the "Find and Replace" screen
    Inserting Index
    Ideally, I would like the macro to create and insert the newly marked content into an index at the end of the document.
    Manually Inserting Index Keyboard Combinations:
    Press <Ctrl> + <End>
    this takes us to the bottom of the document
    Then press <Alt> + <s>
    this chooses the "References" tab
    Next press <Alt> + <x>
    this chooses "Insert Index"
    Next press <Alt> + <t>
    This should allow you to choose a "Format" option for the index
    Next press <m>
    This should chose "Modern" from the "Formats" options
    Finally, press <Enter>
    End the macro
    Example before Indexing:
              TV:The Good Wife (y2014-y2015)
              TV:Phineas and Ferb (y2011)
              TV:Curb Your Enthusiasm (y2011-y2015)
              Game:Back to the Future (y2012)
              Made for TV Movie:The Magic 7(y2009)
              Main Entry:Subentry (b1-m2)
    Example after Indexing is completed:
    The marked up text/references did not transfer over properly from the Word document I copied my question from.  I had to manually type the text within the {} brackets for illustrative purposes here:
              TV:The Good Wife (y2014-y2015){ XE "TV:The Good Wife (y2014-y2015)" }
              TV:Phineas and Ferb (y2011){ XE "TV:Phineas and Ferb (y2011)" }
              TV:Curb Your Enthusiasm (y2011-y2015){ XE "TV:Curb Your Enthusiasm (y2011-y2015)" }
              Game:Back to the Future (y2012){ XE "Game:Back to the Future (y2012)" }
              Made for TV Movie:The Magic 7(y2009){ XE "Made for TV Movie:The Magic 7(y2009)" }
              Main Entry:Subentry (b1-m2){ XE "Main Entry:Subentry (b1-m2)" }
    Example Index 
    G
        Game
              Back to the Future (y2012) · 2
    M
        Made for TV Movie
              The Magic 7(y2009) · 2
        Main Entry
              Subentry (b1-m2) · 1,
    2
    T
         TV
              Curb Your Enthusiasm (y2011-y2015) · 2
              Phineas and Ferb (y2011) · 2
              The Good Wife (y2014-y2015) · 2
    Chris Schurman

    Once I combined my Excel knowledge and Word knowledge, this became a piece of cake.  Sharing my solution for anyone else who may have the need.  The point of this exercise is to prepare for an open book exam and I need a quick index of my books
    (there are 6 for this class).  Anyway, here is how i solved (though slightly clunky, it works in seconds!)"
    In Excel, I pieced the text together by concatenating the indexing markup and the contents of the pertinent cells as such:
        =CONCATENATE("XE """,A2,":",B2," (b",C2,"-p",D2,")"" \t """"")
    Content from Excel (with results of concantenate statement in last column:
    Heading    Slide Title    Book    Page    Copy this into notepad then into word
    Game    Back to the Future    1    12    XE "Game:Back to the Future (b1-p12)"
    Made for TV Movie    The Magic 7    2    7    XE "Made for TV Movie:The Magic 7 (b2-p7)"
    Main Entry    Subentry    3    48    XE "Main Entry:Subentry (b3-p48)"
    TV    Curb Your Enthusiasm    4    100    XE "TV:Curb Your Enthusiasm (b4-p100)"
    TV    Phineas and Ferb    5    20    XE "TV:Phineas and Ferb (b5-p20)"
    TV    The Good Wife    6    35    XE "TV:The Good Wife (b6-p35)"
    Then I paste special the "Values" of the last column into Word.
    I run the macro below (haven't figured out how to loop yet) a few doxen times an insert the index at the bottom.
        Sub Index()
        ' Index Macro
            Selection.HomeKey Unit:=wdLine
            Selection.EndKey Unit:=wdLine, Extend:=wdExtend
            Selection.MoveLeft Unit:=wdCharacter, Count:=1, Extend:=wdExtend
            Selection.Fields.Add Range:=Selection.Range, Type:=wdFieldEmpty, _
                PreserveFormatting:=False
            Selection.EndKey Unit:=wdLine
            Selection.MoveRight Unit:=wdCharacter, Count:=1
        End Sub
    Bam; instant Index!
    Chris Schurman

  • How do I copy a few lines from a pdf document to a Word document?  I'm not looking to convert the whole document, just need to copy a few lines here and there.

    How do I copy a few lines from a pdf document to a Word document?
    I'm not looking to convert the whole document, just need to copy a few lines here and there.
    ps.  Wow, what a user UNFRIENDLY site this is!

    In most cases you can just select the text and copy/paste. You can do that unless the file is a picture/scan.

  • How can I prevent this formating problem (changing fonts, lines etc) when converting PDF to a word document.

    I have a big problem when I convert my PDF to a word document, it is a mess. Is there a way to prevent this from happening. Font changes, table and lines formatting of lots of things. I am having to spend time editing and finding all the mistake, deleted the purpose of converting if I have to retype everything.

    Hi Donna,
    Are you facing this problem with a specific pdf or with all other pdf files? Which application was originally used to create that pdf file?
    Can you send that pdf file to me at [email protected] so that i can look into this issue for you.
    Regards,
    Rahul

  • Convert 1 single microsoft word document with section breaks to multiple pdf files

    I am a windows 7 users. I have a single microsoft word document which contain 1500 pages. These 1500 pages are seperated by sections breaks in the microsoft word. I am trying to convert this word document to multiple pdf files seperated by the section breaks in the Microsoft word. How can I convert the single microsoft word document with section breaks to multiple seperate pdf files?

    Acrobat (Adobe PDF Printer and PDFMaker ) doesn't recognize the Section breaks.  It never has as far as I am aware.  The easiest thing to do is to manually break up a copy of the MS Word Document into the Sections you need and then create the PDFs from those MS Word documents.

Maybe you are looking for