How to create a stuffed textblock

There is a need to create a page layout that is filled to it cannot be “changed”
The Page should be filled.

Any sentence that is not equal to the total width needs to filled as well.

The text needs to be mono spaced font, and the page needs to be filled.
with single space between the words. Left justified.
Example:

this is an example text
where there is a-------
filling until s the end
of a line--------------
-----------------------
1. item list-----------
2. also has filling----

Any empty line needs to be filled until the right page margin.

1 Like

To the best of my knowledge, this can’t be done presently with styles. There is a weak solution for the last line where you could type a tab after the last character. Tab stop would be set at right margin with a dash to create a leading line. However, this does nothing for the intermediate lines in the paragraph.

I assume you’re preparing some legal paper where no addition must be possible after printing. You could have a look to numerically signed documents (both odt and pdf), but this does not show on a print.

You guessed right, the crux is the document is not electronic, it is the print that needs the guard.
It just needs to be prepared in libreoffice…
I couldn’t find it, so i have to guess it currently can’t be done other than by hand add dashes.
The tab would add the same issue as it also needs to be inside a sentence. AFAIK no hyphenation is done. Long words also should cause mid sentence dashes.

Maybe something to ad as option to paragraph formatting?

Seems something can be simulated with paragraph options.

How about fill the page background to the margins with a pattern and then specify that all styles for that document have white highlight?

  1. Open a new blank document. Right click on page and select page style:
    1. In Page tab, untick the box Background covers margins
    2. In Area tab, select Pattern and then choose a suitable pattern to fill the background. OK
  2. In the Sidebar in Styles, right click Default Paragraph Style and select Edit style
  3. In the dialogue box, select Highlighting tab and then click Colour. Select White and OK
  4. You can set Default Paragraph style to a monospaced font so all paragraph styles except Heading are mono-spaced or you could just set just Body Text as I have for the sample. Set Body Text to Single line spacing so the white highlighting joins to previous line.
  5. Click File > Templates > Save as template

StuffedTextBlock_126667.odt (39.6 KB)

For higher security, you could create a more complex pattern, add it as page background in the image and tile it

2 Likes

@EarnestAl Very good suggestion!

Ah, but not new. I remembered a similar question but couldn’t find it. It was this one which appears to be a team effort How to specify “vertical fill” for empty lines before page breaks?

I completely forgot this question which clearly answers the present one. Thanks for refreshing my failing memory (age disaster!).