Results 1 to 5 of 5

Thread: How can I delete carriage return from the Autotext of OpenOffice?

  1. #1
    Join Date
    Nov 2011
    Posts
    61

    How can I delete carriage return from the Autotext of OpenOffice?

    Recently I have installed the latest version of OpenOffice and I am not much aware about it. right now I am trying to implement auto text entries and it is working fine. It is working fine till I am pressing ENTER key to accomplish the entry. the issue is that insertion which I am doing with terminating line feed bringing the cursor at the new paragraph.
    In case I wanted to insert
    ‘Correspondence was received on’ (cursor is located here)
    And I am getting
    ‘Correspondence was received on’
    (Cursor is located here)
    There is no change in the situation if I edit extra Line Feed.

  2. #2
    Join Date
    Aug 2011
    Posts
    566

    Re: How can I delete carriage return from the Autotext of OpenOffice?

    I could not find out the reason why are you hitting the enter key in order to complete the entery? You can complete the Auto Text entry set up by simply clicking on Auto Text and go for New on Auto Text dialog. After that click on Close. You can complete the Auto Text entry by hitting the F3 key. According to me there is no need of pressing Enter key to complete new Auto Text entry or insertion of the existing Auto Text.

  3. #3
    Join Date
    Aug 2011
    Posts
    695

    Re: How can I delete carriage return from the Autotext of OpenOffice?

    I was suffering the same issue which you have stated over here and I am hoping that it will be useful to you. Well you should try to enter autotext option through New rather than that of ‘New (text only)’ option. The option "New" does not inserts the extra CR/LF automatically.
    Let me know whether above mentioned solution worked for you or not.

  4. #4
    Join Date
    Aug 2011
    Posts
    540

    Re: How can I delete carriage return from the Autotext of OpenOffice?

    If you are looking to use New (text only) option then you have to use below mention Macro. It will do only one thing that is backspace.

    Code:
    REM  *****  BASIC  ***** 
    
    sub Backspace 
    rem ---------------------------------------------------------------------- 
    rem define variables 
    dim document   as object 
    dim dispatcher as object 
    rem ---------------------------------------------------------------------- 
    rem get access to the document 
    document   = ThisComponent.CurrentController.Frame 
    dispatcher = createUnoService("com.sun.star.frame.DispatchHelper") 
    
    rem ---------------------------------------------------------------------- 
    dispatcher.executeDispatch(document, ".uno :SwBackspace", "", 0, Array()) 
    
    
    end sub
    You have to implement the execution of the above mentioned macro into After inserting AutoText or AutoText entry events.

  5. #5
    Join Date
    Aug 2011
    Posts
    580

    Re: How can I delete carriage return from the Autotext of OpenOffice?

    I think below mentioned steps will help you out to fix the matter of yours.
    Copy and paste the desire text into OpenOffice.org Writer document.
    • Click on Tools and select AutoCorrect.
    • Now click on Options tab.
    • You have to click on Combine single line paragraphs if length greater than 50% checkbox.
    • Click on Ok button and press Ctrl and K together to select the Text.
    • Click on Format and go for Default Formatting.
    • Again click on Format and click on AutoCorrect and select Apply.

Similar Threads

  1. Finding replace text or symbol with carriage return in Excel
    By DEvOTeEL in forum MS Office Support
    Replies: 5
    Last Post: 23-02-2012, 12:19 PM
  2. How to delete the index entries from OpenOffice?
    By Gowravaram in forum Windows Software
    Replies: 4
    Last Post: 19-02-2012, 03:22 PM
  3. Don't know how to insert or create AutoText in Microsoft Word
    By Khan Baba in forum Windows Software
    Replies: 5
    Last Post: 22-01-2010, 12:41 PM
  4. import autotext entries from Word '03 to '07
    By mkuch in forum MS Office Support
    Replies: 6
    Last Post: 03-12-2008, 03:06 AM
  5. delete contacts from outlook express 07 so they don't return
    By tech0889 in forum Windows Software
    Replies: 0
    Last Post: 10-07-2008, 09:09 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,570,163.80328 seconds with 17 queries