Cannot find enter or paragraph icon to put in my text context menu (ie: right click)

Cannot find “enter” or “paragraph” icon to put in my text context menu (ie: right click).
So often when i am copy and pasting i use the text context menu for the copy and paste commands, but i cannot find an icon to insert an “enter” icon if i want to add a line or two after pasting. In Context menu i searched all commands but can only find one for the paragraph settings box (paragraph icon with settings wheel at bottom), but no icon for just paragraph.
Help please - and Thank You!!

Never do this. Empty paragraphs will play nasty tricks on your back sooner or later. Spacing above and below is an intrinsic property of the paragraph style. Learn to work with styles instead of direct formatting your document. Vertical spacing must never be done with empty paragraphs. You then become extremely sensitive to edits (which will ruin your layout) because you are not “synced” to “natural landmarks” like pages, paragraphs or characters.

In case styles sound Klingon to you, read the Writer Guide for an introduction.

1 Like

If you want to insert a new empty paragraph anyway, then you can assign the Insert Paragraph function to the Context menu.

Here is a sample file what contains two macros:
MyParagraphEnd
MyNewLine
assigned to the context menu named “Text”.
.
And it is assigned the Insert Paragraph function to the context menu named “Text”.

The macro code was recorded with the macro recorder:

REM  *****  BASIC  *****


sub MyParagraphEnd
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:InsertPara", "", 0, Array())

end sub




sub MyNewLine
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:InsertLinebreak", "", 0, Array())

end sub

Context menu.odt (13.0 KB)

Thanks for your help; i appreciate your taking the time to give me your suggestions and details. Bless you!

To insert a paragraph mark command in the Text context menu:

imagen

A Line Break:
Screenshot from 2023-12-17 17-38-19

1 Like

Oh Leroy, that’s PERFECT!!! I just needed to know where to look and you told me – now i have just what i want. BLESS YOU!!!
In appreciation for your perfect and caring help, --dan

1 Like