Ask Your Question

Anchor character to cell border?

asked 2019-10-08 02:56:49 +0100

appreciatethehelp gravatar image

updated 2019-10-08 03:00:17 +0100

Please see document attached- how do I anchor the character shown directly between two cells/to the cell border? Note that I need to do this for a number of cells in another document, and need a tidy result, therefore dragging to the location is not a suitable alternative.

If this is not possible using the grey "webdings" dots shown in the example, then a method using a circle shape is fine also- whatever gets a dot/small circle centered horizontally/vertically on the border line.

Thanks very much.

C:\fakepath\Anchor character horizontally:vertically on cell border.odt

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted

answered 2020-09-04 00:35:55 +0100

LeroyG gravatar image

updated 2020-09-04 00:37:35 +0100

Another imperfect solution, but seem to me easier to keep centered.

I deleted vertical internal border; added a third column in the center; added a cell background ("background", vertical line background.png) to these center cells; and typed U+25cf character (●) in gray.

See sample table added to your own sample file.

Tested in LibreOffice (x86); OS: Windows 6.1.

Check the mark (Correct answer mark) to the left of the answer that solves your question.

edit flag offensive delete link more

answered 2019-10-08 08:12:01 +0100

ajlittoz gravatar image

I have an imperfect solution depending on the properties of the cell contents. It is valid for all inner borders and the left outer border. It does not work if you want to tag the right border of the table.

You must know the width of the character/image (w) and the left padding space to contents from Table>Properties, Borders (p).

Anchor the character/image to the paragraph in a cell. Adjust position as follows:

  • horizontally From left to Paragraph area by -( w/2 + p) to center it exactly over the left cell border
  • vertically Center to Paragraph text area

With these settings, I can add/remove columns and the tag mark remains in the correct position as long as I don't suppress the anchoring cell.

The trick does not work well if there are several paragraphs in the marking cell. You must attach the mark the paragraph nearest the center. To improve centering, select center vertical alignment of cell contents.

To show the community your question has been answered, click the ✓ next to the correct answer, and "upvote" by clicking on the ^ arrow of any helpful answers. These are the mechanisms for communicating the quality of the Q&A on this site. Thanks!

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2019-10-08 02:56:49 +0100

Seen: 76 times

Last updated: Sep 04 '20