Errant double horizontal line: can't delete

Discuss the word processor

Errant double horizontal line: can't delete

Postby aekap » Mon Oct 04, 2010 1:52 am

I have a 230-page document with a double-black horizontal line in the middle of it. I'm not sure where it came from, but I'm guessing it was the result of one of my scene breaks turning into something else (a ***). I cannot delete it, and I've tried everything I can think of. I've even tried copying from several lines ahead and pasting it into a new document, and the line follows me into the new document, even when it isn't part of the text I'm highlighting!

This is making me absolutely crazy. Can someone please tell me how to get rid of this thing? I've tried using delete, backspace, highlighting the surrounding block of text and deleting all of it, and nothing is working.
openoffice 3.2.1, windows 7
aekap
 
Posts: 3
Joined: Mon Oct 04, 2010 12:45 am

Re: errant double horizontal line- can't delete

Postby therabi » Mon Oct 04, 2010 2:22 am

aekap wrote:I have a 230-page document with a double-black horizontal line in the middle of it. I'm not sure where it came from, but I'm guessing it was the result of one of my scene breaks turning into something else (a ***). I cannot delete it, and I've tried everything I can think of. I've even tried copying from several lines ahead and pasting it into a new document, and the line follows me into the new document, even when it isn't part of the text I'm highlighting!

This is making me absolutely crazy. Can someone please tell me how to get rid of this thing? I've tried using delete, backspace, highlighting the surrounding block of text and deleting all of it, and nothing is working.


Try looking at Tools> Autocorrect Options> Options find "Apply Borders" and uncheck it.

HTH
OpenOffice.org v3.3, LibO v3.32 on Ubuntu 10.10 and Win7
User avatar
therabi
Volunteer
 
Posts: 763
Joined: Wed Sep 01, 2010 10:01 pm
Location: USA

Re: errant double horizontal line- can't delete

Postby aekap » Mon Oct 04, 2010 2:46 am

Thanks for trying to help! Unfortunately, this didn't work.
openoffice 3.2.1, windows 7
aekap
 
Posts: 3
Joined: Mon Oct 04, 2010 12:45 am

Re: errant double horizontal line- can't delete

Postby aekap » Mon Oct 04, 2010 2:56 am

okay, I've played around some more, and I think what this is is a horizontal ruler. So the question is, how do you delete one of those?
openoffice 3.2.1, windows 7
aekap
 
Posts: 3
Joined: Mon Oct 04, 2010 12:45 am

Re: errant double horizontal line- can't delete

Postby therabi » Mon Oct 04, 2010 3:15 am

aekap wrote:okay, I've played around some more, and I think what this is is a horizontal ruler. So the question is, how do you delete one of those?


Can you upload a copy to look at?
OpenOffice.org v3.3, LibO v3.32 on Ubuntu 10.10 and Win7
User avatar
therabi
Volunteer
 
Posts: 763
Joined: Wed Sep 01, 2010 10:01 pm
Location: USA

Re: errant double horizontal line- can't delete

Postby acknak » Mon Oct 04, 2010 3:17 am

See this previous thread: viewtopic.php?f=7&t=10997&start=0
AOO4/LO5 • Linux • Fedora 23
User avatar
acknak
Moderator
 
Posts: 21369
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: errant double horizontal line- can't delete

Postby jrkrideau » Tue Oct 05, 2010 12:21 pm

acknak wrote:See this previous thread: viewtopic.php?f=7&t=10997&start=0

Should we flog the developer/programmer who came up with this idea? It's amazingly easy to do (the line not the flogging) and almost impossible for a new user to figure out what's happened.
AOO 4.1.1, Ubuntu 14.04
jrkrideau
 
Posts: 2877
Joined: Sun Dec 30, 2007 10:00 pm
Location: Kingston Ontario Canada

Re: Errant double horizontal line: can't delete

Postby acknak » Tue Oct 05, 2010 4:32 pm

Yes, if you can find him/her.

It's one of the more obvious design blunders in OOo--especially when Writer could insert one of several kinds of ruler line that would go away if the user pressed Backspace.

OTOH, I've found that at least some of Writer's blunders were originally inherited direct from MS Word--maybe this is another?

There is a request to change the Insert > Horizontal Ruler behavior, which shares this odd design, but not for the autocorrect behavior: Issue 7719: Inconsistent behavior for insert->horizontal line
At least, I couldn't find any request for it.
AOO4/LO5 • Linux • Fedora 23
User avatar
acknak
Moderator
 
Posts: 21369
Joined: Mon Oct 08, 2007 1:25 am
Location: USA:NJ:E3

Re: Errant double horizontal line: can't delete

Postby PeaceByJesus » Mon Aug 01, 2011 2:14 am

For those in the future who come looking for a fix to this, as i did, nothing would work out of all suggestions except the one to right click above the line and choose Paragraph, and under borders and Line > Style (in middle), click on None. BUT i had to do each one by one, as selecting all would not do it, with or without "Marge with next paragraph checked.

I was working within a table on an html page (see bottom here http://peacebyjesus.witnesstoday.org/An ... Supplement, where i left two lines) I did not have Apply Borders checked in Tools > AutoCorrect> Options > Apply Borders.
Thanks. Grace and peace thru Jesus the Lord.
PeaceByJesus
 
Posts: 68
Joined: Mon Dec 24, 2007 7:38 pm

Re: Errant double horizontal line: can't delete

Postby Bill » Mon Aug 01, 2011 12:55 pm

acknak wrote:OTOH, I've found that at least some of Writer's blunders were originally inherited direct from MS Word--maybe this is another?

This seems to be a feature which may have been partially inherited from MS Word. I tested Word 2000 to see if the behavior was the same as in Writer. Both Word 2000 and Writer create horizontal lines by adding a bottom border to the paragraph and it's possible to create consecutive paragraphs having bottom borders with only the border visible on the last paragraph. The behavior is different when trying to remove the horizontal line. In Writer, the bottom border has to be manually removed from each paragraph. In Word 2000, manually removing the border from the the bottom paragraph automatically removes the border from the preceding paragraphs, so in Word, the horizontal line doesn't "move up" like it does in Writer when the border is removed from the bottom paragraph.
Bill
 
Posts: 5455
Joined: Sat Nov 24, 2007 6:48 am

Re: Errant double horizontal line: can't delete

Postby zfree » Sun May 05, 2013 10:03 am

If anyone's got this problem: I managed to get rid of my persistent horizontal line by going with the cursor directly to it and selecting Format > Clear Direct Formatting.
LibreOffice 4 on Ubuntu 12.04
zfree
 
Posts: 1
Joined: Sun May 05, 2013 10:01 am

Re: Errant double horizontal line: can't delete

Postby Bill » Sun May 05, 2013 11:29 am

Format > Clear Direct Formatting wll also remove all other direct formatting. To remove the line without removing other direct formatting, use Format > Paragraph and remove the bottom border.
AOO 4.1.2 on 64-bit Ubuntu 16.04 LTS & 64-bit Windows 10
Bill
 
Posts: 5455
Joined: Sat Nov 24, 2007 6:48 am

Re: Errant double horizontal line: can't delete

Postby duncanparkes » Fri Nov 21, 2014 12:42 am

I've just been having fun with these horizontal lines and I'm sure it's not for the first time. The solution today was to
Code: Select all   Expand viewCollapse view
Edit -> Select All
Format -> Paragraph ->
  Untick merge with next paragraph
  Set all four borders under line arrangement
  Click OK

Format -> Paragraph ->
  Set No borders
  Click OK

Just going directly to no borders just moved the borders around.

Hopefully next time I come across this I'll find this answer rather than having to work it out again...
Duncan - LibreOffice 3.5.4.2 on Crunchbang
duncanparkes
 
Posts: 1
Joined: Fri Nov 21, 2014 12:27 am

Re: Errant double horizontal line: can't delete

Postby John_Ha » Fri Nov 21, 2014 11:20 am

duncanparkes wrote:Just going directly to no borders just moved the borders around.

The horizontal line is either the top border of a paragraph, or the bottom border of a paragraph. So, to remove it, you must have the cursor in the paragraph in question before removing the border. If you delete the paragraph with the border, the border just to the previous (next?) paragraph because the default setting is for text to take on the preceding paragraph's attributes.

It is easier to select from before the line(s) to after the line(s). Now remove the borders - it will remove all the borders in the selection - including the unwanted ones.

Setting Show hidden characters helps greatly in this (and many other problems). I think it should be the default when AOO is installed, and when AOO opens a document as it is so useful, but so few newcomers know about it.
AOO 4.1.2
Windows 7 Home 64 bit, 4GB, SSD
Intel dual core
John_Ha
Volunteer
 
Posts: 2567
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

Re: Errant double horizontal line: can't delete

Postby RoryOF » Fri Nov 21, 2014 11:25 am

John_Ha wrote:Setting Show hidden characters helps greatly in this (and many other problems). I think it should be the default when AOO is installed, and when AOO opens a document as it is so useful, but so few newcomers know about it.


Unfortunately, most users expect the document to look onscreen exactly as it will be printed (even to exact size in many cases!) and cannot mentally discount the presence of the hidden character indicators. To make /View /Non printing characters the default would cause most users to abandon OpenOffice immediately. That said, I always edit with non printing characters displayed, but have done since before WordStar (do I date myself?)
Apache OpenOffice 4.1.2 on Xubuntu 16.04 (mostly 64 bit version) and infrequently on Win2K/XP
User avatar
RoryOF
Moderator
 
Posts: 21272
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Errant double horizontal line: can't delete

Postby John_Ha » Fri Nov 21, 2014 6:37 pm

RoryOF wrote:Unfortunately, most users expect the document to look on screen exactly as it will be printed (even to exact size in many cases!) and cannot mentally discount the presence of the hidden character indicators.

Unfortunately, most users don't know what is good for them. I have no idea how they manage to sort out formatting if they don't know what formatting is being used because they cannot see it.
AOO 4.1.2
Windows 7 Home 64 bit, 4GB, SSD
Intel dual core
John_Ha
Volunteer
 
Posts: 2567
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

Re: Errant double horizontal line: can't delete

Postby linuxmick » Tue Sep 08, 2015 10:28 pm

OpenOffice 4.1.1
Automatic lines in Writer
1. If you start a new line in a Writer text document by typing three or more hyphen characters and press the Enter key, the characters are removed and the previous paragraph gets a line as a bottom border.
To create a single line, type three or more hyphens (-), or underscores ( _ ), and then press Enter. To create a double line, type three or more equal signs (=), asterisks (*), tildes (~), or hash marks (#), and then press Enter.
2. To remove an automatically drawn border, choose Format - Paragraph - Borders and select no border.
3. To undo an automatic border replacement once, choose Edit - Undo.
4. To disable the automatic borders, choose Tools - AutoCorrect Options - Options and clear Apply border.
OpenOffice 4.1.1/Win8.1
linuxmick
 
Posts: 1
Joined: Tue Sep 08, 2015 10:27 pm

Re: Errant double horizontal line: can't delete

Postby verbalist » Sun Oct 25, 2015 8:50 pm

I have tried a number of methods to delete unwanted horizontal lines in Writer.

This advice -- "2. To remove an automatically drawn border, choose Format - Paragraph - Borders and select no border." -- is not working for me.

Any other suggestions? Thanks.
OpenOffice 4.1.1 on Windows 7
verbalist
 
Posts: 2
Joined: Sun Oct 25, 2015 8:46 pm

Re: Errant double horizontal line: can't delete

Postby John_Ha » Mon Oct 26, 2015 3:06 am

The horizontal line is either the top border of a paragraph, or the bottom border of a paragraph. So, to remove it, you must have the cursor in the paragraph in question before removing the border. If you delete the paragraph with the border, the border just moves up (down?) to the previous (next?) paragraph because the default setting is for text to take on the preceding paragraph's attributes.

It is easier to select from before the line(s) to after the line(s) including the unwanted line(s). Now remove the borders in the selected paragraphs by Foormat > Paragraph > Borders ... - it will remove all the borders in the selection - including the unwanted ones.

Setting View > Show hidden characters helps greatly in this (and many other problems). I think it should be the default when AOO is installed, and when AOO opens a document as it is so useful, but so few newcomers know about it.

If this does not work, upload a small example file (128kB max) for someone to have a look at it - use the Upload Attachment tab below where you write your post.
AOO 4.1.2
Windows 7 Home 64 bit, 4GB, SSD
Intel dual core
John_Ha
Volunteer
 
Posts: 2567
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

Re: Errant double horizontal line: can't delete

Postby verbalist » Mon Oct 26, 2015 3:10 pm

Thanks. I should have said I had already tried everything suggested in this thread, plus a few others, some possibly involving a live goat and a full moon. However, this time in preparation for uploading a sample I did something different: I cut and pasted the problem section into a new document.

In the process, one of the two under-border lines disappeared from the problem section. I started examining the cut-and-paste document and, perhaps because this was a smaller and more manageable chunk of text than the original document, was able to find the paragraph where the under-border started.

To make a long story a little longer, I was able to remove the under-border from 20 or so paragraphs and finally get it out of the document. I had to do it to each under-bordered paragraph individually. Trying to select a number of paragraphs and remove it in bulk had not worked earlier. Perhaps that was because I had not selected all and only the under-bordered paragraphs.

For future, I'd encourage people having this problem to examine a potentially large number of paragraphs before and perhaps after the problem paragraph and determine where the paragraphs start having the under-border trait. Then remove it individually from every paragraph, using the "format-paragraph-borders-line arrangement default-set no borders" commands. This was somewhat tedious but did eventually remove the lines. I have already set Writer to not automatically create under-borders when several dashes are entered.

Thanks again.
OpenOffice 4.1.1 on Windows 7
verbalist
 
Posts: 2
Joined: Sun Oct 25, 2015 8:46 pm

Re: Errant double horizontal line: can't delete

Postby RoryOF » Mon Oct 26, 2015 3:22 pm

An easier way: if one types a series of three of a character often used as a text divider ("-", "=" etc), when one presses Enter to terminate that line, immediately autocorrect will apply a border (if it is set to do that, which it is by default). Once the line appears, choose /Edit /Undo (or Ctrl Z) and the line will vanish.
Apache OpenOffice 4.1.2 on Xubuntu 16.04 (mostly 64 bit version) and infrequently on Win2K/XP
User avatar
RoryOF
Moderator
 
Posts: 21272
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Errant double horizontal line: can't delete

Postby John_Ha » Mon Oct 26, 2015 7:47 pm

verbalist wrote:Perhaps that was because I had not selected all and only the under-bordered paragraphs.

Switcth on View > Show non-printing characters ... - it is then obvious which paragraph has the border.
Attachments
Clipboard01.png
Clipboard01.png (11.35 KiB) Viewed 3976 times
AOO 4.1.2
Windows 7 Home 64 bit, 4GB, SSD
Intel dual core
John_Ha
Volunteer
 
Posts: 2567
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK

Re: Errant double horizontal line: can't delete

Postby zdrej » Thu Mar 17, 2016 12:21 pm

All answers here are useless.

There should be reset of formating
select all CTRL+a and then reset CTRL+m (and then you go again over all document :-( )

Its anoying, that automation do something that user cannot undo later!! That is why I hate most of that automation and inteligence in Word and Writer. It is not automation bat lack of knowledge and functions for undo it in normal logical way.
win 7, win 8, ubuntu
open office 4.1.2, -||-,
zdrej
 
Posts: 1
Joined: Thu Mar 17, 2016 11:15 am

Re: Errant double horizontal line: can't delete

Postby RoryOF » Thu Mar 17, 2016 12:26 pm

Go to the paragraph above the line and /Format /Paragraph. On the Borders tab, select to use no borders.

"Lack of knowledge" can be cured by reading the manuals or using the help file, but these require "intelligence".
Apache OpenOffice 4.1.2 on Xubuntu 16.04 (mostly 64 bit version) and infrequently on Win2K/XP
User avatar
RoryOF
Moderator
 
Posts: 21272
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Errant double horizontal line: can't delete

Postby noface0711 » Sat Mar 19, 2016 10:25 am

Thanks for trying to help! Unfortunately, this didn't work. :(
OpenOffice 3.1 on Windows Vista
User avatar
noface0711
Banned
 
Posts: 3
Joined: Fri Mar 11, 2016 12:15 pm

Re: Errant double horizontal line: can't delete

Postby RoryOF » Sat Mar 19, 2016 10:37 am

Without actual hands-on of your file we are guessing in the dark.
Apache OpenOffice 4.1.2 on Xubuntu 16.04 (mostly 64 bit version) and infrequently on Win2K/XP
User avatar
RoryOF
Moderator
 
Posts: 21272
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Errant double horizontal line: can't delete

Postby John_Ha » Mon Mar 28, 2016 3:23 pm

AOO 4.1.2
Windows 7 Home 64 bit, 4GB, SSD
Intel dual core
John_Ha
Volunteer
 
Posts: 2567
Joined: Fri Sep 18, 2009 5:51 pm
Location: UK


Return to Writer

Who is online

Users browsing this forum: FJCC and 34 guests